From 0e024bd072f53c8b21690c2ef75f9bc1e09c7434 Mon Sep 17 00:00:00 2001 From: Alexander Lobyntsev Date: Tue, 2 Apr 2024 16:51:04 +0700 Subject: [PATCH 01/23] ci: update lerna settings [no ci] --- lerna.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lerna.json b/lerna.json index d4559bc2..17e448d6 100644 --- a/lerna.json +++ b/lerna.json @@ -25,6 +25,12 @@ }, "init": { "exact": true + }, + "version": { + "conventionalCommits": true, + "conventionalPrerelease": true, + "conventionalBumpPrerelease": true, + "preid": "dev" } }, "$schema": "node_modules/lerna/schemas/lerna-schema.json" From 71d72299b45935ebb807a8239b9db949008e8cf3 Mon Sep 17 00:00:00 2001 From: Alexander Lobyntsev Date: Tue, 2 Apr 2024 17:06:15 +0700 Subject: [PATCH 02/23] ci: update settings [no ci] --- .github/workflows/publish-common.yml | 3 ++- auto.config.js | 4 +--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish-common.yml b/.github/workflows/publish-common.yml index fffc8797..ce582a50 100644 --- a/.github/workflows/publish-common.yml +++ b/.github/workflows/publish-common.yml @@ -31,6 +31,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.gh_token }} NPM_REGISTRY_TOKEN: ${{ secrets.npm_registry_token }} + UPLOAD_ASSETS: ${{ inputs.upload_assets }} steps: - name: Checkout uses: actions/checkout@v4 @@ -62,7 +63,7 @@ jobs: run: npm whoami && npx lerna info && npx auto info || echo 'auto info returned 1' - name: Release - run: upload_assets="${{ inputs.upload_assets }}" packages_targets=${{ toJSON(vars.UPLOAD_ASSETS_TARGET_PACKAGES) }} npm run release + run: npm run release - name: Update package-lock files if: ${{ inputs.with-update-package-lock }} diff --git a/auto.config.js b/auto.config.js index 92dc3297..d5611ba6 100644 --- a/auto.config.js +++ b/auto.config.js @@ -18,11 +18,9 @@ const uploadAssetsPluginOptions = { /** Auto configuration */ module.exports = function rc() { - const { upload_assets: uploadAssets = 'false', packages_targets } = process.env || {}; + const { UPLOAD_ASSETS: uploadAssets = 'false', packages_targets } = process.env || {}; const plugins = [['released', releasedOptions], ['npm', npmOptions], 'conventional-commits']; - console.log(packages_targets); - if (uploadAssets === 'true') { plugins.unshift(['./auto-plugins/dist/upload-assets-extend.js', { From 02c32fec409d1615ec86756b99960b5225aba672 Mon Sep 17 00:00:00 2001 From: Alexander Lobyntsev Date: Tue, 2 Apr 2024 17:12:49 +0700 Subject: [PATCH 03/23] ci: update settings [no ci] --- lerna.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lerna.json b/lerna.json index 17e448d6..b30fe712 100644 --- a/lerna.json +++ b/lerna.json @@ -29,8 +29,7 @@ "version": { "conventionalCommits": true, "conventionalPrerelease": true, - "conventionalBumpPrerelease": true, - "preid": "dev" + "conventionalBumpPrerelease": true } }, "$schema": "node_modules/lerna/schemas/lerna-schema.json" From ef4a21bef679bf08b09468b2cdaddfe9990bef3d Mon Sep 17 00:00:00 2001 From: Alexander Lobyntsev Date: Tue, 2 Apr 2024 17:15:59 +0700 Subject: [PATCH 04/23] ci: update settings [no ci] --- lerna.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lerna.json b/lerna.json index b30fe712..58af5bb8 100644 --- a/lerna.json +++ b/lerna.json @@ -28,8 +28,7 @@ }, "version": { "conventionalCommits": true, - "conventionalPrerelease": true, - "conventionalBumpPrerelease": true + "conventionalPrerelease": true } }, "$schema": "node_modules/lerna/schemas/lerna-schema.json" From 314e0f40c879d80790d25e5a747cb670d374479f Mon Sep 17 00:00:00 2001 From: Alexander Lobyntsev Date: Tue, 2 Apr 2024 17:18:39 +0700 Subject: [PATCH 05/23] ci: update settings [no ci] --- lerna.json | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lerna.json b/lerna.json index 58af5bb8..d4559bc2 100644 --- a/lerna.json +++ b/lerna.json @@ -25,10 +25,6 @@ }, "init": { "exact": true - }, - "version": { - "conventionalCommits": true, - "conventionalPrerelease": true } }, "$schema": "node_modules/lerna/schemas/lerna-schema.json" From 44926b2e74cd2ca2255c1f2e1e624c04fece4aae Mon Sep 17 00:00:00 2001 From: Alexander Lobyntsev Date: Tue, 2 Apr 2024 17:26:35 +0700 Subject: [PATCH 06/23] ci: update settings [no ci] --- lerna.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lerna.json b/lerna.json index d4559bc2..6cb54801 100644 --- a/lerna.json +++ b/lerna.json @@ -25,6 +25,11 @@ }, "init": { "exact": true + }, + "version": { + "conventionalCommits": true, + "conventionalBumpPrerelease": true, + "preid": "dev" } }, "$schema": "node_modules/lerna/schemas/lerna-schema.json" From cccab50921f076620017c0c59055a74e99489574 Mon Sep 17 00:00:00 2001 From: Alexander Lobyntsev Date: Tue, 2 Apr 2024 17:29:40 +0700 Subject: [PATCH 07/23] ci: update settings [no ci] --- .github/workflows/publish-common.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/publish-common.yml b/.github/workflows/publish-common.yml index ce582a50..6b7d6cea 100644 --- a/.github/workflows/publish-common.yml +++ b/.github/workflows/publish-common.yml @@ -38,6 +38,7 @@ jobs: with: show-progress: false fetch-depth: 0 + clean: true ref: ${{ inputs.ref }} - name: Unset header From 7b25e55f1b786daad2088dc6e5fbcfc88cae0b9e Mon Sep 17 00:00:00 2001 From: Alexander Lobyntsev Date: Tue, 2 Apr 2024 17:38:03 +0700 Subject: [PATCH 08/23] ci: update settings [no ci] --- lerna.json | 1 + 1 file changed, 1 insertion(+) diff --git a/lerna.json b/lerna.json index 6cb54801..17e448d6 100644 --- a/lerna.json +++ b/lerna.json @@ -28,6 +28,7 @@ }, "version": { "conventionalCommits": true, + "conventionalPrerelease": true, "conventionalBumpPrerelease": true, "preid": "dev" } From 2f1c4d65f2b263fdcd72468c49f0043287b5a4b6 Mon Sep 17 00:00:00 2001 From: Alexander Lobyntsev Date: Tue, 2 Apr 2024 16:52:12 +0700 Subject: [PATCH 09/23] feat: bump --- packages/core/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/package.json b/packages/core/package.json index c1913b07..6f4aad78 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -2,7 +2,7 @@ "name": "plasmax-core", "version": "0.59.0", "author": "Alex Czech1 ", - "description": "ddasdasd", + "description": "11111", "license": "MIT", "scripts": { "prepare": "npm run build", From 6a12c59cc54e4a54ca3e1fea5f2544f053de2f67 Mon Sep 17 00:00:00 2001 From: Alexander Lobyntsev Date: Tue, 2 Apr 2024 17:42:34 +0700 Subject: [PATCH 10/23] ci: update settings [no ci] --- .github/workflows/publish-rc-wd.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/publish-rc-wd.yml diff --git a/.github/workflows/publish-rc-wd.yml b/.github/workflows/publish-rc-wd.yml new file mode 100644 index 00000000..a1bda595 --- /dev/null +++ b/.github/workflows/publish-rc-wd.yml @@ -0,0 +1,17 @@ +name: Publish RC + +on: + workflow_dispatch: + +jobs: + publish: + name: Publish RC version + uses: ./.github/workflows/publish-common.yml + with: + with-update-package-lock: true + commit-message: "Update package-locks files" + auto-options: '--no-changelog' + upload_assets: false + secrets: + gh_token: ${{ secrets.GH_TOKEN }} + npm_registry_token: ${{ secrets.NPM_REGISTRY_TOKEN }} From 98c1bf110d23c8468a748a2b85a7551296573968 Mon Sep 17 00:00:00 2001 From: Alexander Lobyntsev Date: Tue, 2 Apr 2024 17:46:27 +0700 Subject: [PATCH 11/23] feat: bump 1 --- packages/core/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/package.json b/packages/core/package.json index 6f4aad78..b97ca51f 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -2,7 +2,7 @@ "name": "plasmax-core", "version": "0.59.0", "author": "Alex Czech1 ", - "description": "11111", + "description": "asdasd", "license": "MIT", "scripts": { "prepare": "npm run build", From d7328432ae94cd0c27c6ec73cfdcae339898ca85 Mon Sep 17 00:00:00 2001 From: Salute Frontend Team Date: Tue, 2 Apr 2024 10:48:13 +0000 Subject: [PATCH 12/23] Update versions --- packages/core/package.json | 4 ++-- packages/hope/package.json | 6 +++--- packages/web/package.json | 6 +++--- utils/pack/package.json | 6 +++--- utils/tools/package.json | 6 +++--- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/packages/core/package.json b/packages/core/package.json index b97ca51f..37ba0f3d 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "plasmax-core", - "version": "0.59.0", + "version": "0.60.0-dev.0", "author": "Alex Czech1 ", "description": "asdasd", "license": "MIT", @@ -22,4 +22,4 @@ "main": "src/index.ts", "module": "esm/index.js", "types": "index.d.ts" -} +} \ No newline at end of file diff --git a/packages/hope/package.json b/packages/hope/package.json index a411810e..00145f63 100644 --- a/packages/hope/package.json +++ b/packages/hope/package.json @@ -1,6 +1,6 @@ { "name": "plasmax-hope", - "version": "0.72.0", + "version": "0.73.0-dev.0", "author": "Alex Czech ", "license": "MIT", "description": "33333", @@ -15,7 +15,7 @@ "lint": "eslint . --ext .ts" }, "dependencies": { - "plasmax-core": "0.59.0" + "plasmax-core": "0.60.0-dev.0" }, "devDependencies": { "@types/node": "16.7.13", @@ -25,4 +25,4 @@ "main": "src/index.ts", "module": "esm/index.js", "types": "index.d.ts" -} +} \ No newline at end of file diff --git a/packages/web/package.json b/packages/web/package.json index 223566fc..39d7baa5 100644 --- a/packages/web/package.json +++ b/packages/web/package.json @@ -1,6 +1,6 @@ { "name": "plasmax-web", - "version": "0.109.0", + "version": "0.110.0-dev.0", "author": "Alex Czech ", "license": "MIT", "description": "asdasdasdasasdas", @@ -15,7 +15,7 @@ "lint": "eslint . --ext .ts" }, "dependencies": { - "plasmax-hope": "0.72.0" + "plasmax-hope": "0.73.0-dev.0" }, "devDependencies": { "@types/node": "16.7.13", @@ -25,4 +25,4 @@ "main": "src/index.ts", "module": "esm/index.js", "types": "index.d.ts" -} +} \ No newline at end of file diff --git a/utils/pack/package.json b/utils/pack/package.json index b0b965ce..1b612e19 100644 --- a/utils/pack/package.json +++ b/utils/pack/package.json @@ -1,6 +1,6 @@ { "name": "plasmax-pack", - "version": "0.51.0", + "version": "0.52.0-dev.0", "author": "Alex Czech ", "license": "MIT", "private": true, @@ -8,7 +8,7 @@ "access": "restricted" }, "dependencies": { - "plasmax-core": "0.59.0", + "plasmax-core": "0.60.0-dev.0", "plasmax-tools": "file:./utils/tools" }, "devDependencies": { @@ -18,4 +18,4 @@ "clean": "rm -rf lib", "install:dev": "npm i -D plasmax-core@dev" } -} +} \ No newline at end of file diff --git a/utils/tools/package.json b/utils/tools/package.json index 87273ed8..55afb774 100644 --- a/utils/tools/package.json +++ b/utils/tools/package.json @@ -1,6 +1,6 @@ { "name": "plasmax-tools", - "version": "0.53.0", + "version": "0.54.0-dev.0", "author": "Alex ", "license": "MIT", "private": true, @@ -8,7 +8,7 @@ "access": "restricted" }, "dependencies": { - "plasmax-core": "0.59.0" + "plasmax-core": "0.60.0-dev.0" }, "devDependencies": { "typescript": "5.2.2" @@ -17,4 +17,4 @@ "clean": "rm -rf lib", "install:dev": "npm i plasmax-core@dev" } -} +} \ No newline at end of file From f44e1be04254caeac3d88d526c8fee8521abebf8 Mon Sep 17 00:00:00 2001 From: Salute Frontend Team Date: Tue, 2 Apr 2024 10:48:53 +0000 Subject: [PATCH 13/23] Update package-locks files --- packages/core/package-lock.json | 4 ++-- packages/hope/package-lock.json | 18 ++++++++--------- packages/web/package-lock.json | 34 ++++++++++++++++----------------- 3 files changed, 28 insertions(+), 28 deletions(-) diff --git a/packages/core/package-lock.json b/packages/core/package-lock.json index 340c326a..35940182 100644 --- a/packages/core/package-lock.json +++ b/packages/core/package-lock.json @@ -1,12 +1,12 @@ { "name": "plasmax-core", - "version": "0.59.0", + "version": "0.60.0-dev.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "plasmax-core", - "version": "0.59.0", + "version": "0.60.0-dev.0", "license": "MIT", "devDependencies": { "@types/node": "16.7.13", diff --git a/packages/hope/package-lock.json b/packages/hope/package-lock.json index 3cb5a37a..90d1ad43 100644 --- a/packages/hope/package-lock.json +++ b/packages/hope/package-lock.json @@ -1,15 +1,15 @@ { "name": "plasmax-hope", - "version": "0.72.0", + "version": "0.73.0-dev.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "plasmax-hope", - "version": "0.72.0", + "version": "0.73.0-dev.0", "license": "MIT", "dependencies": { - "plasmax-core": "0.59.0" + "plasmax-core": "0.60.0-dev.0" }, "devDependencies": { "@types/node": "16.7.13", @@ -117,9 +117,9 @@ "dev": true }, "node_modules/plasmax-core": { - "version": "0.59.0", - "resolved": "https://registry.npmjs.org/plasmax-core/-/plasmax-core-0.59.0.tgz", - "integrity": "sha512-ZPEuKNf3wsBLuGaQBM9R/LZMMufSIWa6IuC7M0qJ+sqPzVBZ7d/q7Lv52FhLWwzaqk/w6tExM1ijiuGP3LzVnA==" + "version": "0.60.0-dev.0", + "resolved": "https://registry.npmjs.org/plasmax-core/-/plasmax-core-0.60.0-dev.0.tgz", + "integrity": "sha512-jjqAB6+0Z9lQ4wG6tjd0lDiCLxYRVSvRRo8MNQ9mfBCxDZXaVXR4y0stBlDTYXv0n6PVgEhFV2ilpLW7qBsHXg==" }, "node_modules/ts-node": { "version": "10.3.0", @@ -268,9 +268,9 @@ "dev": true }, "plasmax-core": { - "version": "0.59.0", - "resolved": "https://registry.npmjs.org/plasmax-core/-/plasmax-core-0.59.0.tgz", - "integrity": "sha512-ZPEuKNf3wsBLuGaQBM9R/LZMMufSIWa6IuC7M0qJ+sqPzVBZ7d/q7Lv52FhLWwzaqk/w6tExM1ijiuGP3LzVnA==" + "version": "0.60.0-dev.0", + "resolved": "https://registry.npmjs.org/plasmax-core/-/plasmax-core-0.60.0-dev.0.tgz", + "integrity": "sha512-jjqAB6+0Z9lQ4wG6tjd0lDiCLxYRVSvRRo8MNQ9mfBCxDZXaVXR4y0stBlDTYXv0n6PVgEhFV2ilpLW7qBsHXg==" }, "ts-node": { "version": "10.3.0", diff --git a/packages/web/package-lock.json b/packages/web/package-lock.json index 949a0a72..f0a149f1 100644 --- a/packages/web/package-lock.json +++ b/packages/web/package-lock.json @@ -1,15 +1,15 @@ { "name": "plasmax-web", - "version": "0.109.0", + "version": "0.110.0-dev.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "plasmax-web", - "version": "0.109.0", + "version": "0.110.0-dev.0", "license": "MIT", "dependencies": { - "plasmax-hope": "0.72.0" + "plasmax-hope": "0.73.0-dev.0" }, "devDependencies": { "@types/node": "16.7.13", @@ -117,16 +117,16 @@ "dev": true }, "node_modules/plasmax-core": { - "version": "0.59.0", - "resolved": "https://registry.npmjs.org/plasmax-core/-/plasmax-core-0.59.0.tgz", - "integrity": "sha512-ZPEuKNf3wsBLuGaQBM9R/LZMMufSIWa6IuC7M0qJ+sqPzVBZ7d/q7Lv52FhLWwzaqk/w6tExM1ijiuGP3LzVnA==" + "version": "0.60.0-dev.0", + "resolved": "https://registry.npmjs.org/plasmax-core/-/plasmax-core-0.60.0-dev.0.tgz", + "integrity": "sha512-jjqAB6+0Z9lQ4wG6tjd0lDiCLxYRVSvRRo8MNQ9mfBCxDZXaVXR4y0stBlDTYXv0n6PVgEhFV2ilpLW7qBsHXg==" }, "node_modules/plasmax-hope": { - "version": "0.72.0", - "resolved": "https://registry.npmjs.org/plasmax-hope/-/plasmax-hope-0.72.0.tgz", - "integrity": "sha512-UNYL9/sD4PB7+ExUqivyFbQnhsfrKKZ8RAV1symkvXA93plMGaD81Dp42fB6j9QVnd8zO3HvFt6xRXb6rXu6Hg==", + "version": "0.73.0-dev.0", + "resolved": "https://registry.npmjs.org/plasmax-hope/-/plasmax-hope-0.73.0-dev.0.tgz", + "integrity": "sha512-Zeea9umt0wZr9uEGEcaGiaYvfxurqqKjekU8kxtD4RreNhLUrYEr5r/cGfnDVHT7uSWU2eRj8JId0xdqhlcEAA==", "dependencies": { - "plasmax-core": "0.59.0" + "plasmax-core": "0.60.0-dev.0" } }, "node_modules/ts-node": { @@ -276,16 +276,16 @@ "dev": true }, "plasmax-core": { - "version": "0.59.0", - "resolved": "https://registry.npmjs.org/plasmax-core/-/plasmax-core-0.59.0.tgz", - "integrity": "sha512-ZPEuKNf3wsBLuGaQBM9R/LZMMufSIWa6IuC7M0qJ+sqPzVBZ7d/q7Lv52FhLWwzaqk/w6tExM1ijiuGP3LzVnA==" + "version": "0.60.0-dev.0", + "resolved": "https://registry.npmjs.org/plasmax-core/-/plasmax-core-0.60.0-dev.0.tgz", + "integrity": "sha512-jjqAB6+0Z9lQ4wG6tjd0lDiCLxYRVSvRRo8MNQ9mfBCxDZXaVXR4y0stBlDTYXv0n6PVgEhFV2ilpLW7qBsHXg==" }, "plasmax-hope": { - "version": "0.72.0", - "resolved": "https://registry.npmjs.org/plasmax-hope/-/plasmax-hope-0.72.0.tgz", - "integrity": "sha512-UNYL9/sD4PB7+ExUqivyFbQnhsfrKKZ8RAV1symkvXA93plMGaD81Dp42fB6j9QVnd8zO3HvFt6xRXb6rXu6Hg==", + "version": "0.73.0-dev.0", + "resolved": "https://registry.npmjs.org/plasmax-hope/-/plasmax-hope-0.73.0-dev.0.tgz", + "integrity": "sha512-Zeea9umt0wZr9uEGEcaGiaYvfxurqqKjekU8kxtD4RreNhLUrYEr5r/cGfnDVHT7uSWU2eRj8JId0xdqhlcEAA==", "requires": { - "plasmax-core": "0.59.0" + "plasmax-core": "0.60.0-dev.0" } }, "ts-node": { From b4b4de45fede2bccccca7adbae870a7f04f34b1b Mon Sep 17 00:00:00 2001 From: Alexander Lobyntsev Date: Tue, 2 Apr 2024 17:51:22 +0700 Subject: [PATCH 14/23] fix: bump 2 --- packages/core/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/package.json b/packages/core/package.json index 37ba0f3d..bcad3014 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -2,7 +2,7 @@ "name": "plasmax-core", "version": "0.60.0-dev.0", "author": "Alex Czech1 ", - "description": "asdasd", + "description": "asdasda", "license": "MIT", "scripts": { "prepare": "npm run build", @@ -22,4 +22,4 @@ "main": "src/index.ts", "module": "esm/index.js", "types": "index.d.ts" -} \ No newline at end of file +} From d5c6b00e188d4f467d97ddd90f15f79193c2a47a Mon Sep 17 00:00:00 2001 From: Salute Frontend Team Date: Tue, 2 Apr 2024 10:57:11 +0000 Subject: [PATCH 15/23] Update versions --- packages/core/package.json | 4 ++-- packages/hope/package.json | 4 ++-- packages/web/package.json | 4 ++-- utils/pack/package.json | 4 ++-- utils/tools/package.json | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/core/package.json b/packages/core/package.json index bcad3014..0f83c389 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "plasmax-core", - "version": "0.60.0-dev.0", + "version": "0.60.1-dev.0", "author": "Alex Czech1 ", "description": "asdasda", "license": "MIT", @@ -22,4 +22,4 @@ "main": "src/index.ts", "module": "esm/index.js", "types": "index.d.ts" -} +} \ No newline at end of file diff --git a/packages/hope/package.json b/packages/hope/package.json index 00145f63..d3e28643 100644 --- a/packages/hope/package.json +++ b/packages/hope/package.json @@ -1,6 +1,6 @@ { "name": "plasmax-hope", - "version": "0.73.0-dev.0", + "version": "0.73.1-dev.0", "author": "Alex Czech ", "license": "MIT", "description": "33333", @@ -15,7 +15,7 @@ "lint": "eslint . --ext .ts" }, "dependencies": { - "plasmax-core": "0.60.0-dev.0" + "plasmax-core": "0.60.1-dev.0" }, "devDependencies": { "@types/node": "16.7.13", diff --git a/packages/web/package.json b/packages/web/package.json index 39d7baa5..e250d7b8 100644 --- a/packages/web/package.json +++ b/packages/web/package.json @@ -1,6 +1,6 @@ { "name": "plasmax-web", - "version": "0.110.0-dev.0", + "version": "0.110.1-dev.0", "author": "Alex Czech ", "license": "MIT", "description": "asdasdasdasasdas", @@ -15,7 +15,7 @@ "lint": "eslint . --ext .ts" }, "dependencies": { - "plasmax-hope": "0.73.0-dev.0" + "plasmax-hope": "0.73.1-dev.0" }, "devDependencies": { "@types/node": "16.7.13", diff --git a/utils/pack/package.json b/utils/pack/package.json index 1b612e19..6e8b429b 100644 --- a/utils/pack/package.json +++ b/utils/pack/package.json @@ -1,6 +1,6 @@ { "name": "plasmax-pack", - "version": "0.52.0-dev.0", + "version": "0.52.1-dev.0", "author": "Alex Czech ", "license": "MIT", "private": true, @@ -8,7 +8,7 @@ "access": "restricted" }, "dependencies": { - "plasmax-core": "0.60.0-dev.0", + "plasmax-core": "0.60.1-dev.0", "plasmax-tools": "file:./utils/tools" }, "devDependencies": { diff --git a/utils/tools/package.json b/utils/tools/package.json index 55afb774..88c1f15a 100644 --- a/utils/tools/package.json +++ b/utils/tools/package.json @@ -1,6 +1,6 @@ { "name": "plasmax-tools", - "version": "0.54.0-dev.0", + "version": "0.54.1-dev.0", "author": "Alex ", "license": "MIT", "private": true, @@ -8,7 +8,7 @@ "access": "restricted" }, "dependencies": { - "plasmax-core": "0.60.0-dev.0" + "plasmax-core": "0.60.1-dev.0" }, "devDependencies": { "typescript": "5.2.2" From b66de9cb10e960c160ddb10852a2bdf3b971caed Mon Sep 17 00:00:00 2001 From: Salute Frontend Team Date: Tue, 2 Apr 2024 10:57:54 +0000 Subject: [PATCH 16/23] Update package-locks files --- packages/core/package-lock.json | 4 ++-- packages/hope/package-lock.json | 18 ++++++++--------- packages/web/package-lock.json | 34 ++++++++++++++++----------------- 3 files changed, 28 insertions(+), 28 deletions(-) diff --git a/packages/core/package-lock.json b/packages/core/package-lock.json index 35940182..6d5b6b6b 100644 --- a/packages/core/package-lock.json +++ b/packages/core/package-lock.json @@ -1,12 +1,12 @@ { "name": "plasmax-core", - "version": "0.60.0-dev.0", + "version": "0.60.1-dev.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "plasmax-core", - "version": "0.60.0-dev.0", + "version": "0.60.1-dev.0", "license": "MIT", "devDependencies": { "@types/node": "16.7.13", diff --git a/packages/hope/package-lock.json b/packages/hope/package-lock.json index 90d1ad43..2d959d17 100644 --- a/packages/hope/package-lock.json +++ b/packages/hope/package-lock.json @@ -1,15 +1,15 @@ { "name": "plasmax-hope", - "version": "0.73.0-dev.0", + "version": "0.73.1-dev.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "plasmax-hope", - "version": "0.73.0-dev.0", + "version": "0.73.1-dev.0", "license": "MIT", "dependencies": { - "plasmax-core": "0.60.0-dev.0" + "plasmax-core": "0.60.1-dev.0" }, "devDependencies": { "@types/node": "16.7.13", @@ -117,9 +117,9 @@ "dev": true }, "node_modules/plasmax-core": { - "version": "0.60.0-dev.0", - "resolved": "https://registry.npmjs.org/plasmax-core/-/plasmax-core-0.60.0-dev.0.tgz", - "integrity": "sha512-jjqAB6+0Z9lQ4wG6tjd0lDiCLxYRVSvRRo8MNQ9mfBCxDZXaVXR4y0stBlDTYXv0n6PVgEhFV2ilpLW7qBsHXg==" + "version": "0.60.1-dev.0", + "resolved": "https://registry.npmjs.org/plasmax-core/-/plasmax-core-0.60.1-dev.0.tgz", + "integrity": "sha512-IWUp+0FVHBh2gX6LXMgP9OxlEzL9RHqNRD1qfS1suMkV1/y+dXTnxHD2JPtw8rjgf/Rr0pXgh+Xgew2JUUaWpg==" }, "node_modules/ts-node": { "version": "10.3.0", @@ -268,9 +268,9 @@ "dev": true }, "plasmax-core": { - "version": "0.60.0-dev.0", - "resolved": "https://registry.npmjs.org/plasmax-core/-/plasmax-core-0.60.0-dev.0.tgz", - "integrity": "sha512-jjqAB6+0Z9lQ4wG6tjd0lDiCLxYRVSvRRo8MNQ9mfBCxDZXaVXR4y0stBlDTYXv0n6PVgEhFV2ilpLW7qBsHXg==" + "version": "0.60.1-dev.0", + "resolved": "https://registry.npmjs.org/plasmax-core/-/plasmax-core-0.60.1-dev.0.tgz", + "integrity": "sha512-IWUp+0FVHBh2gX6LXMgP9OxlEzL9RHqNRD1qfS1suMkV1/y+dXTnxHD2JPtw8rjgf/Rr0pXgh+Xgew2JUUaWpg==" }, "ts-node": { "version": "10.3.0", diff --git a/packages/web/package-lock.json b/packages/web/package-lock.json index f0a149f1..dbd4c6fc 100644 --- a/packages/web/package-lock.json +++ b/packages/web/package-lock.json @@ -1,15 +1,15 @@ { "name": "plasmax-web", - "version": "0.110.0-dev.0", + "version": "0.110.1-dev.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "plasmax-web", - "version": "0.110.0-dev.0", + "version": "0.110.1-dev.0", "license": "MIT", "dependencies": { - "plasmax-hope": "0.73.0-dev.0" + "plasmax-hope": "0.73.1-dev.0" }, "devDependencies": { "@types/node": "16.7.13", @@ -117,16 +117,16 @@ "dev": true }, "node_modules/plasmax-core": { - "version": "0.60.0-dev.0", - "resolved": "https://registry.npmjs.org/plasmax-core/-/plasmax-core-0.60.0-dev.0.tgz", - "integrity": "sha512-jjqAB6+0Z9lQ4wG6tjd0lDiCLxYRVSvRRo8MNQ9mfBCxDZXaVXR4y0stBlDTYXv0n6PVgEhFV2ilpLW7qBsHXg==" + "version": "0.60.1-dev.0", + "resolved": "https://registry.npmjs.org/plasmax-core/-/plasmax-core-0.60.1-dev.0.tgz", + "integrity": "sha512-IWUp+0FVHBh2gX6LXMgP9OxlEzL9RHqNRD1qfS1suMkV1/y+dXTnxHD2JPtw8rjgf/Rr0pXgh+Xgew2JUUaWpg==" }, "node_modules/plasmax-hope": { - "version": "0.73.0-dev.0", - "resolved": "https://registry.npmjs.org/plasmax-hope/-/plasmax-hope-0.73.0-dev.0.tgz", - "integrity": "sha512-Zeea9umt0wZr9uEGEcaGiaYvfxurqqKjekU8kxtD4RreNhLUrYEr5r/cGfnDVHT7uSWU2eRj8JId0xdqhlcEAA==", + "version": "0.73.1-dev.0", + "resolved": "https://registry.npmjs.org/plasmax-hope/-/plasmax-hope-0.73.1-dev.0.tgz", + "integrity": "sha512-i+RMmzf1GCFru6QqjiyWxr3dW3KsN9IUwGIsZx/Ot9gKd2xCGDpmukt+yNP6eifVAfCPaxS5QccJbH9PvjZ3uA==", "dependencies": { - "plasmax-core": "0.60.0-dev.0" + "plasmax-core": "0.60.1-dev.0" } }, "node_modules/ts-node": { @@ -276,16 +276,16 @@ "dev": true }, "plasmax-core": { - "version": "0.60.0-dev.0", - "resolved": "https://registry.npmjs.org/plasmax-core/-/plasmax-core-0.60.0-dev.0.tgz", - "integrity": "sha512-jjqAB6+0Z9lQ4wG6tjd0lDiCLxYRVSvRRo8MNQ9mfBCxDZXaVXR4y0stBlDTYXv0n6PVgEhFV2ilpLW7qBsHXg==" + "version": "0.60.1-dev.0", + "resolved": "https://registry.npmjs.org/plasmax-core/-/plasmax-core-0.60.1-dev.0.tgz", + "integrity": "sha512-IWUp+0FVHBh2gX6LXMgP9OxlEzL9RHqNRD1qfS1suMkV1/y+dXTnxHD2JPtw8rjgf/Rr0pXgh+Xgew2JUUaWpg==" }, "plasmax-hope": { - "version": "0.73.0-dev.0", - "resolved": "https://registry.npmjs.org/plasmax-hope/-/plasmax-hope-0.73.0-dev.0.tgz", - "integrity": "sha512-Zeea9umt0wZr9uEGEcaGiaYvfxurqqKjekU8kxtD4RreNhLUrYEr5r/cGfnDVHT7uSWU2eRj8JId0xdqhlcEAA==", + "version": "0.73.1-dev.0", + "resolved": "https://registry.npmjs.org/plasmax-hope/-/plasmax-hope-0.73.1-dev.0.tgz", + "integrity": "sha512-i+RMmzf1GCFru6QqjiyWxr3dW3KsN9IUwGIsZx/Ot9gKd2xCGDpmukt+yNP6eifVAfCPaxS5QccJbH9PvjZ3uA==", "requires": { - "plasmax-core": "0.60.0-dev.0" + "plasmax-core": "0.60.1-dev.0" } }, "ts-node": { From f1000bff7b25d1194808ac017590c9813a555247 Mon Sep 17 00:00:00 2001 From: Alexander Lobyntsev Date: Tue, 2 Apr 2024 18:38:50 +0700 Subject: [PATCH 17/23] ci: update settings [no ci] --- auto.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/auto.config.js b/auto.config.js index d5611ba6..507ddf85 100644 --- a/auto.config.js +++ b/auto.config.js @@ -31,6 +31,7 @@ module.exports = function rc() { } return { + noVersionPrefix: true, prereleaseBranches: ['dev'], plugins, }; From 2cde96b234a247345f6348daae4fb2426d62b66c Mon Sep 17 00:00:00 2001 From: Alexander Lobyntsev Date: Tue, 2 Apr 2024 18:39:04 +0700 Subject: [PATCH 18/23] fix: bump 3 --- packages/core/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/package.json b/packages/core/package.json index 0f83c389..0ebf6ab1 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -2,7 +2,7 @@ "name": "plasmax-core", "version": "0.60.1-dev.0", "author": "Alex Czech1 ", - "description": "asdasda", + "description": "asda", "license": "MIT", "scripts": { "prepare": "npm run build", @@ -22,4 +22,4 @@ "main": "src/index.ts", "module": "esm/index.js", "types": "index.d.ts" -} \ No newline at end of file +} From b3931ed8ae9cad8ea4d3c7753a2262a2ef9e9a93 Mon Sep 17 00:00:00 2001 From: Salute Frontend Team Date: Tue, 2 Apr 2024 11:40:28 +0000 Subject: [PATCH 19/23] Update versions --- packages/core/package.json | 4 ++-- packages/hope/package.json | 4 ++-- packages/web/package.json | 4 ++-- utils/pack/package.json | 4 ++-- utils/tools/package.json | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/core/package.json b/packages/core/package.json index 0ebf6ab1..a9e925ba 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "plasmax-core", - "version": "0.60.1-dev.0", + "version": "0.60.2-dev.0", "author": "Alex Czech1 ", "description": "asda", "license": "MIT", @@ -22,4 +22,4 @@ "main": "src/index.ts", "module": "esm/index.js", "types": "index.d.ts" -} +} \ No newline at end of file diff --git a/packages/hope/package.json b/packages/hope/package.json index d3e28643..a884c00e 100644 --- a/packages/hope/package.json +++ b/packages/hope/package.json @@ -1,6 +1,6 @@ { "name": "plasmax-hope", - "version": "0.73.1-dev.0", + "version": "0.73.2-dev.0", "author": "Alex Czech ", "license": "MIT", "description": "33333", @@ -15,7 +15,7 @@ "lint": "eslint . --ext .ts" }, "dependencies": { - "plasmax-core": "0.60.1-dev.0" + "plasmax-core": "0.60.2-dev.0" }, "devDependencies": { "@types/node": "16.7.13", diff --git a/packages/web/package.json b/packages/web/package.json index e250d7b8..d0aa3aae 100644 --- a/packages/web/package.json +++ b/packages/web/package.json @@ -1,6 +1,6 @@ { "name": "plasmax-web", - "version": "0.110.1-dev.0", + "version": "0.110.2-dev.0", "author": "Alex Czech ", "license": "MIT", "description": "asdasdasdasasdas", @@ -15,7 +15,7 @@ "lint": "eslint . --ext .ts" }, "dependencies": { - "plasmax-hope": "0.73.1-dev.0" + "plasmax-hope": "0.73.2-dev.0" }, "devDependencies": { "@types/node": "16.7.13", diff --git a/utils/pack/package.json b/utils/pack/package.json index 6e8b429b..cfb4436b 100644 --- a/utils/pack/package.json +++ b/utils/pack/package.json @@ -1,6 +1,6 @@ { "name": "plasmax-pack", - "version": "0.52.1-dev.0", + "version": "0.52.2-dev.0", "author": "Alex Czech ", "license": "MIT", "private": true, @@ -8,7 +8,7 @@ "access": "restricted" }, "dependencies": { - "plasmax-core": "0.60.1-dev.0", + "plasmax-core": "0.60.2-dev.0", "plasmax-tools": "file:./utils/tools" }, "devDependencies": { diff --git a/utils/tools/package.json b/utils/tools/package.json index 88c1f15a..2e219394 100644 --- a/utils/tools/package.json +++ b/utils/tools/package.json @@ -1,6 +1,6 @@ { "name": "plasmax-tools", - "version": "0.54.1-dev.0", + "version": "0.54.2-dev.0", "author": "Alex ", "license": "MIT", "private": true, @@ -8,7 +8,7 @@ "access": "restricted" }, "dependencies": { - "plasmax-core": "0.60.1-dev.0" + "plasmax-core": "0.60.2-dev.0" }, "devDependencies": { "typescript": "5.2.2" From 5a4a1b6081e2e0280efaa4dbdf57017cfe4992da Mon Sep 17 00:00:00 2001 From: Salute Frontend Team Date: Tue, 2 Apr 2024 11:41:04 +0000 Subject: [PATCH 20/23] Update package-locks files --- packages/core/package-lock.json | 4 ++-- packages/hope/package-lock.json | 18 ++++++++--------- packages/web/package-lock.json | 34 ++++++++++++++++----------------- 3 files changed, 28 insertions(+), 28 deletions(-) diff --git a/packages/core/package-lock.json b/packages/core/package-lock.json index 6d5b6b6b..4f74a1cd 100644 --- a/packages/core/package-lock.json +++ b/packages/core/package-lock.json @@ -1,12 +1,12 @@ { "name": "plasmax-core", - "version": "0.60.1-dev.0", + "version": "0.60.2-dev.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "plasmax-core", - "version": "0.60.1-dev.0", + "version": "0.60.2-dev.0", "license": "MIT", "devDependencies": { "@types/node": "16.7.13", diff --git a/packages/hope/package-lock.json b/packages/hope/package-lock.json index 2d959d17..efd9d4d4 100644 --- a/packages/hope/package-lock.json +++ b/packages/hope/package-lock.json @@ -1,15 +1,15 @@ { "name": "plasmax-hope", - "version": "0.73.1-dev.0", + "version": "0.73.2-dev.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "plasmax-hope", - "version": "0.73.1-dev.0", + "version": "0.73.2-dev.0", "license": "MIT", "dependencies": { - "plasmax-core": "0.60.1-dev.0" + "plasmax-core": "0.60.2-dev.0" }, "devDependencies": { "@types/node": "16.7.13", @@ -117,9 +117,9 @@ "dev": true }, "node_modules/plasmax-core": { - "version": "0.60.1-dev.0", - "resolved": "https://registry.npmjs.org/plasmax-core/-/plasmax-core-0.60.1-dev.0.tgz", - "integrity": "sha512-IWUp+0FVHBh2gX6LXMgP9OxlEzL9RHqNRD1qfS1suMkV1/y+dXTnxHD2JPtw8rjgf/Rr0pXgh+Xgew2JUUaWpg==" + "version": "0.60.2-dev.0", + "resolved": "https://registry.npmjs.org/plasmax-core/-/plasmax-core-0.60.2-dev.0.tgz", + "integrity": "sha512-nj4mBmNDfw8Mxdlg22WVWqm/v9OqQY+ScLdeng4sKqbJW4aBxFNmILSQr9wiItWesnoi+4uh0ey07U7lCiDOrA==" }, "node_modules/ts-node": { "version": "10.3.0", @@ -268,9 +268,9 @@ "dev": true }, "plasmax-core": { - "version": "0.60.1-dev.0", - "resolved": "https://registry.npmjs.org/plasmax-core/-/plasmax-core-0.60.1-dev.0.tgz", - "integrity": "sha512-IWUp+0FVHBh2gX6LXMgP9OxlEzL9RHqNRD1qfS1suMkV1/y+dXTnxHD2JPtw8rjgf/Rr0pXgh+Xgew2JUUaWpg==" + "version": "0.60.2-dev.0", + "resolved": "https://registry.npmjs.org/plasmax-core/-/plasmax-core-0.60.2-dev.0.tgz", + "integrity": "sha512-nj4mBmNDfw8Mxdlg22WVWqm/v9OqQY+ScLdeng4sKqbJW4aBxFNmILSQr9wiItWesnoi+4uh0ey07U7lCiDOrA==" }, "ts-node": { "version": "10.3.0", diff --git a/packages/web/package-lock.json b/packages/web/package-lock.json index dbd4c6fc..0ba34a49 100644 --- a/packages/web/package-lock.json +++ b/packages/web/package-lock.json @@ -1,15 +1,15 @@ { "name": "plasmax-web", - "version": "0.110.1-dev.0", + "version": "0.110.2-dev.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "plasmax-web", - "version": "0.110.1-dev.0", + "version": "0.110.2-dev.0", "license": "MIT", "dependencies": { - "plasmax-hope": "0.73.1-dev.0" + "plasmax-hope": "0.73.2-dev.0" }, "devDependencies": { "@types/node": "16.7.13", @@ -117,16 +117,16 @@ "dev": true }, "node_modules/plasmax-core": { - "version": "0.60.1-dev.0", - "resolved": "https://registry.npmjs.org/plasmax-core/-/plasmax-core-0.60.1-dev.0.tgz", - "integrity": "sha512-IWUp+0FVHBh2gX6LXMgP9OxlEzL9RHqNRD1qfS1suMkV1/y+dXTnxHD2JPtw8rjgf/Rr0pXgh+Xgew2JUUaWpg==" + "version": "0.60.2-dev.0", + "resolved": "https://registry.npmjs.org/plasmax-core/-/plasmax-core-0.60.2-dev.0.tgz", + "integrity": "sha512-nj4mBmNDfw8Mxdlg22WVWqm/v9OqQY+ScLdeng4sKqbJW4aBxFNmILSQr9wiItWesnoi+4uh0ey07U7lCiDOrA==" }, "node_modules/plasmax-hope": { - "version": "0.73.1-dev.0", - "resolved": "https://registry.npmjs.org/plasmax-hope/-/plasmax-hope-0.73.1-dev.0.tgz", - "integrity": "sha512-i+RMmzf1GCFru6QqjiyWxr3dW3KsN9IUwGIsZx/Ot9gKd2xCGDpmukt+yNP6eifVAfCPaxS5QccJbH9PvjZ3uA==", + "version": "0.73.2-dev.0", + "resolved": "https://registry.npmjs.org/plasmax-hope/-/plasmax-hope-0.73.2-dev.0.tgz", + "integrity": "sha512-Mxm7e7J4CDxBPaK6ZICSxU4LvQIIhxOCPZjQUGeP9POSX3KNdE4YwMKb0if6P6e5/OsUcD2n9rfHVfyxdvXhZQ==", "dependencies": { - "plasmax-core": "0.60.1-dev.0" + "plasmax-core": "0.60.2-dev.0" } }, "node_modules/ts-node": { @@ -276,16 +276,16 @@ "dev": true }, "plasmax-core": { - "version": "0.60.1-dev.0", - "resolved": "https://registry.npmjs.org/plasmax-core/-/plasmax-core-0.60.1-dev.0.tgz", - "integrity": "sha512-IWUp+0FVHBh2gX6LXMgP9OxlEzL9RHqNRD1qfS1suMkV1/y+dXTnxHD2JPtw8rjgf/Rr0pXgh+Xgew2JUUaWpg==" + "version": "0.60.2-dev.0", + "resolved": "https://registry.npmjs.org/plasmax-core/-/plasmax-core-0.60.2-dev.0.tgz", + "integrity": "sha512-nj4mBmNDfw8Mxdlg22WVWqm/v9OqQY+ScLdeng4sKqbJW4aBxFNmILSQr9wiItWesnoi+4uh0ey07U7lCiDOrA==" }, "plasmax-hope": { - "version": "0.73.1-dev.0", - "resolved": "https://registry.npmjs.org/plasmax-hope/-/plasmax-hope-0.73.1-dev.0.tgz", - "integrity": "sha512-i+RMmzf1GCFru6QqjiyWxr3dW3KsN9IUwGIsZx/Ot9gKd2xCGDpmukt+yNP6eifVAfCPaxS5QccJbH9PvjZ3uA==", + "version": "0.73.2-dev.0", + "resolved": "https://registry.npmjs.org/plasmax-hope/-/plasmax-hope-0.73.2-dev.0.tgz", + "integrity": "sha512-Mxm7e7J4CDxBPaK6ZICSxU4LvQIIhxOCPZjQUGeP9POSX3KNdE4YwMKb0if6P6e5/OsUcD2n9rfHVfyxdvXhZQ==", "requires": { - "plasmax-core": "0.60.1-dev.0" + "plasmax-core": "0.60.2-dev.0" } }, "ts-node": { From c61717c73194a35e05c1dde0929e67a2d7630676 Mon Sep 17 00:00:00 2001 From: Alexander Lobyntsev Date: Tue, 2 Apr 2024 18:45:56 +0700 Subject: [PATCH 21/23] ci: update settings [no ci] --- .github/workflows/publish-rc.yml | 141 +------------------------------ 1 file changed, 1 insertion(+), 140 deletions(-) diff --git a/.github/workflows/publish-rc.yml b/.github/workflows/publish-rc.yml index 1fdb5bd7..036e5728 100644 --- a/.github/workflows/publish-rc.yml +++ b/.github/workflows/publish-rc.yml @@ -6,153 +6,14 @@ on: - dev jobs: - scope: - name: Save state - runs-on: ubuntu-latest - if: ${{ github.actor == 'github-merge-queue[bot]' }} - env: - GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} - outputs: - HAS_ASSETS: ${{ steps.scope.outputs.result }} - PR: ${{ steps.pr_state.outputs.result }} - steps: - ## Получаем состояние dev branch - - name: Checkout - uses: actions/checkout@v4 - with: - show-progress: false - fetch-depth: 0 - - - name: Setup Node.js - uses: actions/setup-node@v3 - with: - node-version-file: '.nvmrc' - cache: 'npm' - - - name: Install - run: npm ci --no-audit - - ## Получаем информацию о pull request - - name: One - id: pr_state - uses: actions/github-script@v6 - with: - script: | - const teammate = { - Yakutoc: "alex_czech", - 'neretin-trike': "aaneretin", - 'Yeti-or': "yeti-or", - TitanKuzmich: "aakrivonos", - kayman233: "ivakudryavtsev", - }; - - const res = await github.rest.repos.listPullRequestsAssociatedWithCommit({ - commit_sha: context.sha, - owner: context.repo.owner, - repo: context.repo.repo, - }); - - const { base: { sha = context.sha }, title, user: { login } } = res?.data[0] || {}; - - return { sha, pr: title, user: teammate[login] || 'alex_czech' }; - - - name: Two - id: state - run: | - echo "CHANGED_STATE=$(npx lerna la --json --since=${{ fromJSON(steps.pr_state.outputs.result).sha }} | jq -c)" >> "$GITHUB_OUTPUT" - - - name: Computed scope state - id: scope - uses: actions/github-script@v6 - env: - STATE: ${{ toJSON(steps.state.outputs.CHANGED_STATE) }} - with: - script: | - const { STATE = [] } = process.env || {}; - - if (!STATE.length) { - return false; - } - - const changedState = JSON.parse(JSON.parse(STATE)); - - const packagesList = changedState.map(({ name }) => name); - - return packagesList.includes('plasmax-core') - publish: name: Publish RC version - needs: [scope] uses: ./.github/workflows/publish-common.yml with: with-update-package-lock: true commit-message: "Update package-locks files" auto-options: '--no-changelog' - upload_assets: ${{ needs.scope.outputs.HAS_ASSETS == 'true' }} + upload_assets: false secrets: gh_token: ${{ secrets.GH_TOKEN }} npm_registry_token: ${{ secrets.NPM_REGISTRY_TOKEN }} - - catch: - name: Handle errors - runs-on: ubuntu-latest - needs: [publish, scope] - if: ${{ always() && contains(needs.*.result, 'failure') }} - env: - FAILED_JOB_NAME: ${{ contains(needs.scope.result, 'failure') && 'Save state' || 'Publish RC version' }} - steps: - - name: Get failed job information - id: job - uses: actions/github-script@v6 - env: - RUN_ID: ${{github.run_id}} - FAILED_JOB_NAME: ${{env.FAILED_JOB_NAME}} - with: - script: | - const { RUN_ID, FAILED_JOB_NAME } = process.env; - - const res = await github.rest.actions.listJobsForWorkflowRun({ - run_id: RUN_ID, - owner: context.repo.owner, - repo: context.repo.repo, - }); - - const { data: { jobs: jobsList = [] } } = res || {}; - - const { html_url, steps: stepsList } = jobsList.find(({ name }) => name === FAILED_JOB_NAME) || {}; - - const { name } = stepsList.find(({ conclusion }) => conclusion === "failure" ) || { name: '' }; - - return { targetUrl: html_url, name } - - - name: Create message - if: ${{ success() }} - env: - PR: ${{ fromJSON(needs.scope.outputs.PR).pr }} - USER: ${{ fromJSON(needs.scope.outputs.PR).user }} - FAILURE_STEP: ${{ fromJSON(steps.job.outputs.result).name }} - JOB: ${{ fromJSON(steps.job.outputs.result).targetUrl }} - run: | - step="**Failure step**: ${{ env.FAILURE_STEP }}" - message='@${{ env.USER }}\nПосмотри пожалуйста, упала публикация твоего pull request: [${{ env.PR }}](${{ env.JOB }})' - - echo "NOTIFICATION="$step\\n$message"" >> $GITHUB_ENV - - - name: Create the Mattermost Message - run: | - echo "{\"text\":\"${{env.NOTIFICATION}}\"}" > mattermost.json - - - name: Send notification - uses: mattermost/action-mattermost-notify@master - env: - MATTERMOST_WEBHOOK_URL: ${{ secrets.WEBHOOKS_NOTIFICATIONS_MM }} - - unblock: - needs: [publish] - runs-on: ubuntu-latest - environment: 'After publish rc' - - steps: - - name: Echo - run: | - echo "Publish rc done" From e8e7de86d8dce2dd0455189e2f0f4eb9df881f7b Mon Sep 17 00:00:00 2001 From: Alexander Lobyntsev Date: Tue, 2 Apr 2024 18:48:00 +0700 Subject: [PATCH 22/23] ci: update settings [no ci] --- auto.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/auto.config.js b/auto.config.js index 507ddf85..88663579 100644 --- a/auto.config.js +++ b/auto.config.js @@ -31,6 +31,9 @@ module.exports = function rc() { } return { + "labels": [ + { "releaseType": "prerelease", "name": "Prerelease" } + ], noVersionPrefix: true, prereleaseBranches: ['dev'], plugins, From c8ef9e3f2dc5b286e7c8c8609cc36c12311c1766 Mon Sep 17 00:00:00 2001 From: Alexander Lobyntsev Date: Tue, 2 Apr 2024 18:50:35 +0700 Subject: [PATCH 23/23] feat: bump 01 --- packages/core/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/package.json b/packages/core/package.json index a9e925ba..f7d45ca7 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -2,7 +2,7 @@ "name": "plasmax-core", "version": "0.60.2-dev.0", "author": "Alex Czech1 ", - "description": "asda", + "description": "asdasdas", "license": "MIT", "scripts": { "prepare": "npm run build", @@ -22,4 +22,4 @@ "main": "src/index.ts", "module": "esm/index.js", "types": "index.d.ts" -} \ No newline at end of file +}