<!-- Please make sure you have read the submission guidelines before posting an PR --> <!-- https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr --> <!-- Please make sure that your commit message follows our format --> <!-- Example: `fix(nx): must begin with lowercase` --> <!-- If this is a particularly complex change or feature addition, you can request a dedicated Nx release for this pull request branch. Mention someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they will confirm if the PR warrants its own release for testing purposes, and generate it for you if appropriate. --> ## Current Behavior <!-- This is the behavior we have today --> No continuous tasks are used in CI. ## Expected Behavior <!-- This is the behavior we should expect with the changes in this PR --> The local-registry is a continuous task and it is used in CI. ## Related Issue(s) <!-- Please link the issue being fixed so it gets closed when this is merged. --> Fixes #
79 lines
2.2 KiB
JSON
79 lines
2.2 KiB
JSON
{
|
|
"name": "@nx/nx-source",
|
|
"$schema": "node_modules/nx/schemas/project-schema.json",
|
|
"targets": {
|
|
"local-registry": {
|
|
"executor": "@nx/js:verdaccio",
|
|
"options": {
|
|
"port": 4873,
|
|
"config": ".verdaccio/config.yml",
|
|
"storage": "build/local-registry/storage",
|
|
"clear": false
|
|
}
|
|
},
|
|
"populate-local-registry-storage": {
|
|
"cache": true,
|
|
"inputs": [
|
|
{
|
|
"input": "production",
|
|
"projects": ["tag:npm:public"]
|
|
},
|
|
"{workspaceRoot}/scripts/local-registry"
|
|
],
|
|
"dependsOn": [
|
|
"local-registry",
|
|
{
|
|
"target": "build",
|
|
"projects": ["tag:npm:public"]
|
|
}
|
|
],
|
|
"command": "node ./scripts/local-registry/run-populate-storage.mjs",
|
|
"outputs": ["{workspaceRoot}/build/local-registry/storage"]
|
|
},
|
|
"nx-release": {
|
|
"dependsOn": [
|
|
{
|
|
"target": "build",
|
|
"projects": ["tag:npm:public"]
|
|
}
|
|
],
|
|
"command": "ts-node -P ./scripts/tsconfig.release.json ./scripts/nx-release"
|
|
},
|
|
"documentation": {
|
|
"executor": "nx:run-commands",
|
|
"options": {
|
|
"commands": [
|
|
"ts-node -P scripts/tsconfig.scripts.json ./scripts/documentation/generators/main.ts",
|
|
"pnpm check-documentation-map"
|
|
],
|
|
"parallel": false
|
|
},
|
|
"cache": true,
|
|
"inputs": [
|
|
"{workspaceRoot}/packages/**",
|
|
"{workspaceRoot}/docs/**",
|
|
"{workspaceRoot}/scripts/documentation/**",
|
|
"!{workspaceRoot}/docs/external-generated",
|
|
"!{workspaceRoot}/docs/generated",
|
|
"!{workspaceRoot}/packages/**/*.spec.ts",
|
|
"!{workspaceRoot}/packages/**/project.json",
|
|
"!{workspaceRoot}/packages/**/tsconfig.json",
|
|
"!{workspaceRoot}/packages/**/tsconfig.lib.json",
|
|
"!{workspaceRoot}/packages/**/tsconfig.spec.json",
|
|
"!{workspaceRoot}/packages/**/jest.config.{ts,js}",
|
|
"!{workspaceRoot}/packages/**/.eslintrc.json"
|
|
],
|
|
"dependsOn": [
|
|
{
|
|
"target": "build",
|
|
"projects": ["devkit", "typedoc-theme"]
|
|
}
|
|
],
|
|
"outputs": [
|
|
"{workspaceRoot}/docs/external-generated",
|
|
"{workspaceRoot}/docs/generated"
|
|
]
|
|
}
|
|
}
|
|
}
|