@storm-software/workspace-tools 1.50.3 → 1.50.5
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 +7 -7
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/executors/tsup/executor.js +32 -13
- package/src/executors/tsup-browser/executor.js +32 -13
- package/src/executors/tsup-neutral/executor.js +32 -13
- package/src/executors/tsup-node/executor.js +32 -13
- package/src/utils/index.js +1 -1
package/package.json
CHANGED
|
@@ -115224,16 +115224,35 @@ var import_retrieve_workspace_files = require("nx/src/project-graph/utils/retrie
|
|
|
115224
115224
|
var getProjectConfigurations = () => (0, import_retrieve_workspace_files.retrieveProjectConfigurationsWithoutPluginInference)(getWorkspaceRoot());
|
|
115225
115225
|
|
|
115226
115226
|
// packages/workspace-tools/src/utils/get-project-deps.ts
|
|
115227
|
-
function
|
|
115228
|
-
const
|
|
115229
|
-
|
|
115230
|
-
|
|
115227
|
+
function getExtraDependencies(projectName, graph) {
|
|
115228
|
+
const deps = /* @__PURE__ */ new Map();
|
|
115229
|
+
recur(projectName);
|
|
115230
|
+
function recur(currProjectName) {
|
|
115231
|
+
const allDeps = graph.dependencies[currProjectName];
|
|
115232
|
+
const externalDeps = allDeps.reduce((acc, node) => {
|
|
115231
115233
|
const found = graph.externalNodes[node.target];
|
|
115232
115234
|
if (found)
|
|
115233
115235
|
acc.push(found);
|
|
115234
115236
|
return acc;
|
|
115235
|
-
}, [])
|
|
115236
|
-
|
|
115237
|
+
}, []);
|
|
115238
|
+
const internalDeps = allDeps.reduce((acc, node) => {
|
|
115239
|
+
const found = graph.nodes[node.target];
|
|
115240
|
+
if (found)
|
|
115241
|
+
acc.push(found);
|
|
115242
|
+
return acc;
|
|
115243
|
+
}, []);
|
|
115244
|
+
for (const externalDep of externalDeps) {
|
|
115245
|
+
deps.set(externalDep.name, {
|
|
115246
|
+
name: externalDep.name,
|
|
115247
|
+
outputs: [],
|
|
115248
|
+
node: externalDep
|
|
115249
|
+
});
|
|
115250
|
+
}
|
|
115251
|
+
for (const internalDep of internalDeps) {
|
|
115252
|
+
recur(internalDep.name);
|
|
115253
|
+
}
|
|
115254
|
+
}
|
|
115255
|
+
return Array.from(deps.values());
|
|
115237
115256
|
}
|
|
115238
115257
|
|
|
115239
115258
|
// packages/workspace-tools/src/utils/run-tsup-build.ts
|
|
@@ -115545,7 +115564,7 @@ var build = async (options, config) => {
|
|
|
115545
115564
|
writeDebug(
|
|
115546
115565
|
config,
|
|
115547
115566
|
`\u2699\uFE0F Tsup Build options:
|
|
115548
|
-
${_isFunction2(tsupOptions) ? Object.keys(tsupOptions).map(
|
|
115567
|
+
${!_isFunction2(tsupOptions) ? Object.keys(tsupOptions).map(
|
|
115549
115568
|
(key) => `${key}: ${!tsupOptions[key] || _isPrimitive(tsupOptions[key]) ? tsupOptions[key] : _isFunction2(tsupOptions[key]) ? "<function>" : JSON.stringify(tsupOptions[key])}`
|
|
115550
115569
|
).join("\n") : "<function>"}
|
|
115551
115570
|
`
|
|
@@ -115687,7 +115706,7 @@ ${Object.keys(options).map(
|
|
|
115687
115706
|
return ret;
|
|
115688
115707
|
}, options.external);
|
|
115689
115708
|
}
|
|
115690
|
-
for (const thirdPartyDependency of
|
|
115709
|
+
for (const thirdPartyDependency of getExtraDependencies(
|
|
115691
115710
|
context.projectName,
|
|
115692
115711
|
context.projectGraph
|
|
115693
115712
|
)) {
|
|
@@ -115695,7 +115714,7 @@ ${Object.keys(options).map(
|
|
|
115695
115714
|
if (packageConfig?.packageName && config?.externalPackagePatterns?.some(
|
|
115696
115715
|
(pattern) => packageConfig.packageName.includes(pattern)
|
|
115697
115716
|
) && !externalDependencies?.some(
|
|
115698
|
-
(externalDependency) => externalDependency.name
|
|
115717
|
+
(externalDependency) => externalDependency.name === packageConfig.packageName
|
|
115699
115718
|
)) {
|
|
115700
115719
|
externalDependencies.push(thirdPartyDependency);
|
|
115701
115720
|
}
|
|
@@ -115725,6 +115744,9 @@ ${externalDependencies.map((dep) => {
|
|
|
115725
115744
|
if (options.entry) {
|
|
115726
115745
|
entryPoints.push(options.entry);
|
|
115727
115746
|
}
|
|
115747
|
+
if (options.additionalEntryPoints) {
|
|
115748
|
+
entryPoints.push(...options.additionalEntryPoints);
|
|
115749
|
+
}
|
|
115728
115750
|
if (options.emitOnAll === true) {
|
|
115729
115751
|
entryPoints = globSync((0, import_devkit3.joinPathFragments)(sourceRoot, "**/*.{ts,tsx}"), {
|
|
115730
115752
|
withFileTypes: true
|
|
@@ -115752,9 +115774,6 @@ ${externalDependencies.map((dep) => {
|
|
|
115752
115774
|
return ret;
|
|
115753
115775
|
}, entryPoints);
|
|
115754
115776
|
}
|
|
115755
|
-
if (options.additionalEntryPoints) {
|
|
115756
|
-
entryPoints.push(...options.additionalEntryPoints);
|
|
115757
|
-
}
|
|
115758
115777
|
if (options.generatePackageJson !== false) {
|
|
115759
115778
|
const projectGraph = (0, import_devkit3.readCachedProjectGraph)();
|
|
115760
115779
|
packageJson.dependencies = void 0;
|
|
@@ -115892,7 +115911,7 @@ ${(0, import_node_fs5.readFileSync)(file, "utf-8")}`,
|
|
|
115892
115911
|
)
|
|
115893
115912
|
);
|
|
115894
115913
|
}
|
|
115895
|
-
await Promise.
|
|
115914
|
+
await Promise.allSettled(
|
|
115896
115915
|
entryPoints.map(
|
|
115897
115916
|
(entryPoint) => runTsupBuild(
|
|
115898
115917
|
{
|
|
@@ -109373,7 +109373,7 @@ var build = async (options, config) => {
|
|
|
109373
109373
|
writeDebug(
|
|
109374
109374
|
config,
|
|
109375
109375
|
`\u2699\uFE0F Tsup Build options:
|
|
109376
|
-
${_isFunction2(tsupOptions) ? Object.keys(tsupOptions).map(
|
|
109376
|
+
${!_isFunction2(tsupOptions) ? Object.keys(tsupOptions).map(
|
|
109377
109377
|
(key) => `${key}: ${!tsupOptions[key] || _isPrimitive(tsupOptions[key]) ? tsupOptions[key] : _isFunction2(tsupOptions[key]) ? "<function>" : JSON.stringify(tsupOptions[key])}`
|
|
109378
109378
|
).join("\n") : "<function>"}
|
|
109379
109379
|
`
|
|
@@ -115598,16 +115598,35 @@ var import_retrieve_workspace_files = require("nx/src/project-graph/utils/retrie
|
|
|
115598
115598
|
var getProjectConfigurations = () => (0, import_retrieve_workspace_files.retrieveProjectConfigurationsWithoutPluginInference)(getWorkspaceRoot());
|
|
115599
115599
|
|
|
115600
115600
|
// packages/workspace-tools/src/utils/get-project-deps.ts
|
|
115601
|
-
function
|
|
115602
|
-
const
|
|
115603
|
-
|
|
115604
|
-
|
|
115601
|
+
function getExtraDependencies(projectName, graph) {
|
|
115602
|
+
const deps = /* @__PURE__ */ new Map();
|
|
115603
|
+
recur(projectName);
|
|
115604
|
+
function recur(currProjectName) {
|
|
115605
|
+
const allDeps = graph.dependencies[currProjectName];
|
|
115606
|
+
const externalDeps = allDeps.reduce((acc, node) => {
|
|
115605
115607
|
const found = graph.externalNodes[node.target];
|
|
115606
115608
|
if (found)
|
|
115607
115609
|
acc.push(found);
|
|
115608
115610
|
return acc;
|
|
115609
|
-
}, [])
|
|
115610
|
-
|
|
115611
|
+
}, []);
|
|
115612
|
+
const internalDeps = allDeps.reduce((acc, node) => {
|
|
115613
|
+
const found = graph.nodes[node.target];
|
|
115614
|
+
if (found)
|
|
115615
|
+
acc.push(found);
|
|
115616
|
+
return acc;
|
|
115617
|
+
}, []);
|
|
115618
|
+
for (const externalDep of externalDeps) {
|
|
115619
|
+
deps.set(externalDep.name, {
|
|
115620
|
+
name: externalDep.name,
|
|
115621
|
+
outputs: [],
|
|
115622
|
+
node: externalDep
|
|
115623
|
+
});
|
|
115624
|
+
}
|
|
115625
|
+
for (const internalDep of internalDeps) {
|
|
115626
|
+
recur(internalDep.name);
|
|
115627
|
+
}
|
|
115628
|
+
}
|
|
115629
|
+
return Array.from(deps.values());
|
|
115611
115630
|
}
|
|
115612
115631
|
|
|
115613
115632
|
// packages/workspace-tools/src/executors/tsup/executor.ts
|
|
@@ -115717,7 +115736,7 @@ ${Object.keys(options).map(
|
|
|
115717
115736
|
return ret;
|
|
115718
115737
|
}, options.external);
|
|
115719
115738
|
}
|
|
115720
|
-
for (const thirdPartyDependency of
|
|
115739
|
+
for (const thirdPartyDependency of getExtraDependencies(
|
|
115721
115740
|
context.projectName,
|
|
115722
115741
|
context.projectGraph
|
|
115723
115742
|
)) {
|
|
@@ -115725,7 +115744,7 @@ ${Object.keys(options).map(
|
|
|
115725
115744
|
if (packageConfig?.packageName && config?.externalPackagePatterns?.some(
|
|
115726
115745
|
(pattern) => packageConfig.packageName.includes(pattern)
|
|
115727
115746
|
) && !externalDependencies?.some(
|
|
115728
|
-
(externalDependency) => externalDependency.name
|
|
115747
|
+
(externalDependency) => externalDependency.name === packageConfig.packageName
|
|
115729
115748
|
)) {
|
|
115730
115749
|
externalDependencies.push(thirdPartyDependency);
|
|
115731
115750
|
}
|
|
@@ -115755,6 +115774,9 @@ ${externalDependencies.map((dep) => {
|
|
|
115755
115774
|
if (options.entry) {
|
|
115756
115775
|
entryPoints.push(options.entry);
|
|
115757
115776
|
}
|
|
115777
|
+
if (options.additionalEntryPoints) {
|
|
115778
|
+
entryPoints.push(...options.additionalEntryPoints);
|
|
115779
|
+
}
|
|
115758
115780
|
if (options.emitOnAll === true) {
|
|
115759
115781
|
entryPoints = globSync((0, import_devkit3.joinPathFragments)(sourceRoot, "**/*.{ts,tsx}"), {
|
|
115760
115782
|
withFileTypes: true
|
|
@@ -115782,9 +115804,6 @@ ${externalDependencies.map((dep) => {
|
|
|
115782
115804
|
return ret;
|
|
115783
115805
|
}, entryPoints);
|
|
115784
115806
|
}
|
|
115785
|
-
if (options.additionalEntryPoints) {
|
|
115786
|
-
entryPoints.push(...options.additionalEntryPoints);
|
|
115787
|
-
}
|
|
115788
115807
|
if (options.generatePackageJson !== false) {
|
|
115789
115808
|
const projectGraph = (0, import_devkit3.readCachedProjectGraph)();
|
|
115790
115809
|
packageJson.dependencies = void 0;
|
|
@@ -115922,7 +115941,7 @@ ${(0, import_node_fs5.readFileSync)(file, "utf-8")}`,
|
|
|
115922
115941
|
)
|
|
115923
115942
|
);
|
|
115924
115943
|
}
|
|
115925
|
-
await Promise.
|
|
115944
|
+
await Promise.allSettled(
|
|
115926
115945
|
entryPoints.map(
|
|
115927
115946
|
(entryPoint) => runTsupBuild(
|
|
115928
115947
|
{
|
|
@@ -109373,7 +109373,7 @@ var build = async (options, config) => {
|
|
|
109373
109373
|
writeDebug(
|
|
109374
109374
|
config,
|
|
109375
109375
|
`\u2699\uFE0F Tsup Build options:
|
|
109376
|
-
${_isFunction2(tsupOptions) ? Object.keys(tsupOptions).map(
|
|
109376
|
+
${!_isFunction2(tsupOptions) ? Object.keys(tsupOptions).map(
|
|
109377
109377
|
(key) => `${key}: ${!tsupOptions[key] || _isPrimitive(tsupOptions[key]) ? tsupOptions[key] : _isFunction2(tsupOptions[key]) ? "<function>" : JSON.stringify(tsupOptions[key])}`
|
|
109378
109378
|
).join("\n") : "<function>"}
|
|
109379
109379
|
`
|
|
@@ -115598,16 +115598,35 @@ var import_retrieve_workspace_files = require("nx/src/project-graph/utils/retrie
|
|
|
115598
115598
|
var getProjectConfigurations = () => (0, import_retrieve_workspace_files.retrieveProjectConfigurationsWithoutPluginInference)(getWorkspaceRoot());
|
|
115599
115599
|
|
|
115600
115600
|
// packages/workspace-tools/src/utils/get-project-deps.ts
|
|
115601
|
-
function
|
|
115602
|
-
const
|
|
115603
|
-
|
|
115604
|
-
|
|
115601
|
+
function getExtraDependencies(projectName, graph) {
|
|
115602
|
+
const deps = /* @__PURE__ */ new Map();
|
|
115603
|
+
recur(projectName);
|
|
115604
|
+
function recur(currProjectName) {
|
|
115605
|
+
const allDeps = graph.dependencies[currProjectName];
|
|
115606
|
+
const externalDeps = allDeps.reduce((acc, node) => {
|
|
115605
115607
|
const found = graph.externalNodes[node.target];
|
|
115606
115608
|
if (found)
|
|
115607
115609
|
acc.push(found);
|
|
115608
115610
|
return acc;
|
|
115609
|
-
}, [])
|
|
115610
|
-
|
|
115611
|
+
}, []);
|
|
115612
|
+
const internalDeps = allDeps.reduce((acc, node) => {
|
|
115613
|
+
const found = graph.nodes[node.target];
|
|
115614
|
+
if (found)
|
|
115615
|
+
acc.push(found);
|
|
115616
|
+
return acc;
|
|
115617
|
+
}, []);
|
|
115618
|
+
for (const externalDep of externalDeps) {
|
|
115619
|
+
deps.set(externalDep.name, {
|
|
115620
|
+
name: externalDep.name,
|
|
115621
|
+
outputs: [],
|
|
115622
|
+
node: externalDep
|
|
115623
|
+
});
|
|
115624
|
+
}
|
|
115625
|
+
for (const internalDep of internalDeps) {
|
|
115626
|
+
recur(internalDep.name);
|
|
115627
|
+
}
|
|
115628
|
+
}
|
|
115629
|
+
return Array.from(deps.values());
|
|
115611
115630
|
}
|
|
115612
115631
|
|
|
115613
115632
|
// packages/workspace-tools/src/executors/tsup/executor.ts
|
|
@@ -115717,7 +115736,7 @@ ${Object.keys(options).map(
|
|
|
115717
115736
|
return ret;
|
|
115718
115737
|
}, options.external);
|
|
115719
115738
|
}
|
|
115720
|
-
for (const thirdPartyDependency of
|
|
115739
|
+
for (const thirdPartyDependency of getExtraDependencies(
|
|
115721
115740
|
context.projectName,
|
|
115722
115741
|
context.projectGraph
|
|
115723
115742
|
)) {
|
|
@@ -115725,7 +115744,7 @@ ${Object.keys(options).map(
|
|
|
115725
115744
|
if (packageConfig?.packageName && config?.externalPackagePatterns?.some(
|
|
115726
115745
|
(pattern) => packageConfig.packageName.includes(pattern)
|
|
115727
115746
|
) && !externalDependencies?.some(
|
|
115728
|
-
(externalDependency) => externalDependency.name
|
|
115747
|
+
(externalDependency) => externalDependency.name === packageConfig.packageName
|
|
115729
115748
|
)) {
|
|
115730
115749
|
externalDependencies.push(thirdPartyDependency);
|
|
115731
115750
|
}
|
|
@@ -115755,6 +115774,9 @@ ${externalDependencies.map((dep) => {
|
|
|
115755
115774
|
if (options.entry) {
|
|
115756
115775
|
entryPoints.push(options.entry);
|
|
115757
115776
|
}
|
|
115777
|
+
if (options.additionalEntryPoints) {
|
|
115778
|
+
entryPoints.push(...options.additionalEntryPoints);
|
|
115779
|
+
}
|
|
115758
115780
|
if (options.emitOnAll === true) {
|
|
115759
115781
|
entryPoints = globSync((0, import_devkit3.joinPathFragments)(sourceRoot, "**/*.{ts,tsx}"), {
|
|
115760
115782
|
withFileTypes: true
|
|
@@ -115782,9 +115804,6 @@ ${externalDependencies.map((dep) => {
|
|
|
115782
115804
|
return ret;
|
|
115783
115805
|
}, entryPoints);
|
|
115784
115806
|
}
|
|
115785
|
-
if (options.additionalEntryPoints) {
|
|
115786
|
-
entryPoints.push(...options.additionalEntryPoints);
|
|
115787
|
-
}
|
|
115788
115807
|
if (options.generatePackageJson !== false) {
|
|
115789
115808
|
const projectGraph = (0, import_devkit3.readCachedProjectGraph)();
|
|
115790
115809
|
packageJson.dependencies = void 0;
|
|
@@ -115922,7 +115941,7 @@ ${(0, import_node_fs5.readFileSync)(file, "utf-8")}`,
|
|
|
115922
115941
|
)
|
|
115923
115942
|
);
|
|
115924
115943
|
}
|
|
115925
|
-
await Promise.
|
|
115944
|
+
await Promise.allSettled(
|
|
115926
115945
|
entryPoints.map(
|
|
115927
115946
|
(entryPoint) => runTsupBuild(
|
|
115928
115947
|
{
|
|
@@ -109373,7 +109373,7 @@ var build = async (options, config) => {
|
|
|
109373
109373
|
writeDebug(
|
|
109374
109374
|
config,
|
|
109375
109375
|
`\u2699\uFE0F Tsup Build options:
|
|
109376
|
-
${_isFunction2(tsupOptions) ? Object.keys(tsupOptions).map(
|
|
109376
|
+
${!_isFunction2(tsupOptions) ? Object.keys(tsupOptions).map(
|
|
109377
109377
|
(key) => `${key}: ${!tsupOptions[key] || _isPrimitive(tsupOptions[key]) ? tsupOptions[key] : _isFunction2(tsupOptions[key]) ? "<function>" : JSON.stringify(tsupOptions[key])}`
|
|
109378
109378
|
).join("\n") : "<function>"}
|
|
109379
109379
|
`
|
|
@@ -115598,16 +115598,35 @@ var import_retrieve_workspace_files = require("nx/src/project-graph/utils/retrie
|
|
|
115598
115598
|
var getProjectConfigurations = () => (0, import_retrieve_workspace_files.retrieveProjectConfigurationsWithoutPluginInference)(getWorkspaceRoot());
|
|
115599
115599
|
|
|
115600
115600
|
// packages/workspace-tools/src/utils/get-project-deps.ts
|
|
115601
|
-
function
|
|
115602
|
-
const
|
|
115603
|
-
|
|
115604
|
-
|
|
115601
|
+
function getExtraDependencies(projectName, graph) {
|
|
115602
|
+
const deps = /* @__PURE__ */ new Map();
|
|
115603
|
+
recur(projectName);
|
|
115604
|
+
function recur(currProjectName) {
|
|
115605
|
+
const allDeps = graph.dependencies[currProjectName];
|
|
115606
|
+
const externalDeps = allDeps.reduce((acc, node) => {
|
|
115605
115607
|
const found = graph.externalNodes[node.target];
|
|
115606
115608
|
if (found)
|
|
115607
115609
|
acc.push(found);
|
|
115608
115610
|
return acc;
|
|
115609
|
-
}, [])
|
|
115610
|
-
|
|
115611
|
+
}, []);
|
|
115612
|
+
const internalDeps = allDeps.reduce((acc, node) => {
|
|
115613
|
+
const found = graph.nodes[node.target];
|
|
115614
|
+
if (found)
|
|
115615
|
+
acc.push(found);
|
|
115616
|
+
return acc;
|
|
115617
|
+
}, []);
|
|
115618
|
+
for (const externalDep of externalDeps) {
|
|
115619
|
+
deps.set(externalDep.name, {
|
|
115620
|
+
name: externalDep.name,
|
|
115621
|
+
outputs: [],
|
|
115622
|
+
node: externalDep
|
|
115623
|
+
});
|
|
115624
|
+
}
|
|
115625
|
+
for (const internalDep of internalDeps) {
|
|
115626
|
+
recur(internalDep.name);
|
|
115627
|
+
}
|
|
115628
|
+
}
|
|
115629
|
+
return Array.from(deps.values());
|
|
115611
115630
|
}
|
|
115612
115631
|
|
|
115613
115632
|
// packages/workspace-tools/src/executors/tsup/executor.ts
|
|
@@ -115717,7 +115736,7 @@ ${Object.keys(options).map(
|
|
|
115717
115736
|
return ret;
|
|
115718
115737
|
}, options.external);
|
|
115719
115738
|
}
|
|
115720
|
-
for (const thirdPartyDependency of
|
|
115739
|
+
for (const thirdPartyDependency of getExtraDependencies(
|
|
115721
115740
|
context.projectName,
|
|
115722
115741
|
context.projectGraph
|
|
115723
115742
|
)) {
|
|
@@ -115725,7 +115744,7 @@ ${Object.keys(options).map(
|
|
|
115725
115744
|
if (packageConfig?.packageName && config?.externalPackagePatterns?.some(
|
|
115726
115745
|
(pattern) => packageConfig.packageName.includes(pattern)
|
|
115727
115746
|
) && !externalDependencies?.some(
|
|
115728
|
-
(externalDependency) => externalDependency.name
|
|
115747
|
+
(externalDependency) => externalDependency.name === packageConfig.packageName
|
|
115729
115748
|
)) {
|
|
115730
115749
|
externalDependencies.push(thirdPartyDependency);
|
|
115731
115750
|
}
|
|
@@ -115755,6 +115774,9 @@ ${externalDependencies.map((dep) => {
|
|
|
115755
115774
|
if (options.entry) {
|
|
115756
115775
|
entryPoints.push(options.entry);
|
|
115757
115776
|
}
|
|
115777
|
+
if (options.additionalEntryPoints) {
|
|
115778
|
+
entryPoints.push(...options.additionalEntryPoints);
|
|
115779
|
+
}
|
|
115758
115780
|
if (options.emitOnAll === true) {
|
|
115759
115781
|
entryPoints = globSync((0, import_devkit3.joinPathFragments)(sourceRoot, "**/*.{ts,tsx}"), {
|
|
115760
115782
|
withFileTypes: true
|
|
@@ -115782,9 +115804,6 @@ ${externalDependencies.map((dep) => {
|
|
|
115782
115804
|
return ret;
|
|
115783
115805
|
}, entryPoints);
|
|
115784
115806
|
}
|
|
115785
|
-
if (options.additionalEntryPoints) {
|
|
115786
|
-
entryPoints.push(...options.additionalEntryPoints);
|
|
115787
|
-
}
|
|
115788
115807
|
if (options.generatePackageJson !== false) {
|
|
115789
115808
|
const projectGraph = (0, import_devkit3.readCachedProjectGraph)();
|
|
115790
115809
|
packageJson.dependencies = void 0;
|
|
@@ -115922,7 +115941,7 @@ ${(0, import_node_fs5.readFileSync)(file, "utf-8")}`,
|
|
|
115922
115941
|
)
|
|
115923
115942
|
);
|
|
115924
115943
|
}
|
|
115925
|
-
await Promise.
|
|
115944
|
+
await Promise.allSettled(
|
|
115926
115945
|
entryPoints.map(
|
|
115927
115946
|
(entryPoint) => runTsupBuild(
|
|
115928
115947
|
{
|
package/src/utils/index.js
CHANGED
|
@@ -119532,7 +119532,7 @@ var build = async (options, config) => {
|
|
|
119532
119532
|
writeDebug(
|
|
119533
119533
|
config,
|
|
119534
119534
|
`\u2699\uFE0F Tsup Build options:
|
|
119535
|
-
${_isFunction(tsupOptions) ? Object.keys(tsupOptions).map(
|
|
119535
|
+
${!_isFunction(tsupOptions) ? Object.keys(tsupOptions).map(
|
|
119536
119536
|
(key) => `${key}: ${!tsupOptions[key] || _isPrimitive(tsupOptions[key]) ? tsupOptions[key] : _isFunction(tsupOptions[key]) ? "<function>" : JSON.stringify(tsupOptions[key])}`
|
|
119537
119537
|
).join("\n") : "<function>"}
|
|
119538
119538
|
`
|