40 lines
1.1 KiB
JSON
40 lines
1.1 KiB
JSON
{
|
|
"name": "devkit-legacy",
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"sourceRoot": "packages-legacy/devkit",
|
|
"projectType": "library",
|
|
"targets": {
|
|
"build": {
|
|
"outputs": ["{workspaceRoot}/build/packages/{projectName}/README.md"],
|
|
"command": "node ./scripts/copy-readme.js devkit-legacy"
|
|
},
|
|
"build-base": {
|
|
"executor": "@nx/js:tsc",
|
|
"dependsOn": ["^build-base"],
|
|
"options": {
|
|
"main": "packages-legacy/devkit/index.ts",
|
|
"tsConfig": "packages-legacy/devkit/tsconfig.json",
|
|
"outputPath": "build/packages/devkit-legacy",
|
|
"assets": [
|
|
{
|
|
"input": "packages-legacy/devkit",
|
|
"glob": "**/*.json",
|
|
"ignore": ["**/tsconfig*.json", "project.json"],
|
|
"output": "/"
|
|
},
|
|
{
|
|
"input": "packages-legacy/devkit",
|
|
"glob": "**/*.d.ts",
|
|
"output": "/"
|
|
},
|
|
{
|
|
"input": "",
|
|
"glob": "LICENSE",
|
|
"output": "/"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|