TSK-977: Add linting to build pipeline
This commit is contained in:
parent
22b0b2170b
commit
e2e7acacc6
|
|
@ -27,6 +27,7 @@ function main() {
|
||||||
WEB)
|
WEB)
|
||||||
set -x
|
set -x
|
||||||
(cd $REL/../web && npm install --silent)
|
(cd $REL/../web && npm install --silent)
|
||||||
|
(cd $REL/../web && npm run lint)
|
||||||
(cd $REL/../web && npm run build)
|
(cd $REL/../web && npm run build)
|
||||||
;;
|
;;
|
||||||
LIB)
|
LIB)
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
"version": 1,
|
"version": 1,
|
||||||
"newProjectRoot": "projects",
|
"newProjectRoot": "projects",
|
||||||
"projects": {
|
"projects": {
|
||||||
"admin": {
|
"taskana-web": {
|
||||||
"root": "",
|
"root": "",
|
||||||
"sourceRoot": "src",
|
"sourceRoot": "src",
|
||||||
"projectType": "application",
|
"projectType": "application",
|
||||||
|
|
@ -53,18 +53,18 @@
|
||||||
"serve": {
|
"serve": {
|
||||||
"builder": "@angular-devkit/build-angular:dev-server",
|
"builder": "@angular-devkit/build-angular:dev-server",
|
||||||
"options": {
|
"options": {
|
||||||
"browserTarget": "admin:build"
|
"browserTarget": "taskana-web:build"
|
||||||
},
|
},
|
||||||
"configurations": {
|
"configurations": {
|
||||||
"production": {
|
"production": {
|
||||||
"browserTarget": "admin:build:production"
|
"browserTarget": "taskana-web:build:production"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"extract-i18n": {
|
"extract-i18n": {
|
||||||
"builder": "@angular-devkit/build-angular:extract-i18n",
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
||||||
"options": {
|
"options": {
|
||||||
"browserTarget": "admin:build"
|
"browserTarget": "taskana-web:build"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"test": {
|
"test": {
|
||||||
|
|
@ -100,13 +100,13 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"admin-e2e": {
|
"taskana-web-e2e": {
|
||||||
"root": "",
|
"root": "",
|
||||||
"sourceRoot": "e2e",
|
"sourceRoot": "e2e",
|
||||||
"projectType": "application"
|
"projectType": "application"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"defaultProject": "admin",
|
"defaultProject": "taskana-web",
|
||||||
"schematics": {
|
"schematics": {
|
||||||
"@schematics/angular:component": {
|
"@schematics/angular:component": {
|
||||||
"prefix": "app",
|
"prefix": "app",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue