@storm-software/workspace-tools 1.49.20 → 1.49.21
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 +12 -0
- package/index.js +5 -12
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/base/index.js +1 -1
- package/src/executors/design-tokens/executor.js +1 -1
- package/src/executors/tsup/executor.js +3 -10
- package/src/executors/tsup/schema.d.ts +1 -3
- package/src/executors/tsup-browser/executor.js +3 -10
- package/src/executors/tsup-neutral/executor.js +3 -10
- package/src/executors/tsup-node/executor.js +5 -12
- package/src/executors/typia/executor.js +1 -1
- package/src/generators/browser-library/generator.js +1 -1
- package/src/generators/config-schema/generator.js +1 -1
- package/src/generators/neutral-library/generator.js +1 -1
- package/src/generators/node-library/generator.js +1 -1
- package/src/generators/preset/generator.js +1 -1
- package/src/utils/index.js +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
## 1.49.21 (2024-01-25)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### 🩹 Fixes
|
|
5
|
+
|
|
6
|
+
- **workspace-tools:** Updates to method of providing `getConfig` parameter ([d4b95d86](https://github.com/storm-software/storm-ops/commit/d4b95d86))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### ❤️ Thank You
|
|
10
|
+
|
|
11
|
+
- Patrick Sullivan
|
|
12
|
+
|
|
1
13
|
## 1.49.20 (2024-01-25)
|
|
2
14
|
|
|
3
15
|
|
package/index.js
CHANGED
|
@@ -130121,7 +130121,7 @@ ${chalk.bold.hex(config?.colors?.success ? config.colors.success : "#087f5b")(">
|
|
|
130121
130121
|
return (message) => {
|
|
130122
130122
|
console.debug(
|
|
130123
130123
|
`
|
|
130124
|
-
${chalk.bold.hex(config?.colors?.primary ? config.colors.primary : "#1fb2a6")(">")} ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white(" \u{1F6E0}
|
|
130124
|
+
${chalk.bold.hex(config?.colors?.primary ? config.colors.primary : "#1fb2a6")(">")} ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white(" \u{1F6E0} Debug ")} ${chalk.hex(
|
|
130125
130125
|
config?.colors?.primary ? config.colors.primary : "#1fb2a6"
|
|
130126
130126
|
)(message)}
|
|
130127
130127
|
`
|
|
@@ -132871,7 +132871,7 @@ ${options.banner}
|
|
|
132871
132871
|
).join("\n")}
|
|
132872
132872
|
`
|
|
132873
132873
|
);
|
|
132874
|
-
const getConfigFns =
|
|
132874
|
+
const getConfigFns = [options.getConfig];
|
|
132875
132875
|
const tsupConfig = (0, import_tsup.defineConfig)(
|
|
132876
132876
|
getConfigFns.map(
|
|
132877
132877
|
(getConfigFn) => getConfig(config.workspaceRoot, context.projectRoot, getConfigFn, getConfigOptions)
|
|
@@ -139407,7 +139407,7 @@ ${externalDependencies.map((dep) => {
|
|
|
139407
139407
|
packageJson.dependencies[packageName] = "latest";
|
|
139408
139408
|
}
|
|
139409
139409
|
}
|
|
139410
|
-
const distPaths =
|
|
139410
|
+
const distPaths = ["dist/"];
|
|
139411
139411
|
packageJson.type = "module";
|
|
139412
139412
|
if (distPaths.length > 0) {
|
|
139413
139413
|
packageJson.exports ??= {
|
|
@@ -139570,13 +139570,6 @@ var _isPrimitive2 = (value) => {
|
|
|
139570
139570
|
return false;
|
|
139571
139571
|
}
|
|
139572
139572
|
};
|
|
139573
|
-
var _isFunction2 = (value) => {
|
|
139574
|
-
try {
|
|
139575
|
-
return value instanceof Function || typeof value === "function" || !!(value?.constructor && value?.call && value?.apply);
|
|
139576
|
-
} catch (e) {
|
|
139577
|
-
return false;
|
|
139578
|
-
}
|
|
139579
|
-
};
|
|
139580
139573
|
|
|
139581
139574
|
// packages/workspace-tools/src/executors/tsup-neutral/get-config.ts
|
|
139582
139575
|
var import_devkit5 = __toESM(require_devkit());
|
|
@@ -139797,7 +139790,6 @@ var tsupNodeBuildExecutorFn = (options, context, config) => {
|
|
|
139797
139790
|
return tsupExecutorFn(
|
|
139798
139791
|
{
|
|
139799
139792
|
...options,
|
|
139800
|
-
getConfig: nodeConfig,
|
|
139801
139793
|
platform: "node",
|
|
139802
139794
|
banner: getFileBanner(
|
|
139803
139795
|
context.projectName ? context.projectName.split(/(?=[A-Z])|[\.\-\s_]/).map((s) => s.trim()).filter((s) => !!s).map((s) => s ? s.toUpperCase()[0] + s.toLowerCase().slice(1) : "").join(" ") : "TypeScript (NodeJs Platform)"
|
|
@@ -139807,7 +139799,8 @@ var tsupNodeBuildExecutorFn = (options, context, config) => {
|
|
|
139807
139799
|
},
|
|
139808
139800
|
env: {
|
|
139809
139801
|
...process.env
|
|
139810
|
-
}
|
|
139802
|
+
},
|
|
139803
|
+
getConfig: nodeConfig
|
|
139811
139804
|
},
|
|
139812
139805
|
context,
|
|
139813
139806
|
config
|