@storm-software/workspace-tools 1.181.1 → 1.182.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/workspace-tools",
3
- "version": "1.181.1",
3
+ "version": "1.182.1",
4
4
  "type": "commonjs",
5
5
  "description": "⚡ A Nx plugin package that contains various executors and generators used in a Storm workspaces.",
6
6
  "repository": {
@@ -202270,15 +202270,13 @@ async function createInput(options) {
202270
202270
  );
202271
202271
  options.additionalEntryPoints?.forEach((entry) => {
202272
202272
  const entryPoint = correctPaths2((0, import_node_path13.join)(options.config.workspaceRoot, entry));
202273
- let entryName = entryPoint.includes(
202274
- options.sourceRoot.replaceAll("\\", "/")
202275
- ) ? entryPoint.replace(options.sourceRoot.replaceAll("\\", "/"), "") : entryPoint.replace(
202276
- options.config.workspaceRoot.replaceAll("\\", "/"),
202273
+ const entryName = `.${entryPoint.replace(
202274
+ (0, import_node_path13.join)(options.config.workspaceRoot, options.sourceRoot).replaceAll(
202275
+ "\\",
202276
+ "/"
202277
+ ),
202277
202278
  ""
202278
- );
202279
- if (entryName.startsWith("/")) {
202280
- entryName = entryName.slice(1);
202281
- }
202279
+ )}`;
202282
202280
  input[entryName] = entryPoint;
202283
202281
  });
202284
202282
  return Object.keys(input).reduce((ret, key) => {