Compare commits

...
Author SHA1 Message Date
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
StandardNotes CI abc51be2fa chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected].4
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].2
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].4
 - @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].4
2022-06-16 19:42:42 +00:00
Mo d6ece8ac78 chore(workflow): improve graduate fallback release 2022-06-16 14:40:20 -05:00
Mo ec5e5ac103 chore(workflow): handle graduate fallback release 2022-06-16 14:34:44 -05:00
Mo 4c50162546 chore(workflow): monorepo version 2022-06-16 14:22:51 -05:00
Mo ea9ffa79f8 chore(workflow): trigger 2022-06-16 14:19:34 -05:00
Mo e3f17dd8c1 chore(workflow): tags fix attempt 2022-06-16 14:19:05 -05:00
Mo 14cb2b29b5 Revert "ci(temp): disable files changed workflow"
This reverts commit 3c98a2442c.
2022-06-16 14:18:39 -05:00
133 changed files with 767 additions and 240 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:
+12 -11
View File
@@ -32,18 +32,19 @@ jobs:
- name: Install Dependencies
run: yarn install
- name: Compile Components
run: yarn components:clean && yarn components:compile
working-directory: packages/components
- name: Package and Commit Components
run: |
node packages/components/scripts/package.mjs
git add .
(git commit -m 'chore(release): components') || true
- name: Bump Prod Version
- name: Bump Prod Version Graduate
continue-on-error: true
id: graduateRelease
if: ${{ github.ref == 'refs/heads/main' }}
run: yarn release:prod
run: yarn release:prod:graduate
- name: Bump Prod Version Fallback
if: ${{ always() && github.ref == 'refs/heads/main' && steps.graduateRelease.outcome == 'failure' }}
run: |
echo Falling back to non-graduate release due to https://github.com/lerna/lerna/issues/2532
git stash
yarn release:prod
- name: Bump Beta Version
if: ${{ github.ref == 'refs/heads/develop' }}
run: yarn release:beta
+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 -1
View File
@@ -7,7 +7,9 @@ concurrency:
on:
push:
tags:
- '@standardnotes/web-server@!(*alpha*|*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.
+3
View File
@@ -1,3 +1,6 @@
module.exports = {
extends: ['@commitlint/config-conventional'],
rules: {
'body-max-line-length': [0],
},
}
+3 -2
View File
@@ -1,11 +1,11 @@
{
"name": "@standardnotes/app-monorepo",
"version": "0.0.1",
"private": true,
"author": "Standard Notes.",
"workspaces": {
"packages": [
"packages/*",
"packages/desktop/app",
"packages/components/src/packages/*"
]
},
@@ -25,7 +25,8 @@
"start:server:web:localhost": "lerna run start:no-binding --scope=@standardnotes/web-server",
"prepare": "husky install",
"reset": "find . -type dir -name node_modules | xargs rm -rf && rm -rf yarn.lock && yarn install",
"release:prod": "lerna version --conventional-graduate --conventional-commits --yes -m \"chore(release): publish\"",
"release:prod": "lerna version --conventional-commits --yes -m \"chore(release): publish\"",
"release:prod:graduate": "lerna version --conventional-graduate --conventional-commits --yes -m \"chore(release): publish\"",
"release:beta": "lerna version --conventional-prerelease --conventional-commits --yes -m \"chore(release): publish\"",
"version": "yarn install --no-immutable && git add yarn.lock",
"postversion": "./scripts/push-tags-one-by-one.sh",
+32
View File
@@ -3,6 +3,38 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [2.1.5](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-17)
**Note:** Version bump only for package @standardnotes/components-meta
## [2.1.5-alpha.0](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-17)
**Note:** Version bump only for package @standardnotes/components-meta
## [2.1.4](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-17)
**Note:** Version bump only for package @standardnotes/components-meta
## [2.1.3](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-17)
**Note:** Version bump only for package @standardnotes/components-meta
## [2.1.3-alpha.1](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-17)
**Note:** Version bump only for package @standardnotes/components-meta
## [2.1.3-alpha.0](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-17)
**Note:** Version bump only for package @standardnotes/components-meta
## 2.1.2 (2022-06-16)
**Note:** Version bump only for package @standardnotes/components-meta
## 2.1.1 (2022-06-16)
**Note:** Version bump only for package @standardnotes/components-meta
# [2.1.0](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-16)
**Note:** Version bump only for package @standardnotes/components-meta
File diff suppressed because one or more lines are too long
+57 -57
View File
@@ -1,97 +1,97 @@
{
"org.standardnotes.theme-midnight": {
"version": "1.2.9-alpha.3",
"base64": "a5bdee326f69be2ed11c773be2da575e5451a1981bc87829b55b947c99c1d2c5",
"binary": "3b80a51ed8d060915e29019af9bc43b5c9a96d617df1348f2e67cbe2539f34c3"
"version": "1.2.11",
"base64": "fb39429384a349006b084899486b5d6ce4fd24cad218ee7b8de399e545a4ef0f",
"binary": "f80320ec8758232e506a6abfce77896317fb0c3c38f15b79314bba936e848844"
},
"org.standardnotes.theme-futura": {
"version": "1.2.10-alpha.3",
"base64": "5a7beae2dbd971b558a7bc53a98e2efeea8d0fee1c37bc6082130eb035d1f0ee",
"binary": "c0f2267f7b2f75dd336af396f880f8220720d47ecf576b23d5f4ac0b4b427e75"
"version": "1.2.12",
"base64": "ca0165e0a461a653f5519ba72174bf828abdf9fcc6587a47cb1b6253aa8ea1e5",
"binary": "309aba788613f19ab3c076ac7e9f968591e6d01cf6f1eaf37398b7e4a86bfaeb"
},
"org.standardnotes.theme-solarized-dark": {
"version": "1.2.8-alpha.3",
"base64": "0b8aeaf0bf41d5530743e9248388624a48168bd31475588a07cfc92541860fce",
"binary": "85a2cd7e0c38e7faa2a63775270b8fefa2c3ba5b1fd2b1bb9fd46fe2fbef263f"
"version": "1.2.10",
"base64": "12317b64a4d60707bb6c15f9ca92c7f50553c7bf13f384cb4f9eea101889e75f",
"binary": "310c84d19bf8b3119b776c6d6c43596b88ce78b9c86d2b55ae94ace83b3529ec"
},
"org.standardnotes.theme-autobiography": {
"version": "1.0.5-alpha.3",
"base64": "3c0a97b950b7b85dde816145ab551f0d542d64d0da70cec8794057fec1c8da18",
"binary": "f223eacdb17e5fa47e9a62c967202d194bac9dac0af42a57dbd14b4a2ef43089"
"version": "1.0.7",
"base64": "3476576bc5de1c6a9913126ed903c8ce388e8527bc2edde634164eac6d6b4057",
"binary": "64abf7ea7b14b88b03c718c0e8c631b4558e4f99d91053f9fdc7572fd7ba1e4b"
},
"org.standardnotes.theme-focus": {
"version": "1.2.10-alpha.3",
"base64": "0aa2fe041fc09dd74d3273c95887e098f26664a6ee8498da8ee9e136614eddec",
"binary": "cee7887eeb42043016ab63376071ae0721befed20f8933683230d222053721c5"
"version": "1.2.12",
"base64": "2c9a9021aca6939653ab93dd62feb2897b8eb60ea6757d2a3d163a32629e6825",
"binary": "4be476bd3c528a7fb57eb2e35724289d0e4095d6bab4c3325354d8796838c6d5"
},
"org.standardnotes.theme-titanium": {
"version": "1.2.9-alpha.3",
"base64": "d9a0c6eb1b994a14afb8592794b9fce171f08d066d35c13e13182aed26403bfb",
"binary": "279cdd97605cd3bd34f5d3c71e4a68dbc83e2f8dfb005a320dee66dbd8def80b"
"version": "1.2.11",
"base64": "fa455ac92fe7d98edf225db5c50887ffafe6d9fae66cdebaed6b8c0cc2bf635b",
"binary": "1ee7fdb9295140271dea33e96dbba5f880220871baca458d0e09a552c4ce82fe"
},
"org.standardnotes.theme-dynamic": {
"version": "1.0.5-alpha.3",
"base64": "3f400aa35c5e48ddbbefbda1ee5840747e25aa6912c8a7cd0f4ebc9ef3e03b19",
"binary": "faa237e40b44151252bf4b74b4869a842f037806e4de80c01a37ebaf8445487e"
"version": "1.0.7",
"base64": "da5df7b4d636e910c94b6215694764e4ce1bf9c916632b759a13e7bac61cf719",
"binary": "0be7e845453c4b7c335901c884cd0cb9bfcdc266b0e6fae6bd12e6b89db1d52d"
},
"org.standardnotes.code-editor": {
"version": "1.3.13-alpha.3",
"base64": "f15a3ed82da5790af1e216d92e751f563c507e3ce1728652937f6c39e066ec98",
"binary": "f7707318ddf98c37881521db0de24206efbddae32553432baf723bf98bf7384a"
"version": "1.3.15",
"base64": "d38a9a283d603fced9259938d2f7e7cf9e6bda670c5921523b992e15924bc2e8",
"binary": "3a4f5c5b78bcf3f8492945c8203b4bb66392f4c3caa4a131b0d546699a865bd4"
},
"org.standardnotes.bold-editor": {
"version": "1.3.6-alpha.3",
"base64": "6596d3b4b1778bf05b900e5d8eb7793d01b9cefdcd08fa6a552c30225129c1df",
"binary": "1835c346e3abdef4a79ff8d0f5acc457b530ac226c0c0dda4322ce476dd741ad"
"version": "1.3.8",
"base64": "61aae1a83a1401c2ed56910a53f6dd62eaff9d62f493d25549bdbd8d2472153f",
"binary": "5b770bf9d5895a8c06df1af390963b2adb0903ee5eb30813d81a813bc7cb8782"
},
"org.standardnotes.plus-editor": {
"version": "1.6.2-alpha.3",
"base64": "41517c9fdd3b99b0eb358089f10d3c3979751111c15f439998697a7be20f2a0c",
"binary": "404863d7f1f3adf7c7ae9980bbf2f92484d5d77dca662ff4fc85fc58406bcccf"
"version": "1.6.4",
"base64": "4885255030ae5b468adfa5099b497b6f0a0af4167251a63d01dd145cc9e4723f",
"binary": "fba79fbd16a0c219dd78fed6c9920b42cdce121d1cc5dc121d89ff19218bba12"
},
"org.standardnotes.simple-markdown-editor": {
"version": "1.4.3-alpha.3",
"base64": "095cd6210b347befaf63244d3144d2c93e123f7523afee0564b816c8932ee714",
"binary": "403373dff8b9f950d9b83a45d44e764d37de98ac3baf4b9919a33bd7e9ab7d3f"
"version": "1.4.5",
"base64": "0e9efee02b75ce125d565608e3723a95a60aa4ec9dcc9c86cb3df6d0e2e1715b",
"binary": "8dc18fdb14c65cd288d03b8a9bcd796002fb205749625b637b4feb6afa1c9866"
},
"org.standardnotes.advanced-markdown-editor": {
"version": "1.5.1-alpha.3",
"base64": "7e8a29a1ad98370edcfd5533e24ee2bd77c2c6be58f1942911e07285392b59b8",
"binary": "f8b47517f196e86958047258b15122e77bc61cf5ce9fcd15a42786f740d14cf6"
"version": "1.5.3",
"base64": "33d74d328df612294a2f871e76b198f5cfc0e892d0401d6b02e1ffac0b85e13b",
"binary": "390351b854b51eae276940c253e417ef746843a0781aca1f9a7b28a638169060"
},
"org.standardnotes.minimal-markdown-editor": {
"version": "1.3.10-alpha.3",
"base64": "aca049de350d405cd8d2f003c7cca2ffe930f5a6b6d9047709aaf0f2d67766e4",
"binary": "801405a6a6e264524f20d8c7ef7168c4e7fc401e89fc4d9cc6cced698413564a"
"version": "1.3.12",
"base64": "b6c4fd88ba1538ae5c9304fa147a6a5343f13e7577c8cda1061f18e2aa57bafb",
"binary": "198d761cbef5dbf66f75f703f730ea88afb83c77d1093338cb431aa53cdd0d50"
},
"org.standardnotes.fancy-markdown-editor": {
"version": "1.3.7-alpha.3",
"base64": "09517fd2681c6873648563c8bbc1e07ce2d13e55f355d34b40e121f5cf8cb418",
"binary": "8704039865c2069892cacc0a0ca94df87ace74b19095f962209e8eb33fec2899"
"version": "1.3.9",
"base64": "ac09dd57a3aa47e73b1065c480b05a1473d73a3066d0a0208032eaf43b7dd668",
"binary": "553f180a97076b947210105841a83bab7ec856220c0d4f737e2eb467d1634fa7"
},
"org.standardnotes.markdown-visual-editor": {
"version": "1.0.8-alpha.3",
"base64": "5c3737ad276e08c6cdca929e2e31b45a26c40c589c1199e93df898702e7ffc68",
"binary": "338e4a66f1905660eb084cf7ece6cfa6a6ad0ac9fe8efbf1a880f69e5b0cfddc"
"version": "1.0.10",
"base64": "f0416f5b684bfbd62ffc7b91885ff9c5e9a40fab147f6926cb74d1853b2590ad",
"binary": "08f0609e518485cdf888cf31552bd77828f87fe782050883f9236faa9b8529e5"
},
"org.standardnotes.simple-task-editor": {
"version": "1.3.11-alpha.3",
"base64": "173b6137e27f034db7392dcc092b4972ae05b0357f87ea67ac1e4943868b53f0",
"binary": "d4d62982e167b1858979dbf31fbfc40d8949c29fc8d46fad04166c32f133fe17"
"version": "1.3.13",
"base64": "85134f0279ab2478c0846fadcd915c335d08ee644ea1f14d5dae008e30691f8c",
"binary": "8eb2e2ea4bc23c3789ec15f66fab8fcc8bdbbecda3c9a383afaa50f107f14ea1"
},
"org.standardnotes.token-vault": {
"version": "2.0.11-alpha.3",
"base64": "f223911282c1411d5dc1cbd2bd81b779ae6b41c414414eeed4bf880d69db1b50",
"binary": "61bbf7e155d08ff56ce1dc925d5c54d5681e40addf9ea13459caf2da910a248f"
"version": "2.0.13",
"base64": "2ec3bd516fb3795bd9e0078b0ac23998827e60e65afe51f225790bf2ab932495",
"binary": "abf6af27072262b0cdaf3bb8c6d2b9b26c7249d11509b47e1d03a9f7ac1b8eb3"
},
"org.standardnotes.standard-sheets": {
"version": "1.4.5-alpha.3",
"base64": "3d945883bae018bc5a589b9269f289d3eb1abc6a267414e4538860c955c8fc9b",
"binary": "a078fcbdb25414f4e86c8ef5e1246845a78f3d1082362c1a75fe6102c0e2a625"
"version": "1.4.7",
"base64": "c50dfb1f5cd08d1ffa8a4b0296c3cabbd57a62ef406c8190b1e13e8d506ebeef",
"binary": "3deda7dbcab89196d27cf884a7f83c6c6325d4c6d85c54aca7b5061fa30dabd2"
},
"org.standardnotes.advanced-checklist": {
"version": "0.0.2-alpha.3",
"base64": "2b6a6100e9378b5f790006ce40ece6153c769e2982dfd4ee32f861625229fb69",
"binary": "93e6e24e0f1a33328724ab222fd99e4a23cf824d93dcc6e654d27d1e988baf92"
"version": "0.0.4",
"base64": "c66978e5e98ac920534f967c796cedbd574b8470a24e8243e28a1dc4c787f1ff",
"binary": "593db18a106c09ed4c0000506a07e6f8428fca5f86436a591ec561f123b54578"
}
}
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.
+3 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@standardnotes/components-meta",
"version": "2.1.0",
"version": "2.1.5",
"private": true,
"author": "Standard Notes",
"main": "dist",
@@ -15,7 +15,8 @@
"components:lint": "yarn workspaces foreach --parallel --jobs 10 --verbose --exclude @standardnotes/components-meta run components:lint",
"components:test": "yarn workspaces foreach --parallel --jobs 10 --verbose --exclude @standardnotes/components-meta run components:test",
"components:compile": "yarn workspaces foreach --parallel --jobs 10 --verbose --exclude @standardnotes/components-meta run components:compile",
"package": "node scripts/package.mjs"
"package": "node scripts/package.mjs",
"version": "./scripts/VERSION.sh"
},
"devDependencies": {
"@standardnotes/deterministic-zip": "^1.2.0",
+11
View File
@@ -0,0 +1,11 @@
#!/bin/bash
echo 'Compiling components from' $(pwd)
yarn components:clean && yarn components:compile
echo "Packaging component assets and zips..."
node scripts/package.mjs
git add dist
(git commit -m 'chore(release): components') || true
+13 -26
View File
@@ -8,16 +8,13 @@ import zip from '@standardnotes/deterministic-zip'
import minimatch from 'minimatch'
import { fileURLToPath } from 'url'
import { ensureDirExists, doesDirExist, emptyExistingDir } from '../../../scripts/ScriptUtils.mjs'
const __filename = fileURLToPath(import.meta.url)
const __dirname = path.dirname(__filename)
console.log('Beginning packaging procedure...')
const specificFeatureIdentifier = process.argv[2]
if (specificFeatureIdentifier) {
console.log('Processing only', specificFeatureIdentifier)
}
const SourceFilesPath = path.join(__dirname, '../src/packages')
const DistDir = path.join(__dirname, '../dist')
const TmpDir = path.join(__dirname, '../tmp')
@@ -66,22 +63,6 @@ const copyFileOrDir = (src, dest, exludedFilesGlob) => {
}
}
const doesDirExist = (dir) => {
return fs.existsSync(dir)
}
const ensureDirExists = (dir) => {
if (!fs.existsSync(dir)) {
fs.mkdirSync(dir, { recursive: true })
}
}
const emptyExistingDir = (dir) => {
if (fs.existsSync(dir)) {
fs.rmSync(dir, { recursive: true })
}
}
const getComponentSrcPath = (feature) => {
return path.join(SourceFilesPath, feature.identifier)
}
@@ -122,7 +103,7 @@ const computeChecksum = async (zipPath, version) => {
}
}
const zipAndChecksumFeature = async (feature) => {
const packageFeature = async ({ feature, noZip }) => {
console.log('Processing feature', feature.identifier, '...')
const assetsLocation = `${path.join(AssetsDir, feature.identifier)}`
@@ -132,6 +113,11 @@ const zipAndChecksumFeature = async (feature) => {
return
}
if (noZip) {
console.log('Input arg noZip detected; not zipping asset.')
return
}
const zipAssetsTmpLocation = `${path.join(TmpDir, feature.identifier)}`
const zipAssetsSuccess = await copyComponentAssets(feature, zipAssetsTmpLocation)
if (!zipAssetsSuccess) {
@@ -152,9 +138,10 @@ const zipAndChecksumFeature = async (feature) => {
}
await (async () => {
const featuresToProcess = specificFeatureIdentifier
? [GetFeatures().find((feature) => feature.identifier === specificFeatureIdentifier)]
: GetFeatures().concat(GetDeprecatedFeatures())
const args = process.argv[2] || ''
const noZip = args.includes('--no-zip')
const featuresToProcess = GetFeatures().concat(GetDeprecatedFeatures())
let index = 0
for (const feature of featuresToProcess) {
@@ -163,7 +150,7 @@ await (async () => {
}
if (['SN|Component', 'SN|Theme'].includes(feature.content_type)) {
await zipAndChecksumFeature(feature)
await packageFeature({ feature, noZip })
} else {
console.log('Feature is not component, not packaging', feature.identifier)
}
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## 0.0.4 (2022-06-16)
**Note:** Version bump only for package @standardnotes/advanced-checklist
## 0.0.3 (2022-06-16)
**Note:** Version bump only for package @standardnotes/advanced-checklist
## [0.0.2](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-16)
**Note:** Version bump only for package @standardnotes/advanced-checklist
@@ -1,6 +1,6 @@
{
"name": "@standardnotes/advanced-checklist",
"version": "0.0.2",
"version": "0.0.4",
"description": "A task editor with grouping functionality.",
"author": "Standard Notes.",
"keywords": [
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## 1.5.3 (2022-06-16)
**Note:** Version bump only for package @standardnotes/markdown-hybrid
## 1.5.2 (2022-06-16)
**Note:** Version bump only for package @standardnotes/markdown-hybrid
## [1.5.1](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-16)
**Note:** Version bump only for package @standardnotes/markdown-hybrid
@@ -1,7 +1,7 @@
{
"name": "@standardnotes/markdown-hybrid",
"private": true,
"version": "1.5.1",
"version": "1.5.3",
"description": "A Standard Notes derived editor that offers full support for Markdown editing.",
"main": "dist/dist.js",
"author": "Standard Notes <[email protected]>",
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## 1.3.8 (2022-06-16)
**Note:** Version bump only for package @standardnotes/bold-editor
## 1.3.7 (2022-06-16)
**Note:** Version bump only for package @standardnotes/bold-editor
## [1.3.6](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-16)
**Note:** Version bump only for package @standardnotes/bold-editor
@@ -1,7 +1,7 @@
{
"name": "@standardnotes/bold-editor",
"private": true,
"version": "1.3.6",
"version": "1.3.8",
"main": "dist/dist.js",
"scripts": {
"skip:components:lint": "eslint app/ --ext .js",
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## 1.3.15 (2022-06-16)
**Note:** Version bump only for package @standardnotes/classic-code-editor
## 1.3.14 (2022-06-16)
**Note:** Version bump only for package @standardnotes/classic-code-editor
## [1.3.13](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-16)
**Note:** Version bump only for package @standardnotes/classic-code-editor
@@ -1,7 +1,7 @@
{
"name": "@standardnotes/classic-code-editor",
"private": true,
"version": "1.3.13",
"version": "1.3.15",
"description": "A code editor for Standard Notes",
"main": "dist/main.js",
"author": "Standard Notes <[email protected]>",
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## 1.3.9 (2022-06-16)
**Note:** Version bump only for package @standardnotes/markdown-math
## 1.3.8 (2022-06-16)
**Note:** Version bump only for package @standardnotes/markdown-math
## [1.3.7](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-16)
**Note:** Version bump only for package @standardnotes/markdown-math
@@ -1,7 +1,7 @@
{
"name": "@standardnotes/markdown-math",
"private": true,
"version": "1.3.7",
"version": "1.3.9",
"description": "",
"main": "index.js",
"scripts": {
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## 1.0.10 (2022-06-16)
**Note:** Version bump only for package @standardnotes/markdown-visual
## 1.0.9 (2022-06-16)
**Note:** Version bump only for package @standardnotes/markdown-visual
## [1.0.8](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-16)
**Note:** Version bump only for package @standardnotes/markdown-visual
@@ -1,6 +1,6 @@
{
"name": "@standardnotes/markdown-visual",
"version": "1.0.8",
"version": "1.0.10",
"author": "Johnny Almonte <[email protected]>",
"description": "A lightweight WYSIWYG markdown editor for Standard Notes, derived from Milkdown.",
"keywords": [
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## 1.3.12 (2022-06-16)
**Note:** Version bump only for package @standardnotes/markdown-minimal
## 1.3.11 (2022-06-16)
**Note:** Version bump only for package @standardnotes/markdown-minimal
## [1.3.10](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-16)
**Note:** Version bump only for package @standardnotes/markdown-minimal
@@ -1,7 +1,7 @@
{
"name": "@standardnotes/markdown-minimal",
"private": true,
"version": "1.3.10",
"version": "1.3.12",
"description": "A minimal Markdown editor for Standard Notes.",
"main": "dist/dist.js",
"author": "Standard Notes <[email protected]>",
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## 1.6.4 (2022-06-16)
**Note:** Version bump only for package @standardnotes/rich-text
## 1.6.3 (2022-06-16)
**Note:** Version bump only for package @standardnotes/rich-text
## [1.6.2](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-16)
**Note:** Version bump only for package @standardnotes/rich-text
@@ -1,7 +1,7 @@
{
"name": "@standardnotes/rich-text",
"private": true,
"version": "1.6.2",
"version": "1.6.4",
"description": "A rich text editor for Standard Notes",
"main": "dist/dist.js",
"author": "Standard Notes <[email protected]>",
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## 1.4.5 (2022-06-16)
**Note:** Version bump only for package @standardnotes/markdown-basic
## 1.4.4 (2022-06-16)
**Note:** Version bump only for package @standardnotes/markdown-basic
## [1.4.3](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-16)
**Note:** Version bump only for package @standardnotes/markdown-basic
@@ -1,7 +1,7 @@
{
"name": "@standardnotes/markdown-basic",
"private": true,
"version": "1.4.3",
"version": "1.4.5",
"main": "dist/dist.js",
"scripts": {
"skip:components:lint": "eslint --cache --ext .jsx,.js --format=node_modules/eslint-formatter-pretty .",
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## 1.3.13 (2022-06-16)
**Note:** Version bump only for package @standardnotes/simple-task-editor
## 1.3.12 (2022-06-16)
**Note:** Version bump only for package @standardnotes/simple-task-editor
## [1.3.11](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-16)
**Note:** Version bump only for package @standardnotes/simple-task-editor
@@ -1,7 +1,7 @@
{
"name": "@standardnotes/simple-task-editor",
"private": true,
"version": "1.3.11",
"version": "1.3.13",
"main": "dist/dist.js",
"scripts": {
"components:compile": "webpack --config webpack.prod.js",
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## 1.4.7 (2022-06-16)
**Note:** Version bump only for package @standardnotes/spreadsheets
## 1.4.6 (2022-06-16)
**Note:** Version bump only for package @standardnotes/spreadsheets
## [1.4.5](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-16)
**Note:** Version bump only for package @standardnotes/spreadsheets
@@ -1,7 +1,7 @@
{
"name": "@standardnotes/spreadsheets",
"private": true,
"version": "1.4.5",
"version": "1.4.7",
"main": "dist/dist.js",
"scripts": {
"skip:components:lint": "eslint app/ --ext .js",
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## 1.0.7 (2022-06-16)
**Note:** Version bump only for package @standardnotes/autobiography-theme
## 1.0.6 (2022-06-16)
**Note:** Version bump only for package @standardnotes/autobiography-theme
## [1.0.5](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-16)
**Note:** Version bump only for package @standardnotes/autobiography-theme
@@ -1,6 +1,6 @@
{
"name": "@standardnotes/autobiography-theme",
"version": "1.0.5",
"version": "1.0.7",
"main": "dist/dist.css",
"private": true,
"sn": {
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## 1.0.7 (2022-06-16)
**Note:** Version bump only for package @standardnotes/dynamic-theme
## 1.0.6 (2022-06-16)
**Note:** Version bump only for package @standardnotes/dynamic-theme
## [1.0.5](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-16)
**Note:** Version bump only for package @standardnotes/dynamic-theme
@@ -1,6 +1,6 @@
{
"name": "@standardnotes/dynamic-theme",
"version": "1.0.5",
"version": "1.0.7",
"main": "dist/dist.css",
"private": true,
"sn": {
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## 1.2.12 (2022-06-16)
**Note:** Version bump only for package @standardnotes/focus-theme
## 1.2.11 (2022-06-16)
**Note:** Version bump only for package @standardnotes/focus-theme
## [1.2.10](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-16)
**Note:** Version bump only for package @standardnotes/focus-theme
@@ -1,6 +1,6 @@
{
"name": "@standardnotes/focus-theme",
"version": "1.2.10",
"version": "1.2.12",
"main": "dist/dist.css",
"private": true,
"sn": {
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## 1.2.12 (2022-06-16)
**Note:** Version bump only for package @standardnotes/futura-theme
## 1.2.11 (2022-06-16)
**Note:** Version bump only for package @standardnotes/futura-theme
## [1.2.10](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-16)
**Note:** Version bump only for package @standardnotes/futura-theme
@@ -1,6 +1,6 @@
{
"name": "@standardnotes/futura-theme",
"version": "1.2.10",
"version": "1.2.12",
"main": "dist/dist.css",
"private": true,
"sn": {
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## 1.2.11 (2022-06-16)
**Note:** Version bump only for package @standardnotes/midnight-theme
## 1.2.10 (2022-06-16)
**Note:** Version bump only for package @standardnotes/midnight-theme
## [1.2.9](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-16)
**Note:** Version bump only for package @standardnotes/midnight-theme
@@ -1,6 +1,6 @@
{
"name": "@standardnotes/midnight-theme",
"version": "1.2.9",
"version": "1.2.11",
"main": "dist/dist.css",
"private": true,
"sn": {
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## 1.2.10 (2022-06-16)
**Note:** Version bump only for package @standardnotes/solarized-dark-theme
## 1.2.9 (2022-06-16)
**Note:** Version bump only for package @standardnotes/solarized-dark-theme
## [1.2.8](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-16)
**Note:** Version bump only for package @standardnotes/solarized-dark-theme
@@ -1,6 +1,6 @@
{
"name": "@standardnotes/solarized-dark-theme",
"version": "1.2.8",
"version": "1.2.10",
"main": "dist/dist.css",
"private": true,
"sn": {
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## 1.2.11 (2022-06-16)
**Note:** Version bump only for package @standardnotes/titanium-theme
## 1.2.10 (2022-06-16)
**Note:** Version bump only for package @standardnotes/titanium-theme
## [1.2.9](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-16)
**Note:** Version bump only for package @standardnotes/titanium-theme
@@ -1,6 +1,6 @@
{
"name": "@standardnotes/titanium-theme",
"version": "1.2.9",
"version": "1.2.11",
"main": "dist/dist.css",
"private": true,
"sn": {
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## 2.0.13 (2022-06-16)
**Note:** Version bump only for package @standardnotes/authenticator
## 2.0.12 (2022-06-16)
**Note:** Version bump only for package @standardnotes/authenticator
## [2.0.11](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-16)
**Note:** Version bump only for package @standardnotes/authenticator
@@ -1,6 +1,6 @@
{
"name": "@standardnotes/authenticator",
"version": "2.0.11",
"version": "2.0.13",
"main": "dist/dist.js",
"private": true,
"scripts": {
+55
View File
@@ -3,6 +3,61 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [3.22.10](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-17)
**Note:** Version bump only for package @standardnotes/desktop
## [3.22.10-alpha.0](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-17)
**Note:** Version bump only for package @standardnotes/desktop
## [3.22.9](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-17)
**Note:** Version bump only for package @standardnotes/desktop
## [3.22.8](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-17)
**Note:** Version bump only for package @standardnotes/desktop
## [3.22.7](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-17)
**Note:** Version bump only for package @standardnotes/desktop
## [3.22.7-alpha.4](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-17)
**Note:** Version bump only for package @standardnotes/desktop
## [3.22.7-alpha.3](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-17)
### Bug Fixes
* **desktop:** provide template version ([66241cb](https://github.com/standardnotes/app/commit/66241cb038753583d61d43bfef44ecdf158ac337))
## [3.22.7-alpha.2](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-17)
### Bug Fixes
* **desktop:** use top level package json for versioning ([93e9701](https://github.com/standardnotes/app/commit/93e97013c113f054b59f5cc27c3ee579448c32cb))
## [3.22.7-alpha.1](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-17)
**Note:** Version bump only for package @standardnotes/desktop
## [3.22.7-alpha.0](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-17)
**Note:** Version bump only for package @standardnotes/desktop
## [3.22.6](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-17)
**Note:** Version bump only for package @standardnotes/desktop
## 3.22.5 (2022-06-16)
**Note:** Version bump only for package @standardnotes/desktop
## 3.22.4 (2022-06-16)
**Note:** Version bump only for package @standardnotes/desktop
## [3.22.3](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-16)
**Note:** Version bump only for package @standardnotes/desktop
+8
View File
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## 3.22.5 (2022-06-16)
**Note:** Version bump only for package @standardnotes/inner-desktop
## 3.22.4 (2022-06-16)
**Note:** Version bump only for package @standardnotes/inner-desktop
## [3.22.3](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-16)
**Note:** Version bump only for package @standardnotes/inner-desktop
-1
View File
@@ -4,7 +4,6 @@
"private": true,
"description": "An end-to-end encrypted notes app for digitalists and professionals.",
"author": "Standard Notes <[email protected]>",
"version": "3.22.3",
"main": "./dist/index.js",
"installConfig": {
"selfReferences": true
+2 -2
View File
@@ -1,9 +1,9 @@
{
"name": "@standardnotes/desktop",
"main": "./app/dist/index.js",
"version": "3.22.3",
"version": "3.22.10",
"license": "AGPL-3.0-or-later",
"author": "Standard Notes",
"author": "Standard Notes.",
"private": true,
"repository": {
"type": "git",
+1 -1
View File
@@ -31,7 +31,7 @@ async function getBlockMapInfo(fileName) {
;(async () => {
try {
const { version } = JSON.parse(await fs.promises.readFile('app/package.json'))
const { version } = JSON.parse(await fs.promises.readFile('package.json'))
const zipName = `standard-notes-${version}-mac-x64.zip`
const zipPath = `dist/${zipName}`
console.log(`Removing ${zipPath}`)
+44 -56
View File
@@ -1,56 +1,31 @@
import crypto from 'crypto'
import fs from 'fs'
import path from 'path'
import { fileURLToPath } from 'url'
const __filename = fileURLToPath(import.meta.url)
const ScriptsDir = path.dirname(__filename)
import { doesFileExist, listDirFiles } from '../../../scripts/ScriptUtils.mjs'
function sha256(filePath) {
return new Promise((resolve, reject) => {
return new Promise((resolve) => {
try {
fs.createReadStream(filePath)
.pipe(crypto.createHash('sha256').setEncoding('hex'))
.on('finish', function () {
resolve(this.read())
})
.on('error', reject)
} catch (error) {}
.on('error', function () {
resolve(null)
})
} catch (error) {
console.log('Error reading file', error)
resolve(null)
}
})
}
async function getFileNames() {
const packageJson = await fs.promises.readFile('./package.json')
const version = JSON.parse(packageJson).version
return [
`standard-notes-${version}-mac-x64.zip`,
`standard-notes-${version}-mac-x64.dmg`,
`standard-notes-${version}-mac-x64.dmg.blockmap`,
`standard-notes-${version}-mac-arm64.zip`,
`standard-notes-${version}-mac-arm64.dmg`,
`standard-notes-${version}-mac-arm64.dmg.blockmap`,
`standard-notes-${version}-linux-i386.AppImage`,
`standard-notes-${version}-linux-x86_64.AppImage`,
`standard-notes-${version}-linux-amd64.snap`,
`standard-notes-${version}-linux-arm64.deb`,
`standard-notes-${version}-linux-arm64.AppImage`,
`standard-notes-${version}-win-x64.exe`,
`standard-notes-${version}-win-x64.exe.blockmap`,
`standard-notes-${version}-win.exe`,
`standard-notes-${version}-win.exe.blockmap`,
`standard-notes-${version}-win-ia32.exe`,
`standard-notes-${version}-win-ia32.exe.blockmap`,
'latest-linux-ia32.yml',
'latest-linux.yml',
'latest-linux-arm64.yml',
'latest-mac.yml',
'latest.yml',
'builder-effective-config.yaml',
]
}
process.on('uncaughtException', function (err) {
console.log('Caught exception: ' + err)
})
@@ -58,24 +33,37 @@ process.on('uncaughtException', function (err) {
console.log('Writing SHA256 sums to dist/SHA256SUMS')
try {
const files = await getFileNames()
const distDir = path.join(ScriptsDir, '../dist')
const fileNames = listDirFiles(distDir)
const filePaths = fileNames.map((fileName) => path.join(distDir, fileName))
let hashes = await Promise.all(
files.map(async (fileName) => {
try {
const hash = await sha256(`dist/${fileName}`)
return `${hash} ${fileName}`
} catch (error) {
console.error('Unable to hash file', fileName)
return null
}
}),
)
hashes = hashes.join('\n')
await fs.promises.writeFile('dist/SHA256SUMS', hashes)
const entries = []
for (const filePath of filePaths) {
if (!doesFileExist(filePath)) {
console.log('Attempting to hash non-existing file', filePath)
continue
}
if (fs.lstatSync(filePath).isDirectory()) {
console.log('Attempting to hash directory', filePath)
continue
}
try {
const hash = await sha256(filePath)
const fileName = path.basename(filePath)
const entry = `${hash} ${fileName}`
entries.push(entry)
} catch (error) {
console.error('Unable to hash file', filePath)
continue
}
}
const hashes = entries.join('\n')
await fs.promises.writeFile(path.join(ScriptsDir, '../dist/SHA256SUMS'), hashes)
console.log(`Successfully wrote SHA256SUMS:\n${hashes}`)
} catch (err) {
console.error(err)
process.exitCode = 1
console.error('Error generating checksums', err)
}
})()
+8
View File
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## 1.4.3 (2022-06-16)
**Note:** Version bump only for package @standardnotes/icons
## 1.4.2 (2022-06-16)
**Note:** Version bump only for package @standardnotes/icons
## [1.4.1](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-16)
**Note:** Version bump only for package @standardnotes/icons
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@standardnotes/icons",
"version": "1.4.1",
"version": "1.4.3",
"private": true,
"main": "dist/index.js",
"types": "dist/index.d.ts",
+32
View File
@@ -3,6 +3,38 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [3.23.6](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-17)
**Note:** Version bump only for package @standardnotes/mobile
## [3.23.6-alpha.0](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-17)
**Note:** Version bump only for package @standardnotes/mobile
## [3.23.5](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-17)
**Note:** Version bump only for package @standardnotes/mobile
## [3.23.4](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-17)
**Note:** Version bump only for package @standardnotes/mobile
## [3.23.4-alpha.1](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-17)
**Note:** Version bump only for package @standardnotes/mobile
## [3.23.4-alpha.0](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-17)
**Note:** Version bump only for package @standardnotes/mobile
## 3.23.3 (2022-06-16)
**Note:** Version bump only for package @standardnotes/mobile
## 3.23.2 (2022-06-16)
**Note:** Version bump only for package @standardnotes/mobile
## [3.23.1](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-16)
**Note:** Version bump only for package @standardnotes/mobile
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@standardnotes/mobile",
"version": "3.23.1",
"version": "3.23.6",
"author": "Standard Notes.",
"private": true,
"license": "AGPL-3.0-or-later",
@@ -121,8 +121,8 @@
"preset": "react-native"
},
"componentsCdn": {
"dev": "https://app-dev.standardnotes.com/components/zips",
"prod": "https://app.standardnotes.com/components/zips"
"dev": "https://cdn.jsdelivr.net/gh/standardnotes/app@",
"prod": "https://cdn.jsdelivr.net/gh/standardnotes/app@"
},
"detox": {
"configurations": {

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