@storm-software/workspace-tools 1.30.11 → 1.30.13
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/CHANGELOG.md +14 -0
- package/index.js +39 -47
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/executors/tsup/executor.js +39 -47
- package/src/executors/tsup-browser/executor.js +39 -47
- package/src/executors/tsup-neutral/executor.js +39 -47
- package/src/executors/tsup-node/executor.js +39 -47
package/package.json
CHANGED
|
@@ -117377,15 +117377,15 @@ ${externalDependencies.map((dep) => {
|
|
|
117377
117377
|
if (!ret[packageJsonKey]) {
|
|
117378
117378
|
ret[packageJsonKey] = {
|
|
117379
117379
|
import: {
|
|
117380
|
-
types:
|
|
117380
|
+
types: "./dist/modern/index.d.ts",
|
|
117381
117381
|
default: `./dist/modern/${key}.js`
|
|
117382
117382
|
},
|
|
117383
117383
|
require: {
|
|
117384
|
-
types:
|
|
117384
|
+
types: "./dist/modern/index.d.cts",
|
|
117385
117385
|
default: `./dist/modern/${key}.cjs`
|
|
117386
117386
|
},
|
|
117387
117387
|
default: {
|
|
117388
|
-
types:
|
|
117388
|
+
types: "./dist/modern/index.d.ts",
|
|
117389
117389
|
default: `./dist/modern/${key}.js`
|
|
117390
117390
|
}
|
|
117391
117391
|
};
|
|
@@ -117480,58 +117480,50 @@ ${(0, import_fs3.readFileSync)(file, "utf-8")}`,
|
|
|
117480
117480
|
})
|
|
117481
117481
|
);
|
|
117482
117482
|
options.plugins.push(environmentPlugin(stormEnv));
|
|
117483
|
-
|
|
117484
|
-
|
|
117485
|
-
|
|
117486
|
-
|
|
117487
|
-
|
|
117488
|
-
|
|
117489
|
-
|
|
117490
|
-
|
|
117491
|
-
|
|
117492
|
-
|
|
117493
|
-
|
|
117494
|
-
|
|
117495
|
-
|
|
117483
|
+
const getConfigOptions = {
|
|
117484
|
+
...options,
|
|
117485
|
+
define: {
|
|
117486
|
+
__STORM_CONFIG: JSON.stringify(stormEnv)
|
|
117487
|
+
},
|
|
117488
|
+
env: {
|
|
117489
|
+
__STORM_CONFIG: JSON.stringify(stormEnv),
|
|
117490
|
+
...stormEnv
|
|
117491
|
+
},
|
|
117492
|
+
dtsTsConfig: getNormalizedTsConfig(
|
|
117493
|
+
context.root,
|
|
117494
|
+
options.outputPath,
|
|
117495
|
+
(0, import_tsc.createTypeScriptCompilationOptions)(
|
|
117496
|
+
(0, import_normalize_options.normalizeOptions)(
|
|
117497
|
+
{
|
|
117498
|
+
...options,
|
|
117499
|
+
watch: false,
|
|
117500
|
+
main: options.entry,
|
|
117501
|
+
transformers: []
|
|
117502
|
+
},
|
|
117496
117503
|
context.root,
|
|
117497
|
-
|
|
117498
|
-
|
|
117499
|
-
(0, import_normalize_options.normalizeOptions)(
|
|
117500
|
-
{
|
|
117501
|
-
...options,
|
|
117502
|
-
watch: false,
|
|
117503
|
-
main: entry[key],
|
|
117504
|
-
transformers: []
|
|
117505
|
-
},
|
|
117506
|
-
context.root,
|
|
117507
|
-
sourceRoot,
|
|
117508
|
-
workspaceRoot
|
|
117509
|
-
),
|
|
117510
|
-
context
|
|
117511
|
-
)
|
|
117504
|
+
sourceRoot,
|
|
117505
|
+
workspaceRoot
|
|
117512
117506
|
),
|
|
117513
|
-
|
|
117514
|
-
|
|
117507
|
+
context
|
|
117508
|
+
)
|
|
117509
|
+
),
|
|
117510
|
+
banner: options.banner ? {
|
|
117511
|
+
js: `${options.banner}
|
|
117515
117512
|
|
|
117516
117513
|
`,
|
|
117517
|
-
|
|
117514
|
+
css: `/*
|
|
117518
117515
|
${options.banner}
|
|
117519
117516
|
*/
|
|
117520
117517
|
|
|
117521
117518
|
`
|
|
117522
|
-
|
|
117523
|
-
|
|
117524
|
-
|
|
117525
|
-
|
|
117526
|
-
|
|
117527
|
-
|
|
117528
|
-
|
|
117529
|
-
|
|
117530
|
-
getConfig(context.root, projectRoot, modernConfig, getConfigOptions)
|
|
117531
|
-
);
|
|
117532
|
-
return ret;
|
|
117533
|
-
}, [])
|
|
117534
|
-
);
|
|
117519
|
+
} : void 0,
|
|
117520
|
+
outputPath: options.outputPath,
|
|
117521
|
+
entry
|
|
117522
|
+
};
|
|
117523
|
+
const config = (0, import_tsup.defineConfig)([
|
|
117524
|
+
getConfig(context.root, projectRoot, legacyConfig, getConfigOptions),
|
|
117525
|
+
getConfig(context.root, projectRoot, modernConfig, getConfigOptions)
|
|
117526
|
+
]);
|
|
117535
117527
|
if (typeof config === "function") {
|
|
117536
117528
|
await build(await Promise.resolve(config({})));
|
|
117537
117529
|
} else {
|
|
@@ -117408,15 +117408,15 @@ ${externalDependencies.map((dep) => {
|
|
|
117408
117408
|
if (!ret[packageJsonKey]) {
|
|
117409
117409
|
ret[packageJsonKey] = {
|
|
117410
117410
|
import: {
|
|
117411
|
-
types:
|
|
117411
|
+
types: "./dist/modern/index.d.ts",
|
|
117412
117412
|
default: `./dist/modern/${key}.js`
|
|
117413
117413
|
},
|
|
117414
117414
|
require: {
|
|
117415
|
-
types:
|
|
117415
|
+
types: "./dist/modern/index.d.cts",
|
|
117416
117416
|
default: `./dist/modern/${key}.cjs`
|
|
117417
117417
|
},
|
|
117418
117418
|
default: {
|
|
117419
|
-
types:
|
|
117419
|
+
types: "./dist/modern/index.d.ts",
|
|
117420
117420
|
default: `./dist/modern/${key}.js`
|
|
117421
117421
|
}
|
|
117422
117422
|
};
|
|
@@ -117511,58 +117511,50 @@ ${(0, import_fs3.readFileSync)(file, "utf-8")}`,
|
|
|
117511
117511
|
})
|
|
117512
117512
|
);
|
|
117513
117513
|
options.plugins.push(environmentPlugin(stormEnv));
|
|
117514
|
-
|
|
117515
|
-
|
|
117516
|
-
|
|
117517
|
-
|
|
117518
|
-
|
|
117519
|
-
|
|
117520
|
-
|
|
117521
|
-
|
|
117522
|
-
|
|
117523
|
-
|
|
117524
|
-
|
|
117525
|
-
|
|
117526
|
-
|
|
117514
|
+
const getConfigOptions = {
|
|
117515
|
+
...options,
|
|
117516
|
+
define: {
|
|
117517
|
+
__STORM_CONFIG: JSON.stringify(stormEnv)
|
|
117518
|
+
},
|
|
117519
|
+
env: {
|
|
117520
|
+
__STORM_CONFIG: JSON.stringify(stormEnv),
|
|
117521
|
+
...stormEnv
|
|
117522
|
+
},
|
|
117523
|
+
dtsTsConfig: getNormalizedTsConfig(
|
|
117524
|
+
context.root,
|
|
117525
|
+
options.outputPath,
|
|
117526
|
+
(0, import_tsc.createTypeScriptCompilationOptions)(
|
|
117527
|
+
(0, import_normalize_options.normalizeOptions)(
|
|
117528
|
+
{
|
|
117529
|
+
...options,
|
|
117530
|
+
watch: false,
|
|
117531
|
+
main: options.entry,
|
|
117532
|
+
transformers: []
|
|
117533
|
+
},
|
|
117527
117534
|
context.root,
|
|
117528
|
-
|
|
117529
|
-
|
|
117530
|
-
(0, import_normalize_options.normalizeOptions)(
|
|
117531
|
-
{
|
|
117532
|
-
...options,
|
|
117533
|
-
watch: false,
|
|
117534
|
-
main: entry[key],
|
|
117535
|
-
transformers: []
|
|
117536
|
-
},
|
|
117537
|
-
context.root,
|
|
117538
|
-
sourceRoot,
|
|
117539
|
-
workspaceRoot
|
|
117540
|
-
),
|
|
117541
|
-
context
|
|
117542
|
-
)
|
|
117535
|
+
sourceRoot,
|
|
117536
|
+
workspaceRoot
|
|
117543
117537
|
),
|
|
117544
|
-
|
|
117545
|
-
|
|
117538
|
+
context
|
|
117539
|
+
)
|
|
117540
|
+
),
|
|
117541
|
+
banner: options.banner ? {
|
|
117542
|
+
js: `${options.banner}
|
|
117546
117543
|
|
|
117547
117544
|
`,
|
|
117548
|
-
|
|
117545
|
+
css: `/*
|
|
117549
117546
|
${options.banner}
|
|
117550
117547
|
*/
|
|
117551
117548
|
|
|
117552
117549
|
`
|
|
117553
|
-
|
|
117554
|
-
|
|
117555
|
-
|
|
117556
|
-
|
|
117557
|
-
|
|
117558
|
-
|
|
117559
|
-
|
|
117560
|
-
|
|
117561
|
-
getConfig(context.root, projectRoot, modernConfig, getConfigOptions)
|
|
117562
|
-
);
|
|
117563
|
-
return ret;
|
|
117564
|
-
}, [])
|
|
117565
|
-
);
|
|
117550
|
+
} : void 0,
|
|
117551
|
+
outputPath: options.outputPath,
|
|
117552
|
+
entry
|
|
117553
|
+
};
|
|
117554
|
+
const config = (0, import_tsup.defineConfig)([
|
|
117555
|
+
getConfig(context.root, projectRoot, legacyConfig, getConfigOptions),
|
|
117556
|
+
getConfig(context.root, projectRoot, modernConfig, getConfigOptions)
|
|
117557
|
+
]);
|
|
117566
117558
|
if (typeof config === "function") {
|
|
117567
117559
|
await build(await Promise.resolve(config({})));
|
|
117568
117560
|
} else {
|
|
@@ -117408,15 +117408,15 @@ ${externalDependencies.map((dep) => {
|
|
|
117408
117408
|
if (!ret[packageJsonKey]) {
|
|
117409
117409
|
ret[packageJsonKey] = {
|
|
117410
117410
|
import: {
|
|
117411
|
-
types:
|
|
117411
|
+
types: "./dist/modern/index.d.ts",
|
|
117412
117412
|
default: `./dist/modern/${key}.js`
|
|
117413
117413
|
},
|
|
117414
117414
|
require: {
|
|
117415
|
-
types:
|
|
117415
|
+
types: "./dist/modern/index.d.cts",
|
|
117416
117416
|
default: `./dist/modern/${key}.cjs`
|
|
117417
117417
|
},
|
|
117418
117418
|
default: {
|
|
117419
|
-
types:
|
|
117419
|
+
types: "./dist/modern/index.d.ts",
|
|
117420
117420
|
default: `./dist/modern/${key}.js`
|
|
117421
117421
|
}
|
|
117422
117422
|
};
|
|
@@ -117511,58 +117511,50 @@ ${(0, import_fs3.readFileSync)(file, "utf-8")}`,
|
|
|
117511
117511
|
})
|
|
117512
117512
|
);
|
|
117513
117513
|
options.plugins.push(environmentPlugin(stormEnv));
|
|
117514
|
-
|
|
117515
|
-
|
|
117516
|
-
|
|
117517
|
-
|
|
117518
|
-
|
|
117519
|
-
|
|
117520
|
-
|
|
117521
|
-
|
|
117522
|
-
|
|
117523
|
-
|
|
117524
|
-
|
|
117525
|
-
|
|
117526
|
-
|
|
117514
|
+
const getConfigOptions = {
|
|
117515
|
+
...options,
|
|
117516
|
+
define: {
|
|
117517
|
+
__STORM_CONFIG: JSON.stringify(stormEnv)
|
|
117518
|
+
},
|
|
117519
|
+
env: {
|
|
117520
|
+
__STORM_CONFIG: JSON.stringify(stormEnv),
|
|
117521
|
+
...stormEnv
|
|
117522
|
+
},
|
|
117523
|
+
dtsTsConfig: getNormalizedTsConfig(
|
|
117524
|
+
context.root,
|
|
117525
|
+
options.outputPath,
|
|
117526
|
+
(0, import_tsc.createTypeScriptCompilationOptions)(
|
|
117527
|
+
(0, import_normalize_options.normalizeOptions)(
|
|
117528
|
+
{
|
|
117529
|
+
...options,
|
|
117530
|
+
watch: false,
|
|
117531
|
+
main: options.entry,
|
|
117532
|
+
transformers: []
|
|
117533
|
+
},
|
|
117527
117534
|
context.root,
|
|
117528
|
-
|
|
117529
|
-
|
|
117530
|
-
(0, import_normalize_options.normalizeOptions)(
|
|
117531
|
-
{
|
|
117532
|
-
...options,
|
|
117533
|
-
watch: false,
|
|
117534
|
-
main: entry[key],
|
|
117535
|
-
transformers: []
|
|
117536
|
-
},
|
|
117537
|
-
context.root,
|
|
117538
|
-
sourceRoot,
|
|
117539
|
-
workspaceRoot
|
|
117540
|
-
),
|
|
117541
|
-
context
|
|
117542
|
-
)
|
|
117535
|
+
sourceRoot,
|
|
117536
|
+
workspaceRoot
|
|
117543
117537
|
),
|
|
117544
|
-
|
|
117545
|
-
|
|
117538
|
+
context
|
|
117539
|
+
)
|
|
117540
|
+
),
|
|
117541
|
+
banner: options.banner ? {
|
|
117542
|
+
js: `${options.banner}
|
|
117546
117543
|
|
|
117547
117544
|
`,
|
|
117548
|
-
|
|
117545
|
+
css: `/*
|
|
117549
117546
|
${options.banner}
|
|
117550
117547
|
*/
|
|
117551
117548
|
|
|
117552
117549
|
`
|
|
117553
|
-
|
|
117554
|
-
|
|
117555
|
-
|
|
117556
|
-
|
|
117557
|
-
|
|
117558
|
-
|
|
117559
|
-
|
|
117560
|
-
|
|
117561
|
-
getConfig(context.root, projectRoot, modernConfig, getConfigOptions)
|
|
117562
|
-
);
|
|
117563
|
-
return ret;
|
|
117564
|
-
}, [])
|
|
117565
|
-
);
|
|
117550
|
+
} : void 0,
|
|
117551
|
+
outputPath: options.outputPath,
|
|
117552
|
+
entry
|
|
117553
|
+
};
|
|
117554
|
+
const config = (0, import_tsup.defineConfig)([
|
|
117555
|
+
getConfig(context.root, projectRoot, legacyConfig, getConfigOptions),
|
|
117556
|
+
getConfig(context.root, projectRoot, modernConfig, getConfigOptions)
|
|
117557
|
+
]);
|
|
117566
117558
|
if (typeof config === "function") {
|
|
117567
117559
|
await build(await Promise.resolve(config({})));
|
|
117568
117560
|
} else {
|
|
@@ -117408,15 +117408,15 @@ ${externalDependencies.map((dep) => {
|
|
|
117408
117408
|
if (!ret[packageJsonKey]) {
|
|
117409
117409
|
ret[packageJsonKey] = {
|
|
117410
117410
|
import: {
|
|
117411
|
-
types:
|
|
117411
|
+
types: "./dist/modern/index.d.ts",
|
|
117412
117412
|
default: `./dist/modern/${key}.js`
|
|
117413
117413
|
},
|
|
117414
117414
|
require: {
|
|
117415
|
-
types:
|
|
117415
|
+
types: "./dist/modern/index.d.cts",
|
|
117416
117416
|
default: `./dist/modern/${key}.cjs`
|
|
117417
117417
|
},
|
|
117418
117418
|
default: {
|
|
117419
|
-
types:
|
|
117419
|
+
types: "./dist/modern/index.d.ts",
|
|
117420
117420
|
default: `./dist/modern/${key}.js`
|
|
117421
117421
|
}
|
|
117422
117422
|
};
|
|
@@ -117511,58 +117511,50 @@ ${(0, import_fs3.readFileSync)(file, "utf-8")}`,
|
|
|
117511
117511
|
})
|
|
117512
117512
|
);
|
|
117513
117513
|
options.plugins.push(environmentPlugin(stormEnv));
|
|
117514
|
-
|
|
117515
|
-
|
|
117516
|
-
|
|
117517
|
-
|
|
117518
|
-
|
|
117519
|
-
|
|
117520
|
-
|
|
117521
|
-
|
|
117522
|
-
|
|
117523
|
-
|
|
117524
|
-
|
|
117525
|
-
|
|
117526
|
-
|
|
117514
|
+
const getConfigOptions = {
|
|
117515
|
+
...options,
|
|
117516
|
+
define: {
|
|
117517
|
+
__STORM_CONFIG: JSON.stringify(stormEnv)
|
|
117518
|
+
},
|
|
117519
|
+
env: {
|
|
117520
|
+
__STORM_CONFIG: JSON.stringify(stormEnv),
|
|
117521
|
+
...stormEnv
|
|
117522
|
+
},
|
|
117523
|
+
dtsTsConfig: getNormalizedTsConfig(
|
|
117524
|
+
context.root,
|
|
117525
|
+
options.outputPath,
|
|
117526
|
+
(0, import_tsc.createTypeScriptCompilationOptions)(
|
|
117527
|
+
(0, import_normalize_options.normalizeOptions)(
|
|
117528
|
+
{
|
|
117529
|
+
...options,
|
|
117530
|
+
watch: false,
|
|
117531
|
+
main: options.entry,
|
|
117532
|
+
transformers: []
|
|
117533
|
+
},
|
|
117527
117534
|
context.root,
|
|
117528
|
-
|
|
117529
|
-
|
|
117530
|
-
(0, import_normalize_options.normalizeOptions)(
|
|
117531
|
-
{
|
|
117532
|
-
...options,
|
|
117533
|
-
watch: false,
|
|
117534
|
-
main: entry[key],
|
|
117535
|
-
transformers: []
|
|
117536
|
-
},
|
|
117537
|
-
context.root,
|
|
117538
|
-
sourceRoot,
|
|
117539
|
-
workspaceRoot
|
|
117540
|
-
),
|
|
117541
|
-
context
|
|
117542
|
-
)
|
|
117535
|
+
sourceRoot,
|
|
117536
|
+
workspaceRoot
|
|
117543
117537
|
),
|
|
117544
|
-
|
|
117545
|
-
|
|
117538
|
+
context
|
|
117539
|
+
)
|
|
117540
|
+
),
|
|
117541
|
+
banner: options.banner ? {
|
|
117542
|
+
js: `${options.banner}
|
|
117546
117543
|
|
|
117547
117544
|
`,
|
|
117548
|
-
|
|
117545
|
+
css: `/*
|
|
117549
117546
|
${options.banner}
|
|
117550
117547
|
*/
|
|
117551
117548
|
|
|
117552
117549
|
`
|
|
117553
|
-
|
|
117554
|
-
|
|
117555
|
-
|
|
117556
|
-
|
|
117557
|
-
|
|
117558
|
-
|
|
117559
|
-
|
|
117560
|
-
|
|
117561
|
-
getConfig(context.root, projectRoot, modernConfig, getConfigOptions)
|
|
117562
|
-
);
|
|
117563
|
-
return ret;
|
|
117564
|
-
}, [])
|
|
117565
|
-
);
|
|
117550
|
+
} : void 0,
|
|
117551
|
+
outputPath: options.outputPath,
|
|
117552
|
+
entry
|
|
117553
|
+
};
|
|
117554
|
+
const config = (0, import_tsup.defineConfig)([
|
|
117555
|
+
getConfig(context.root, projectRoot, legacyConfig, getConfigOptions),
|
|
117556
|
+
getConfig(context.root, projectRoot, modernConfig, getConfigOptions)
|
|
117557
|
+
]);
|
|
117566
117558
|
if (typeof config === "function") {
|
|
117567
117559
|
await build(await Promise.resolve(config({})));
|
|
117568
117560
|
} else {
|