Skip to content

Commit

Permalink
Angular 15 without material update
Browse files Browse the repository at this point in the history
  • Loading branch information
leomendoza123 committed Aug 18, 2023
1 parent e32d61d commit 17f4c05
Show file tree
Hide file tree
Showing 5 changed files with 1,251 additions and 1,236 deletions.
35 changes: 17 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,22 +43,21 @@
},
"private": true,
"dependencies": {
"@angular-devkit/core": "^14.2.11",
"@angular/animations": "^14.2.9",
"@angular-devkit/core": "^15.2.9",
"@angular/animations": "^15.2.9",
"@angular/cdk": "^14.2.6",
"@angular/common": "^14.2.9",
"@angular/compiler": "^14.2.9",
"@angular/core": "^14.2.9",
"@angular/forms": "^14.2.9",
"@angular/localize": "^14.2.9",
"@angular/common": "^15.2.9",
"@angular/compiler": "^15.2.9",
"@angular/core": "^15.2.9",
"@angular/forms": "^15.2.9",
"@angular/localize": "^15.2.9",
"@angular/material": "^14.2.6",
"@angular/platform-browser": "^14.2.9",
"@angular/platform-browser-dynamic": "^14.2.9",
"@angular/router": "^14.2.9",
"@angular/service-worker": "^14.2.9",
"@angular/platform-browser": "^15.2.9",
"@angular/platform-browser-dynamic": "^15.2.9",
"@angular/router": "^15.2.9",
"@angular/service-worker": "^15.2.9",
"@orcid/bibtex-parse-js": "0.0.25",
"@storybook/addon-a11y": "^7.3.0",

"browserslist": "^4.19.1",
"browserslist-useragent-regexp": "^3.0.0",
"core-js": "^3.6.5",
Expand All @@ -85,11 +84,11 @@
"zone.js": "~0.11.4"
},
"devDependencies": {
"@angular-devkit/build-angular": "^14.2.8",
"@angular-devkit/schematics": "14.2.11",
"@angular/cli": "^14.2.8",
"@angular/compiler-cli": "^14.2.9",
"@angular/language-service": "^14.2.9",
"@angular-devkit/build-angular": "^15.2.9",
"@angular-devkit/schematics": "15.2.9",
"@angular/cli": "^15.2.9",
"@angular/compiler-cli": "^15.2.9",
"@angular/language-service": "^15.2.9",
"@babel/core": "^7.6.0",
"@compodoc/compodoc": "^1.1.21",
"@storybook/addon-essentials": "^7.0.17",
Expand Down Expand Up @@ -141,4 +140,4 @@
"tslint-config-prettier": "^1.18.0",
"typescript": "~4.8.4"
}
}
}
2 changes: 1 addition & 1 deletion src/app/app-routing.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ const routes: Routes = [
]

@NgModule({
imports: [RouterModule.forRoot(routes, { relativeLinkResolution: 'legacy' })],
imports: [RouterModule.forRoot(routes, {})],
exports: [RouterModule],
})
export class AppRoutingModule {}
6 changes: 0 additions & 6 deletions src/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ import {
platformBrowserDynamicTesting,
} from '@angular/platform-browser-dynamic/testing'

declare const require: any

// First, initialize the Angular testing environment.
getTestBed().initTestEnvironment(
BrowserDynamicTestingModule,
Expand All @@ -17,7 +15,3 @@ getTestBed().initTestEnvironment(
teardown: { destroyAfterEach: false },
}
)
// Then we find all the tests.
const context = require.context('./', true, /\.spec\.ts$/)
// And load the modules.
context.keys().map(context)
14 changes: 10 additions & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,16 @@
"experimentalDecorators": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"target": "es2020",
"typeRoots": ["node_modules/@types"],
"lib": ["es2017", "dom"],
"skipLibCheck": true
"target": "ES2022",
"typeRoots": [
"node_modules/@types"
],
"lib": [
"es2017",
"dom"
],
"skipLibCheck": true,
"useDefineForClassFields": false
},

"angularCompilerOptions": {
Expand Down
Loading

0 comments on commit 17f4c05

Please sign in to comment.