Skip to content

Commit e682987

Browse files
committed
feat: update deps, angular from 13 to 15, nx from 13 to 15
1 parent 59f4bbb commit e682987

28 files changed

+15689
-7154
lines changed

.vscode/settings.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"workbench.colorCustomizations": {
3-
"activityBar.background": "#093517",
4-
"titleBar.activeBackground": "#0C4A20",
5-
"titleBar.activeForeground": "#F3FDF6"
6-
}
7-
}
2+
"workbench.colorCustomizations": {
3+
"activityBar.background": "#093517",
4+
"titleBar.activeBackground": "#0C4A20",
5+
"titleBar.activeForeground": "#F3FDF6"
6+
}
7+
}

apps/debug/.browserslistrc

Lines changed: 0 additions & 16 deletions
This file was deleted.

apps/debug/jest.config.js renamed to apps/debug/jest.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
module.exports = {
1+
/* eslint-disable */
2+
export default {
23
displayName: 'debug',
34
preset: '../../jest.preset.js',
45
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],

apps/debug/project.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
2+
"name": "debug",
3+
"$schema": "../../node_modules/nx/schemas/project-schema.json",
24
"projectType": "application",
3-
"root": "apps/debug",
45
"sourceRoot": "apps/debug/src",
56
"prefix": "ngx-dynamic-form-builder",
67
"targets": {
@@ -92,9 +93,9 @@
9293
},
9394
"test": {
9495
"executor": "@nrwl/jest:jest",
95-
"outputs": ["coverage/apps/debug"],
96+
"outputs": ["{workspaceRoot}/coverage/apps/debug"],
9697
"options": {
97-
"jestConfig": "apps/debug/jest.config.js",
98+
"jestConfig": "apps/debug/jest.config.ts",
9899
"passWithNoTests": true
99100
}
100101
}

apps/debug/tsconfig.app.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
"compilerOptions": {
44
"outDir": "../../dist/out-tsc",
55
"types": ["node"],
6-
"target": "ES2017"
6+
"target": "ES2022",
7+
"useDefineForClassFields": false
78
},
89
"files": ["src/main.ts", "src/polyfills.ts"],
910
"include": ["src/**/*.d.ts"],
10-
"exclude": ["**/*.test.ts", "**/*.spec.ts"]
11+
"exclude": ["**/*.test.ts", "**/*.spec.ts", "jest.config.ts"]
1112
}

apps/debug/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
"noImplicitOverride": true,
2020
"noPropertyAccessFromIndexSignature": true,
2121
"noImplicitReturns": true,
22-
"noFallthroughCasesInSwitch": true
22+
"noFallthroughCasesInSwitch": true,
23+
"target": "es2020"
2324
},
2425
"angularCompilerOptions": {
2526
"strictInjectionParameters": true,

apps/debug/tsconfig.spec.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
"types": ["jest", "node"]
77
},
88
"files": ["src/test-setup.ts"],
9-
"include": ["**/*.test.ts", "**/*.spec.ts", "**/*.d.ts"]
9+
"include": ["**/*.test.ts", "**/*.spec.ts", "**/*.d.ts", "jest.config.ts"]
1010
}

apps/demo/.browserslistrc

Lines changed: 0 additions & 16 deletions
This file was deleted.

apps/demo/jest.config.js renamed to apps/demo/jest.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
module.exports = {
1+
/* eslint-disable */
2+
export default {
23
displayName: 'demo',
34
preset: '../../jest.preset.js',
45
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],

apps/demo/project.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
2+
"name": "demo",
3+
"$schema": "../../node_modules/nx/schemas/project-schema.json",
24
"projectType": "application",
3-
"root": "apps/demo",
45
"sourceRoot": "apps/demo/src",
56
"prefix": "ngx-dynamic-form-builder",
67
"targets": {
@@ -101,9 +102,9 @@
101102
},
102103
"test": {
103104
"executor": "@nrwl/jest:jest",
104-
"outputs": ["coverage/apps/demo"],
105+
"outputs": ["{workspaceRoot}/coverage/apps/demo"],
105106
"options": {
106-
"jestConfig": "apps/demo/jest.config.js",
107+
"jestConfig": "apps/demo/jest.config.ts",
107108
"passWithNoTests": true
108109
}
109110
}

0 commit comments

Comments
 (0)