Verified Commit a9d1b223 authored by Raphael Ochsenbein's avatar Raphael Ochsenbein
Browse files

Change configurations to not use ivy for building and testing the library

parent 14e34d94
Pipeline #982 passed with stage
in 1 minute and 56 seconds
......@@ -14,7 +14,7 @@ test:
- npm i
script:
- npm run lint
- npm run ng -- build password-checker-lib
- npm run ng -- build password-checker-lib --prod
- npm run test
- npm run ng -- build example-app --prod --progress=false
......@@ -33,5 +33,7 @@ deploy_master:
- cd $CI_PROJECT_DIR/dist/password-checker-lib
- npm publish --access public
- rm -f ~/.npmrc
after_script:
- rm -f ~/.npmrc
only:
- master
......@@ -14,13 +14,13 @@
"options": {
"tsConfig": "projects/password-checker-lib/tsconfig.lib.json",
"project": "projects/password-checker-lib/ng-package.json"
}
, "configurations": {
},
"configurations": {
"production": {
"tsConfig": "projects/password-checker-lib/tsconfig.lib.prod.json"
}
}
},
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
......@@ -71,6 +71,7 @@
},
"configurations": {
"production": {
"tsConfig": "projects/example-app/tsconfig.app.prod.json",
"fileReplacements": [
{
"replace": "projects/example-app/src/environments/environment.ts",
......
{
"extends": "./tsconfig.app.json",
"angularCompilerOptions": {
"enableIvy": false
}
}
......@@ -14,5 +14,8 @@
"include": [
"**/*.spec.ts",
"**/*.d.ts"
]
],
"angularCompilerOptions": {
"enableIvy": false
}
}
......@@ -13,5 +13,8 @@
"include": [
"**/*.spec.ts",
"**/*.d.ts"
]
],
"angularCompilerOptions": {
"enableIvy": false
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment