mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
Ordered builds for js-api to avoid racing condition on dist folder (#10088)
* Ordered builds for js-api to avoid racing condition on dist folder * Reverted changes to tmp
This commit is contained in:
parent
234ca01856
commit
e949b75da8
@ -26,9 +26,7 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"dependsOn": [
|
||||
"copyToNodeModules"
|
||||
]
|
||||
"dependsOn": ["copyToNodeModules"]
|
||||
},
|
||||
"copyToNodeModules": {
|
||||
"executor": "nx:run-commands",
|
||||
@ -39,9 +37,7 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"dependsOn": [
|
||||
"installDeps", "build"
|
||||
]
|
||||
"dependsOn": ["installDeps", "build"]
|
||||
},
|
||||
"installDeps": {
|
||||
"executor": "nx:run-commands",
|
||||
@ -52,24 +48,17 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"dependsOn": [
|
||||
"build"
|
||||
]
|
||||
"dependsOn": ["build"]
|
||||
},
|
||||
"lint": {
|
||||
"executor": "@nrwl/linter:eslint",
|
||||
"options": {
|
||||
"lintFilePatterns": [
|
||||
"lib/cli/**/*.ts",
|
||||
"lib/cli/**/*.html"
|
||||
]
|
||||
"lintFilePatterns": ["lib/cli/**/*.ts", "lib/cli/**/*.html"]
|
||||
}
|
||||
},
|
||||
"npm-publish": {
|
||||
"executor": "nx:run-commands",
|
||||
"dependsOn": [
|
||||
"build"
|
||||
],
|
||||
"dependsOn": ["build"],
|
||||
"options": {
|
||||
"cwd": "dist/libs/cli",
|
||||
"commands": [
|
||||
|
@ -8,7 +8,7 @@
|
||||
"build": {
|
||||
"executor": "@nrwl/js:tsc",
|
||||
"outputs": ["{options.outputPath}"],
|
||||
"dependsOn": ["build-esm5", "build-esm2015", "build-cjs"],
|
||||
"dependsOn": ["build-esm5"],
|
||||
"options": {
|
||||
"outputPath": "dist/libs/js-api/typings",
|
||||
"main": "lib/js-api/src/index.ts",
|
||||
@ -23,19 +23,10 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"build-cjs": {
|
||||
"executor": "@nrwl/js:tsc",
|
||||
"outputs": ["{options.outputPath}"],
|
||||
"options": {
|
||||
"outputPath": "dist/libs/js-api",
|
||||
"main": "lib/js-api/src/index.ts",
|
||||
"tsConfig": "lib/js-api/tsconfig/tsconfig.cjs.json",
|
||||
"assets": ["lib/js-api/*.md", "lib/js-api/LICENSE.txt"]
|
||||
}
|
||||
},
|
||||
"build-esm5": {
|
||||
"executor": "@nrwl/js:tsc",
|
||||
"outputs": ["{options.outputPath}"],
|
||||
"dependsOn": ["build-esm2015"],
|
||||
"options": {
|
||||
"outputPath": "dist/libs/js-api/esm5",
|
||||
"main": "lib/js-api/src/index.ts",
|
||||
@ -45,12 +36,23 @@
|
||||
"build-esm2015": {
|
||||
"executor": "@nrwl/js:tsc",
|
||||
"outputs": ["{options.outputPath}"],
|
||||
"dependsOn": ["build-cjs"],
|
||||
"options": {
|
||||
"outputPath": "dist/libs/js-api/esm2015",
|
||||
"main": "lib/js-api/src/index.ts",
|
||||
"tsConfig": "lib/js-api/tsconfig/tsconfig.esm2015.json"
|
||||
}
|
||||
},
|
||||
"build-cjs": {
|
||||
"executor": "@nrwl/js:tsc",
|
||||
"outputs": ["{options.outputPath}"],
|
||||
"options": {
|
||||
"outputPath": "dist/libs/js-api",
|
||||
"main": "lib/js-api/src/index.ts",
|
||||
"tsConfig": "lib/js-api/tsconfig/tsconfig.cjs.json",
|
||||
"assets": ["lib/js-api/*.md", "lib/js-api/LICENSE.txt"]
|
||||
}
|
||||
},
|
||||
"build-types": {
|
||||
"executor": "@nrwl/js:tsc",
|
||||
"outputs": ["{options.outputPath}"],
|
||||
|
Loading…
x
Reference in New Issue
Block a user