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": [
|
"dependsOn": ["copyToNodeModules"]
|
||||||
"copyToNodeModules"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"copyToNodeModules": {
|
"copyToNodeModules": {
|
||||||
"executor": "nx:run-commands",
|
"executor": "nx:run-commands",
|
||||||
@ -39,9 +37,7 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"dependsOn": [
|
"dependsOn": ["installDeps", "build"]
|
||||||
"installDeps", "build"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"installDeps": {
|
"installDeps": {
|
||||||
"executor": "nx:run-commands",
|
"executor": "nx:run-commands",
|
||||||
@ -52,24 +48,17 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"dependsOn": [
|
"dependsOn": ["build"]
|
||||||
"build"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"lint": {
|
"lint": {
|
||||||
"executor": "@nrwl/linter:eslint",
|
"executor": "@nrwl/linter:eslint",
|
||||||
"options": {
|
"options": {
|
||||||
"lintFilePatterns": [
|
"lintFilePatterns": ["lib/cli/**/*.ts", "lib/cli/**/*.html"]
|
||||||
"lib/cli/**/*.ts",
|
|
||||||
"lib/cli/**/*.html"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"npm-publish": {
|
"npm-publish": {
|
||||||
"executor": "nx:run-commands",
|
"executor": "nx:run-commands",
|
||||||
"dependsOn": [
|
"dependsOn": ["build"],
|
||||||
"build"
|
|
||||||
],
|
|
||||||
"options": {
|
"options": {
|
||||||
"cwd": "dist/libs/cli",
|
"cwd": "dist/libs/cli",
|
||||||
"commands": [
|
"commands": [
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
"build": {
|
"build": {
|
||||||
"executor": "@nrwl/js:tsc",
|
"executor": "@nrwl/js:tsc",
|
||||||
"outputs": ["{options.outputPath}"],
|
"outputs": ["{options.outputPath}"],
|
||||||
"dependsOn": ["build-esm5", "build-esm2015", "build-cjs"],
|
"dependsOn": ["build-esm5"],
|
||||||
"options": {
|
"options": {
|
||||||
"outputPath": "dist/libs/js-api/typings",
|
"outputPath": "dist/libs/js-api/typings",
|
||||||
"main": "lib/js-api/src/index.ts",
|
"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": {
|
"build-esm5": {
|
||||||
"executor": "@nrwl/js:tsc",
|
"executor": "@nrwl/js:tsc",
|
||||||
"outputs": ["{options.outputPath}"],
|
"outputs": ["{options.outputPath}"],
|
||||||
|
"dependsOn": ["build-esm2015"],
|
||||||
"options": {
|
"options": {
|
||||||
"outputPath": "dist/libs/js-api/esm5",
|
"outputPath": "dist/libs/js-api/esm5",
|
||||||
"main": "lib/js-api/src/index.ts",
|
"main": "lib/js-api/src/index.ts",
|
||||||
@ -45,12 +36,23 @@
|
|||||||
"build-esm2015": {
|
"build-esm2015": {
|
||||||
"executor": "@nrwl/js:tsc",
|
"executor": "@nrwl/js:tsc",
|
||||||
"outputs": ["{options.outputPath}"],
|
"outputs": ["{options.outputPath}"],
|
||||||
|
"dependsOn": ["build-cjs"],
|
||||||
"options": {
|
"options": {
|
||||||
"outputPath": "dist/libs/js-api/esm2015",
|
"outputPath": "dist/libs/js-api/esm2015",
|
||||||
"main": "lib/js-api/src/index.ts",
|
"main": "lib/js-api/src/index.ts",
|
||||||
"tsConfig": "lib/js-api/tsconfig/tsconfig.esm2015.json"
|
"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": {
|
"build-types": {
|
||||||
"executor": "@nrwl/js:tsc",
|
"executor": "@nrwl/js:tsc",
|
||||||
"outputs": ["{options.outputPath}"],
|
"outputs": ["{options.outputPath}"],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user