@storm-software/workspace-tools 1.30.11 → 1.30.13
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 +39 -47
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/executors/tsup/executor.js +39 -47
- package/src/executors/tsup-browser/executor.js +39 -47
- package/src/executors/tsup-neutral/executor.js +39 -47
- package/src/executors/tsup-node/executor.js +39 -47
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [1.30.12](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.30.11...workspace-tools-v1.30.12) (2023-12-15)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **workspace-tools:** Resolved issue with bad `entry` option passed to tsup ([39c1ceb](https://github.com/storm-software/storm-ops/commit/39c1ceb98f99f722fe3bce62d6d0154bfd097d00))
|
|
7
|
+
|
|
8
|
+
## [1.30.11](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.30.10...workspace-tools-v1.30.11) (2023-12-15)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **workspace-tools:** Added logging for troubleshooting entry points on build ([7f4d9c1](https://github.com/storm-software/storm-ops/commit/7f4d9c176aa171e0c7bb6f3b073bd233c366a3eb))
|
|
14
|
+
|
|
1
15
|
## [1.30.10](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.30.9...workspace-tools-v1.30.10) (2023-12-15)
|
|
2
16
|
|
|
3
17
|
|
package/index.js
CHANGED
|
@@ -117616,15 +117616,15 @@ ${externalDependencies.map((dep) => {
|
|
|
117616
117616
|
if (!ret[packageJsonKey]) {
|
|
117617
117617
|
ret[packageJsonKey] = {
|
|
117618
117618
|
import: {
|
|
117619
|
-
types:
|
|
117619
|
+
types: "./dist/modern/index.d.ts",
|
|
117620
117620
|
default: `./dist/modern/${key}.js`
|
|
117621
117621
|
},
|
|
117622
117622
|
require: {
|
|
117623
|
-
types:
|
|
117623
|
+
types: "./dist/modern/index.d.cts",
|
|
117624
117624
|
default: `./dist/modern/${key}.cjs`
|
|
117625
117625
|
},
|
|
117626
117626
|
default: {
|
|
117627
|
-
types:
|
|
117627
|
+
types: "./dist/modern/index.d.ts",
|
|
117628
117628
|
default: `./dist/modern/${key}.js`
|
|
117629
117629
|
}
|
|
117630
117630
|
};
|
|
@@ -117719,58 +117719,50 @@ ${(0, import_fs3.readFileSync)(file, "utf-8")}`,
|
|
|
117719
117719
|
})
|
|
117720
117720
|
);
|
|
117721
117721
|
options.plugins.push(environmentPlugin(stormEnv));
|
|
117722
|
-
|
|
117723
|
-
|
|
117724
|
-
|
|
117725
|
-
|
|
117726
|
-
|
|
117727
|
-
|
|
117728
|
-
|
|
117729
|
-
|
|
117730
|
-
|
|
117731
|
-
|
|
117732
|
-
|
|
117733
|
-
|
|
117734
|
-
|
|
117722
|
+
const getConfigOptions = {
|
|
117723
|
+
...options,
|
|
117724
|
+
define: {
|
|
117725
|
+
__STORM_CONFIG: JSON.stringify(stormEnv)
|
|
117726
|
+
},
|
|
117727
|
+
env: {
|
|
117728
|
+
__STORM_CONFIG: JSON.stringify(stormEnv),
|
|
117729
|
+
...stormEnv
|
|
117730
|
+
},
|
|
117731
|
+
dtsTsConfig: getNormalizedTsConfig(
|
|
117732
|
+
context.root,
|
|
117733
|
+
options.outputPath,
|
|
117734
|
+
(0, import_tsc.createTypeScriptCompilationOptions)(
|
|
117735
|
+
(0, import_normalize_options.normalizeOptions)(
|
|
117736
|
+
{
|
|
117737
|
+
...options,
|
|
117738
|
+
watch: false,
|
|
117739
|
+
main: options.entry,
|
|
117740
|
+
transformers: []
|
|
117741
|
+
},
|
|
117735
117742
|
context.root,
|
|
117736
|
-
|
|
117737
|
-
|
|
117738
|
-
(0, import_normalize_options.normalizeOptions)(
|
|
117739
|
-
{
|
|
117740
|
-
...options,
|
|
117741
|
-
watch: false,
|
|
117742
|
-
main: entry[key],
|
|
117743
|
-
transformers: []
|
|
117744
|
-
},
|
|
117745
|
-
context.root,
|
|
117746
|
-
sourceRoot,
|
|
117747
|
-
workspaceRoot
|
|
117748
|
-
),
|
|
117749
|
-
context
|
|
117750
|
-
)
|
|
117743
|
+
sourceRoot,
|
|
117744
|
+
workspaceRoot
|
|
117751
117745
|
),
|
|
117752
|
-
|
|
117753
|
-
|
|
117746
|
+
context
|
|
117747
|
+
)
|
|
117748
|
+
),
|
|
117749
|
+
banner: options.banner ? {
|
|
117750
|
+
js: `${options.banner}
|
|
117754
117751
|
|
|
117755
117752
|
`,
|
|
117756
|
-
|
|
117753
|
+
css: `/*
|
|
117757
117754
|
${options.banner}
|
|
117758
117755
|
*/
|
|
117759
117756
|
|
|
117760
117757
|
`
|
|
117761
|
-
|
|
117762
|
-
|
|
117763
|
-
|
|
117764
|
-
|
|
117765
|
-
|
|
117766
|
-
|
|
117767
|
-
|
|
117768
|
-
|
|
117769
|
-
getConfig(context.root, projectRoot, modernConfig, getConfigOptions)
|
|
117770
|
-
);
|
|
117771
|
-
return ret;
|
|
117772
|
-
}, [])
|
|
117773
|
-
);
|
|
117758
|
+
} : void 0,
|
|
117759
|
+
outputPath: options.outputPath,
|
|
117760
|
+
entry
|
|
117761
|
+
};
|
|
117762
|
+
const config = (0, import_tsup.defineConfig)([
|
|
117763
|
+
getConfig(context.root, projectRoot, legacyConfig, getConfigOptions),
|
|
117764
|
+
getConfig(context.root, projectRoot, modernConfig, getConfigOptions)
|
|
117765
|
+
]);
|
|
117774
117766
|
if (typeof config === "function") {
|
|
117775
117767
|
await build(await Promise.resolve(config({})));
|
|
117776
117768
|
} else {
|