Skip to content

Commit

Permalink
[libs] Add a "version-publishable-libs" script to push all the script…
Browse files Browse the repository at this point in the history
…s at the same time
  • Loading branch information
GabrielCTroia committed Jul 11, 2024
1 parent f38a499 commit a6dcd7e
Show file tree
Hide file tree
Showing 9 changed files with 72 additions and 1 deletion.
2 changes: 1 addition & 1 deletion libs/movex-core-util/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
10 changes: 10 additions & 0 deletions libs/movex-core-util/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": []
Expand Down
10 changes: 10 additions & 0 deletions libs/movex-master/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": []
Expand Down
10 changes: 10 additions & 0 deletions libs/movex-react/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
]
}
}
}
}
10 changes: 10 additions & 0 deletions libs/movex-server/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": []
Expand Down
10 changes: 10 additions & 0 deletions libs/movex-service/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": []
Expand Down
10 changes: 10 additions & 0 deletions libs/movex-store/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": []
Expand Down
10 changes: 10 additions & 0 deletions libs/movex/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": []
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a6dcd7e

Please sign in to comment.