@o3r/testing 12.0.0-next.0 → 12.0.0-next.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@o3r/testing",
|
|
3
|
-
"version": "12.0.0-next.
|
|
3
|
+
"version": "12.0.0-next.1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -109,9 +109,9 @@
|
|
|
109
109
|
"@material/slider": "^14.0.0",
|
|
110
110
|
"@ngrx/store": "^18.0.0",
|
|
111
111
|
"@ngx-translate/core": "^15.0.0",
|
|
112
|
-
"@o3r/core": "^12.0.0-next.
|
|
113
|
-
"@o3r/localization": "^12.0.0-next.
|
|
114
|
-
"@o3r/schematics": "^12.0.0-next.
|
|
112
|
+
"@o3r/core": "^12.0.0-next.1",
|
|
113
|
+
"@o3r/localization": "^12.0.0-next.1",
|
|
114
|
+
"@o3r/schematics": "^12.0.0-next.1",
|
|
115
115
|
"@playwright/test": "^1.49.0",
|
|
116
116
|
"@schematics/angular": "^18.2.0",
|
|
117
117
|
"pixelmatch": "^5.2.1",
|
|
@@ -120,8 +120,7 @@
|
|
|
120
120
|
"rxjs": "^7.8.1",
|
|
121
121
|
"temporal-polyfill": "^0.2.0",
|
|
122
122
|
"type-fest": "^4.10.2",
|
|
123
|
-
"typescript": "^5.5.4"
|
|
124
|
-
"ts-node": "~10.9.2"
|
|
123
|
+
"typescript": "^5.5.4"
|
|
125
124
|
},
|
|
126
125
|
"peerDependenciesMeta": {
|
|
127
126
|
"@amadeus-it-group/kassette": {
|
|
@@ -200,20 +199,21 @@
|
|
|
200
199
|
"@ngx-translate/core": "~15.0.0",
|
|
201
200
|
"@nx/eslint-plugin": "~19.8.0",
|
|
202
201
|
"@nx/jest": "~19.8.0",
|
|
203
|
-
"@o3r/build-helpers": "^12.0.0-next.
|
|
204
|
-
"@o3r/core": "^12.0.0-next.
|
|
205
|
-
"@o3r/eslint-plugin": "^12.0.0-next.
|
|
206
|
-
"@o3r/localization": "^12.0.0-next.
|
|
207
|
-
"@o3r/schematics": "^12.0.0-next.
|
|
208
|
-
"@o3r/test-helpers": "^12.0.0-next.
|
|
202
|
+
"@o3r/build-helpers": "^12.0.0-next.1",
|
|
203
|
+
"@o3r/core": "^12.0.0-next.1",
|
|
204
|
+
"@o3r/eslint-plugin": "^12.0.0-next.1",
|
|
205
|
+
"@o3r/localization": "^12.0.0-next.1",
|
|
206
|
+
"@o3r/schematics": "^12.0.0-next.1",
|
|
207
|
+
"@o3r/test-helpers": "^12.0.0-next.1",
|
|
209
208
|
"@playwright/test": "~1.49.0",
|
|
210
209
|
"@schematics/angular": "~18.2.0",
|
|
211
210
|
"@stylistic/eslint-plugin": "~2.7.0",
|
|
211
|
+
"@swc/helpers": "~0.5.0",
|
|
212
212
|
"@types/jest": "~29.5.2",
|
|
213
213
|
"@types/node": "^20.0.0",
|
|
214
214
|
"@types/pixelmatch": "^5.2.3",
|
|
215
215
|
"@types/pngjs": "^6.0.0",
|
|
216
|
-
"@typescript-eslint/parser": "~8.
|
|
216
|
+
"@typescript-eslint/parser": "~8.18.0",
|
|
217
217
|
"angular-eslint": "~18.4.0",
|
|
218
218
|
"concurrently": "^8.0.0",
|
|
219
219
|
"cpy-cli": "^5.0.0",
|
|
@@ -246,7 +246,7 @@
|
|
|
246
246
|
"ts-node": "~10.9.2",
|
|
247
247
|
"type-fest": "^4.10.2",
|
|
248
248
|
"typescript": "~5.5.4",
|
|
249
|
-
"typescript-eslint": "~8.
|
|
249
|
+
"typescript-eslint": "~8.18.0",
|
|
250
250
|
"zone.js": "~0.14.2"
|
|
251
251
|
},
|
|
252
252
|
"schematics": "./collection.json",
|
|
@@ -19,10 +19,10 @@ const baseTsconfigPath = resolve(__dirname, './tsconfig.json');
|
|
|
19
19
|
module.exports.getJestProjectConfig = (rootDir, isAngularSetup) => {
|
|
20
20
|
const { compilerOptions } = ts.parseConfigFileTextToJson(baseTsconfigPath, readFileSync(baseTsconfigPath, { encoding: 'utf-8' })).config;
|
|
21
21
|
const relativePath = relative(rootDir, __dirname);
|
|
22
|
-
const moduleNameMapper = Object.
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
const moduleNameMapper = Object.fromEntries(
|
|
23
|
+
Object.entries(pathsToModuleNameMapper(compilerOptions.paths || {}))
|
|
24
|
+
.map(([moduleName, paths]) => [moduleName, (Array.isArray(paths) ? paths : [paths]).map(path => `<rootDir>/${relativePath}/${path}`)])
|
|
25
|
+
);
|
|
26
26
|
moduleNameMapper['^@o3r/testing/core$'] = [require.resolve('@o3r/testing/core/angular')];
|
|
27
27
|
moduleNameMapper['^@o3r/testing/core/(.*)'] = [join(require.resolve('@o3r/testing/core/angular'), '$1')];
|
|
28
28
|
return {
|