Skip to content

Commit 5870184

Browse files
committed
update angular core library
1 parent cbf7b47 commit 5870184

File tree

5 files changed

+1362
-1689
lines changed

5 files changed

+1362
-1689
lines changed

package.json

Lines changed: 62 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,63 @@
11
{
2-
"name": "sb-admin-angular14-bs5",
3-
"version": "10.0.0",
4-
"license": "Apache",
5-
"scripts": {
6-
"ng": "ng",
7-
"start": "ng serve",
8-
"build": "ng build --configuration production",
9-
"gitbuild": "ng build --configuration production --base-href /start-angular/SB-Admin-BS4-Angular-8/master/dist/",
10-
"test": "ng test",
11-
"test-ci": "TEST_CI=true ng test",
12-
"lint": "ng lint",
13-
"e2e": "ng e2e"
14-
},
15-
"private": true,
16-
"dependencies": {
17-
"@angular/animations": "14.2.8",
18-
"@angular/common": "14.2.8",
19-
"@angular/compiler": "14.2.8",
20-
"@angular/core": "14.2.8",
21-
"@angular/forms": "14.2.8",
22-
"@angular/localize": "14.2.8",
23-
"@angular/platform-browser": "14.2.8",
24-
"@angular/platform-browser-dynamic": "14.2.8",
25-
"@angular/router": "14.2.8",
26-
"@ng-bootstrap/ng-bootstrap": "13.1.0",
27-
"@ngx-translate/core": "14.0.0",
28-
"@ngx-translate/http-loader": "7.0.0",
29-
"@popperjs/core": "2.11.6",
30-
"bootstrap": "5.2.2",
31-
"chart.js": "3.7.1",
32-
"core-js": "3.26.0",
33-
"font-awesome": "4.7.0",
34-
"ng2-charts": "3.0.8",
35-
"rxjs": "7.5.7",
36-
"tslib": "2.4.1",
37-
"zone.js": "~0.11.8"
38-
},
39-
"devDependencies": {
40-
"@angular-devkit/build-angular": "14.2.7",
41-
"@angular/cli": "14.2.7",
42-
"@angular/compiler-cli": "14.2.8",
43-
"@angular/language-service": "14.2.8",
44-
"@types/jasmine": "4.3.0",
45-
"@types/jasminewd2": "2.0.10",
46-
"@types/node": "16.11.7",
47-
"codelyzer": "6.0.2",
48-
"jasmine-core": "~4.4.0",
49-
"jasmine-spec-reporter": "~7.0.0",
50-
"karma": "6.4.0",
51-
"karma-chrome-launcher": "~3.1.1",
52-
"karma-cli": "2.0.0",
53-
"karma-coverage-istanbul-reporter": "3.0.3",
54-
"karma-jasmine": "~5.1.0",
55-
"karma-jasmine-html-reporter": "2.0.0",
56-
"prettier": "2.7.1",
57-
"protractor": "7.0.0",
58-
"ts-node": "10.9.1",
59-
"tslint": "6.1.3",
60-
"typescript": "4.7.4",
61-
"yarn": "1.22.17"
62-
}
63-
}
2+
"name": "sb-admin-angular14-bs5",
3+
"version": "10.0.0",
4+
"license": "Apache",
5+
"scripts": {
6+
"ng": "ng",
7+
"start": "ng serve",
8+
"build": "ng build --configuration production",
9+
"gitbuild": "ng build --configuration production --base-href /start-angular/SB-Admin-BS4-Angular-8/master/dist/",
10+
"test": "ng test",
11+
"test-ci": "TEST_CI=true ng test",
12+
"lint": "ng lint",
13+
"e2e": "ng e2e"
14+
},
15+
"private": true,
16+
"dependencies": {
17+
"@angular/animations": "15.1.5",
18+
"@angular/common": "15.1.5",
19+
"@angular/compiler": "15.1.5",
20+
"@angular/core": "15.1.5",
21+
"@angular/forms": "15.1.5",
22+
"@angular/localize": "15.1.5",
23+
"@angular/platform-browser": "15.1.5",
24+
"@angular/platform-browser-dynamic": "15.1.5",
25+
"@angular/router": "15.1.5",
26+
"@ng-bootstrap/ng-bootstrap": "13.1.0",
27+
"@ngx-translate/core": "14.0.0",
28+
"@ngx-translate/http-loader": "7.0.0",
29+
"@popperjs/core": "2.11.6",
30+
"bootstrap": "5.2.2",
31+
"chart.js": "3.7.1",
32+
"core-js": "3.26.0",
33+
"font-awesome": "4.7.0",
34+
"ng2-charts": "3.0.8",
35+
"rxjs": "7.5.7",
36+
"tslib": "2.4.1",
37+
"zone.js": "~0.11.8"
38+
},
39+
"devDependencies": {
40+
"@angular-devkit/build-angular": "15.1.6",
41+
"@angular/cli": "15.1.6",
42+
"@angular/compiler-cli": "15.1.5",
43+
"@angular/language-service": "15.1.5",
44+
"@types/jasmine": "4.3.0",
45+
"@types/jasminewd2": "2.0.10",
46+
"@types/node": "16.11.7",
47+
"codelyzer": "6.0.2",
48+
"jasmine-core": "~4.4.0",
49+
"jasmine-spec-reporter": "~7.0.0",
50+
"karma": "6.4.0",
51+
"karma-chrome-launcher": "~3.1.1",
52+
"karma-cli": "2.0.0",
53+
"karma-coverage-istanbul-reporter": "3.0.3",
54+
"karma-jasmine": "~5.1.0",
55+
"karma-jasmine-html-reporter": "2.0.0",
56+
"prettier": "2.7.1",
57+
"protractor": "7.0.0",
58+
"ts-node": "10.9.1",
59+
"tslint": "6.1.3",
60+
"typescript": "4.9.5",
61+
"yarn": "1.22.17"
62+
}
63+
}

src/app/app-routing.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const routes: Routes = [
2323
];
2424

2525
@NgModule({
26-
imports: [RouterModule.forRoot(routes, { relativeLinkResolution: 'legacy' })],
26+
imports: [RouterModule.forRoot(routes, {})],
2727
exports: [RouterModule]
2828
})
2929
export class AppRoutingModule {}

src/test.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import 'zone.js/dist/sync-test';
1111

1212
// Unfortunately there's no typing for the `__karma__` variable. Just declare it as any.
1313
declare const __karma__: any;
14-
declare const require: any;
1514

1615
// Prevent Karma from running prematurely.
1716
__karma__.loaded = function () {};
@@ -20,9 +19,5 @@ __karma__.loaded = function () {};
2019
getTestBed().initTestEnvironment(BrowserDynamicTestingModule, platformBrowserDynamicTesting(), {
2120
teardown: { destroyAfterEach: false }
2221
});
23-
// Then we find all the tests.
24-
const context = require.context('./', true, /\.spec\.ts$/);
25-
// And load the modules.
26-
context.keys().map(context);
2722
// Finally, start Karma to run the tests.
2823
__karma__.start();

tsconfig.json

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,22 @@
11
{
22
"compileOnSave": false,
33
"compilerOptions": {
4-
"baseUrl": "./",
5-
"importHelpers": true,
6-
"outDir": "./dist/out-tsc",
7-
"sourceMap": true,
8-
"declaration": false,
9-
"module": "esnext",
10-
"moduleResolution": "node",
11-
"experimentalDecorators": true,
12-
"target": "es2020",
13-
"typeRoots": ["node_modules/@types"],
14-
"lib": ["es2018", "dom"]
4+
"baseUrl": "./",
5+
"importHelpers": true,
6+
"outDir": "./dist/out-tsc",
7+
"sourceMap": true,
8+
"declaration": false,
9+
"module": "esnext",
10+
"moduleResolution": "node",
11+
"experimentalDecorators": true,
12+
"target": "ES2022",
13+
"typeRoots": [
14+
"node_modules/@types"
15+
],
16+
"lib": [
17+
"es2018",
18+
"dom"
19+
],
20+
"useDefineForClassFields": false
1521
}
1622
}

0 commit comments

Comments
 (0)