@storm-software/workspace-tools 1.49.24 → 1.49.25
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 +12 -0
- package/index.js +8 -9
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/executors/tsup/executor.js +8 -9
- package/src/executors/tsup-browser/executor.js +8 -9
- package/src/executors/tsup-neutral/executor.js +8 -9
- package/src/executors/tsup-node/executor.js +8 -9
- package/src/utils/index.js +8 -9
package/package.json
CHANGED
|
@@ -115482,20 +115482,20 @@ ${options.banner}
|
|
|
115482
115482
|
};
|
|
115483
115483
|
if (options.getConfig) {
|
|
115484
115484
|
writeInfo(config, "\u26A1 Running the Build process");
|
|
115485
|
-
writeDebug(
|
|
115486
|
-
config,
|
|
115487
|
-
`\u2699\uFE0F Build options:
|
|
115488
|
-
${Object.keys(options).map(
|
|
115489
|
-
(key) => `${key}: ${!options[key] || _isPrimitive(options[key]) ? options[key] : _isFunction2(options[key]) ? "<function>" : JSON.stringify(options[key])}`
|
|
115490
|
-
).join("\n")}
|
|
115491
|
-
`
|
|
115492
|
-
);
|
|
115493
115485
|
const getConfigFns = [options.getConfig];
|
|
115494
115486
|
const tsupConfig = (0, import_tsup.defineConfig)(
|
|
115495
115487
|
getConfigFns.map(
|
|
115496
115488
|
(getConfigFn) => getConfig(config.workspaceRoot, context.projectRoot, getConfigFn, getConfigOptions)
|
|
115497
115489
|
)
|
|
115498
115490
|
);
|
|
115491
|
+
writeDebug(
|
|
115492
|
+
config,
|
|
115493
|
+
`\u2699\uFE0F Build options:
|
|
115494
|
+
${_isFunction2(tsupConfig) ? Object.keys(tsupConfig).map(
|
|
115495
|
+
(key) => `${key}: ${!tsupConfig[key] || _isPrimitive(tsupConfig[key]) ? tsupConfig[key] : _isFunction2(tsupConfig[key]) ? "<function>" : JSON.stringify(tsupConfig[key])}`
|
|
115496
|
+
).join("\n") : "<function>"}
|
|
115497
|
+
`
|
|
115498
|
+
);
|
|
115499
115499
|
if (_isFunction2(tsupConfig)) {
|
|
115500
115500
|
await build(await Promise.resolve(tsupConfig({})), config);
|
|
115501
115501
|
} else {
|
|
@@ -115546,7 +115546,6 @@ var build = async (options, config) => {
|
|
|
115546
115546
|
console.log("\u2699\uFE0F Tsup build config: \n", options, "\n");
|
|
115547
115547
|
}
|
|
115548
115548
|
await (0, import_tsup.build)(options);
|
|
115549
|
-
await new Promise((r) => setTimeout(r, 100));
|
|
115550
115549
|
}
|
|
115551
115550
|
};
|
|
115552
115551
|
var _isPrimitive = (value) => {
|
|
@@ -109305,20 +109305,20 @@ ${options.banner}
|
|
|
109305
109305
|
};
|
|
109306
109306
|
if (options.getConfig) {
|
|
109307
109307
|
writeInfo(config, "\u26A1 Running the Build process");
|
|
109308
|
-
writeDebug(
|
|
109309
|
-
config,
|
|
109310
|
-
`\u2699\uFE0F Build options:
|
|
109311
|
-
${Object.keys(options).map(
|
|
109312
|
-
(key) => `${key}: ${!options[key] || _isPrimitive(options[key]) ? options[key] : _isFunction2(options[key]) ? "<function>" : JSON.stringify(options[key])}`
|
|
109313
|
-
).join("\n")}
|
|
109314
|
-
`
|
|
109315
|
-
);
|
|
109316
109308
|
const getConfigFns = [options.getConfig];
|
|
109317
109309
|
const tsupConfig = (0, import_tsup.defineConfig)(
|
|
109318
109310
|
getConfigFns.map(
|
|
109319
109311
|
(getConfigFn) => getConfig(config.workspaceRoot, context.projectRoot, getConfigFn, getConfigOptions)
|
|
109320
109312
|
)
|
|
109321
109313
|
);
|
|
109314
|
+
writeDebug(
|
|
109315
|
+
config,
|
|
109316
|
+
`\u2699\uFE0F Build options:
|
|
109317
|
+
${_isFunction2(tsupConfig) ? Object.keys(tsupConfig).map(
|
|
109318
|
+
(key) => `${key}: ${!tsupConfig[key] || _isPrimitive(tsupConfig[key]) ? tsupConfig[key] : _isFunction2(tsupConfig[key]) ? "<function>" : JSON.stringify(tsupConfig[key])}`
|
|
109319
|
+
).join("\n") : "<function>"}
|
|
109320
|
+
`
|
|
109321
|
+
);
|
|
109322
109322
|
if (_isFunction2(tsupConfig)) {
|
|
109323
109323
|
await build(await Promise.resolve(tsupConfig({})), config);
|
|
109324
109324
|
} else {
|
|
@@ -109369,7 +109369,6 @@ var build = async (options, config) => {
|
|
|
109369
109369
|
console.log("\u2699\uFE0F Tsup build config: \n", options, "\n");
|
|
109370
109370
|
}
|
|
109371
109371
|
await (0, import_tsup.build)(options);
|
|
109372
|
-
await new Promise((r) => setTimeout(r, 100));
|
|
109373
109372
|
}
|
|
109374
109373
|
};
|
|
109375
109374
|
var _isPrimitive = (value) => {
|
|
@@ -109305,20 +109305,20 @@ ${options.banner}
|
|
|
109305
109305
|
};
|
|
109306
109306
|
if (options.getConfig) {
|
|
109307
109307
|
writeInfo(config, "\u26A1 Running the Build process");
|
|
109308
|
-
writeDebug(
|
|
109309
|
-
config,
|
|
109310
|
-
`\u2699\uFE0F Build options:
|
|
109311
|
-
${Object.keys(options).map(
|
|
109312
|
-
(key) => `${key}: ${!options[key] || _isPrimitive(options[key]) ? options[key] : _isFunction2(options[key]) ? "<function>" : JSON.stringify(options[key])}`
|
|
109313
|
-
).join("\n")}
|
|
109314
|
-
`
|
|
109315
|
-
);
|
|
109316
109308
|
const getConfigFns = [options.getConfig];
|
|
109317
109309
|
const tsupConfig = (0, import_tsup.defineConfig)(
|
|
109318
109310
|
getConfigFns.map(
|
|
109319
109311
|
(getConfigFn) => getConfig(config.workspaceRoot, context.projectRoot, getConfigFn, getConfigOptions)
|
|
109320
109312
|
)
|
|
109321
109313
|
);
|
|
109314
|
+
writeDebug(
|
|
109315
|
+
config,
|
|
109316
|
+
`\u2699\uFE0F Build options:
|
|
109317
|
+
${_isFunction2(tsupConfig) ? Object.keys(tsupConfig).map(
|
|
109318
|
+
(key) => `${key}: ${!tsupConfig[key] || _isPrimitive(tsupConfig[key]) ? tsupConfig[key] : _isFunction2(tsupConfig[key]) ? "<function>" : JSON.stringify(tsupConfig[key])}`
|
|
109319
|
+
).join("\n") : "<function>"}
|
|
109320
|
+
`
|
|
109321
|
+
);
|
|
109322
109322
|
if (_isFunction2(tsupConfig)) {
|
|
109323
109323
|
await build(await Promise.resolve(tsupConfig({})), config);
|
|
109324
109324
|
} else {
|
|
@@ -109369,7 +109369,6 @@ var build = async (options, config) => {
|
|
|
109369
109369
|
console.log("\u2699\uFE0F Tsup build config: \n", options, "\n");
|
|
109370
109370
|
}
|
|
109371
109371
|
await (0, import_tsup.build)(options);
|
|
109372
|
-
await new Promise((r) => setTimeout(r, 100));
|
|
109373
109372
|
}
|
|
109374
109373
|
};
|
|
109375
109374
|
var _isPrimitive = (value) => {
|
|
@@ -109305,20 +109305,20 @@ ${options.banner}
|
|
|
109305
109305
|
};
|
|
109306
109306
|
if (options.getConfig) {
|
|
109307
109307
|
writeInfo(config, "\u26A1 Running the Build process");
|
|
109308
|
-
writeDebug(
|
|
109309
|
-
config,
|
|
109310
|
-
`\u2699\uFE0F Build options:
|
|
109311
|
-
${Object.keys(options).map(
|
|
109312
|
-
(key) => `${key}: ${!options[key] || _isPrimitive(options[key]) ? options[key] : _isFunction2(options[key]) ? "<function>" : JSON.stringify(options[key])}`
|
|
109313
|
-
).join("\n")}
|
|
109314
|
-
`
|
|
109315
|
-
);
|
|
109316
109308
|
const getConfigFns = [options.getConfig];
|
|
109317
109309
|
const tsupConfig = (0, import_tsup.defineConfig)(
|
|
109318
109310
|
getConfigFns.map(
|
|
109319
109311
|
(getConfigFn) => getConfig(config.workspaceRoot, context.projectRoot, getConfigFn, getConfigOptions)
|
|
109320
109312
|
)
|
|
109321
109313
|
);
|
|
109314
|
+
writeDebug(
|
|
109315
|
+
config,
|
|
109316
|
+
`\u2699\uFE0F Build options:
|
|
109317
|
+
${_isFunction2(tsupConfig) ? Object.keys(tsupConfig).map(
|
|
109318
|
+
(key) => `${key}: ${!tsupConfig[key] || _isPrimitive(tsupConfig[key]) ? tsupConfig[key] : _isFunction2(tsupConfig[key]) ? "<function>" : JSON.stringify(tsupConfig[key])}`
|
|
109319
|
+
).join("\n") : "<function>"}
|
|
109320
|
+
`
|
|
109321
|
+
);
|
|
109322
109322
|
if (_isFunction2(tsupConfig)) {
|
|
109323
109323
|
await build(await Promise.resolve(tsupConfig({})), config);
|
|
109324
109324
|
} else {
|
|
@@ -109369,7 +109369,6 @@ var build = async (options, config) => {
|
|
|
109369
109369
|
console.log("\u2699\uFE0F Tsup build config: \n", options, "\n");
|
|
109370
109370
|
}
|
|
109371
109371
|
await (0, import_tsup.build)(options);
|
|
109372
|
-
await new Promise((r) => setTimeout(r, 100));
|
|
109373
109372
|
}
|
|
109374
109373
|
};
|
|
109375
109374
|
var _isPrimitive = (value) => {
|
package/src/utils/index.js
CHANGED
|
@@ -119469,20 +119469,20 @@ ${options.banner}
|
|
|
119469
119469
|
};
|
|
119470
119470
|
if (options.getConfig) {
|
|
119471
119471
|
writeInfo(config, "\u26A1 Running the Build process");
|
|
119472
|
-
writeDebug(
|
|
119473
|
-
config,
|
|
119474
|
-
`\u2699\uFE0F Build options:
|
|
119475
|
-
${Object.keys(options).map(
|
|
119476
|
-
(key) => `${key}: ${!options[key] || _isPrimitive(options[key]) ? options[key] : _isFunction(options[key]) ? "<function>" : JSON.stringify(options[key])}`
|
|
119477
|
-
).join("\n")}
|
|
119478
|
-
`
|
|
119479
|
-
);
|
|
119480
119472
|
const getConfigFns = [options.getConfig];
|
|
119481
119473
|
const tsupConfig = (0, import_tsup.defineConfig)(
|
|
119482
119474
|
getConfigFns.map(
|
|
119483
119475
|
(getConfigFn) => getConfig(config.workspaceRoot, context.projectRoot, getConfigFn, getConfigOptions)
|
|
119484
119476
|
)
|
|
119485
119477
|
);
|
|
119478
|
+
writeDebug(
|
|
119479
|
+
config,
|
|
119480
|
+
`\u2699\uFE0F Build options:
|
|
119481
|
+
${_isFunction(tsupConfig) ? Object.keys(tsupConfig).map(
|
|
119482
|
+
(key) => `${key}: ${!tsupConfig[key] || _isPrimitive(tsupConfig[key]) ? tsupConfig[key] : _isFunction(tsupConfig[key]) ? "<function>" : JSON.stringify(tsupConfig[key])}`
|
|
119483
|
+
).join("\n") : "<function>"}
|
|
119484
|
+
`
|
|
119485
|
+
);
|
|
119486
119486
|
if (_isFunction(tsupConfig)) {
|
|
119487
119487
|
await build(await Promise.resolve(tsupConfig({})), config);
|
|
119488
119488
|
} else {
|
|
@@ -119533,7 +119533,6 @@ var build = async (options, config) => {
|
|
|
119533
119533
|
console.log("\u2699\uFE0F Tsup build config: \n", options, "\n");
|
|
119534
119534
|
}
|
|
119535
119535
|
await (0, import_tsup.build)(options);
|
|
119536
|
-
await new Promise((r) => setTimeout(r, 100));
|
|
119537
119536
|
}
|
|
119538
119537
|
};
|
|
119539
119538
|
var _isPrimitive = (value) => {
|