Skip to content

Commit 2c024b0

Browse files
committed
chore(nx): Upgrade to Nx 18 - align angular package libs
1 parent 8f26edf commit 2c024b0

File tree

5 files changed

+26
-40
lines changed

5 files changed

+26
-40
lines changed

apps/mfe1/src/app/demo/demo.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { Component } from '@angular/core';
77

88
@Component({
99
standalone: true,
10-
selector: 'angular-architects-demo',
10+
selector: 'mfe1-demo',
1111
templateUrl: './demo.component.html',
1212
styleUrls: ['./demo.component.css'],
1313
imports: [CommonModule, PlaygroundLibModule],
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"extends": ["../../.eslintrc.base.json"],
3+
"ignorePatterns": ["!**/*"],
4+
"overrides": [
5+
{
6+
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
7+
"rules": {}
8+
},
9+
{
10+
"files": ["*.ts", "*.tsx"],
11+
"rules": {}
12+
},
13+
{
14+
"files": ["*.js", "*.jsx"],
15+
"rules": {}
16+
}
17+
]
18+
}

apps/native-federation-e2e/jest.config.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,8 @@
22
export default {
33
displayName: 'native-federation-e2e',
44
preset: '../../jest.preset.js',
5-
globals: {},
65
transform: {
7-
'^.+\\.[tj]s$': [
8-
'ts-jest',
9-
{
10-
tsconfig: '<rootDir>/tsconfig.spec.json',
11-
},
12-
],
6+
'^.+\\.[tj]s$': ['ts-jest', { tsconfig: '<rootDir>/tsconfig.spec.json' }],
137
},
148
moduleFileExtensions: ['ts', 'js', 'html'],
159
coverageDirectory: '../../coverage/apps/native-federation-e2e',

apps/native-federation-e2e/tsconfig.spec.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,10 @@
55
"module": "commonjs",
66
"types": ["jest", "node"]
77
},
8-
"include": ["jest.config.ts", "**/*.test.ts", "**/*.spec.ts", "**/*.d.ts"]
8+
"include": [
9+
"jest.config.ts",
10+
"src/**/*.test.ts",
11+
"src/**/*.spec.ts",
12+
"src/**/*.d.ts"
13+
]
914
}

apps/playground/src/app/app.component.spec.ts

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

0 commit comments

Comments
 (0)