69 lines
1.9 KiB
JSON
69 lines
1.9 KiB
JSON
{
|
|
"name": "pieces-linear",
|
|
"$schema": "../../../../node_modules/nx/schemas/project-schema.json",
|
|
"sourceRoot": "packages/pieces/community/linear/src",
|
|
"projectType": "library",
|
|
"targets": {
|
|
"build": {
|
|
"executor": "@nx/js:tsc",
|
|
"outputs": [
|
|
"{options.outputPath}"
|
|
],
|
|
"options": {
|
|
"outputPath": "dist/packages/pieces/community/linear",
|
|
"tsConfig": "packages/pieces/community/linear/tsconfig.lib.json",
|
|
"packageJson": "packages/pieces/community/linear/package.json",
|
|
"main": "packages/pieces/community/linear/src/index.ts",
|
|
"assets": [
|
|
"packages/pieces/community/linear/*.md",
|
|
{
|
|
"input": "packages/pieces/community/linear/src/i18n",
|
|
"output": "./src/i18n",
|
|
"glob": "**/!(i18n.json)"
|
|
}
|
|
],
|
|
"buildableProjectDepsInPackageJsonType": "dependencies",
|
|
"updateBuildableProjectDepsInPackageJson": true
|
|
},
|
|
"dependsOn": ["prebuild", "^build"]
|
|
},
|
|
"prebuild": {
|
|
"executor": "nx:run-commands",
|
|
"options": {
|
|
"cwd": "packages/pieces/community/linear",
|
|
"command": "npm ci"
|
|
}
|
|
},
|
|
"build-with-deps": {
|
|
"executor": "nx:run-commands",
|
|
"options": {
|
|
"commands": [
|
|
"nx run pieces-linear:prebuild",
|
|
"nx run pieces-linear:build",
|
|
"nx run pieces-linear:postbuild"
|
|
],
|
|
"parallel": false
|
|
}
|
|
},
|
|
"postbuild": {
|
|
"executor": "nx:run-commands",
|
|
"options": {
|
|
"cwd": "dist/packages/pieces/community/linear",
|
|
"command": "npm install"
|
|
}
|
|
},
|
|
"publish": {
|
|
"command": "node tools/scripts/publish.mjs pieces-linear {args.ver} {args.tag}",
|
|
"dependsOn": [
|
|
"build"
|
|
]
|
|
},
|
|
"lint": {
|
|
"executor": "@nx/eslint:lint",
|
|
"outputs": [
|
|
"{options.outputFile}"
|
|
]
|
|
}
|
|
},
|
|
"tags": []
|
|
} |