diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index f6c9316f..6d3e6756 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -10,7 +10,15 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 + + - name: Setup Node + uses: actions/setup-node@v4 + with: + node-version: 16.x + + - name: Enable Corepack (Yarn) + run: corepack enable - name: Install dependencies run: yarn install diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7e0a3249..2cb2feea 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -2,7 +2,7 @@ name: Release on: push: - branches: [ main ] + branches: [main] jobs: Build: @@ -12,14 +12,18 @@ jobs: NODE_AUTH_TOKEN: ${{ secrets.PLUGINS_NPM_TOKEN }} steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: token: ${{ secrets.CI_PAT_TOKEN }} fetch-depth: 0 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: - registry-url: 'https://registry.npmjs.org' + node-version: 16.x + registry-url: "https://registry.npmjs.org" + + - name: Enable Corepack (Yarn) + run: corepack enable - name: Setup git config run: | @@ -47,4 +51,4 @@ jobs: run: yarn run release - name: Publish - run: yarn run publish \ No newline at end of file + run: yarn run publish diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 00000000..eda3661e --- /dev/null +++ b/.nvmrc @@ -0,0 +1,2 @@ +16.20.2 + diff --git a/.yarn/cache/@standardnotes-component-relay-https-082ca7c415-c8478582b4.zip b/.yarn/cache/@standardnotes-component-relay-https-082ca7c415-c8478582b4.zip deleted file mode 100644 index bf80c8f0..00000000 Binary files a/.yarn/cache/@standardnotes-component-relay-https-082ca7c415-c8478582b4.zip and /dev/null differ diff --git a/.yarn/cache/@standardnotes-editor-kit-https-11efdf5e8e-f11d9395e1.zip b/.yarn/cache/@standardnotes-editor-kit-https-11efdf5e8e-f11d9395e1.zip new file mode 100644 index 00000000..719e68b0 Binary files /dev/null and b/.yarn/cache/@standardnotes-editor-kit-https-11efdf5e8e-f11d9395e1.zip differ diff --git a/.yarn/cache/@standardnotes-editor-kit-https-edab490934-c59d160a86.zip b/.yarn/cache/@standardnotes-editor-kit-https-edab490934-c59d160a86.zip deleted file mode 100644 index 98657fac..00000000 Binary files a/.yarn/cache/@standardnotes-editor-kit-https-edab490934-c59d160a86.zip and /dev/null differ diff --git a/packages/com.sncommunity.advanced-checklist/package.json b/packages/com.sncommunity.advanced-checklist/package.json index 3902d3d1..41c58bb9 100644 --- a/packages/com.sncommunity.advanced-checklist/package.json +++ b/packages/com.sncommunity.advanced-checklist/package.json @@ -99,7 +99,7 @@ "@reach/visually-hidden": "0.16.0", "@react-hook/resize-observer": "^1.2.5", "@reduxjs/toolkit": "1.8.0", - "@standardnotes/editor-kit": "standardnotes/editor-kit#50ffb15c935a297b082eb00ffd031adc05080d7f", + "@standardnotes/editor-kit": "standardnotes/editor-kit#c0743eb4690dcf73aab97da662c3c7e5f8356275", "@standardnotes/stylekit": "5.23.0", "@testing-library/dom": "8.11.3", "@testing-library/jest-dom": "5.16.2", diff --git a/packages/com.sncommunity.markdown-basic/package.json b/packages/com.sncommunity.markdown-basic/package.json index 6a3c3c9b..4c99b2f6 100644 --- a/packages/com.sncommunity.markdown-basic/package.json +++ b/packages/com.sncommunity.markdown-basic/package.json @@ -5,7 +5,7 @@ }, "version": "1.7.4", "main": "dist/dist.js", - "author": "Standard Notes Community", + "author": "Standard Notes Community.", "description": "A Markdown editor with dynamic split-pane preview.", "scripts": { "lint": "eslint --cache --ext .jsx,.js --format=node_modules/eslint-formatter-pretty .", diff --git a/packages/com.sncommunity.markdown-math/package.json b/packages/com.sncommunity.markdown-math/package.json index 14bcfce7..c53d1040 100644 --- a/packages/com.sncommunity.markdown-math/package.json +++ b/packages/com.sncommunity.markdown-math/package.json @@ -10,7 +10,7 @@ "build": "grunt", "test": "echo \"Error: no test specified\" && exit 0" }, - "author": "Standard Notes Community", + "author": "Standard Notes Community.", "sn": { "name": "Markdown Math", "content_type": "SN|Component", diff --git a/packages/com.sncommunity.markdown-visual/package.json b/packages/com.sncommunity.markdown-visual/package.json index 4249c949..acb7f392 100644 --- a/packages/com.sncommunity.markdown-visual/package.json +++ b/packages/com.sncommunity.markdown-visual/package.json @@ -34,7 +34,7 @@ "test": "echo \"Error: no test specified\" && exit 0" }, "dependencies": { - "@standardnotes/editor-kit": "standardnotes/editor-kit#50ffb15c935a297b082eb00ffd031adc05080d7f", + "@standardnotes/editor-kit": "standardnotes/editor-kit#c0743eb4690dcf73aab97da662c3c7e5f8356275", "@standardnotes/styles": "1.6.1" }, "devDependencies": { diff --git a/packages/com.sncommunity.minimal-markdown/package.json b/packages/com.sncommunity.minimal-markdown/package.json index 44e68f42..64bc41d3 100644 --- a/packages/com.sncommunity.minimal-markdown/package.json +++ b/packages/com.sncommunity.minimal-markdown/package.json @@ -5,7 +5,7 @@ }, "version": "1.4.3", "description": "A minimal Markdown editor with live rendering and in-text search via Ctrl/Cmd + F", - "author": "Standard Notes Community", + "author": "Standard Notes Community.", "main": "dist/dist.js", "sn": { "name": "Minimal Markdown", diff --git a/packages/com.sncommunity.standard-blue-dark-theme/package.json b/packages/com.sncommunity.standard-blue-dark-theme/package.json index 23f5c487..21d7935c 100644 --- a/packages/com.sncommunity.standard-blue-dark-theme/package.json +++ b/packages/com.sncommunity.standard-blue-dark-theme/package.json @@ -3,7 +3,7 @@ "version": "1.1.4", "main": "dist/dist.css", "author": "Passkeys", - "description": "A dark blue theme for Standard Notes.", + "description": "A dark blue theme for Standard Notes", "publishConfig": { "access": "public" }, diff --git a/packages/org.standardnotes.advanced-markdown-editor/package.json b/packages/org.standardnotes.advanced-markdown-editor/package.json index cb934567..b46a458f 100644 --- a/packages/org.standardnotes.advanced-markdown-editor/package.json +++ b/packages/org.standardnotes.advanced-markdown-editor/package.json @@ -6,7 +6,7 @@ }, "description": "A fully featured Markdown editor that supports live preview, a styling toolbar, and split pane support.", "main": "dist/dist.js", - "author": "Standard Notes Community", + "author": "Standard Notes Community.", "license": "AGPL-3.0", "sn": { "name": "Markdown", diff --git a/packages/org.standardnotes.code-editor/package.json b/packages/org.standardnotes.code-editor/package.json index 630d69e9..4f11daa6 100644 --- a/packages/org.standardnotes.code-editor/package.json +++ b/packages/org.standardnotes.code-editor/package.json @@ -6,7 +6,7 @@ }, "description": "Syntax highlighting and convenient keyboard shortcuts for over 120 programming languages. Ideal for code snippets and procedures.", "main": "dist/main.js", - "author": "Standard Notes Community", + "author": "Standard Notes Community.", "license": "AGPL-3.0", "scripts": { "start": "http-server . --cors -p8001 & webpack --progress --config webpack.dev.js", diff --git a/packages/org.standardnotes.plus-editor/package.json b/packages/org.standardnotes.plus-editor/package.json index 4e26d184..ca6300dc 100644 --- a/packages/org.standardnotes.plus-editor/package.json +++ b/packages/org.standardnotes.plus-editor/package.json @@ -6,7 +6,7 @@ }, "description": "From highlighting to custom font sizes and colors, to tables and lists, this editor is perfect for crafting any document.", "main": "dist/dist.js", - "author": "Standard Notes Community", + "author": "Standard Notes Community.", "scripts": { "skip:lint": "eslint --ext .js .", "lint:fix": "eslint --ext .js . --fix", diff --git a/packages/org.standardnotes.simple-task-editor/package.json b/packages/org.standardnotes.simple-task-editor/package.json index 100316d7..ce844cf9 100644 --- a/packages/org.standardnotes.simple-task-editor/package.json +++ b/packages/org.standardnotes.simple-task-editor/package.json @@ -4,7 +4,7 @@ "publishConfig": { "access": "public" }, - "author": "Standard Notes Community.", + "author": "Standard Notes Community", "main": "dist/dist.js", "description": "A great way to manage short-term and long-term to-do's. You can mark tasks as completed, change their order, and edit the text naturally in place.", "scripts": { diff --git a/packages/org.standardnotes.standard-sheets/package.json b/packages/org.standardnotes.standard-sheets/package.json index d9787e65..726fab1f 100644 --- a/packages/org.standardnotes.standard-sheets/package.json +++ b/packages/org.standardnotes.standard-sheets/package.json @@ -4,7 +4,7 @@ "publishConfig": { "access": "public" }, - "author": "Standard Notes.", + "author": "Standard Notes", "main": "dist/dist.js", "scripts": { "skip:lint": "eslint app/ --ext .js", diff --git a/packages/org.standardnotes.token-vault/package.json b/packages/org.standardnotes.token-vault/package.json index 6ff96e0b..2d3b6350 100644 --- a/packages/org.standardnotes.token-vault/package.json +++ b/packages/org.standardnotes.token-vault/package.json @@ -26,7 +26,7 @@ ] }, "dependencies": { - "@standardnotes/editor-kit": "standardnotes/editor-kit#50ffb15c935a297b082eb00ffd031adc05080d7f", + "@standardnotes/editor-kit": "standardnotes/editor-kit#c0743eb4690dcf73aab97da662c3c7e5f8356275", "@standardnotes/styles": "1.6.1" }, "devDependencies": { diff --git a/yarn.lock b/yarn.lock index 4f86a5f3..2d80ed20 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6645,7 +6645,7 @@ __metadata: "@reach/visually-hidden": 0.16.0 "@react-hook/resize-observer": ^1.2.5 "@reduxjs/toolkit": 1.8.0 - "@standardnotes/editor-kit": "standardnotes/editor-kit#50ffb15c935a297b082eb00ffd031adc05080d7f" + "@standardnotes/editor-kit": "standardnotes/editor-kit#c0743eb4690dcf73aab97da662c3c7e5f8356275" "@standardnotes/stylekit": 5.23.0 "@standardnotes/utils": 1.9.0 "@testing-library/dom": 8.11.3 @@ -6703,7 +6703,7 @@ __metadata: "@babel/plugin-transform-runtime": ^7.18.5 "@babel/preset-env": ^7.18.2 "@babel/preset-react": ^7.17.12 - "@standardnotes/editor-kit": "standardnotes/editor-kit#50ffb15c935a297b082eb00ffd031adc05080d7f" + "@standardnotes/editor-kit": "standardnotes/editor-kit#c0743eb4690dcf73aab97da662c3c7e5f8356275" "@standardnotes/eslint-config-extensions": ^1.0.4 "@standardnotes/styles": 1.6.1 "@svgr/webpack": ^6.2.1 @@ -6820,19 +6820,6 @@ __metadata: languageName: unknown linkType: soft -"@standardnotes/component-relay@standardnotes/component-relay#839ff5db9bc92db9d42cad8d202ddc4df729597d": - version: 2.3.0 - resolution: "@standardnotes/component-relay@https://github.com/standardnotes/component-relay.git#commit=839ff5db9bc92db9d42cad8d202ddc4df729597d" - dependencies: - "@standardnotes/common": ^1.43.0 - "@standardnotes/features": 1.54.0 - "@standardnotes/models": 1.34.3 - "@standardnotes/sncrypto-common": 1.13.0 - "@standardnotes/snjs": 2.147.2 - checksum: c8478582b49b7f4134eeee29e97385dfd92842072ccec8de7038fb51c2b90fd24f017818a35a3e0f0ea071974c36167fec96d0bdf0184d442644538796dfc257 - languageName: node - linkType: hard - "@standardnotes/component-relay@standardnotes/component-relay#c54e74bd6d5a22fda4568325a0a699fa55dd14b4": version: 2.3.0 resolution: "@standardnotes/component-relay@https://github.com/standardnotes/component-relay.git#commit=c54e74bd6d5a22fda4568325a0a699fa55dd14b4" @@ -6872,14 +6859,14 @@ __metadata: languageName: node linkType: hard -"@standardnotes/editor-kit@standardnotes/editor-kit#50ffb15c935a297b082eb00ffd031adc05080d7f": - version: 2.3.0 - resolution: "@standardnotes/editor-kit@https://github.com/standardnotes/editor-kit.git#commit=50ffb15c935a297b082eb00ffd031adc05080d7f" +"@standardnotes/editor-kit@standardnotes/editor-kit#c0743eb4690dcf73aab97da662c3c7e5f8356275": + version: 2.3.1 + resolution: "@standardnotes/editor-kit@https://github.com/standardnotes/editor-kit.git#commit=c0743eb4690dcf73aab97da662c3c7e5f8356275" dependencies: - "@standardnotes/component-relay": "standardnotes/component-relay#839ff5db9bc92db9d42cad8d202ddc4df729597d" + "@standardnotes/component-relay": "standardnotes/component-relay#c54e74bd6d5a22fda4568325a0a699fa55dd14b4" "@standardnotes/models": 1.34.3 "@standardnotes/snjs": 2.147.2 - checksum: c59d160a86e9c40c10f20d15a0df8874a8305bd4ae281fad8729fbf9bd714667b3849c78e3a28f18c12127e23bb9e4834139c0501505822662b51c19c9ddf343 + checksum: f11d9395e150a6876e16be19638fb6da8d1212ca5c810d500283e947057a519fe269c8fcf34a335126655fbe93db680307313e5ee1137cc350cfe55f06484df4 languageName: node linkType: hard @@ -7112,7 +7099,7 @@ __metadata: "@milkdown/prose": 5.5.0 "@milkdown/react": 5.5.0 "@milkdown/theme-nord": 5.5.0 - "@standardnotes/editor-kit": "standardnotes/editor-kit#50ffb15c935a297b082eb00ffd031adc05080d7f" + "@standardnotes/editor-kit": "standardnotes/editor-kit#c0743eb4690dcf73aab97da662c3c7e5f8356275" "@standardnotes/styles": 1.6.1 "@testing-library/dom": ^8.11.3 "@testing-library/jest-dom": ^5.16.2