@o3r/extractors 13.0.0-next.3 → 13.0.0-next.31

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
@@ -2,7 +2,7 @@
2
2
  "name": "@o3r/extractors",
3
3
  "main": "./src/public_api.js",
4
4
  "types": "./src/public_api.d.ts",
5
- "version": "13.0.0-next.3",
5
+ "version": "13.0.0-next.31",
6
6
  "publishConfig": {
7
7
  "access": "public"
8
8
  },
@@ -21,13 +21,13 @@
21
21
  "prepare:build:builders": "yarn cpy 'builders/**/*.json' dist/builders && yarn cpy 'schematics/**/*.json' 'schematics/**/templates/**' dist/schematics && yarn cpy '{builders,collection,migration}.json' dist && yarn cpy 'schemas/*.json' 'dist/schemas'"
22
22
  },
23
23
  "peerDependencies": {
24
- "@angular-devkit/architect": ">=0.1900.0 <0.2000.0-0",
25
- "@angular-devkit/core": "^19.0.0",
26
- "@angular-devkit/schematics": "^19.0.0",
27
- "@o3r/core": "^13.0.0-next.3",
28
- "@o3r/schematics": "^13.0.0-next.3",
29
- "@o3r/telemetry": "^13.0.0-next.3",
30
- "@schematics/angular": "^19.0.0",
24
+ "@angular-devkit/architect": ">=0.2000.0 <0.2100.0-0",
25
+ "@angular-devkit/core": "^20.0.0",
26
+ "@angular-devkit/schematics": "^20.0.0",
27
+ "@o3r/core": "^13.0.0-next.31",
28
+ "@o3r/schematics": "^13.0.0-next.31",
29
+ "@o3r/telemetry": "^13.0.0-next.31",
30
+ "@schematics/angular": "^20.0.0",
31
31
  "@yarnpkg/cli": "^4.0.0",
32
32
  "@yarnpkg/core": "^4.1.1",
33
33
  "@yarnpkg/fslib": "^3.1.0",
@@ -36,8 +36,8 @@
36
36
  "globby": "^11.1.0",
37
37
  "semver": "^7.5.2",
38
38
  "ts-node": "~10.9.2",
39
- "type-fest": "^4.10.2",
40
- "typescript": "^5.5.4"
39
+ "type-fest": "^4.30.1",
40
+ "typescript": "^5.8.0"
41
41
  },
42
42
  "peerDependenciesMeta": {
43
43
  "@angular-devkit/schematics": {
@@ -67,9 +67,6 @@
67
67
  "globby": {
68
68
  "optional": true
69
69
  },
70
- "semver": {
71
- "optional": true
72
- },
73
70
  "type-fest": {
74
71
  "optional": true
75
72
  }
@@ -82,79 +79,80 @@
82
79
  "typedoc": "~0.28.0"
83
80
  },
84
81
  "devDependencies": {
85
- "@angular-devkit/architect": "~0.1902.0",
86
- "@angular-devkit/build-angular": "~19.2.0",
87
- "@angular-devkit/core": "~19.2.0",
88
- "@angular-devkit/schematics": "~19.2.0",
89
- "@angular/animations": "~19.2.0",
90
- "@angular/common": "~19.2.0",
91
- "@angular/compiler": "~19.2.0",
92
- "@angular/compiler-cli": "~19.2.0",
93
- "@angular/core": "~19.2.0",
94
- "@angular/platform-browser": "~19.2.0",
95
- "@angular/platform-browser-dynamic": "~19.2.0",
96
- "@babel/core": "~7.27.0",
82
+ "@angular-devkit/architect": "~0.2000.0",
83
+ "@angular-devkit/build-angular": "~20.0.0",
84
+ "@angular-devkit/core": "~20.0.0",
85
+ "@angular-devkit/schematics": "~20.0.0",
86
+ "@angular/animations": "~20.0.0",
87
+ "@angular/common": "~20.0.0",
88
+ "@angular/compiler": "~20.0.0",
89
+ "@angular/compiler-cli": "~20.0.0",
90
+ "@angular/core": "~20.0.0",
91
+ "@angular/platform-browser": "~20.0.0",
92
+ "@angular/platform-browser-dynamic": "~20.0.0",
93
+ "@babel/core": "~7.28.0",
97
94
  "@babel/preset-typescript": "~7.27.0",
98
95
  "@compodoc/compodoc": "^1.1.19",
99
96
  "@eslint-community/eslint-plugin-eslint-comments": "^4.4.0",
100
- "@nx/eslint": "~20.8.0",
101
- "@nx/eslint-plugin": "~20.8.0",
102
- "@nx/jest": "~20.8.0",
103
- "@nx/js": "~20.8.0",
104
- "@o3r/build-helpers": "^13.0.0-next.3",
105
- "@o3r/core": "^13.0.0-next.3",
106
- "@o3r/eslint-config": "^13.0.0-next.3",
107
- "@o3r/eslint-plugin": "^13.0.0-next.3",
108
- "@o3r/schematics": "^13.0.0-next.3",
109
- "@o3r/telemetry": "^13.0.0-next.3",
110
- "@o3r/test-helpers": "^13.0.0-next.3",
111
- "@schematics/angular": "~19.2.0",
112
- "@stylistic/eslint-plugin": "~3.1.0",
97
+ "@nx/eslint": "~21.3.11",
98
+ "@nx/eslint-plugin": "~21.3.11",
99
+ "@nx/jest": "~21.3.11",
100
+ "@nx/js": "~21.3.11",
101
+ "@o3r/build-helpers": "^13.0.0-next.31",
102
+ "@o3r/core": "^13.0.0-next.31",
103
+ "@o3r/eslint-config": "^13.0.0-next.31",
104
+ "@o3r/eslint-plugin": "^13.0.0-next.31",
105
+ "@o3r/schematics": "^13.0.0-next.31",
106
+ "@o3r/telemetry": "^13.0.0-next.31",
107
+ "@o3r/test-helpers": "^13.0.0-next.31",
108
+ "@schematics/angular": "~20.0.0",
109
+ "@stylistic/eslint-plugin": "~5.2.0",
113
110
  "@swc/helpers": "~0.5.0",
114
111
  "@types/jest": "~29.5.2",
115
- "@types/node": "^20.0.0",
112
+ "@types/node": "^22.0.0",
116
113
  "@types/semver": "^7.3.13",
117
- "@typescript-eslint/parser": "~8.35.0",
114
+ "@typescript-eslint/parser": "~8.39.0",
118
115
  "@yarnpkg/cli": "^4.5.0",
119
116
  "@yarnpkg/core": "^4.1.3",
120
117
  "@yarnpkg/fslib": "^3.1.0",
121
118
  "@yarnpkg/plugin-npm": "^3.0.1",
122
119
  "@yarnpkg/plugin-pack": "^4.0.0",
123
- "angular-eslint": "~19.4.0",
124
- "cpy-cli": "^5.0.0",
125
- "eslint": "~9.29.0",
120
+ "angular-eslint": "~20.1.0",
121
+ "cpy-cli": "^6.0.0",
122
+ "eslint": "~9.33.0",
126
123
  "eslint-import-resolver-node": "~0.3.9",
127
- "eslint-import-resolver-typescript": "~3.10.0",
124
+ "eslint-import-resolver-typescript": "~4.4.0",
128
125
  "eslint-plugin-import": "~2.32.0",
129
126
  "eslint-plugin-import-newlines": "~1.4.0",
130
- "eslint-plugin-jest": "~28.14.0",
131
- "eslint-plugin-jsdoc": "~50.8.0",
127
+ "eslint-plugin-jest": "~29.0.0",
128
+ "eslint-plugin-jsdoc": "~54.1.0",
132
129
  "eslint-plugin-prefer-arrow": "~1.2.3",
133
- "eslint-plugin-unicorn": "~56.0.0",
130
+ "eslint-plugin-unicorn": "~60.0.0",
134
131
  "eslint-plugin-unused-imports": "~4.1.4",
135
- "globals": "^15.9.0",
132
+ "globals": "^16.0.0",
136
133
  "globby": "^11.1.0",
137
134
  "intl-messageformat": "~10.7.0",
138
135
  "jest": "~29.7.0",
139
136
  "jest-environment-jsdom": "~29.7.0",
140
137
  "jest-junit": "~16.0.0",
141
- "jest-preset-angular": "~14.5.0",
138
+ "jest-preset-angular": "~14.6.0",
139
+ "jest-util": "~29.7.0",
142
140
  "jsonc-eslint-parser": "~2.4.0",
143
- "nx": "~20.8.0",
141
+ "nx": "~21.3.11",
144
142
  "pid-from-port": "^1.1.3",
145
143
  "rimraf": "^6.0.1",
146
144
  "rxjs": "^7.8.1",
147
145
  "semver": "^7.5.2",
148
- "ts-jest": "~29.3.0",
146
+ "ts-jest": "~29.4.0",
149
147
  "ts-node": "~10.9.2",
150
148
  "type-fest": "^4.30.1",
151
149
  "typescript": "~5.8.2",
152
- "typescript-eslint": "~8.35.0",
150
+ "typescript-eslint": "~8.39.0",
153
151
  "typescript-json-schema": "^0.65.0",
154
152
  "zone.js": "~0.15.0"
155
153
  },
156
154
  "engines": {
157
- "node": "^20.11.1 || >=22.0.0"
155
+ "node": "^20.19.0 || ^22.17.0 || ^24.0.0"
158
156
  },
159
157
  "builders": "./builders.json",
160
158
  "schematics": "./collection.json",
@@ -24,9 +24,24 @@
24
24
  "description": "List of all the changes contained in this version",
25
25
  "items": {
26
26
  "oneOf": [
27
- { "$ref": "#/definitions/ConfigChange" },
28
- { "$ref": "#/definitions/LocalizationChange" },
29
- { "$ref": "#/definitions/StyleChange" }
27
+ {
28
+ "$ref": "#/definitions/ConfigChange"
29
+ },
30
+ {
31
+ "$ref": "#/definitions/LocalizationChange"
32
+ },
33
+ {
34
+ "$ref": "#/definitions/StyleChange"
35
+ },
36
+ {
37
+ "$ref": "#/definitions/AssetChange"
38
+ },
39
+ {
40
+ "$ref": "#/definitions/ComponentChange"
41
+ },
42
+ {
43
+ "$ref": "#/definitions/RuleFactChange"
44
+ }
30
45
  ]
31
46
  }
32
47
  }
@@ -34,7 +49,9 @@
34
49
  "definitions": {
35
50
  "ConfigMigrationItem": {
36
51
  "type": "object",
37
- "required": ["libraryName"],
52
+ "required": [
53
+ "libraryName"
54
+ ],
38
55
  "properties": {
39
56
  "libraryName": {
40
57
  "type": "string",
@@ -52,7 +69,9 @@
52
69
  },
53
70
  "LocalizationMigrationItem": {
54
71
  "type": "object",
55
- "required": ["key"],
72
+ "required": [
73
+ "key"
74
+ ],
56
75
  "properties": {
57
76
  "key": {
58
77
  "type": "string",
@@ -62,7 +81,9 @@
62
81
  },
63
82
  "StyleMigrationItem": {
64
83
  "type": "object",
65
- "required": ["name"],
84
+ "required": [
85
+ "name"
86
+ ],
66
87
  "properties": {
67
88
  "name": {
68
89
  "type": "string",
@@ -70,6 +91,50 @@
70
91
  }
71
92
  }
72
93
  },
94
+ "AssetMigrationItem": {
95
+ "type": "object",
96
+ "required": [
97
+ "name"
98
+ ],
99
+ "properties": {
100
+ "path": {
101
+ "type": "string",
102
+ "description": "Path of the asset, starting from the root assets folder"
103
+ }
104
+ }
105
+ },
106
+ "ComponentMigrationItem": {
107
+ "type": "object",
108
+ "required": [
109
+ "libraryName"
110
+ ],
111
+ "properties": {
112
+ "libraryName": {
113
+ "type": "string",
114
+ "description": "Library name"
115
+ },
116
+ "componentName": {
117
+ "type": "string",
118
+ "description": "Component name"
119
+ },
120
+ "placeholderId": {
121
+ "type": "string",
122
+ "description": "Placeholder id"
123
+ }
124
+ }
125
+ },
126
+ "RuleFactMigrationItem": {
127
+ "type": "object",
128
+ "required": [
129
+ "name"
130
+ ],
131
+ "properties": {
132
+ "name": {
133
+ "type": "string",
134
+ "description": "Name of the fact"
135
+ }
136
+ }
137
+ },
73
138
  "ConfigChange": {
74
139
  "type": "object",
75
140
  "required": [
@@ -135,6 +200,72 @@
135
200
  "$ref": "#/definitions/StyleMigrationItem"
136
201
  }
137
202
  }
203
+ },
204
+ "AssetChange": {
205
+ "type": "object",
206
+ "required": [
207
+ "contentType",
208
+ "before"
209
+ ],
210
+ "properties": {
211
+ "contentType": {
212
+ "type": "string",
213
+ "description": "Metadata type",
214
+ "const": "ASSET"
215
+ },
216
+ "before": {
217
+ "description": "Previous metadata value",
218
+ "$ref": "#/definitions/AssetMigrationItem"
219
+ },
220
+ "after": {
221
+ "description": "New metadata value",
222
+ "$ref": "#/definitions/AssetMigrationItem"
223
+ }
224
+ }
225
+ },
226
+ "ComponentChange": {
227
+ "type": "object",
228
+ "required": [
229
+ "contentType",
230
+ "before"
231
+ ],
232
+ "properties": {
233
+ "contentType": {
234
+ "type": "string",
235
+ "description": "Metadata type",
236
+ "const": "COMPONENT"
237
+ },
238
+ "before": {
239
+ "description": "Previous metadata value",
240
+ "$ref": "#/definitions/ComponentMigrationItem"
241
+ },
242
+ "after": {
243
+ "description": "New metadata value",
244
+ "$ref": "#/definitions/ComponentMigrationItem"
245
+ }
246
+ }
247
+ },
248
+ "RuleFactChange": {
249
+ "type": "object",
250
+ "required": [
251
+ "contentType",
252
+ "before"
253
+ ],
254
+ "properties": {
255
+ "contentType": {
256
+ "type": "string",
257
+ "description": "Metadata type",
258
+ "const": "RULE_FACT"
259
+ },
260
+ "before": {
261
+ "description": "Previous metadata value",
262
+ "$ref": "#/definitions/RuleFactMigrationItem"
263
+ },
264
+ "after": {
265
+ "description": "New metadata value",
266
+ "$ref": "#/definitions/RuleFactMigrationItem"
267
+ }
268
+ }
138
269
  }
139
270
  }
140
- }
271
+ }
@@ -3,7 +3,6 @@
3
3
  "compilerOptions": {
4
4
  "target": "es5",
5
5
  "module": "es2020",
6
- "moduleResolution": "node",
7
6
  "experimentalDecorators": true,
8
7
  "lib": [
9
8
  "dom",
@@ -9,7 +9,8 @@
9
9
  "description": "Project name",
10
10
  "$default": {
11
11
  "$source": "projectName"
12
- }
12
+ },
13
+ "alias": "project"
13
14
  },
14
15
  "exactO3rVersion": {
15
16
  "type": "boolean",