Skip to content

Commit

Permalink
feat(lib): upgrade to Angular 16
Browse files Browse the repository at this point in the history
BREAKING CHANGE: upgrade to Angular 16
  • Loading branch information
tomastrajan committed May 24, 2023
1 parent a8bce66 commit 7d9e7b9
Show file tree
Hide file tree
Showing 8 changed files with 7,236 additions and 3,777 deletions.
10,951 changes: 7,206 additions & 3,745 deletions package-lock.json

Large diffs are not rendered by default.

50 changes: 25 additions & 25 deletions package.json
Expand Up @@ -45,51 +45,51 @@
},
"private": false,
"dependencies": {
"@angular/animations": "^15.1.3",
"@angular/cdk": "^15.1.3",
"@angular/common": "^15.1.3",
"@angular/compiler": "^15.1.3",
"@angular/core": "^15.1.3",
"@angular/forms": "^15.1.3",
"@angular/material": "^15.1.3",
"@angular/platform-browser": "^15.1.3",
"@angular/platform-browser-dynamic": "^15.1.3",
"@angular/pwa": "^15.1.4",
"@angular/router": "^15.1.3",
"@angular/service-worker": "^15.1.3",
"@angular/animations": "^16.0.2",
"@angular/cdk": "^16.0.1",
"@angular/common": "^16.0.2",
"@angular/compiler": "^16.0.2",
"@angular/core": "^16.0.2",
"@angular/forms": "^16.0.2",
"@angular/material": "^16.0.1",
"@angular/platform-browser": "^16.0.2",
"@angular/platform-browser-dynamic": "^16.0.2",
"@angular/pwa": "^16.0.2",
"@angular/router": "^16.0.2",
"@angular/service-worker": "^16.0.2",
"highlight.js": "^11.3.1",
"ngx-highlightjs": "^8.0.0",
"ngx-markdown": "^15.1.1",
"rxjs": "^7.5.0",
"tslib": "^2.3.1",
"zone.js": "~0.11.4"
"zone.js": "~0.13.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "^15.1.4",
"@angular-eslint/builder": "^15.2.0",
"@angular-eslint/eslint-plugin": "^15.2.0",
"@angular-eslint/eslint-plugin-template": "^15.2.0",
"@angular-eslint/schematics": "^15.2.0",
"@angular-eslint/template-parser": "^15.2.0",
"@angular/cli": "^15.1.4",
"@angular/compiler-cli": "^15.1.3",
"@angular-devkit/build-angular": "^16.0.2",
"@angular-eslint/builder": "^16.0.2",
"@angular-eslint/eslint-plugin": "^16.0.2",
"@angular-eslint/eslint-plugin-template": "^16.0.2",
"@angular-eslint/schematics": "^16.0.2",
"@angular-eslint/template-parser": "^16.0.2",
"@angular/cli": "^16.0.2",
"@angular/compiler-cli": "^16.0.2",
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@jest/globals": "^28.1.3",
"@types/jest": "^28.1.8",
"@types/systemjs": "^6.1.0",
"@typescript-eslint/eslint-plugin": "^5.43.0",
"@typescript-eslint/parser": "^5.43.0",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^5.59.2",
"all-contributors-cli": "^6.17.4",
"compression": "^1.7.4",
"cpx": "^1.5.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.28.0",
"eslint": "^8.39.0",
"express": "^4.17.1",
"husky": "^4.3.8",
"jest": "^28.1.3",
"jest-preset-angular": "^12.2.6",
"ng-packagr": "^15.1.1",
"ng-packagr": "^16.0.1",
"prettier": "^2.7.1",
"pretty-quick": "^3.1.3",
"raw-loader": "^4.0.2",
Expand Down
2 changes: 1 addition & 1 deletion projects/elements-demo/jest.config.mjs
@@ -1,6 +1,6 @@
export default {
preset: 'jest-preset-angular/presets/defaults-esm',
globalSetup: 'jest-preset-angular/global-setup.mjs',
// globalSetup: 'jest-preset-angular/global-setup.mjs',
setupFilesAfterEnv: ['<rootDir>/jest.setup.ts'],
globals: {
'ts-jest': {
Expand Down
1 change: 0 additions & 1 deletion projects/elements-demo/tsconfig.app.json
Expand Up @@ -2,7 +2,6 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "../../out-tsc/app",
"target": "es2015",
"types": ["systemjs"]
},
"include": ["src/**/*.ts"],
Expand Down
2 changes: 1 addition & 1 deletion projects/elements/jest.config.mjs
@@ -1,6 +1,6 @@
export default {
preset: 'jest-preset-angular/presets/defaults-esm',
globalSetup: 'jest-preset-angular/global-setup.mjs',
// globalSetup: 'jest-preset-angular/global-setup.mjs',
extensionsToTreatAsEsm: ['.ts'],
setupFilesAfterEnv: ['<rootDir>/jest.setup.ts'],
globals: {
Expand Down
Expand Up @@ -12,7 +12,6 @@ class SpinnerTestComponent {}

@NgModule({
declarations: [SpinnerTestComponent],
entryComponents: [SpinnerTestComponent],
})
class TestModule {}

Expand Down
2 changes: 1 addition & 1 deletion projects/elements/tsconfig.lib.json
Expand Up @@ -7,7 +7,7 @@
"inlineSources": true,
"stripInternal": false,
"types": [],
"lib": ["dom", "es2018"]
"lib": ["dom", "es2022"]
},
"exclude": ["jest.setup.ts", "**/*.spec.ts"]
}
4 changes: 2 additions & 2 deletions tsconfig.json
Expand Up @@ -12,9 +12,9 @@
"moduleResolution": "node",
"esModuleInterop": true,
"importHelpers": true,
"target": "es2020",
"target": "es2022",
"resolveJsonModule": true,
"lib": ["es2020", "dom"],
"lib": ["es2022", "dom"],
"types": ["jest"],
"forceConsistentCasingInFileNames": true,
"noImplicitReturns": true,
Expand Down

0 comments on commit 7d9e7b9

Please sign in to comment.