diff --git a/libs/movex-core-util/package.json b/libs/movex-core-util/package.json index 7f04fbc9..64763b55 100644 --- a/libs/movex-core-util/package.json +++ b/libs/movex-core-util/package.json @@ -1,6 +1,6 @@ { "name": "movex-core-util", - "version": "0.1.5-4", + "version": "0.1.5", "description": "Movex Core Util is the library of utilities for Movex", "license": "MIT", "author": { diff --git a/libs/movex-core-util/project.json b/libs/movex-core-util/project.json index 671a893c..48efda6d 100644 --- a/libs/movex-core-util/project.json +++ b/libs/movex-core-util/project.json @@ -41,6 +41,16 @@ "updateBuildableProjectDepsInPackageJson": true, "buildableProjectDepsInPackageJsonType": "dependencies" } + }, + "semver": { + "executor": "nx:run-commands", + "options": { + "commands": [ + { + "command": "cd libs/movex-core-util && npm --no-git-tag-version --allow-same-version version" + } + ] + } } }, "tags": [] diff --git a/libs/movex-master/project.json b/libs/movex-master/project.json index affa6540..67f043c8 100644 --- a/libs/movex-master/project.json +++ b/libs/movex-master/project.json @@ -31,6 +31,16 @@ "updateBuildableProjectDepsInPackageJson": true, "buildableProjectDepsInPackageJsonType": "dependencies" } + }, + "semver": { + "executor": "nx:run-commands", + "options": { + "commands": [ + { + "command": "cd libs/movex-master && npm --no-git-tag-version --allow-same-version version" + } + ] + } } }, "tags": [] diff --git a/libs/movex-react/project.json b/libs/movex-react/project.json index aff6b167..1040628f 100644 --- a/libs/movex-react/project.json +++ b/libs/movex-react/project.json @@ -51,6 +51,16 @@ "jestConfig": "libs/movex-react/jest.config.ts", "passWithNoTests": true } + }, + "semver": { + "executor": "nx:run-commands", + "options": { + "commands": [ + { + "command": "cd libs/movex-react && npm --no-git-tag-version --allow-same-version version" + } + ] + } } } } diff --git a/libs/movex-server/project.json b/libs/movex-server/project.json index cd8b04b3..ea3388d1 100644 --- a/libs/movex-server/project.json +++ b/libs/movex-server/project.json @@ -40,6 +40,16 @@ "jestConfig": "libs/movex-server/jest.config.ts", "passWithNoTests": true } + }, + "semver": { + "executor": "nx:run-commands", + "options": { + "commands": [ + { + "command": "cd libs/movex-server && npm --no-git-tag-version --allow-same-version version" + } + ] + } } }, "tags": [] diff --git a/libs/movex-service/project.json b/libs/movex-service/project.json index c27765b4..3f664380 100644 --- a/libs/movex-service/project.json +++ b/libs/movex-service/project.json @@ -41,6 +41,16 @@ "updateBuildableProjectDepsInPackageJson": true, "buildableProjectDepsInPackageJsonType": "dependencies" } + }, + "semver": { + "executor": "nx:run-commands", + "options": { + "commands": [ + { + "command": "cd libs/movex-service && npm --no-git-tag-version --allow-same-version version" + } + ] + } } }, "tags": [] diff --git a/libs/movex-store/project.json b/libs/movex-store/project.json index b0889f4e..33e7fd5d 100644 --- a/libs/movex-store/project.json +++ b/libs/movex-store/project.json @@ -41,6 +41,16 @@ "updateBuildableProjectDepsInPackageJson": true, "buildableProjectDepsInPackageJsonType": "dependencies" } + }, + "semver": { + "executor": "nx:run-commands", + "options": { + "commands": [ + { + "command": "cd libs/movex-store && npm --no-git-tag-version --allow-same-version version" + } + ] + } } }, "tags": [] diff --git a/libs/movex/project.json b/libs/movex/project.json index 833f4084..ac39c6a3 100644 --- a/libs/movex/project.json +++ b/libs/movex/project.json @@ -40,6 +40,16 @@ "jestConfig": "libs/movex/jest.config.ts", "passWithNoTests": true } + }, + "semver": { + "executor": "nx:run-commands", + "options": { + "commands": [ + { + "command": "cd libs/movex && npm --no-git-tag-version --allow-same-version version" + } + ] + } } }, "tags": [] diff --git a/package.json b/package.json index a7b30f9d..e9d9799a 100644 --- a/package.json +++ b/package.json @@ -38,6 +38,7 @@ "tsc-all-libs": "npx nx run-many --parallel --target=tsc --projects=movex-core-util,movex,movex-server,movex-service,movex-react,movex-react-local-master,movex-vue,movex-store,movex-master,movex-specs-util", "test-all-libs": "npx nx run-many --parallel --target=test --projects=movex,movex-core-util,movex-master,movex-react,movex-react-local-master,movex-server,movex-service,movex-store,movex-vue", "build-all-libs": "npx nx run-many --parallel --target=build --projects=movex,movex-core-util,movex-master,movex-react,movex-react-local-master,movex-server,movex-service,movex-store,movex-vue", + "version-publishable-libs": "npx nx run-many --parallel --target=semver --projects=movex,movex-core-util,movex-react,movex-server,movex-master,movex-service,movex-store", "deploy": "git diff --exit-code HEAD && flyctl deploy -c apps/movex-demo-api/fly.toml --dockerfile apps/movex-demo-api/Dockerfile -e APP_REVISION=$(git rev-parse --short HEAD) --remote-only" }, "private": false,