@storm-software/workspace-tools 1.21.13 → 1.21.15
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 +12 -8
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/executors/tsup/executor.js +12 -8
- package/src/executors/tsup-neutral/executor.js +12 -8
- package/src/executors/tsup-node/executor.js +12 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [1.21.14](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.21.13...workspace-tools-v1.21.14) (2023-12-03)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **workspace-tools:** Ensure correct env values are passed to tsup build ([da0ba21](https://github.com/storm-software/storm-ops/commit/da0ba21533641a729f284bdbcbf061f699b4cfc3))
|
|
7
|
+
|
|
8
|
+
## [1.21.13](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.21.12...workspace-tools-v1.21.13) (2023-12-03)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **workspace-tools:** Ensure only storm env are written to build package ([16d7fc9](https://github.com/storm-software/storm-ops/commit/16d7fc90c831d89e0d79bc02683c8a3ad7af63ce))
|
|
14
|
+
|
|
1
15
|
## [1.21.12](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.21.11...workspace-tools-v1.21.12) (2023-12-03)
|
|
2
16
|
|
|
3
17
|
|
package/index.js
CHANGED
|
@@ -116041,6 +116041,10 @@ ${(0, import_fs3.readFileSync)(file, "utf-8")}`,
|
|
|
116041
116041
|
)
|
|
116042
116042
|
);
|
|
116043
116043
|
}
|
|
116044
|
+
const stormEnv = Object.keys(options.env).filter((key) => key.startsWith("STORM_")).reduce((ret, key) => {
|
|
116045
|
+
ret[key] = options.env[key];
|
|
116046
|
+
return ret;
|
|
116047
|
+
}, {});
|
|
116044
116048
|
options.plugins.push(await (0, import_decky.load)());
|
|
116045
116049
|
options.plugins.push(
|
|
116046
116050
|
(0, import_esbuild_decorators.esbuildDecorators)({
|
|
@@ -116048,16 +116052,16 @@ ${(0, import_fs3.readFileSync)(file, "utf-8")}`,
|
|
|
116048
116052
|
cwd: workspaceRoot
|
|
116049
116053
|
})
|
|
116050
116054
|
);
|
|
116051
|
-
options.plugins.push(
|
|
116052
|
-
environmentPlugin(
|
|
116053
|
-
Object.keys(options.env).filter((key) => key.startsWith("STORM_")).reduce((ret, key) => {
|
|
116054
|
-
ret[key] = options.env[key];
|
|
116055
|
-
return ret;
|
|
116056
|
-
}, {})
|
|
116057
|
-
)
|
|
116058
|
-
);
|
|
116055
|
+
options.plugins.push(environmentPlugin(stormEnv));
|
|
116059
116056
|
const config = getConfig(context.root, projectRoot, sourceRoot, {
|
|
116060
116057
|
...options,
|
|
116058
|
+
define: {
|
|
116059
|
+
__STORM_CONFIG: JSON.stringify(stormEnv)
|
|
116060
|
+
},
|
|
116061
|
+
env: {
|
|
116062
|
+
__STORM_CONFIG: JSON.stringify(stormEnv),
|
|
116063
|
+
...stormEnv
|
|
116064
|
+
},
|
|
116061
116065
|
dtsTsConfig: getNormalizedTsConfig(
|
|
116062
116066
|
context.root,
|
|
116063
116067
|
options.outputPath,
|