Compare commits

...
Author SHA1 Message Date
StandardNotes CI 3b6b5b1887 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].7
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].6
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
2022-06-18 14:51:19 +00:00
StandardNotes CI 3bc621b4fb chore(release): components 2022-06-18 14:51:10 +00:00
Mo 644dfe6ec6 Merge branch 'release/@standardnotes/[email protected]' 2022-06-18 09:45:09 -05:00
StandardNotes CI f2ed5d1a6c chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected].0
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].7-alpha.0
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].6-alpha.0
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
2022-06-18 14:25:51 +00:00
StandardNotes CI 9e46ff5101 chore(release): components 2022-06-18 14:25:41 +00:00
Mo ba65948364 fix: plus editor icons (#1120) 2022-06-18 09:20:44 -05:00
StandardNotes CI cd645f74df chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].6
 - @standardnotes/[email protected]
2022-06-17 21:56:34 +00:00
Mo 6b7f9b2648 Merge branch 'release/@standardnotes/[email protected]' 2022-06-17 16:50:49 -05:00
StandardNotes CI bd84706a9d chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected].0
 - @standardnotes/[email protected].6-alpha.0
 - @standardnotes/[email protected]
2022-06-17 21:47:13 +00:00
Mo 817d1ba1d8 chore: fix mobile merge overwrite 2022-06-17 16:42:35 -05:00
Mo 9158163b10 chore: fix web-server merge overwrite 2022-06-17 16:40:17 -05:00
Mo 3a51e033b6 chore: merge develop 2022-06-17 16:37:27 -05:00
Mo a736c0cd2c chore: merge main 2022-06-17 16:36:57 -05:00
StandardNotes CI a1b6e62dcb chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected].7-alpha.6
 - @standardnotes/[email protected].4-alpha.3
 - @standardnotes/[email protected]
2022-06-17 21:29:00 +00:00
Mo 7dcd5abe20 chore: fix components packaging script 2022-06-17 16:24:08 -05:00
StandardNotes CI a6ddb5a348 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected].7-alpha.5
 - @standardnotes/[email protected].4-alpha.2
 - @standardnotes/[email protected]
2022-06-17 21:17:46 +00:00
Mo 12a2369d17 refactor: mobile components (#1113)
* fix(mobile): freeze web-server assets to zips for mobile 3.23.3

Mobile 3.23.3 fetches components zips from the web-server cdn. This however causes upgraded cdn versions to fail when downloading from older mobile versions. This commit instead fetches versioned zips from an external cdn based on the static version of the app requesting the asset.

Since web-server is no longer needed as a cdn, we will temporarily freeze its zip assets to those that would be requested by Mobile 3.23.3, and commit them to source control so they remain unchanged.

web-server/public/components/assets will remain as-is (dynamically copied during build time of server), and not commited to source control. This cdn directory is only used by the web app.

* chore: disable commitlint length rule

* chore: clear git cache

* refactor: use package name from package file
2022-06-17 16:12:12 -05:00
StandardNotes CI 367ffdf254 chore(release): publish
- @standardnotes/[email protected].9
2022-06-17 16:54:46 +00:00
Mo b5d3308566 chore(workflow): trigger 2022-06-17 11:52:55 -05:00
Mo a09fe44c44 chore: merge conflicts 2022-06-17 11:47:59 -05:00
StandardNotes CI 8b7b70eae7 chore(release): publish
- @standardnotes/[email protected].7-alpha.4
2022-06-17 16:34:19 +00:00
Mo 9a3721d057 chore(workflow): desktop version 2022-06-17 11:32:36 -05:00
StandardNotes CI a584a70fb6 chore(release): publish
- @standardnotes/[email protected].7-alpha.3
2022-06-17 16:22:28 +00:00
Mo 66241cb038 fix(desktop): provide template version 2022-06-17 11:20:18 -05:00
StandardNotes CI 282dbedfb6 chore(release): publish
- @standardnotes/[email protected].7-alpha.2
2022-06-17 16:12:24 +00:00
Mo 93e97013c1 fix(desktop): use top level package json for versioning 2022-06-17 11:10:42 -05:00
StandardNotes CI 5964f91b2e chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected].8
 - @standardnotes/[email protected].5
 - @standardnotes/[email protected]
2022-06-17 14:36:36 +00:00
StandardNotes CI ff0716cf17 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected].7
 - @standardnotes/[email protected].4
 - @standardnotes/[email protected]
2022-06-17 14:34:06 +00:00
Mo ca49db56b2 Merge branch 'release/@standardnotes/[email protected]' 2022-06-17 09:29:10 -05:00
Mo daa72cb253 chore: git flow release template 2022-06-17 09:28:21 -05:00
Mo f5c2e6138a chore: merge main 2022-06-17 09:22:10 -05:00
StandardNotes CI ec5a2dc482 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected].7-alpha.1
 - @standardnotes/[email protected].4-alpha.1
 - @standardnotes/[email protected]
2022-06-17 14:02:57 +00:00
Mo 957f58ac6c chore(workflow): fix desktop sums 2022-06-17 08:56:10 -05:00
StandardNotes CI b4f674911b chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected].7-alpha.0
 - @standardnotes/[email protected].4-alpha.0
 - @standardnotes/[email protected]
2022-06-17 13:34:26 +00:00
StandardNotes CI 696824f3ed chore(release): components 2022-06-17 13:34:15 +00:00
Mo cd2579439c chore(yarn): update lockfile 2022-06-17 08:28:24 -05:00
Mo e94132ff28 chore(workflow): compile components with latest version set 2022-06-17 08:23:27 -05:00
StandardNotes CI fad77f2a3c chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected].7
 - @standardnotes/[email protected].4
 - @standardnotes/[email protected]
2022-06-17 12:57:21 +00:00
StandardNotes CI 29e5855594 chore(release): components 2022-06-17 12:57:05 +00:00
Mo e4bef17dfa chore(workflow): fix desktop checksums script 2022-06-17 07:41:32 -05:00
StandardNotes CI aa45bd8a8c chore(release): publish
- @standardnotes/[email protected].6
2022-06-17 00:48:16 +00:00
Mo b44ee77534 chore(desktop): fix sums file 2022-06-16 19:46:11 -05:00
StandardNotes CI 12eee935b6 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected].5
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].3
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].5
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].5
2022-06-16 20:12:43 +00:00
Mo b7e4c47de7 chore(workflow): release glob patterns 2022-06-16 15:10:38 -05:00
Mo aa71252855 chore(release): continue on error 2022-06-16 14:45:44 -05:00
266 changed files with 990 additions and 1823 deletions
+3 -2
View File
@@ -3,8 +3,9 @@ name: Desktop Beta Release
on:
push:
tags:
- '@standardnotes/desktop@[0-9]*.[0-9]*.[0-9]*-alpha.[0-9]*'
- '@standardnotes/desktop@[0-9]*.[0-9]*.[0-9]*-beta.[0-9]*'
- '*standardnotes/*desktop*beta*'
- '*standardnotes/*desktop*alpha*'
- '!*standardnotes/*inner-desktop*'
workflow_dispatch:
jobs:
+4 -1
View File
@@ -3,7 +3,10 @@ name: Desktop Prod Release
on:
push:
tags:
- '@standardnotes/desktop@!(*alpha*|*beta*)'
- '*standardnotes/*desktop*'
- '!*standardnotes/*desktop*beta*'
- '!*standardnotes/*desktop*alpha*'
- '!*standardnotes/*inner-desktop*'
workflow_dispatch:
jobs:
+25 -13
View File
@@ -25,14 +25,17 @@ jobs:
registry-url: 'https://registry.npmjs.org'
- run: yarn install
- run: yarn build:desktop
- run: echo APP_VERSION=$(node -p "require('./package.json').version") >> $GITHUB_ENV
- name: Compile Mac
run: yarn run webpack --config desktop.webpack.prod.js
- name: MacX64
run: |
yarn run electron-builder --mac --x64 --publish=never
yarn run electron-builder --mac --x64 --publish=never --c.extraMetadata.version=${{ env.APP_VERSION }}
node scripts/fixMacZip.js
- name: MacArm64
run: yarn run electron-builder --mac --arm64 --publish=never
run: yarn run electron-builder --mac --arm64 --publish=never --c.extraMetadata.version=${{ env.APP_VERSION }}
- name: Upload
uses: actions/[email protected]
with:
@@ -58,37 +61,41 @@ jobs:
uses: ruby/setup-ruby@v1
- name: Install FPM
run: sudo gem install fpm -f
- run: yarn install
- run: yarn build:desktop
- run: echo APP_VERSION=$(node -p "require('./package.json').version") >> $GITHUB_ENV
- name: Compile for AppImage
run: yarn run webpack --config desktop.webpack.prod.js
- name: AppImage
run: yarn run electron-builder --linux --x64 --ia32 -c.linux.target=AppImage --publish=never
run: yarn run electron-builder --linux --x64 --ia32 -c.linux.target=AppImage --publish=never --c.extraMetadata.version=${{ env.APP_VERSION }}
- name: AppImageX64
run: yarn run electron-builder --linux --x64 -c.linux.target=AppImage --publish=never
run: yarn run electron-builder --linux --x64 -c.linux.target=AppImage --publish=never --c.extraMetadata.version=${{ env.APP_VERSION }}
- name: AppImageArm64
run: yarn run electron-builder --linux --arm64 -c.linux.target=AppImage --publish=never
run: yarn run electron-builder --linux --arm64 -c.linux.target=AppImage --publish=never --c.extraMetadata.version=${{ env.APP_VERSION }}
- name: Deb
run: |
yarn run webpack --config desktop.webpack.prod.js --env deb
yarn run electron-builder --linux --x64 --ia32 -c.linux.target=deb --publish=never
yarn run electron-builder --linux --x64 --ia32 -c.linux.target=deb --publish=never --c.extraMetadata.version=${{ env.APP_VERSION }}
- name: DebArm64
env:
npm_config_target_arch: 'arm64'
USE_SYSTEM_FPM: 'true'
run: |
yarn run webpack --config desktop.webpack.prod.js --env deb
yarn run electron-builder --linux --arm64 -c.linux.target=deb --publish=never
yarn run electron-builder --linux --arm64 -c.linux.target=deb --publish=never --c.extraMetadata.version=${{ env.APP_VERSION }}
- name: Dir
run: |
yarn run webpack --config desktop.webpack.prod.js
yarn run electron-builder --linux --x64 -c.linux.target=dir --publish=never
yarn run electron-builder --linux --x64 -c.linux.target=dir --publish=never --c.extraMetadata.version=${{ env.APP_VERSION }}
- name: DirArm64
run: |
yarn run webpack --config desktop.webpack.prod.js
yarn run electron-builder --linux --arm64 -c.linux.target=dir --publish=never
yarn run electron-builder --linux --arm64 -c.linux.target=dir --publish=never --c.extraMetadata.version=${{ env.APP_VERSION }}
env:
npm_config_target_arch: 'arm64'
@@ -96,7 +103,7 @@ jobs:
run: |
sudo snap install snapcraft --classic
yarn run webpack --config desktop.webpack.prod.js --env snap
yarn run electron-builder --linux --x64 -c.linux.target=snap --publish=never
yarn run electron-builder --linux --x64 -c.linux.target=snap --publish=never --c.extraMetadata.version=${{ env.APP_VERSION }}
- name: Upload
uses: actions/[email protected]
@@ -126,7 +133,8 @@ jobs:
- run: yarn install
- run: yarn build:desktop
- run: yarn run webpack --config desktop.webpack.prod.js
- run: yarn run electron-builder --windows --x64 --ia32 --publish=never
- run: echo APP_VERSION=$(node -p "require('./package.json').version") >> $GITHUB_ENV
- run: yarn run electron-builder --windows --x64 --ia32 --publish=never --c.extraMetadata.version=${{ env.APP_VERSION }}
- name: Upload
uses: actions/[email protected]
@@ -150,11 +158,15 @@ jobs:
- uses: actions/setup-node@v2
with:
registry-url: 'https://registry.npmjs.org'
- uses: actions/download-artifact@v3
with:
name: assets
path: packages/desktop/dist
- run: node scripts/sums.mjs
- name: Generate Checksums
run: node scripts/sums.mjs
- name: get-npm-version
id: package-version
uses: martinbeentjes/npm-get-version-action@main
@@ -167,7 +179,7 @@ jobs:
tag_name: "@standardnotes/desktop@${{ steps.package-version.outputs.current-version}}"
prerelease: true
draft: true
name: "Desktop ${{ inputs.channel == 'beta' && 'Beta' || '' }} ${{ steps.package-version.outputs.current-version}}"
name: "Desktop ${{ inputs.channel == 'beta' && 'Beta' || '' }} ${{ steps.package-version.outputs.current-version }}"
files: packages/desktop/dist/*
- name: Publish Snap
continue-on-error: true
+2 -1
View File
@@ -21,7 +21,8 @@ jobs:
- run: yarn install
- run: yarn build:desktop
- run: yarn run webpack --config desktop.webpack.prod.js
- run: yarn run electron-builder --windows --x64 --ia32 --publish=never
- run: echo APP_VERSION=$(node -p "require('./package.json').version") >> $GITHUB_ENV
- run: yarn run electron-builder --windows --x64 --ia32 --publish=never --c.extraMetadata.version=${{ env.APP_VERSION }}
- name: Upload
uses: actions/[email protected]
+2 -2
View File
@@ -3,8 +3,8 @@ name: Mobile Build Development
on:
push:
tags:
- '@standardnotes/mobile@[0-9]*.[0-9]*.[0-9]*-alpha.[0-9]*'
- '@standardnotes/mobile@[0-9]*.[0-9]*.[0-9]*-beta.[0-9]*'
- '*standardnotes/*mobile*beta*'
- '*standardnotes/*mobile*alpha*'
workflow_dispatch:
jobs:
+3 -1
View File
@@ -3,7 +3,9 @@ name: Mobile Build Production
on:
push:
tags:
- '@standardnotes/mobile@!(*alpha*|*beta*)'
- '*standardnotes/mobile*'
- '!*standardnotes/mobile*beta*'
- '!*standardnotes/mobile*alpha*'
workflow_dispatch:
jobs:
+1 -17
View File
@@ -32,24 +32,8 @@ jobs:
- name: Install Dependencies
run: yarn install
- name: Get Changed Components Files
id: changed-component-files
uses: tj-actions/changed-files@v23
with:
files: packages/components/**
- name: Compile Components
if: steps.changed-component-files.outputs.any_changed == 'true'
run: yarn components:clean && yarn components:compile
working-directory: packages/components
- name: Package and Commit Components
if: steps.changed-component-files.outputs.any_changed == 'true'
run: |
node packages/components/scripts/package.mjs
git add .
(git commit -m 'chore(release): components') || true
- name: Bump Prod Version Graduate
continue-on-error: true
id: graduateRelease
if: ${{ github.ref == 'refs/heads/main' }}
run: yarn release:prod:graduate
+2 -2
View File
@@ -7,8 +7,8 @@ concurrency:
on:
push:
tags:
- '@standardnotes/web-server@[0-9]*.[0-9]*.[0-9]*-alpha.[0-9]*'
- '@standardnotes/web-server@[0-9]*.[0-9]*.[0-9]*-beta.[0-9]*'
- '*standardnotes/*web-server*beta*'
- '*standardnotes/*web-server*alpha*'
workflow_dispatch:
jobs:
+3 -2
View File
@@ -7,8 +7,9 @@ concurrency:
on:
push:
tags:
- '@standardnotes/web-server@!(*alpha*)'
- '@standardnotes/web-server@!(*beta*)'
- '*standardnotes/*web-server*'
- '!*standardnotes/*web-server*beta*'
- '!*standardnotes/*web-server*alpha*'
jobs:
test:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More