chore: import upstream snapshot with attribution
This commit is contained in:
@@ -0,0 +1,78 @@
|
||||
{
|
||||
"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": "dist/local-registry/storage",
|
||||
"clear": false
|
||||
}
|
||||
},
|
||||
"populate-local-registry-storage": {
|
||||
"cache": true,
|
||||
"inputs": [
|
||||
{
|
||||
"input": "production",
|
||||
"projects": ["tag:npm:public"]
|
||||
},
|
||||
{
|
||||
"input": "production",
|
||||
"projects": ["tag:maven:dev.nx.maven"]
|
||||
},
|
||||
"{workspaceRoot}/scripts/local-registry",
|
||||
"native"
|
||||
],
|
||||
"dependsOn": [
|
||||
"local-registry",
|
||||
{
|
||||
"target": "build",
|
||||
"projects": ["tag:npm:public"]
|
||||
}
|
||||
],
|
||||
"command": "node ./scripts/local-registry/run-populate-storage.mjs",
|
||||
"outputs": ["{workspaceRoot}/dist/local-registry/storage"]
|
||||
},
|
||||
"nx-release": {
|
||||
"dependsOn": [
|
||||
{
|
||||
"target": "build",
|
||||
"projects": ["tag:npm:public"]
|
||||
}
|
||||
],
|
||||
"command": "tsx ./scripts/nx-release.ts"
|
||||
},
|
||||
"start-docker-registry": {
|
||||
"continuous": true,
|
||||
"command": "docker run --rm -p 5000:5000 --name local-docker-registry registry:2"
|
||||
},
|
||||
"check-format:quick": {
|
||||
"parallelism": false
|
||||
},
|
||||
"lint": {
|
||||
"dependsOn": ["@nx/nx-source:lint-pnpm-lock"],
|
||||
"cache": true,
|
||||
"inputs": ["{projectRoot}/pnpm-lock.yaml"]
|
||||
},
|
||||
"lint-pnpm-lock": {
|
||||
"cache": true,
|
||||
"inputs": [
|
||||
"{projectRoot}/pnpm-lock.yaml",
|
||||
"{workspaceRoot}/eslint.config.mjs",
|
||||
"{workspaceRoot}/tsconfig.json",
|
||||
"{workspaceRoot}/tools/eslint-rules/**/*"
|
||||
]
|
||||
},
|
||||
"prepush": {
|
||||
"dependsOn": [
|
||||
"nx:format-native",
|
||||
"nx:lint-native",
|
||||
"check-commit",
|
||||
"check-format:quick",
|
||||
"check-lock-files"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user