@storm-software/workspace-tools 1.49.28 → 1.49.29
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 +16 -13
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/executors/tsup/executor.js +1 -0
- package/src/executors/tsup-browser/executor.js +6 -5
- package/src/executors/tsup-neutral/executor.js +6 -5
- package/src/executors/tsup-node/executor.js +6 -5
- package/src/utils/index.js +1 -0
package/package.json
CHANGED
|
@@ -115441,6 +115441,7 @@ var runTsupBuild = async (context, config, options) => {
|
|
|
115441
115441
|
const getConfigOptions = {
|
|
115442
115442
|
...options,
|
|
115443
115443
|
main: context.main,
|
|
115444
|
+
entry: { [removeExtension(context.main).replace(context.sourceRoot, "")]: context.main },
|
|
115444
115445
|
define: {
|
|
115445
115446
|
__STORM_CONFIG: JSON.stringify(stormEnv)
|
|
115446
115447
|
},
|
|
@@ -109215,6 +109215,11 @@ var outExtension = ({ format: format2 }) => {
|
|
|
109215
109215
|
};
|
|
109216
109216
|
};
|
|
109217
109217
|
|
|
109218
|
+
// packages/workspace-tools/src/utils/file-path-utils.ts
|
|
109219
|
+
var removeExtension = (filePath) => {
|
|
109220
|
+
return filePath.lastIndexOf(".") ? filePath.substring(0, filePath.lastIndexOf(".")) : filePath;
|
|
109221
|
+
};
|
|
109222
|
+
|
|
109218
109223
|
// packages/workspace-tools/src/utils/run-tsup-build.ts
|
|
109219
109224
|
var applyDefaultOptions = (options) => {
|
|
109220
109225
|
options.entry ??= "{sourceRoot}/index.ts";
|
|
@@ -109264,6 +109269,7 @@ var runTsupBuild = async (context, config, options) => {
|
|
|
109264
109269
|
const getConfigOptions = {
|
|
109265
109270
|
...options,
|
|
109266
109271
|
main: context.main,
|
|
109272
|
+
entry: { [removeExtension(context.main).replace(context.sourceRoot, "")]: context.main },
|
|
109267
109273
|
define: {
|
|
109268
109274
|
__STORM_CONFIG: JSON.stringify(stormEnv)
|
|
109269
109275
|
},
|
|
@@ -115584,11 +115590,6 @@ glob.glob = glob;
|
|
|
115584
115590
|
var import_fileutils = require("nx/src/utils/fileutils");
|
|
115585
115591
|
var import_prettier = require("prettier");
|
|
115586
115592
|
|
|
115587
|
-
// packages/workspace-tools/src/utils/file-path-utils.ts
|
|
115588
|
-
var removeExtension = (filePath) => {
|
|
115589
|
-
return filePath.lastIndexOf(".") ? filePath.substring(0, filePath.lastIndexOf(".")) : filePath;
|
|
115590
|
-
};
|
|
115591
|
-
|
|
115592
115593
|
// packages/workspace-tools/src/utils/get-project-configurations.ts
|
|
115593
115594
|
var import_retrieve_workspace_files = require("nx/src/project-graph/utils/retrieve-workspace-files");
|
|
115594
115595
|
var getProjectConfigurations = () => (0, import_retrieve_workspace_files.retrieveProjectConfigurationsWithoutPluginInference)(getWorkspaceRoot());
|
|
@@ -109215,6 +109215,11 @@ var outExtension = ({ format: format2 }) => {
|
|
|
109215
109215
|
};
|
|
109216
109216
|
};
|
|
109217
109217
|
|
|
109218
|
+
// packages/workspace-tools/src/utils/file-path-utils.ts
|
|
109219
|
+
var removeExtension = (filePath) => {
|
|
109220
|
+
return filePath.lastIndexOf(".") ? filePath.substring(0, filePath.lastIndexOf(".")) : filePath;
|
|
109221
|
+
};
|
|
109222
|
+
|
|
109218
109223
|
// packages/workspace-tools/src/utils/run-tsup-build.ts
|
|
109219
109224
|
var applyDefaultOptions = (options) => {
|
|
109220
109225
|
options.entry ??= "{sourceRoot}/index.ts";
|
|
@@ -109264,6 +109269,7 @@ var runTsupBuild = async (context, config, options) => {
|
|
|
109264
109269
|
const getConfigOptions = {
|
|
109265
109270
|
...options,
|
|
109266
109271
|
main: context.main,
|
|
109272
|
+
entry: { [removeExtension(context.main).replace(context.sourceRoot, "")]: context.main },
|
|
109267
109273
|
define: {
|
|
109268
109274
|
__STORM_CONFIG: JSON.stringify(stormEnv)
|
|
109269
109275
|
},
|
|
@@ -115584,11 +115590,6 @@ glob.glob = glob;
|
|
|
115584
115590
|
var import_fileutils = require("nx/src/utils/fileutils");
|
|
115585
115591
|
var import_prettier = require("prettier");
|
|
115586
115592
|
|
|
115587
|
-
// packages/workspace-tools/src/utils/file-path-utils.ts
|
|
115588
|
-
var removeExtension = (filePath) => {
|
|
115589
|
-
return filePath.lastIndexOf(".") ? filePath.substring(0, filePath.lastIndexOf(".")) : filePath;
|
|
115590
|
-
};
|
|
115591
|
-
|
|
115592
115593
|
// packages/workspace-tools/src/utils/get-project-configurations.ts
|
|
115593
115594
|
var import_retrieve_workspace_files = require("nx/src/project-graph/utils/retrieve-workspace-files");
|
|
115594
115595
|
var getProjectConfigurations = () => (0, import_retrieve_workspace_files.retrieveProjectConfigurationsWithoutPluginInference)(getWorkspaceRoot());
|
|
@@ -109215,6 +109215,11 @@ var outExtension = ({ format: format2 }) => {
|
|
|
109215
109215
|
};
|
|
109216
109216
|
};
|
|
109217
109217
|
|
|
109218
|
+
// packages/workspace-tools/src/utils/file-path-utils.ts
|
|
109219
|
+
var removeExtension = (filePath) => {
|
|
109220
|
+
return filePath.lastIndexOf(".") ? filePath.substring(0, filePath.lastIndexOf(".")) : filePath;
|
|
109221
|
+
};
|
|
109222
|
+
|
|
109218
109223
|
// packages/workspace-tools/src/utils/run-tsup-build.ts
|
|
109219
109224
|
var applyDefaultOptions = (options) => {
|
|
109220
109225
|
options.entry ??= "{sourceRoot}/index.ts";
|
|
@@ -109264,6 +109269,7 @@ var runTsupBuild = async (context, config, options) => {
|
|
|
109264
109269
|
const getConfigOptions = {
|
|
109265
109270
|
...options,
|
|
109266
109271
|
main: context.main,
|
|
109272
|
+
entry: { [removeExtension(context.main).replace(context.sourceRoot, "")]: context.main },
|
|
109267
109273
|
define: {
|
|
109268
109274
|
__STORM_CONFIG: JSON.stringify(stormEnv)
|
|
109269
109275
|
},
|
|
@@ -115584,11 +115590,6 @@ glob.glob = glob;
|
|
|
115584
115590
|
var import_fileutils = require("nx/src/utils/fileutils");
|
|
115585
115591
|
var import_prettier = require("prettier");
|
|
115586
115592
|
|
|
115587
|
-
// packages/workspace-tools/src/utils/file-path-utils.ts
|
|
115588
|
-
var removeExtension = (filePath) => {
|
|
115589
|
-
return filePath.lastIndexOf(".") ? filePath.substring(0, filePath.lastIndexOf(".")) : filePath;
|
|
115590
|
-
};
|
|
115591
|
-
|
|
115592
115593
|
// packages/workspace-tools/src/utils/get-project-configurations.ts
|
|
115593
115594
|
var import_retrieve_workspace_files = require("nx/src/project-graph/utils/retrieve-workspace-files");
|
|
115594
115595
|
var getProjectConfigurations = () => (0, import_retrieve_workspace_files.retrieveProjectConfigurationsWithoutPluginInference)(getWorkspaceRoot());
|
package/src/utils/index.js
CHANGED
|
@@ -119428,6 +119428,7 @@ var runTsupBuild = async (context, config, options) => {
|
|
|
119428
119428
|
const getConfigOptions = {
|
|
119429
119429
|
...options,
|
|
119430
119430
|
main: context.main,
|
|
119431
|
+
entry: { [removeExtension(context.main).replace(context.sourceRoot, "")]: context.main },
|
|
119431
119432
|
define: {
|
|
119432
119433
|
__STORM_CONFIG: JSON.stringify(stormEnv)
|
|
119433
119434
|
},
|