-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: reduce project.json duplication
chore: split npm prepublish task
- Loading branch information
Showing
73 changed files
with
423 additions
and
1,915 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,15 +16,14 @@ | |
"build:tools": "yarn nx run-many --target=build --projects=eslint-plugin,workspace", | ||
"build:lint": "yarn nx run-many --target=build --projects=eslint-plugin", | ||
"build:swagger-gen": "yarn nx run-many --target=build-swagger", | ||
"prepare:publish": "yarn prepare-publish \"$(yarn workspaces:list)\" --append dist", | ||
"publish": "yarn run prepare:publish && yarn nx run-many --target=publish --exclude=tag:private --nx-bail", | ||
"publish": "yarn nx run-many --target=publish --exclude=tag:private --nx-bail", | ||
"publish:extensions": "yarn nx run-many --target=publish-extension", | ||
"publish:extensions:affected": "yarn nx affected --target=publish-extension", | ||
"package-github-actions:affected": "yarn nx affected --target=package-github-action", | ||
"lint": "yarn nx run-many --target=lint", | ||
"lint:affected": "yarn nx affected --target=lint", | ||
"test": "yarn nx run-many --target=test --cacheDirectory=$(yarn get:current-dir)/.cache/jest", | ||
"test:affected": "yarn nx affected --target=test --cacheDirectory=$(yarn get:current-dir)/.cache/jest", | ||
"test": "yarn nx run-many --target=test", | ||
"test:affected": "yarn nx affected --target=test", | ||
"test-e2e": "yarn nx run-many --target=test-e2e", | ||
"test-int": "yarn nx run-many --target=test-int", | ||
"postinstall": "husky && yarn build:lint && yarn harmonize:version && yarn update-yarn-sdks", | ||
|
@@ -44,7 +43,7 @@ | |
"verdaccio:start-persistent": "docker run -d -it --rm --name verdaccio -p 4873:4873 -v \"$(yarn get:current-dir)/.verdaccio/conf\":/verdaccio/conf -v \"$(yarn get:current-dir)/.verdaccio/storage\":/verdaccio/storage:z verdaccio/verdaccio", | ||
"verdaccio:clean": "rimraf -g \".verdaccio/storage/@{o3r,ama-sdk,ama-terasu}\"", | ||
"verdaccio:login": "yarn cpy --cwd=./.verdaccio/conf .npmrc . --rename=.npmrc-logged && npx --yes npm-cli-login -u verdaccio -p verdaccio -e [email protected] -r http://127.0.0.1:4873 --config-path \".verdaccio/conf/.npmrc-logged\"", | ||
"verdaccio:prepare-publish": "yarn verdaccio:clean && yarn set:version 999.0.$(node -e 'process.stdout.write(String(Date.now()))') --include \"!**/!(dist)/package.json\" --include !package.json && yarn verdaccio:login && replace-in-files --regex=\"private(.*)true\" --replacement=private\\$1false '**/dist/package.json' && yarn run prepare:publish", | ||
"verdaccio:prepare-publish": "yarn verdaccio:clean && yarn set:version 999.0.$(node -e 'process.stdout.write(String(Date.now()))') --include \"!**/!(dist)/package.json\" --include !package.json && yarn verdaccio:login && replace-in-files --regex=\"private(.*)true\" --replacement=private\\$1false '**/dist/package.json'", | ||
"verdaccio:publish": "yarn run verdaccio:prepare-publish && yarn nx run-many --target=publish --nx-bail --userconfig \".verdaccio/conf/.npmrc-logged\" --tag=latest --@o3r:registry=http://127.0.0.1:4873 --@ama-sdk:registry=http://127.0.0.1:4873 --@ama-terasu:registry=http://127.0.0.1:4873 --@o3r-training:registry=http://127.0.0.1:4873", | ||
"verdaccio:stop": "docker container stop $(docker ps -a -q --filter=\"name=verdaccio\")", | ||
"verdaccio:all": "yarn verdaccio:stop && yarn verdaccio:start && yarn verdaccio:publish", | ||
|
@@ -186,7 +185,6 @@ | |
"@nx/jest": "~19.8.0", | ||
"@nx/js": "~19.8.0", | ||
"@nx/workspace": "~19.8.0", | ||
"@o3r/build-helpers": "workspace:^", | ||
"@o3r/eslint-config": "workspace:^", | ||
"@o3r/eslint-plugin": "workspace:^", | ||
"@o3r/telemetry": "workspace:^", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.