39 lines
1.1 KiB
JSON
39 lines
1.1 KiB
JSON
{
|
|
"name": "create-nx-plugin",
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"sourceRoot": "packages/create-nx-plugin",
|
|
"projectType": "library",
|
|
"targets": {
|
|
"build": {
|
|
"executor": "nx:run-commands",
|
|
"outputs": [
|
|
"{projectRoot}/dist/bin/create-nx-plugin.js",
|
|
"{projectRoot}/README.md"
|
|
],
|
|
"options": {
|
|
"commands": [
|
|
{
|
|
"command": "node ./scripts/chmod packages/create-nx-plugin/dist/bin/create-nx-plugin.js"
|
|
},
|
|
{
|
|
"command": "node ./scripts/copy-readme.js create-nx-plugin packages/create-nx-plugin/readme-template.md packages/create-nx-plugin/README.md"
|
|
},
|
|
{
|
|
"command": "node ./scripts/replace-versions.js packages/create-nx-plugin/dist/bin/create-nx-plugin.js"
|
|
}
|
|
],
|
|
"parallel": false
|
|
},
|
|
"inputs": [
|
|
"copyReadme",
|
|
{
|
|
"dependentTasksOutputFiles": "**/bin/create-nx-plugin.js"
|
|
},
|
|
"{workspaceRoot}/scripts/replace-versions.js",
|
|
"{workspaceRoot}/scripts/chmod.js"
|
|
]
|
|
}
|
|
},
|
|
"implicitDependencies": ["plugin"]
|
|
}
|