Skip to content

Commit

Permalink
feat: Ngx15 (#485)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: upgrade to angular 15
  • Loading branch information
rnsoon authored Jun 14, 2024
1 parent 37241e2 commit 7d3f3ef
Show file tree
Hide file tree
Showing 7 changed files with 7,686 additions and 7,182 deletions.
17 changes: 0 additions & 17 deletions .browserslistrc

This file was deleted.

52 changes: 26 additions & 26 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,43 +18,43 @@
},
"private": true,
"dependencies": {
"@angular/animations": "14.3.0",
"@angular/cdk": "^14.2.7",
"@angular/common": "14.3.0",
"@angular/compiler": "14.3.0",
"@angular/core": "14.3.0",
"@angular/forms": "14.3.0",
"@angular/localize": "14.3.0",
"@angular/material": "^14.2.7",
"@angular/platform-browser": "14.3.0",
"@angular/platform-browser-dynamic": "14.3.0",
"@angular/router": "14.3.0",
"@ng-bootstrap/ng-bootstrap": "^13.1.1",
"@popperjs/core": "^2.10.2",
"bootstrap": "^5.2.0",
"@angular/animations": "15.2.10",
"@angular/cdk": "^15.2.9",
"@angular/common": "15.2.10",
"@angular/compiler": "15.2.10",
"@angular/core": "15.2.10",
"@angular/forms": "15.2.10",
"@angular/localize": "15.2.10",
"@angular/material": "^15.2.9",
"@angular/platform-browser": "15.2.10",
"@angular/platform-browser-dynamic": "15.2.10",
"@angular/router": "15.2.10",
"@popperjs/core": "^2.11.6",
"bootstrap": "^5.2.3",
"core-js": "3.19.2",
"rxjs": "7.4.0",
"tslib": "2.3.1",
"zone.js": "0.11.4"
},
"devDependencies": {
"@angular-devkit/build-angular": "14.2.12",
"@angular-eslint/builder": "^14.4.0",
"@angular-eslint/eslint-plugin": "^14.4.0",
"@angular-devkit/build-angular": "15.2.10",
"@angular-eslint/builder": "^15.2.1",
"@angular-eslint/eslint-plugin": "^15.2.1",
"@angular-eslint/eslint-plugin-template": "^14.4.0",
"@angular-eslint/schematics": "^14.4.0",
"@angular-eslint/template-parser": "^14.4.0",
"@angular/cli": "14.2.12",
"@angular/compiler-cli": "14.3.0",
"@angular/language-service": "14.3.0",
"@angular-eslint/schematics": "^15.2.1",
"@angular-eslint/template-parser": "^15.2.1",
"@angular/cli": "15.2.10",
"@angular/compiler-cli": "15.2.10",
"@angular/language-service": "15.2.10",
"@ng-bootstrap/ng-bootstrap": "^14.2.0",
"@types/applicationinsights-js": "1.0.9",
"@types/facebook-pixel": "0.0.24",
"@types/google.analytics": "0.0.42",
"@types/jasmine": "3.10.2",
"@types/node": "16.11.11",
"@types/segment-analytics": "0.0.34",
"@typescript-eslint/eslint-plugin": "5.5.0",
"@typescript-eslint/parser": "5.5.0",
"@typescript-eslint/eslint-plugin": "^5.59.8",
"@typescript-eslint/parser": "^5.59.8",
"cpy-cli": "^5.0.0",
"del-cli": "4.0.1",
"eslint": "^8.4.0",
Expand All @@ -65,7 +65,7 @@
"karma-coverage": "^2.2.1",
"karma-jasmine": "^4.0.2",
"karma-jasmine-html-reporter": "^1.7.0",
"ng-packagr": "14.2.2",
"ng-packagr": "15.2.2",
"ts-node": "10.4.0",
"typescript": "4.8.4"
},
Expand All @@ -78,6 +78,6 @@
},
"repository": "angulartics/angulartics2",
"engines": {
"node": ">=10"
"node": ">=16.13"
}
}
4 changes: 2 additions & 2 deletions src/lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
"pyze"
],
"peerDependencies": {
"@angular/common": ">=14.0.0-0",
"@angular/core": ">=14.0.0-0",
"@angular/common": ">=15.0.0-0",
"@angular/core": ">=15.0.0-0",
"rxjs": "^7.4.0"
}
}
74 changes: 37 additions & 37 deletions src/styles.scss
Original file line number Diff line number Diff line change
@@ -1,41 +1,41 @@
@import '~bootstrap/scss/functions';
@import '~bootstrap/scss/variables';
@import '~bootstrap/scss/variables-dark';
@import '~bootstrap/scss/maps';
@import '~bootstrap/scss/mixins';
@import '~bootstrap/scss/utilities';
@import '../node_modules/bootstrap/scss/functions';
@import '../node_modules/bootstrap/scss/variables';
@import '../node_modules/bootstrap/scss/variables-dark';
@import '../node_modules/bootstrap/scss/maps';
@import '../node_modules/bootstrap/scss/mixins';
@import '../node_modules/bootstrap/scss/utilities';

@import '~bootstrap/scss/root';
@import '~bootstrap/scss/reboot';
@import '~bootstrap/scss/type';
@import '~bootstrap/scss/images';
//@import '~bootstrap/scss/code';
@import '~bootstrap/scss/grid';
// @import '~bootstrap/scss/tables';
// @import '~bootstrap/scss/forms';
// @import '~bootstrap/scss/buttons';
// @import '~bootstrap/scss/transitions';
// @import '~bootstrap/scss/dropdown';
// @import '~bootstrap/scss/button-group';
// @import '~bootstrap/scss/input-group';
// @import '~bootstrap/scss/custom-forms';
@import '~bootstrap/scss/nav';
@import '~bootstrap/scss/navbar';
@import '~bootstrap/scss/card';
// @import '~bootstrap/scss/breadcrumb';
// @import '~bootstrap/scss/pagination';
// @import '~bootstrap/scss/badge';
//@import '~bootstrap/scss/jumbotron';
//@import '~bootstrap/scss/alert';
// @import '~bootstrap/scss/progress';
// @import '~bootstrap/scss/media';
// @import '~bootstrap/scss/list-group';
// @import '~bootstrap/scss/close';
// @import '~bootstrap/scss/modal';
// @import '~bootstrap/scss/tooltip';
// @import '~bootstrap/scss/popover';
// @import '~bootstrap/scss/carousel';
//@import '~bootstrap/scss/print';
@import '../node_modules/bootstrap/scss/root';
@import '../node_modules/bootstrap/scss/reboot';
@import '../node_modules/bootstrap/scss/type';
@import '../node_modules/bootstrap/scss/images';
//@import '../node_modules/bootstrap/scss/code';
@import '../node_modules/bootstrap/scss/grid';
// @import '../node_modules/bootstrap/scss/tables';
// @import '../node_modules/bootstrap/scss/forms';
// @import '../node_modules/bootstrap/scss/buttons';
// @import '../node_modules/bootstrap/scss/transitions';
// @import '../node_modules/bootstrap/scss/dropdown';
// @import '../node_modules/bootstrap/scss/button-group';
// @import '../node_modules/bootstrap/scss/input-group';
// @import '../node_modules/bootstrap/scss/custom-forms';
@import '../node_modules/bootstrap/scss/nav';
@import '../node_modules/bootstrap/scss/navbar';
@import '../node_modules/bootstrap/scss/card';
// @import '../node_modules/bootstrap/scss/breadcrumb';
// @import '../node_modules/bootstrap/scss/pagination';
// @import '../node_modules/bootstrap/scss/badge';
//@import '../node_modules/bootstrap/scss/jumbotron';
//@import '../node_modules/bootstrap/scss/alert';
// @import '../node_modules/bootstrap/scss/progress';
// @import '../node_modules/bootstrap/scss/media';
// @import '../node_modules/bootstrap/scss/list-group';
// @import '../node_modules/bootstrap/scss/close';
// @import '../node_modules/bootstrap/scss/modal';
// @import '../node_modules/bootstrap/scss/tooltip';
// @import '../node_modules/bootstrap/scss/popover';
// @import '../node_modules/bootstrap/scss/carousel';
//@import '../node_modules/bootstrap/scss/print';

.bg-blue {
background-color: #007bff;
Expand Down
6 changes: 0 additions & 6 deletions src/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,10 @@ import {
platformBrowserDynamicTesting,
} from '@angular/platform-browser-dynamic/testing';

declare const require: any;

// First, initialize the Angular testing environment.
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);
8 changes: 6 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"experimentalDecorators": true,
"moduleResolution": "node",
"importHelpers": true,
"target": "es2020",
"target": "ES2022",
"module": "es2020",
"types": [
"node",
Expand All @@ -24,7 +24,11 @@
"facebook-pixel",
"jasmine"
],
"lib": ["es2018", "dom"]
"lib": [
"es2018",
"dom"
],
"useDefineForClassFields": false
},
"angularCompilerOptions": {
"enableI18nLegacyMessageIdFormat": false,
Expand Down
Loading

0 comments on commit 7d3f3ef

Please sign in to comment.