Skip to content

Commit

Permalink
update angular core library
Browse files Browse the repository at this point in the history
  • Loading branch information
nkmdev committed Feb 22, 2023
1 parent cbf7b47 commit 5870184
Show file tree
Hide file tree
Showing 5 changed files with 1,362 additions and 1,689 deletions.
124 changes: 62 additions & 62 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,63 +1,63 @@
{
"name": "sb-admin-angular14-bs5",
"version": "10.0.0",
"license": "Apache",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build --configuration production",
"gitbuild": "ng build --configuration production --base-href /start-angular/SB-Admin-BS4-Angular-8/master/dist/",
"test": "ng test",
"test-ci": "TEST_CI=true ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"private": true,
"dependencies": {
"@angular/animations": "14.2.8",
"@angular/common": "14.2.8",
"@angular/compiler": "14.2.8",
"@angular/core": "14.2.8",
"@angular/forms": "14.2.8",
"@angular/localize": "14.2.8",
"@angular/platform-browser": "14.2.8",
"@angular/platform-browser-dynamic": "14.2.8",
"@angular/router": "14.2.8",
"@ng-bootstrap/ng-bootstrap": "13.1.0",
"@ngx-translate/core": "14.0.0",
"@ngx-translate/http-loader": "7.0.0",
"@popperjs/core": "2.11.6",
"bootstrap": "5.2.2",
"chart.js": "3.7.1",
"core-js": "3.26.0",
"font-awesome": "4.7.0",
"ng2-charts": "3.0.8",
"rxjs": "7.5.7",
"tslib": "2.4.1",
"zone.js": "~0.11.8"
},
"devDependencies": {
"@angular-devkit/build-angular": "14.2.7",
"@angular/cli": "14.2.7",
"@angular/compiler-cli": "14.2.8",
"@angular/language-service": "14.2.8",
"@types/jasmine": "4.3.0",
"@types/jasminewd2": "2.0.10",
"@types/node": "16.11.7",
"codelyzer": "6.0.2",
"jasmine-core": "~4.4.0",
"jasmine-spec-reporter": "~7.0.0",
"karma": "6.4.0",
"karma-chrome-launcher": "~3.1.1",
"karma-cli": "2.0.0",
"karma-coverage-istanbul-reporter": "3.0.3",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "2.0.0",
"prettier": "2.7.1",
"protractor": "7.0.0",
"ts-node": "10.9.1",
"tslint": "6.1.3",
"typescript": "4.7.4",
"yarn": "1.22.17"
}
}
"name": "sb-admin-angular14-bs5",
"version": "10.0.0",
"license": "Apache",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build --configuration production",
"gitbuild": "ng build --configuration production --base-href /start-angular/SB-Admin-BS4-Angular-8/master/dist/",
"test": "ng test",
"test-ci": "TEST_CI=true ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"private": true,
"dependencies": {
"@angular/animations": "15.1.5",
"@angular/common": "15.1.5",
"@angular/compiler": "15.1.5",
"@angular/core": "15.1.5",
"@angular/forms": "15.1.5",
"@angular/localize": "15.1.5",
"@angular/platform-browser": "15.1.5",
"@angular/platform-browser-dynamic": "15.1.5",
"@angular/router": "15.1.5",
"@ng-bootstrap/ng-bootstrap": "13.1.0",
"@ngx-translate/core": "14.0.0",
"@ngx-translate/http-loader": "7.0.0",
"@popperjs/core": "2.11.6",
"bootstrap": "5.2.2",
"chart.js": "3.7.1",
"core-js": "3.26.0",
"font-awesome": "4.7.0",
"ng2-charts": "3.0.8",
"rxjs": "7.5.7",
"tslib": "2.4.1",
"zone.js": "~0.11.8"
},
"devDependencies": {
"@angular-devkit/build-angular": "15.1.6",
"@angular/cli": "15.1.6",
"@angular/compiler-cli": "15.1.5",
"@angular/language-service": "15.1.5",
"@types/jasmine": "4.3.0",
"@types/jasminewd2": "2.0.10",
"@types/node": "16.11.7",
"codelyzer": "6.0.2",
"jasmine-core": "~4.4.0",
"jasmine-spec-reporter": "~7.0.0",
"karma": "6.4.0",
"karma-chrome-launcher": "~3.1.1",
"karma-cli": "2.0.0",
"karma-coverage-istanbul-reporter": "3.0.3",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "2.0.0",
"prettier": "2.7.1",
"protractor": "7.0.0",
"ts-node": "10.9.1",
"tslint": "6.1.3",
"typescript": "4.9.5",
"yarn": "1.22.17"
}
}
2 changes: 1 addition & 1 deletion src/app/app-routing.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const routes: Routes = [
];

@NgModule({
imports: [RouterModule.forRoot(routes, { relativeLinkResolution: 'legacy' })],
imports: [RouterModule.forRoot(routes, {})],
exports: [RouterModule]
})
export class AppRoutingModule {}
5 changes: 0 additions & 5 deletions src/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import 'zone.js/dist/sync-test';

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

// Prevent Karma from running prematurely.
__karma__.loaded = function () {};
Expand All @@ -20,9 +19,5 @@ __karma__.loaded = function () {};
getTestBed().initTestEnvironment(BrowserDynamicTestingModule, platformBrowserDynamicTesting(), {
teardown: { destroyAfterEach: false }
});
// Then we find all the tests.
const context = require.context('./', true, /\.spec\.ts$/);
// And load the modules.
context.keys().map(context);
// Finally, start Karma to run the tests.
__karma__.start();
28 changes: 17 additions & 11 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
{
"compileOnSave": false,
"compilerOptions": {
"baseUrl": "./",
"importHelpers": true,
"outDir": "./dist/out-tsc",
"sourceMap": true,
"declaration": false,
"module": "esnext",
"moduleResolution": "node",
"experimentalDecorators": true,
"target": "es2020",
"typeRoots": ["node_modules/@types"],
"lib": ["es2018", "dom"]
"baseUrl": "./",
"importHelpers": true,
"outDir": "./dist/out-tsc",
"sourceMap": true,
"declaration": false,
"module": "esnext",
"moduleResolution": "node",
"experimentalDecorators": true,
"target": "ES2022",
"typeRoots": [
"node_modules/@types"
],
"lib": [
"es2018",
"dom"
],
"useDefineForClassFields": false
}
}
Loading

0 comments on commit 5870184

Please sign in to comment.