@storm-software/workspace-tools 1.52.13 → 1.52.16

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 CHANGED
@@ -1,3 +1,17 @@
1
+
2
+
3
+ ## 1.52.15 (2024-01-29)
4
+
5
+
6
+ ### 🩹 Fixes
7
+
8
+ - **workspace-tools:** Remove the workspace root from the entry path ([b3916264](https://github.com/storm-software/storm-ops/commit/b3916264))
9
+
10
+
11
+ ### ❤️ Thank You
12
+
13
+ - Patrick Sullivan
14
+
1
15
  ## 1.52.13 (2024-01-29)
2
16
 
3
17
 
package/index.js CHANGED
@@ -133242,8 +133242,9 @@ var runTsupBuild = async (context, config, options) => {
133242
133242
  options.plugins.push(environmentPlugin(stormEnv));
133243
133243
  const getConfigOptions = {
133244
133244
  ...options,
133245
- main: context.main,
133246
- entry: { [removeExtension(context.main).replace(context.sourceRoot, "")]: context.main },
133245
+ entry: {
133246
+ [removeExtension(context.main).replace(config.workspaceRoot, "").replace(context.sourceRoot, "")]: context.main
133247
+ },
133247
133248
  define: {
133248
133249
  __STORM_CONFIG: JSON.stringify(stormEnv)
133249
133250
  },
@@ -133311,7 +133312,9 @@ function getNormalizedTsConfig(context, workspaceRoot, outputPath, options) {
133311
133312
  ...config,
133312
133313
  compilerOptions: {
133313
133314
  ...config.compilerOptions,
133314
- entry: { [removeExtension(context.main).replace(context.sourceRoot, "")]: context.main },
133315
+ entry: {
133316
+ [removeExtension(context.main).replace(workspaceRoot, "").replace(context.sourceRoot, "")]: context.main
133317
+ },
133315
133318
  outDir: outputPath,
133316
133319
  rootDir: workspaceRoot,
133317
133320
  baseUrl: workspaceRoot,