Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Upgrade to Angular 10 * Remove CommonJs compile options workaround * Migrate pwa file structures * Correct compodoc version pwa reference in index.html * More typo from Angular 10 migration * Correct manifest.webmanifest into angular.json file * Update @angularclass/hmr version * Fix the CI for the mobile builds * Restore condition for @angular/localize library now also include material UI Co-authored-by: Fabio Martino <martino.fabio@libero.it>
- Loading branch information
1 parent
4a4c435
commit ce64a85
Showing
18 changed files
with
203 additions
and
174 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below. | ||
# For additional information regarding the format and rule options, please see: | ||
# https://github.com/browserslist/browserslist#queries | ||
|
||
# For the full list of supported browsers by the Angular framework, please see: | ||
# https://angular.io/guide/browser-support | ||
|
||
# You can see what browsers were selected by your queries by running: | ||
# npx browserslist | ||
|
||
last 1 Chrome version | ||
last 1 Firefox version | ||
last 2 Edge major versions | ||
last 2 Safari major versions | ||
last 2 iOS major versions | ||
Firefox ESR | ||
not IE 9-10 # Angular support for IE 9-10 has been deprecated and will be removed as of Angular v11. To opt-in, remove the 'not' prefix on this line. | ||
not IE 11 # Angular supports IE 11 only as an opt-in. To opt-in, remove the 'not' prefix on this line. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
generators/app/templates/tsconfig.app.json → generators/app/templates/_tsconfig.app.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
/* To learn more about this file see: https://angular.io/config/tsconfig. */ | ||
{ | ||
"compileOnSave": false, | ||
"compilerOptions": { | ||
"outDir": "./dist/out-tsc", | ||
"sourceMap": true, | ||
"declaration": false, | ||
"module": "es2020", | ||
"moduleResolution": "node", | ||
"emitDecoratorMetadata": true, | ||
"experimentalDecorators": true, | ||
"importHelpers": true, | ||
<% if (props.strict) { -%> | ||
"strict": true, | ||
<% } else { -%> | ||
"noImplicitAny": true, | ||
<% } -%> | ||
"suppressImplicitAnyIndexErrors": true, | ||
<% if (props.target.includes('electron')) { -%> | ||
"target": "es5", | ||
<% } else { -%> | ||
"target": "es2015", | ||
<% } -%> | ||
"typeRoots": [ | ||
"node_modules/@types" | ||
], | ||
"lib": [ | ||
"es2018", | ||
"dom" | ||
], | ||
"baseUrl": "./", | ||
"paths": { | ||
"@app/*": ["src/app/*"], | ||
<% if (props.usePrefix) { -%> | ||
"@core": ["src/app/@core"], | ||
"@core/*": ["src/app/@core/*"], | ||
"@shared": ["src/app/@shared"], | ||
"@shared/*": ["src/app/@shared/*"], | ||
<% } -%> | ||
"@env/*": ["src/environments/*"] | ||
} | ||
}, | ||
"angularCompilerOptions": { | ||
"fullTemplateTypeCheck": true, | ||
"strictInjectionParameters": true, | ||
"preserveWhitespaces": true | ||
} | ||
} | ||
|
Oops, something went wrong.