mirror of https://github.com/abpframework/abp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
72 lines
1.9 KiB
72 lines
1.9 KiB
{
|
|
"name": "generators",
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"sourceRoot": "packages/generators/src",
|
|
"projectType": "library",
|
|
"targets": {
|
|
"build": {
|
|
"executor": "@nx/js:tsc",
|
|
"outputs": ["{options.outputPath}"],
|
|
"options": {
|
|
"outputPath": "dist/packages/generators",
|
|
"main": "packages/generators/src/index.ts",
|
|
"tsConfig": "packages/generators/tsconfig.lib.json",
|
|
"assets": [
|
|
"packages/generators/*.md",
|
|
{
|
|
"input": "./packages/generators/src",
|
|
"glob": "**/!(*.ts)",
|
|
"output": "./src"
|
|
},
|
|
{
|
|
"input": "./packages/generators/src",
|
|
"glob": "**/*.d.ts",
|
|
"output": "./src"
|
|
},
|
|
{
|
|
"input": "./packages/generators",
|
|
"glob": "generators.json",
|
|
"output": "."
|
|
},
|
|
{
|
|
"input": "./packages/generators",
|
|
"glob": "executors.json",
|
|
"output": "."
|
|
}
|
|
],
|
|
"updateBuildableProjectDepsInPackageJson": true
|
|
}
|
|
},
|
|
"publish": {
|
|
"command": "node tools/scripts/publish.mjs generators {args.ver} {args.tag}",
|
|
"dependsOn": ["build"]
|
|
},
|
|
"lint": {
|
|
"executor": "@nx/linter:eslint",
|
|
"outputs": ["{options.outputFile}"],
|
|
"options": {
|
|
"lintFilePatterns": [
|
|
"packages/generators/**/*.ts",
|
|
"packages/generators/package.json",
|
|
"packages/generators/generators.json"
|
|
]
|
|
}
|
|
},
|
|
"test": {
|
|
"executor": "@nx/jest:jest",
|
|
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
|
|
"options": {
|
|
"jestConfig": "packages/generators/jest.config.ts",
|
|
"passWithNoTests": true
|
|
},
|
|
"configurations": {
|
|
"ci": {
|
|
"ci": true,
|
|
"codeCoverage": true
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"tags": []
|
|
}
|