99 lines
2.6 KiB
JSON
99 lines
2.6 KiB
JSON
{
|
|
"name": "workspace",
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"sourceRoot": "packages/workspace/src",
|
|
"projectType": "library",
|
|
"targets": {
|
|
"test": {},
|
|
"build-base": {
|
|
"executor": "@nx/js:tsc",
|
|
"options": {
|
|
"assets": [
|
|
{
|
|
"input": "packages/workspace",
|
|
"glob": "**/files/**",
|
|
"output": "/"
|
|
},
|
|
{
|
|
"input": "packages/workspace",
|
|
"glob": "**/files/**/.gitkeep",
|
|
"output": "/"
|
|
},
|
|
{
|
|
"input": "packages/workspace",
|
|
"glob": "**/files-integrated-repo/**",
|
|
"output": "/"
|
|
},
|
|
{
|
|
"input": "packages/workspace",
|
|
"glob": "**/files-integrated-repo/**/.gitkeep",
|
|
"output": "/"
|
|
},
|
|
{
|
|
"input": "packages/workspace",
|
|
"glob": "**/files-package-based-repo/**",
|
|
"output": "/"
|
|
},
|
|
{
|
|
"input": "packages/workspace",
|
|
"glob": "**/files-readme/**",
|
|
"output": "/"
|
|
},
|
|
{
|
|
"glob": "**/files-packaged-based-repo/**/.gitkeep",
|
|
"input": "packages/workspace",
|
|
"output": "/"
|
|
},
|
|
{
|
|
"input": "packages/workspace",
|
|
"glob": "**/files-root-app/**",
|
|
"output": "/"
|
|
},
|
|
{
|
|
"input": "packages/workspace",
|
|
"glob": "**/*.json",
|
|
"ignore": ["**/tsconfig*.json", "project.json", ".eslintrc.json"],
|
|
"output": "/"
|
|
},
|
|
{
|
|
"input": "packages/workspace",
|
|
"glob": "**/*.{js,css,html,svg}",
|
|
"ignore": ["**/jest.config.js"],
|
|
"output": "/"
|
|
},
|
|
{
|
|
"input": "packages/workspace",
|
|
"glob": "**/*.d.ts",
|
|
"output": "/"
|
|
},
|
|
{
|
|
"input": "",
|
|
"glob": "LICENSE",
|
|
"output": "/"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"build": {
|
|
"executor": "nx:run-commands",
|
|
"outputs": ["{workspaceRoot}/build/packages/workspace"],
|
|
"options": {
|
|
"commands": [
|
|
{
|
|
"command": "node ./scripts/copy-graph-client.js"
|
|
},
|
|
{
|
|
"command": "node ./scripts/copy-readme.js workspace"
|
|
},
|
|
{
|
|
"command": "node ./scripts/add-dependency-to-build.js workspace nx"
|
|
},
|
|
"node ./scripts/add-dependency-to-build.js workspace @nrwl/workspace"
|
|
],
|
|
"parallel": false
|
|
}
|
|
},
|
|
"lint": {}
|
|
}
|
|
}
|