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
80 changed files with 487 additions and 212 deletions
+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]
-17
View File
@@ -32,23 +32,6 @@ 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
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],
},
}
-1
View File
@@ -6,7 +6,6 @@
"workspaces": {
"packages": [
"packages/*",
"packages/desktop/app",
"packages/components/src/packages/*"
]
},
+24
View File
@@ -3,6 +3,30 @@
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
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.2",
"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)
}
+47
View File
@@ -3,6 +3,53 @@
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
-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.5",
"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.5",
"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)
}
})()
+24
View File
@@ -3,6 +3,30 @@
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 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@standardnotes/mobile",
"version": "3.23.3",
"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": {
+12 -3
View File
@@ -18,7 +18,7 @@ import { Base64 } from 'js-base64'
import RNFS, { DocumentDirectoryPath } from 'react-native-fs'
import StaticServer from 'react-native-static-server'
import { unzip } from 'react-native-zip-archive'
import { componentsCdn } from '../../package.json'
import { componentsCdn, version, name } from '../../package.json'
import { MobileThemeContent } from '../Style/MobileTheme'
import { IsDev } from './Utils'
@@ -74,12 +74,21 @@ export class ComponentManager extends SNComponentManager {
void this.staticServer!.stop()
}
private cdnUrlForFeature(identifier: FeatureIdentifier): string {
const cdn = IsDev ? componentsCdn.dev : componentsCdn.prod
const appVersion = version
const mobilePackageName = name
const tagPath = `${mobilePackageName}@${appVersion}`.replaceAll('@', '%40')
const url = `${cdn}${tagPath}/packages/components/dist/zips/${identifier}.zip`
this.log('Getting zip from cdn url', url)
return url
}
private downloadUrlForComponent(component: SNComponent): string | undefined {
const identifier = component.identifier
const nativeFeature = this.nativeFeatureForIdentifier(identifier)
if (nativeFeature) {
const cdn = IsDev ? componentsCdn.dev : componentsCdn.prod
return `${cdn}/${identifier}.zip`
return this.cdnUrlForFeature(identifier)
} else {
return component.package_info?.download_url
}
+1 -1
View File
@@ -4,7 +4,7 @@ tmp
config/cap.yml
app/assets/templates/generated/
public/assets
public/components
public/components/assets
public/robots.txt
public/uploads/*
packages/!web-server/public/uploads/.keep
+24
View File
@@ -3,6 +3,30 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.2.12](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-17)
**Note:** Version bump only for package @standardnotes/web-server
## [1.2.12-alpha.0](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-17)
**Note:** Version bump only for package @standardnotes/web-server
## [1.2.11](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-17)
**Note:** Version bump only for package @standardnotes/web-server
## [1.2.10](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-17)
**Note:** Version bump only for package @standardnotes/web-server
## [1.2.10-alpha.1](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-17)
**Note:** Version bump only for package @standardnotes/web-server
## [1.2.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/web-server
## 1.2.9 (2022-06-16)
**Note:** Version bump only for package @standardnotes/web-server
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@standardnotes/web-server",
"version": "1.2.9",
"version": "1.2.12",
"license": "AGPL-3.0-or-later",
"private": true,
"author": "Standard Notes.",
@@ -11,8 +11,8 @@
"scripts": {
"start": "bundle exec rails s -b 0.0.0.0",
"start:no-binding": "bundle exec rails s",
"build:components": "cp -r ../../node_modules/@standardnotes/components-meta/dist/. public/components/",
"build": "bundle install && yarn build:components && bundle exec rails assets:precompile"
"copy:components": "cp -r ../../node_modules/@standardnotes/components-meta/dist/assets/. public/components/assets/",
"build": "bundle install && yarn copy:components && bundle exec rails assets:precompile"
},
"dependencies": {
"@standardnotes/components-meta": "workspace:*",
@@ -0,0 +1,97 @@
{
"org.standardnotes.theme-midnight": {
"version": "1.2.9-alpha.3",
"base64": "a5bdee326f69be2ed11c773be2da575e5451a1981bc87829b55b947c99c1d2c5",
"binary": "3b80a51ed8d060915e29019af9bc43b5c9a96d617df1348f2e67cbe2539f34c3"
},
"org.standardnotes.theme-futura": {
"version": "1.2.10-alpha.3",
"base64": "5a7beae2dbd971b558a7bc53a98e2efeea8d0fee1c37bc6082130eb035d1f0ee",
"binary": "c0f2267f7b2f75dd336af396f880f8220720d47ecf576b23d5f4ac0b4b427e75"
},
"org.standardnotes.theme-solarized-dark": {
"version": "1.2.8-alpha.3",
"base64": "0b8aeaf0bf41d5530743e9248388624a48168bd31475588a07cfc92541860fce",
"binary": "85a2cd7e0c38e7faa2a63775270b8fefa2c3ba5b1fd2b1bb9fd46fe2fbef263f"
},
"org.standardnotes.theme-autobiography": {
"version": "1.0.5-alpha.3",
"base64": "3c0a97b950b7b85dde816145ab551f0d542d64d0da70cec8794057fec1c8da18",
"binary": "f223eacdb17e5fa47e9a62c967202d194bac9dac0af42a57dbd14b4a2ef43089"
},
"org.standardnotes.theme-focus": {
"version": "1.2.10-alpha.3",
"base64": "0aa2fe041fc09dd74d3273c95887e098f26664a6ee8498da8ee9e136614eddec",
"binary": "cee7887eeb42043016ab63376071ae0721befed20f8933683230d222053721c5"
},
"org.standardnotes.theme-titanium": {
"version": "1.2.9-alpha.3",
"base64": "d9a0c6eb1b994a14afb8592794b9fce171f08d066d35c13e13182aed26403bfb",
"binary": "279cdd97605cd3bd34f5d3c71e4a68dbc83e2f8dfb005a320dee66dbd8def80b"
},
"org.standardnotes.theme-dynamic": {
"version": "1.0.5-alpha.3",
"base64": "3f400aa35c5e48ddbbefbda1ee5840747e25aa6912c8a7cd0f4ebc9ef3e03b19",
"binary": "faa237e40b44151252bf4b74b4869a842f037806e4de80c01a37ebaf8445487e"
},
"org.standardnotes.code-editor": {
"version": "1.3.13-alpha.3",
"base64": "f15a3ed82da5790af1e216d92e751f563c507e3ce1728652937f6c39e066ec98",
"binary": "f7707318ddf98c37881521db0de24206efbddae32553432baf723bf98bf7384a"
},
"org.standardnotes.bold-editor": {
"version": "1.3.6-alpha.3",
"base64": "6596d3b4b1778bf05b900e5d8eb7793d01b9cefdcd08fa6a552c30225129c1df",
"binary": "1835c346e3abdef4a79ff8d0f5acc457b530ac226c0c0dda4322ce476dd741ad"
},
"org.standardnotes.plus-editor": {
"version": "1.6.2-alpha.3",
"base64": "41517c9fdd3b99b0eb358089f10d3c3979751111c15f439998697a7be20f2a0c",
"binary": "404863d7f1f3adf7c7ae9980bbf2f92484d5d77dca662ff4fc85fc58406bcccf"
},
"org.standardnotes.simple-markdown-editor": {
"version": "1.4.3-alpha.3",
"base64": "095cd6210b347befaf63244d3144d2c93e123f7523afee0564b816c8932ee714",
"binary": "403373dff8b9f950d9b83a45d44e764d37de98ac3baf4b9919a33bd7e9ab7d3f"
},
"org.standardnotes.advanced-markdown-editor": {
"version": "1.5.1-alpha.3",
"base64": "7e8a29a1ad98370edcfd5533e24ee2bd77c2c6be58f1942911e07285392b59b8",
"binary": "f8b47517f196e86958047258b15122e77bc61cf5ce9fcd15a42786f740d14cf6"
},
"org.standardnotes.minimal-markdown-editor": {
"version": "1.3.10-alpha.3",
"base64": "aca049de350d405cd8d2f003c7cca2ffe930f5a6b6d9047709aaf0f2d67766e4",
"binary": "801405a6a6e264524f20d8c7ef7168c4e7fc401e89fc4d9cc6cced698413564a"
},
"org.standardnotes.fancy-markdown-editor": {
"version": "1.3.7-alpha.3",
"base64": "09517fd2681c6873648563c8bbc1e07ce2d13e55f355d34b40e121f5cf8cb418",
"binary": "8704039865c2069892cacc0a0ca94df87ace74b19095f962209e8eb33fec2899"
},
"org.standardnotes.markdown-visual-editor": {
"version": "1.0.8-alpha.3",
"base64": "5c3737ad276e08c6cdca929e2e31b45a26c40c589c1199e93df898702e7ffc68",
"binary": "338e4a66f1905660eb084cf7ece6cfa6a6ad0ac9fe8efbf1a880f69e5b0cfddc"
},
"org.standardnotes.simple-task-editor": {
"version": "1.3.11-alpha.3",
"base64": "173b6137e27f034db7392dcc092b4972ae05b0357f87ea67ac1e4943868b53f0",
"binary": "d4d62982e167b1858979dbf31fbfc40d8949c29fc8d46fad04166c32f133fe17"
},
"org.standardnotes.token-vault": {
"version": "2.0.11-alpha.3",
"base64": "f223911282c1411d5dc1cbd2bd81b779ae6b41c414414eeed4bf880d69db1b50",
"binary": "61bbf7e155d08ff56ce1dc925d5c54d5681e40addf9ea13459caf2da910a248f"
},
"org.standardnotes.standard-sheets": {
"version": "1.4.5-alpha.3",
"base64": "3d945883bae018bc5a589b9269f289d3eb1abc6a267414e4538860c955c8fc9b",
"binary": "a078fcbdb25414f4e86c8ef5e1246845a78f3d1082362c1a75fe6102c0e2a625"
},
"org.standardnotes.advanced-checklist": {
"version": "0.0.2-alpha.3",
"base64": "2b6a6100e9378b5f790006ce40ece6153c769e2982dfd4ee32f861625229fb69",
"binary": "93e6e24e0f1a33328724ab222fd99e4a23cf824d93dcc6e654d27d1e988baf92"
}
}
+25
View File
@@ -0,0 +1,25 @@
import fs from 'fs'
export const doesDirExist = (dir) => {
return fs.existsSync(dir)
}
export const doesFileExist = (file) => {
return fs.existsSync(file)
}
export const ensureDirExists = (dir) => {
if (!fs.existsSync(dir)) {
fs.mkdirSync(dir, { recursive: true })
}
}
export const emptyExistingDir = (dir) => {
if (fs.existsSync(dir)) {
fs.rmSync(dir, { recursive: true })
}
}
export const listDirFiles = (dir) => {
return fs.readdirSync(dir)
}
+3
View File
@@ -0,0 +1,3 @@
git flow release start @standardnotes/app-monorepo@VERSION
git flow release finish @standardnotes/app-monorepo@VERSION
git push origin main && git push origin develop && git push origin @standardnotes/app-monorepo@VERSION
+62 -24
View File
@@ -6894,12 +6894,12 @@ __metadata:
linkType: hard
"@types/jest@npm:*":
version: 28.1.1
resolution: "@types/jest@npm:28.1.1"
version: 28.1.2
resolution: "@types/jest@npm:28.1.2"
dependencies:
jest-matcher-utils: ^27.0.0
pretty-format: ^27.0.0
checksum: 0a8b045a7b660372decc807c390d3f99a2b12bb1659a1cd593afe04557f4b7c235b0576a5e35b1577710d20e42759d3d8755eb8bed6edc8733f47007e75a5509
jest-matcher-utils: ^28.0.0
pretty-format: ^28.0.0
checksum: 53ec95b0b27c61380225b94f8660e661e8c6c6fc69b7130531fb5d72ebf5c8838a4266b8a6d7b3a77b3bcdabed632de0c21c9592a2529c1efe80a0f0a995a3aa
languageName: node
linkType: hard
@@ -7388,13 +7388,13 @@ __metadata:
linkType: soft
"@types/react@npm:*":
version: 18.0.13
resolution: "@types/react@npm:18.0.13"
version: 18.0.14
resolution: "@types/react@npm:18.0.14"
dependencies:
"@types/prop-types": "*"
"@types/scheduler": "*"
csstype: ^3.0.2
checksum: ef976dbcd5605f3b8db2b286b1b35471d574dca711a2b6928c164075efd3ee731b3f32708f1ae09cfb04b003f9a4a9774cc386c32688f7fae864ea53a1c238f6
checksum: 608eb57a383eedc54c79949673e5e8314f6b0c61542bff58721c8c47a18c23e2832e77c656050c2c2c004b62cf25582136c7c56fe1b6263a285c065fae31dbcf
languageName: node
linkType: hard
@@ -7420,13 +7420,13 @@ __metadata:
linkType: hard
"@types/react@npm:^17, @types/react@npm:^17.0.40, @types/react@npm:^17.0.42":
version: 17.0.46
resolution: "@types/react@npm:17.0.46"
version: 17.0.47
resolution: "@types/react@npm:17.0.47"
dependencies:
"@types/prop-types": "*"
"@types/scheduler": "*"
csstype: ^3.0.2
checksum: 10e41e74aef40363a47a7aeb11b0179854eca0e0635300aac54a81f10ab0cbd7b8d099fed19ae919e25ceae42518db8a25d481625c23b97d7fdc10d1934b710c
checksum: 2e7fe0eb630cb77da03b6da308c58728c01b38e878118e9ff5cd8045181c8d4f32dc936e328f46a62cadb56e1fe4c5a911b5113584f93a99e1f35df7f059246b
languageName: node
linkType: hard
@@ -7565,11 +7565,11 @@ __metadata:
linkType: hard
"@types/testing-library__jest-dom@npm:^5.9.1":
version: 5.14.3
resolution: "@types/testing-library__jest-dom@npm:5.14.3"
version: 5.14.4
resolution: "@types/testing-library__jest-dom@npm:5.14.4"
dependencies:
"@types/jest": "*"
checksum: 203443d0e7e5929fbc9e441146f92d85efa033b4697e427ed0164df1c40b720b6bb9bbd96a3171ea5fd8d9301b538fd0f49d4f35594d142afd0f6d2ecac25785
checksum: 1d67a421757e5e6c32f232f848418b79658dc32d202f5b5f89e79dc49e6e8f24f0415db0f9fafe38c43c843d7f532cac53aa401f0129ae4b45c8d57e5974fbe3
languageName: node
linkType: hard
@@ -14078,6 +14078,13 @@ __metadata:
languageName: node
linkType: hard
"diff-sequences@npm:^28.1.1":
version: 28.1.1
resolution: "diff-sequences@npm:28.1.1"
checksum: e2529036505567c7ca5a2dea86b6bcd1ca0e3ae63bf8ebf529b8a99cfa915bbf194b7021dc1c57361a4017a6d95578d4ceb29fabc3232a4f4cb866a2726c7690
languageName: node
linkType: hard
"diff@npm:^4.0.1":
version: 4.0.2
resolution: "diff@npm:4.0.2"
@@ -14609,9 +14616,9 @@ __metadata:
linkType: hard
"electron-to-chromium@npm:^1.4.147":
version: 1.4.158
resolution: "electron-to-chromium@npm:1.4.158"
checksum: cc23bf4172936122cf36084c2eeb68684170d32a2e0f4becb73fb9ab965a60a0e04e7b9e763858b24154b766ca851582d655209fb35479f04032394d926375c6
version: 1.4.160
resolution: "electron-to-chromium@npm:1.4.160"
checksum: cd1058ddf8c4d1a38d2826938f9e99945bb45f96ea5eca5af96a2df4a40f23eec19e187cda739b4438174352129bcb733950f366a494d0a923385a46868a0d38
languageName: node
linkType: hard
@@ -19748,6 +19755,18 @@ __metadata:
languageName: node
linkType: hard
"jest-diff@npm:^28.1.1":
version: 28.1.1
resolution: "jest-diff@npm:28.1.1"
dependencies:
chalk: ^4.0.0
diff-sequences: ^28.1.1
jest-get-type: ^28.0.2
pretty-format: ^28.1.1
checksum: d9e0355880bee8728f7615ac0f03c66dcd4e93113935cca056a5f5a2f20ac2c7812aca6ad68e79bd1b11f2428748bd9123e6b1c7e51c93b4da3dfa5a875339f7
languageName: node
linkType: hard
"jest-docblock@npm:^27.5.1":
version: 27.5.1
resolution: "jest-docblock@npm:27.5.1"
@@ -19813,6 +19832,13 @@ __metadata:
languageName: node
linkType: hard
"jest-get-type@npm:^28.0.2":
version: 28.0.2
resolution: "jest-get-type@npm:28.0.2"
checksum: 5281d7c89bc8156605f6d15784f45074f4548501195c26e9b188742768f72d40948252d13230ea905b5349038865a1a8eeff0e614cc530ff289dfc41fe843abd
languageName: node
linkType: hard
"jest-haste-map@npm:^26.5.2":
version: 26.6.2
resolution: "jest-haste-map@npm:26.6.2"
@@ -19909,6 +19935,18 @@ __metadata:
languageName: node
linkType: hard
"jest-matcher-utils@npm:^28.0.0":
version: 28.1.1
resolution: "jest-matcher-utils@npm:28.1.1"
dependencies:
chalk: ^4.0.0
jest-diff: ^28.1.1
jest-get-type: ^28.0.2
pretty-format: ^28.1.1
checksum: cb73ccd347638cd761ef7e0b606fbd71c115bd8febe29413f7b105fff6855d4356b8094c6b72393c5457db253b9c163498f188f25f9b6308c39c510e4c2886ee
languageName: node
linkType: hard
"jest-message-util@npm:^27.5.1":
version: 27.5.1
resolution: "jest-message-util@npm:27.5.1"
@@ -21065,8 +21103,8 @@ __metadata:
linkType: hard
"lint-staged@npm:*, lint-staged@npm:>=12, lint-staged@npm:^13.0.1":
version: 13.0.1
resolution: "lint-staged@npm:13.0.1"
version: 13.0.2
resolution: "lint-staged@npm:13.0.2"
dependencies:
cli-truncate: ^3.1.0
colorette: ^2.0.17
@@ -21083,7 +21121,7 @@ __metadata:
yaml: ^2.1.1
bin:
lint-staged: bin/lint-staged.js
checksum: a321b351bbdc7dba09c9f026e385b887dabaaea1258eb478fbbe73dc395e11ebe26c946f8514426c7fc7e3e0efbe0761fe64f70e0d26361f912af79f80bf3e4e
checksum: b5ccf8e11b69f6fd8b79b629580c1463524aeca069a8f97a28291de2fafa474c28871428b56f251cf95a02d84e7b0fc0dfd6443532e16fdac3f9cba9228cfc9e
languageName: node
linkType: hard
@@ -26321,7 +26359,7 @@ __metadata:
languageName: node
linkType: hard
"pretty-format@npm:^28.1.1":
"pretty-format@npm:^28.0.0, pretty-format@npm:^28.1.1":
version: 28.1.1
resolution: "pretty-format@npm:28.1.1"
dependencies:
@@ -32124,11 +32162,11 @@ __metadata:
linkType: hard
"uglify-js@npm:^3.1.4, uglify-js@npm:^3.15.4":
version: 3.16.0
resolution: "uglify-js@npm:3.16.0"
version: 3.16.1
resolution: "uglify-js@npm:3.16.1"
bin:
uglifyjs: bin/uglifyjs
checksum: be0207e57ef70b13e92196cd0351f28908b80121d809901b511593c0bd1043d9c0b21d22f2a83001da873407a02572b67ccd21ce5e053cf7c787b2ca8a3773fb
checksum: e4108b35af7bcc9cf3be5366614bb1df2c78695aa14dee85b48cb9036a4478e60e91afe2375917e3284b61ef056fcab3a1d4bfc7c563e57bc77fd5ac89463a4c
languageName: node
linkType: hard