@bleedingdev/modern-js-app-tools-extensions 3.9.3-ultramodern.6 → 3.9.3-ultramodern.8
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.
|
@@ -125,8 +125,10 @@ function resolveInstalledEffectCompiler(from) {
|
|
|
125
125
|
const metadataPath = (0, external_node_path_namespaceObject.join)((0, external_node_path_namespaceObject.dirname)(effectManifest), 'lib', 'upstream.json');
|
|
126
126
|
const metadata = JSON.parse((0, external_node_fs_namespaceObject.readFileSync)(metadataPath, 'utf8'));
|
|
127
127
|
const component = metadata.components?.typescript?.[native.version];
|
|
128
|
-
|
|
129
|
-
|
|
128
|
+
const latestTypeScript = metadata.tags?.typescript?.latest;
|
|
129
|
+
if (5 !== metadata.schemaVersion || 'string' != typeof latestTypeScript || component?.provider !== "typescript-go" || component.gitHead !== native.gitHead) throw new Error(`Effect replacement metadata does not match the selected native TypeScript backend: ${metadataPath}`);
|
|
130
|
+
const compilerDirectory = native.version === latestTypeScript ? (0, external_node_path_namespaceObject.join)((0, external_node_path_namespaceObject.dirname)(effectManifest), 'lib') : (0, external_node_path_namespaceObject.join)((0, external_node_path_namespaceObject.dirname)(effectManifest), 'artifacts', "typescript", native.version);
|
|
131
|
+
return readCompilerArtifact((0, external_node_path_namespaceObject.join)(compilerDirectory, binaryName));
|
|
130
132
|
} catch (error) {
|
|
131
133
|
if (error && 'object' == typeof error && !failureStages.has(error)) failureStages.set(error, stage);
|
|
132
134
|
throw error;
|
|
@@ -92,8 +92,10 @@ function resolveInstalledEffectCompiler(from) {
|
|
|
92
92
|
const metadataPath = join(dirname(effectManifest), 'lib', 'upstream.json');
|
|
93
93
|
const metadata = JSON.parse(readFileSync(metadataPath, 'utf8'));
|
|
94
94
|
const component = metadata.components?.typescript?.[native.version];
|
|
95
|
-
|
|
96
|
-
|
|
95
|
+
const latestTypeScript = metadata.tags?.typescript?.latest;
|
|
96
|
+
if (5 !== metadata.schemaVersion || 'string' != typeof latestTypeScript || component?.provider !== "typescript-go" || component.gitHead !== native.gitHead) throw new Error(`Effect replacement metadata does not match the selected native TypeScript backend: ${metadataPath}`);
|
|
97
|
+
const compilerDirectory = native.version === latestTypeScript ? join(dirname(effectManifest), 'lib') : join(dirname(effectManifest), 'artifacts', "typescript", native.version);
|
|
98
|
+
return readCompilerArtifact(join(compilerDirectory, binaryName));
|
|
97
99
|
} catch (error) {
|
|
98
100
|
if (error && 'object' == typeof error && !failureStages.has(error)) failureStages.set(error, stage);
|
|
99
101
|
throw error;
|
|
@@ -93,8 +93,10 @@ function resolveInstalledEffectCompiler(from) {
|
|
|
93
93
|
const metadataPath = join(dirname(effectManifest), 'lib', 'upstream.json');
|
|
94
94
|
const metadata = JSON.parse(readFileSync(metadataPath, 'utf8'));
|
|
95
95
|
const component = metadata.components?.typescript?.[native.version];
|
|
96
|
-
|
|
97
|
-
|
|
96
|
+
const latestTypeScript = metadata.tags?.typescript?.latest;
|
|
97
|
+
if (5 !== metadata.schemaVersion || 'string' != typeof latestTypeScript || component?.provider !== "typescript-go" || component.gitHead !== native.gitHead) throw new Error(`Effect replacement metadata does not match the selected native TypeScript backend: ${metadataPath}`);
|
|
98
|
+
const compilerDirectory = native.version === latestTypeScript ? join(dirname(effectManifest), 'lib') : join(dirname(effectManifest), 'artifacts', "typescript", native.version);
|
|
99
|
+
return readCompilerArtifact(join(compilerDirectory, binaryName));
|
|
98
100
|
} catch (error) {
|
|
99
101
|
if (error && 'object' == typeof error && !failureStages.has(error)) failureStages.set(error, stage);
|
|
100
102
|
throw error;
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"directory": "packages/solutions/app-tools-extensions"
|
|
12
12
|
},
|
|
13
13
|
"license": "MIT",
|
|
14
|
-
"version": "3.9.3-ultramodern.
|
|
14
|
+
"version": "3.9.3-ultramodern.8",
|
|
15
15
|
"files": [
|
|
16
16
|
"dist",
|
|
17
17
|
"src"
|
|
@@ -172,21 +172,21 @@
|
|
|
172
172
|
}
|
|
173
173
|
},
|
|
174
174
|
"engines": {
|
|
175
|
-
"node": ">=26.
|
|
175
|
+
"node": ">=26.12.0"
|
|
176
176
|
},
|
|
177
177
|
"dependencies": {
|
|
178
|
-
"@babel/parser": "^8.0.
|
|
179
|
-
"@babel/traverse": "^8.0.
|
|
180
|
-
"@modern-js/backend-federation-contracts": "npm:@bleedingdev/modern-js-backend-federation-contracts@3.9.3-ultramodern.
|
|
181
|
-
"@modern-js/builder": "npm:@bleedingdev/modern-js-builder@3.9.3-ultramodern.
|
|
182
|
-
"@modern-js/plugin": "npm:@bleedingdev/modern-js-plugin@3.9.3-ultramodern.
|
|
183
|
-
"@modern-js/prod-server": "npm:@bleedingdev/modern-js-prod-server@3.9.3-ultramodern.
|
|
184
|
-
"@modern-js/runtime-utils": "npm:@bleedingdev/modern-js-runtime-utils@3.9.3-ultramodern.
|
|
185
|
-
"@modern-js/server-core": "npm:@bleedingdev/modern-js-server-core@3.9.3-ultramodern.
|
|
186
|
-
"@modern-js/server-runtime-extensions": "npm:@bleedingdev/modern-js-server-runtime-extensions@3.9.3-ultramodern.
|
|
187
|
-
"@modern-js/surface-resolution": "npm:@bleedingdev/modern-js-surface-resolution@3.9.3-ultramodern.
|
|
188
|
-
"@modern-js/types": "npm:@bleedingdev/modern-js-types@3.9.3-ultramodern.
|
|
189
|
-
"@modern-js/utils": "npm:@bleedingdev/modern-js-utils@3.9.3-ultramodern.
|
|
178
|
+
"@babel/parser": "^8.0.7",
|
|
179
|
+
"@babel/traverse": "^8.0.7",
|
|
180
|
+
"@modern-js/backend-federation-contracts": "npm:@bleedingdev/modern-js-backend-federation-contracts@3.9.3-ultramodern.8",
|
|
181
|
+
"@modern-js/builder": "npm:@bleedingdev/modern-js-builder@3.9.3-ultramodern.8",
|
|
182
|
+
"@modern-js/plugin": "npm:@bleedingdev/modern-js-plugin@3.9.3-ultramodern.8",
|
|
183
|
+
"@modern-js/prod-server": "npm:@bleedingdev/modern-js-prod-server@3.9.3-ultramodern.8",
|
|
184
|
+
"@modern-js/runtime-utils": "npm:@bleedingdev/modern-js-runtime-utils@3.9.3-ultramodern.8",
|
|
185
|
+
"@modern-js/server-core": "npm:@bleedingdev/modern-js-server-core@3.9.3-ultramodern.8",
|
|
186
|
+
"@modern-js/server-runtime-extensions": "npm:@bleedingdev/modern-js-server-runtime-extensions@3.9.3-ultramodern.8",
|
|
187
|
+
"@modern-js/surface-resolution": "npm:@bleedingdev/modern-js-surface-resolution@3.9.3-ultramodern.8",
|
|
188
|
+
"@modern-js/types": "npm:@bleedingdev/modern-js-types@3.9.3-ultramodern.8",
|
|
189
|
+
"@modern-js/utils": "npm:@bleedingdev/modern-js-utils@3.9.3-ultramodern.8",
|
|
190
190
|
"@swc/helpers": "^0.5.23",
|
|
191
191
|
"@vercel/nft": "^1.11.0",
|
|
192
192
|
"compression-webpack-plugin": "^12.0.0",
|
|
@@ -196,9 +196,9 @@
|
|
|
196
196
|
},
|
|
197
197
|
"peerDependencies": {
|
|
198
198
|
"@loadable/component": "5.16.7",
|
|
199
|
-
"@modern-js/runtime-renderer-extensions": "3.9.3-ultramodern.
|
|
200
|
-
"@rsbuild/core": "2.2.
|
|
201
|
-
"react": "^19.
|
|
199
|
+
"@modern-js/runtime-renderer-extensions": "3.9.3-ultramodern.8",
|
|
200
|
+
"@rsbuild/core": "2.2.13",
|
|
201
|
+
"react": "^19.3.1"
|
|
202
202
|
},
|
|
203
203
|
"peerDependenciesMeta": {
|
|
204
204
|
"@loadable/component": {
|
|
@@ -213,24 +213,24 @@
|
|
|
213
213
|
},
|
|
214
214
|
"devDependencies": {
|
|
215
215
|
"@loadable/component": "5.16.7",
|
|
216
|
-
"@modern-js/bff-effect": "npm:@bleedingdev/modern-js-bff-effect@3.9.3-ultramodern.
|
|
217
|
-
"@modern-js/plugin-bff-extensions": "npm:@bleedingdev/modern-js-plugin-bff-extensions@3.9.3-ultramodern.
|
|
218
|
-
"@modern-js/plugin-data-loader": "npm:@bleedingdev/modern-js-plugin-data-loader@3.9.3-ultramodern.
|
|
219
|
-
"@modern-js/runtime-renderer-extensions": "npm:@bleedingdev/modern-js-runtime-renderer-extensions@3.9.3-ultramodern.
|
|
216
|
+
"@modern-js/bff-effect": "npm:@bleedingdev/modern-js-bff-effect@3.9.3-ultramodern.8",
|
|
217
|
+
"@modern-js/plugin-bff-extensions": "npm:@bleedingdev/modern-js-plugin-bff-extensions@3.9.3-ultramodern.8",
|
|
218
|
+
"@modern-js/plugin-data-loader": "npm:@bleedingdev/modern-js-plugin-data-loader@3.9.3-ultramodern.8",
|
|
219
|
+
"@modern-js/runtime-renderer-extensions": "npm:@bleedingdev/modern-js-runtime-renderer-extensions@3.9.3-ultramodern.8",
|
|
220
220
|
"@module-federation/modern-js-v3": "2.9.2",
|
|
221
221
|
"@module-federation/runtime-tools": "2.9.2",
|
|
222
|
-
"@rsbuild/core": "2.2.
|
|
222
|
+
"@rsbuild/core": "2.2.13",
|
|
223
223
|
"@rslib/core": "1.0.3",
|
|
224
224
|
"@scripts/rstest-config": "2.66.0",
|
|
225
225
|
"@types/babel__traverse": "7.28.0",
|
|
226
|
-
"@types/node": "^26.6.
|
|
226
|
+
"@types/node": "^26.6.5",
|
|
227
227
|
"core-js": "^3.50.0",
|
|
228
|
-
"effect": "4.0.
|
|
229
|
-
"miniflare": "5.
|
|
228
|
+
"effect": "4.0.5",
|
|
229
|
+
"miniflare": "5.20261012.0-beta",
|
|
230
230
|
"ndepe": "^0.1.13",
|
|
231
231
|
"pg": "8.23.1",
|
|
232
|
-
"react": "^19.3.
|
|
233
|
-
"react-dom": "^19.3.
|
|
232
|
+
"react": "^19.3.1",
|
|
233
|
+
"react-dom": "^19.3.1"
|
|
234
234
|
},
|
|
235
235
|
"sideEffects": false,
|
|
236
236
|
"publishConfig": {
|
|
@@ -208,13 +208,16 @@ export function resolveInstalledEffectCompiler(from: string | URL): string {
|
|
|
208
208
|
const metadataPath = join(dirname(effectManifest), 'lib', 'upstream.json');
|
|
209
209
|
const metadata = JSON.parse(readFileSync(metadataPath, 'utf8')) as {
|
|
210
210
|
schemaVersion?: number;
|
|
211
|
+
tags?: { typescript?: { latest?: string } };
|
|
211
212
|
components?: {
|
|
212
213
|
typescript?: Record<string, { gitHead?: string; provider?: string }>;
|
|
213
214
|
};
|
|
214
215
|
};
|
|
215
216
|
const component = metadata.components?.typescript?.[native.version];
|
|
217
|
+
const latestTypeScript = metadata.tags?.typescript?.latest;
|
|
216
218
|
if (
|
|
217
219
|
metadata.schemaVersion !== 5 ||
|
|
220
|
+
typeof latestTypeScript !== 'string' ||
|
|
218
221
|
component?.provider !== 'typescript-go' ||
|
|
219
222
|
component.gitHead !== native.gitHead
|
|
220
223
|
) {
|
|
@@ -222,15 +225,18 @@ export function resolveInstalledEffectCompiler(from: string | URL): string {
|
|
|
222
225
|
`Effect replacement metadata does not match the selected native TypeScript backend: ${metadataPath}`,
|
|
223
226
|
);
|
|
224
227
|
}
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
'
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
228
|
+
// Same layout rule as @effect/tsgo's getExePath: the latest TypeScript
|
|
229
|
+
// replacement ships in lib/, every other version under artifacts/.
|
|
230
|
+
const compilerDirectory =
|
|
231
|
+
native.version === latestTypeScript
|
|
232
|
+
? join(dirname(effectManifest), 'lib')
|
|
233
|
+
: join(
|
|
234
|
+
dirname(effectManifest),
|
|
235
|
+
'artifacts',
|
|
236
|
+
'typescript',
|
|
237
|
+
native.version,
|
|
238
|
+
);
|
|
239
|
+
return readCompilerArtifact(join(compilerDirectory, binaryName));
|
|
234
240
|
} catch (error) {
|
|
235
241
|
if (error && typeof error === 'object' && !failureStages.has(error))
|
|
236
242
|
failureStages.set(error, stage);
|