@storm-software/workspace-tools 1.30.12 → 1.30.14
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 +40 -48
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/executors/tsup/executor.js +40 -48
- package/src/executors/tsup/get-config.js +1 -1
- package/src/executors/tsup-browser/executor.js +40 -48
- package/src/executors/tsup-neutral/executor.js +40 -48
- package/src/executors/tsup-node/executor.js +40 -48
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [1.30.13](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.30.12...workspace-tools-v1.30.13) (2023-12-15)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **workspace-tools:** Resolve issue with type generations ([0873d59](https://github.com/storm-software/storm-ops/commit/0873d5947d6ef4540ccb55e0363801eb6ec3af7a))
|
|
7
|
+
|
|
8
|
+
## [1.30.12](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.30.11...workspace-tools-v1.30.12) (2023-12-15)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **workspace-tools:** Resolved issue with bad `entry` option passed to tsup ([39c1ceb](https://github.com/storm-software/storm-ops/commit/39c1ceb98f99f722fe3bce62d6d0154bfd097d00))
|
|
14
|
+
|
|
1
15
|
## [1.30.11](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.30.10...workspace-tools-v1.30.11) (2023-12-15)
|
|
2
16
|
|
|
3
17
|
|
package/index.js
CHANGED
|
@@ -117234,7 +117234,7 @@ function modernConfig({
|
|
|
117234
117234
|
"ios15",
|
|
117235
117235
|
"opera77",
|
|
117236
117236
|
"esnext"
|
|
117237
|
-
] : ["esnext", "
|
|
117237
|
+
] : ["esnext", "node20"],
|
|
117238
117238
|
tsconfig,
|
|
117239
117239
|
splitting,
|
|
117240
117240
|
generatePackageJson,
|
|
@@ -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 {
|