mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
Move the cli bundle under dist/libs/cli (#7937)
This commit is contained in:
parent
d946376361
commit
c2cdd90d99
27
angular.json
27
angular.json
@ -812,7 +812,7 @@
|
|||||||
"projectType": "library",
|
"projectType": "library",
|
||||||
"prefix": "adf",
|
"prefix": "adf",
|
||||||
"architect": {
|
"architect": {
|
||||||
"build-local": {
|
"build": {
|
||||||
"builder": "@nrwl/node:webpack",
|
"builder": "@nrwl/node:webpack",
|
||||||
"options": {
|
"options": {
|
||||||
"projectRoot": "lib/testing",
|
"projectRoot": "lib/testing",
|
||||||
@ -871,7 +871,7 @@
|
|||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
{
|
{
|
||||||
"projects": "self",
|
"projects": "self",
|
||||||
"target": "build-local"
|
"target": "build"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@ -883,7 +883,7 @@
|
|||||||
"projectType": "library",
|
"projectType": "library",
|
||||||
"prefix": "adf",
|
"prefix": "adf",
|
||||||
"architect": {
|
"architect": {
|
||||||
"build-local": {
|
"build": {
|
||||||
"builder": "@nrwl/workspace:run-commands",
|
"builder": "@nrwl/workspace:run-commands",
|
||||||
"options": {
|
"options": {
|
||||||
"commands": [
|
"commands": [
|
||||||
@ -909,22 +909,6 @@
|
|||||||
"copyToNodeModules"
|
"copyToNodeModules"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"moveToDist": {
|
|
||||||
"executor": "nx:run-commands",
|
|
||||||
"options": {
|
|
||||||
"commands": [
|
|
||||||
{
|
|
||||||
"command": "mkdir -p ./dist/libs/cli && cp -R ./lib/cli/dist/* dist/libs/cli/"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"dependsOn": [
|
|
||||||
{
|
|
||||||
"projects": "self",
|
|
||||||
"target": "build-local"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"copyToNodeModules": {
|
"copyToNodeModules": {
|
||||||
"executor": "nx:run-commands",
|
"executor": "nx:run-commands",
|
||||||
"options": {
|
"options": {
|
||||||
@ -935,7 +919,10 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
"moveToDist"
|
{
|
||||||
|
"projects": "self",
|
||||||
|
"target": "build"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"lint": {
|
"lint": {
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc -p tsconfig.json",
|
"build": "tsc -p tsconfig.json",
|
||||||
"develop": "tsc -p tsconfig.json --watch",
|
"develop": "tsc -p tsconfig.json --watch",
|
||||||
"dist": "rm -rf ./dist/ && npm run build && cp -R ./bin ./dist/ && cp -R ./resources ./dist && cp -R ./templates ./dist && cp ./package.json ./dist/"
|
"dist": "rm -rf ../../dist/libs/cli && npm run build && cp -R ./bin ../../dist/libs/cli && cp -R ./resources ../../dist/libs/cli && cp -R ./templates ../../dist/libs/cli && cp ./package.json ../../dist/libs/cli"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@alfresco/js-api": "5.1.0",
|
"@alfresco/js-api": "5.1.0",
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
"noUnusedParameters": true,
|
"noUnusedParameters": true,
|
||||||
"noUnusedLocals": true,
|
"noUnusedLocals": true,
|
||||||
"esModuleInterop": true,
|
"esModuleInterop": true,
|
||||||
"outDir": "./dist",
|
"outDir": "../../dist/libs/cli",
|
||||||
"rootDir": ".",
|
"rootDir": ".",
|
||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
"strictNullChecks": false,
|
"strictNullChecks": false,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user