From f00907811e43ea0014df54581d207075d95e1e69 Mon Sep 17 00:00:00 2001 From: Joy Date: Fri, 6 Dec 2024 13:49:25 +0900 Subject: [PATCH] fix: change build process to publish to npm after build (#979) --- nx.json | 2 +- packages/vibrant-core/project.json | 1 - packages/vibrant-layouts/project.json | 1 - packages/vibrant-motion/project.json | 1 - .../src/executors/update-native-package-json/executor.ts | 1 + 5 files changed, 2 insertions(+), 4 deletions(-) diff --git a/nx.json b/nx.json index 5da384905..72b4e607b 100644 --- a/nx.json +++ b/nx.json @@ -53,7 +53,7 @@ "typecheck": { "cache": true }, - "version": { + "deploy": { "dependsOn": ["build"] } }, diff --git a/packages/vibrant-core/project.json b/packages/vibrant-core/project.json index 632cf67f4..1f937d0ec 100644 --- a/packages/vibrant-core/project.json +++ b/packages/vibrant-core/project.json @@ -93,7 +93,6 @@ }, "version": { "executor": "@jscutlery/semver:version", - "dependsOn": ["build-native"], "options": { "preset": "conventional", "skipCommit": true, diff --git a/packages/vibrant-layouts/project.json b/packages/vibrant-layouts/project.json index d9deaad65..5ea085f7f 100644 --- a/packages/vibrant-layouts/project.json +++ b/packages/vibrant-layouts/project.json @@ -96,7 +96,6 @@ }, "version": { "executor": "@jscutlery/semver:version", - "dependsOn": ["build-native"], "options": { "preset": "conventional", "skipCommit": true, diff --git a/packages/vibrant-motion/project.json b/packages/vibrant-motion/project.json index 47753e90a..6cf0fbd28 100644 --- a/packages/vibrant-motion/project.json +++ b/packages/vibrant-motion/project.json @@ -97,7 +97,6 @@ }, "version": { "executor": "@jscutlery/semver:version", - "dependsOn": ["build-native"], "options": { "preset": "conventional", "skipCommit": true, diff --git a/packages/workspace-plugin/src/executors/update-native-package-json/executor.ts b/packages/workspace-plugin/src/executors/update-native-package-json/executor.ts index 443c44a4c..7ba00e168 100644 --- a/packages/workspace-plugin/src/executors/update-native-package-json/executor.ts +++ b/packages/workspace-plugin/src/executors/update-native-package-json/executor.ts @@ -21,6 +21,7 @@ export default async function runExecutor(options: UpdateNativePackageJsonExecut await addToStage({ paths: [nativePackageJsonPath], dryRun: false, + skipStage: false, }).toPromise(); // await commit({