Skip to content

Commit

Permalink
feat: update to angular 15 - FC-67
Browse files Browse the repository at this point in the history
  • Loading branch information
rfrt committed Jul 29, 2024
1 parent fc5eed6 commit 6bad712
Show file tree
Hide file tree
Showing 21 changed files with 22,358 additions and 22,649 deletions.
44,749 changes: 22,345 additions & 22,404 deletions package-lock.json

Large diffs are not rendered by default.

26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,16 @@
"projects/user-tooltip"
],
"dependencies": {
"@angular/animations": "~14.3.0",
"@angular/animations": "~15.2.10",
"@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/common": "~15.2.10",
"@angular/compiler": "~15.2.10",
"@angular/core": "~15.2.10",
"@angular/forms": "~15.2.10",
"@angular/material": "~14.2.7",
"@angular/platform-browser": "~14.3.0",
"@angular/platform-browser-dynamic": "~14.3.0",
"@angular/router": "~14.3.0",
"@angular/platform-browser": "~15.2.10",
"@angular/platform-browser-dynamic": "~15.2.10",
"@angular/router": "~15.2.10",
"@angular/material-date-fns-adapter": "14.2.7",
"date-fns": "~2.30.0",
"@fontsource-variable/material-symbols-outlined": "~5.0.19",
Expand All @@ -55,9 +55,9 @@
"zone.js": "~0.11.4"
},
"devDependencies": {
"@angular-devkit/build-angular": "~14.2.13",
"@angular/cli": "~14.2.13",
"@angular/compiler-cli": "~14.3.0",
"@angular-devkit/build-angular": "~15.2.11",
"@angular/cli": "~15.2.11",
"@angular/compiler-cli": "~15.2.10",
"@commitlint/cli": "~18.6.1",
"@commitlint/config-conventional": "~18.6.3",
"@hug/eslint-config": "~17.0.3",
Expand All @@ -76,11 +76,11 @@
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "~2.1.0",
"lint-staged": "~15.2.7",
"ng-packagr": "~14.2.2",
"ng-packagr": "~15.2.2",
"nx": "^19.3.2",
"patch-package": "^8.0.0",
"prettier": "3.3.2",
"typescript": "~4.7.4"
"typescript": "~4.9.5"
},
"schematics": "./scripts/new-package/collection.json",
"commitlint": {
Expand Down
12 changes: 0 additions & 12 deletions projects/core/src/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,8 @@ import {
platformBrowserDynamicTesting
} from '@angular/platform-browser-dynamic/testing';

declare const require: {
context: (path: string, deep?: boolean, filter?: RegExp) => {
<T>(id: string): T;
keys: () => string[];
};
};

// First, initialize the Angular testing environment.
getTestBed().initTestEnvironment(
BrowserDynamicTestingModule,
platformBrowserDynamicTesting()
);

// Then we find all the tests.
const context = require.context('./', true, /\.spec\.ts$/);
// And load the modules.
context.keys().forEach(context);
12 changes: 0 additions & 12 deletions projects/date-picker/src/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,8 @@ import {
platformBrowserDynamicTesting
} from '@angular/platform-browser-dynamic/testing';

declare const require: {
context: (path: string, deep?: boolean, filter?: RegExp) => {
<T>(id: string): T;
keys: () => string[];
};
};

// First, initialize the Angular testing environment.
getTestBed().initTestEnvironment(
BrowserDynamicTestingModule,
platformBrowserDynamicTesting()
);

// Then we find all the tests.
const context = require.context('./', true, /\.spec\.ts$/);
// And load the modules.
context.keys().forEach(context);
16 changes: 0 additions & 16 deletions projects/demo-app/.browserslistrc

This file was deleted.

12 changes: 0 additions & 12 deletions projects/demo-app/src/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,8 @@ import {
platformBrowserDynamicTesting
} from '@angular/platform-browser-dynamic/testing';

declare const require: {
context: (path: string, deep?: boolean, filter?: RegExp) => {
<T>(id: string): T;
keys: () => string[];
};
};

// First, initialize the Angular testing environment.
getTestBed().initTestEnvironment(
BrowserDynamicTestingModule,
platformBrowserDynamicTesting()
);

// Then we find all the tests.
const context = require.context('./', true, /\.spec\.ts$/);
// And load the modules.
context.keys().forEach(context);
12 changes: 0 additions & 12 deletions projects/layout/src/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,8 @@ import {
platformBrowserDynamicTesting
} from '@angular/platform-browser-dynamic/testing';

declare const require: {
context: (path: string, deep?: boolean, filter?: RegExp) => {
<T>(id: string): T;
keys: () => string[];
};
};

// First, initialize the Angular testing environment.
getTestBed().initTestEnvironment(
BrowserDynamicTestingModule,
platformBrowserDynamicTesting()
);

// Then we find all the tests.
const context = require.context('./', true, /\.spec\.ts$/);
// And load the modules.
context.keys().forEach(context);
12 changes: 0 additions & 12 deletions projects/list-loader/src/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,8 @@ import {
platformBrowserDynamicTesting
} from '@angular/platform-browser-dynamic/testing';

declare const require: {
context: (path: string, deep?: boolean, filter?: RegExp) => {
<T>(id: string): T;
keys: () => string[];
};
};

// First, initialize the Angular testing environment.
getTestBed().initTestEnvironment(
BrowserDynamicTestingModule,
platformBrowserDynamicTesting()
);

// Then we find all the tests.
const context = require.context('./', true, /\.spec\.ts$/);
// And load the modules.
context.keys().forEach(context);
12 changes: 0 additions & 12 deletions projects/message-box-dialog/src/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,8 @@ import {
platformBrowserDynamicTesting
} from '@angular/platform-browser-dynamic/testing';

declare const require: {
context: (path: string, deep?: boolean, filter?: RegExp) => {
<T>(id: string): T;
keys: () => string[];
};
};

// First, initialize the Angular testing environment.
getTestBed().initTestEnvironment(
BrowserDynamicTestingModule,
platformBrowserDynamicTesting()
);

// Then we find all the tests.
const context = require.context('./', true, /\.spec\.ts$/);
// And load the modules.
context.keys().forEach(context);
12 changes: 0 additions & 12 deletions projects/message-box/src/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,8 @@ import {
platformBrowserDynamicTesting
} from '@angular/platform-browser-dynamic/testing';

declare const require: {
context: (path: string, deep?: boolean, filter?: RegExp) => {
<T>(id: string): T;
keys: () => string[];
};
};

// First, initialize the Angular testing environment.
getTestBed().initTestEnvironment(
BrowserDynamicTestingModule,
platformBrowserDynamicTesting()
);

// Then we find all the tests.
const context = require.context('./', true, /\.spec\.ts$/);
// And load the modules.
context.keys().forEach(context);
12 changes: 0 additions & 12 deletions projects/numeric-stepper/src/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,8 @@ import {
platformBrowserDynamicTesting
} from '@angular/platform-browser-dynamic/testing';

declare const require: {
context: (path: string, deep?: boolean, filter?: RegExp) => {
<T>(id: string): T;
keys: () => string[];
};
};

// First, initialize the Angular testing environment.
getTestBed().initTestEnvironment(
BrowserDynamicTestingModule,
platformBrowserDynamicTesting()
);

// Then we find all the tests.
const context = require.context('./', true, /\.spec\.ts$/);
// And load the modules.
context.keys().forEach(context);
12 changes: 0 additions & 12 deletions projects/overlay/src/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,8 @@ import {
platformBrowserDynamicTesting
} from '@angular/platform-browser-dynamic/testing';

declare const require: {
context: (path: string, deep?: boolean, filter?: RegExp) => {
<T>(id: string): T;
keys: () => string[];
};
};

// First, initialize the Angular testing environment.
getTestBed().initTestEnvironment(
BrowserDynamicTestingModule,
platformBrowserDynamicTesting()
);

// Then we find all the tests.
const context = require.context('./', true, /\.spec\.ts$/);
// And load the modules.
context.keys().forEach(context);
12 changes: 0 additions & 12 deletions projects/search-container/src/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,8 @@ import {
platformBrowserDynamicTesting
} from '@angular/platform-browser-dynamic/testing';

declare const require: {
context: (path: string, deep?: boolean, filter?: RegExp) => {
<T>(id: string): T;
keys: () => string[];
};
};

// First, initialize the Angular testing environment.
getTestBed().initTestEnvironment(
BrowserDynamicTestingModule,
platformBrowserDynamicTesting()
);

// Then we find all the tests.
const context = require.context('./', true, /\.spec\.ts$/);
// And load the modules.
context.keys().forEach(context);
12 changes: 0 additions & 12 deletions projects/sidenav/src/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,8 @@ import {
platformBrowserDynamicTesting
} from '@angular/platform-browser-dynamic/testing';

declare const require: {
context: (path: string, deep?: boolean, filter?: RegExp) => {
<T>(id: string): T;
keys: () => string[];
};
};

// First, initialize the Angular testing environment.
getTestBed().initTestEnvironment(
BrowserDynamicTestingModule,
platformBrowserDynamicTesting()
);

// Then we find all the tests.
const context = require.context('./', true, /\.spec\.ts$/);
// And load the modules.
context.keys().forEach(context);
12 changes: 0 additions & 12 deletions projects/snackbar/src/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,8 @@ import {
platformBrowserDynamicTesting
} from '@angular/platform-browser-dynamic/testing';

declare const require: {
context: (path: string, deep?: boolean, filter?: RegExp) => {
<T>(id: string): T;
keys: () => string[];
};
};

// First, initialize the Angular testing environment.
getTestBed().initTestEnvironment(
BrowserDynamicTestingModule,
platformBrowserDynamicTesting()
);

// Then we find all the tests.
const context = require.context('./', true, /\.spec\.ts$/);
// And load the modules.
context.keys().forEach(context);
12 changes: 0 additions & 12 deletions projects/splitter/src/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,8 @@ import {
platformBrowserDynamicTesting
} from '@angular/platform-browser-dynamic/testing';

declare const require: {
context: (path: string, deep?: boolean, filter?: RegExp) => {
<T>(id: string): T;
keys: () => string[];
};
};

// First, initialize the Angular testing environment.
getTestBed().initTestEnvironment(
BrowserDynamicTestingModule,
platformBrowserDynamicTesting()
);

// Then we find all the tests.
const context = require.context('./', true, /\.spec\.ts$/);
// And load the modules.
context.keys().forEach(context);
12 changes: 0 additions & 12 deletions projects/status/src/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,8 @@ import {
platformBrowserDynamicTesting
} from '@angular/platform-browser-dynamic/testing';

declare const require: {
context: (path: string, deep?: boolean, filter?: RegExp) => {
<T>(id: string): T;
keys: () => string[];
};
};

// First, initialize the Angular testing environment.
getTestBed().initTestEnvironment(
BrowserDynamicTestingModule,
platformBrowserDynamicTesting()
);

// Then we find all the tests.
const context = require.context('./', true, /\.spec\.ts$/);
// And load the modules.
context.keys().forEach(context);
12 changes: 0 additions & 12 deletions projects/time-picker/src/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,8 @@ import {
platformBrowserDynamicTesting
} from '@angular/platform-browser-dynamic/testing';

declare const require: {
context: (path: string, deep?: boolean, filter?: RegExp) => {
<T>(id: string): T;
keys: () => string[];
};
};

// First, initialize the Angular testing environment.
getTestBed().initTestEnvironment(
BrowserDynamicTestingModule,
platformBrowserDynamicTesting()
);

// Then we find all the tests.
const context = require.context('./', true, /\.spec\.ts$/);
// And load the modules.
context.keys().forEach(context);
Loading

0 comments on commit 6bad712

Please sign in to comment.