@storm-software/workspace-tools 1.134.0 → 1.134.2

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
+ ## 1.134.2 (2024-07-31)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ - **build-tools:** Resolved issue iterating unbuild entry files ([17703513](https://github.com/storm-software/storm-ops/commit/17703513))
7
+
8
+ ## 1.134.1 (2024-07-31)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ - **build-tools:** Resolve issues with the output path provided to unbuild ([ee9c2353](https://github.com/storm-software/storm-ops/commit/ee9c2353))
14
+
1
15
  ## 1.134.0 (2024-07-31)
2
16
 
3
17
 
package/README.md CHANGED
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
21
21
 
22
22
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
23
23
 
24
- [![Version](https://img.shields.io/badge/version-1.133.1-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
24
+ [![Version](https://img.shields.io/badge/version-1.134.1-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
25
25
 
26
26
  <!-- prettier-ignore-start -->
27
27
  <!-- markdownlint-disable -->
package/index.js CHANGED
@@ -617132,24 +617132,15 @@ var executor_default3 = withRunExecutor(
617132
617132
 
617133
617133
  // packages/workspace-tools/src/executors/tsup/executor.ts
617134
617134
  var import_build_tools = require("@storm-software/build-tools");
617135
- var import_build_tools2 = require("@storm-software/build-tools");
617136
617135
  async function tsupExecutorFn(options, context, config) {
617137
- const { writeDebug: writeDebug2, writeInfo: writeInfo2, writeSuccess: writeSuccess2 } = await Promise.resolve().then(() => (init_src2(), src_exports));
617136
+ const { writeInfo: writeInfo2, writeSuccess: writeSuccess2 } = await Promise.resolve().then(() => (init_src2(), src_exports));
617138
617137
  writeInfo2("\u{1F4E6} Running Storm build executor on the workspace", config);
617139
- writeDebug2(
617140
- `\u2699\uFE0F Executor options:
617141
- ${Object.keys(options).map(
617142
- (key) => `${key}: ${!options[key] || _isPrimitive(options[key]) ? options[key] : _isFunction3(options[key]) ? "<function>" : JSON.stringify(options[key])}`
617143
- ).join("\n")}
617144
- `,
617145
- config
617146
- );
617147
617138
  if (!context.projectsConfigurations?.projects || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
617148
617139
  throw new Error(
617149
617140
  "The Build process failed because the context is not valid. Please run this command from a workspace."
617150
617141
  );
617151
617142
  }
617152
- await (0, import_build_tools2.build)(config, {
617143
+ await (0, import_build_tools.build)(config, {
617153
617144
  ...options,
617154
617145
  projectRoot: context.projectsConfigurations.projects?.[context.projectName]?.root,
617155
617146
  projectName: context.projectName,
@@ -617170,29 +617161,15 @@ var executor_default4 = withRunExecutor(
617170
617161
  }
617171
617162
  }
617172
617163
  );
617173
- var _isPrimitive = (value2) => {
617174
- try {
617175
- return value2 === void 0 || value2 === null || typeof value2 !== "object" && typeof value2 !== "function";
617176
- } catch (e2) {
617177
- return false;
617178
- }
617179
- };
617180
- var _isFunction3 = (value2) => {
617181
- try {
617182
- return value2 instanceof Function || typeof value2 === "function" || !!(value2?.constructor && value2?.call && value2?.apply);
617183
- } catch (e2) {
617184
- return false;
617185
- }
617186
- };
617187
617164
 
617188
617165
  // packages/workspace-tools/src/executors/tsup-browser/executor.ts
617189
- var import_build_tools3 = require("@storm-software/build-tools");
617166
+ var import_build_tools2 = require("@storm-software/build-tools");
617190
617167
  var tsupBrowserBuildExecutorFn = (options, context, config) => {
617191
617168
  return tsupExecutorFn(
617192
617169
  {
617193
617170
  ...options,
617194
617171
  platform: "browser",
617195
- banner: (0, import_build_tools3.getFileBanner)(
617172
+ banner: (0, import_build_tools2.getFileBanner)(
617196
617173
  context.projectName ? context.projectName.split(/(?=[A-Z])|[\.\-\s_]/).map((s2) => s2.trim()).filter((s2) => !!s2).map((s2) => s2 ? s2.toUpperCase()[0] + s2.toLowerCase().slice(1) : "").join(" ") : "TypeScript (Browser Platforms)"
617197
617174
  ),
617198
617175
  define: {
@@ -617201,7 +617178,7 @@ var tsupBrowserBuildExecutorFn = (options, context, config) => {
617201
617178
  env: {
617202
617179
  ...process.env
617203
617180
  },
617204
- getConfig: import_build_tools3.browserConfig
617181
+ getConfig: import_build_tools2.browserConfig
617205
617182
  },
617206
617183
  context,
617207
617184
  config
@@ -617215,12 +617192,12 @@ var executor_default5 = withRunExecutor(
617215
617192
  hooks: {
617216
617193
  applyDefaultOptions: (options) => {
617217
617194
  return {
617218
- ...(0, import_build_tools3.applyDefaultOptions)({
617195
+ ...(0, import_build_tools2.applyDefaultOptions)({
617219
617196
  plugins: [],
617220
617197
  ...options,
617221
617198
  platform: "browser"
617222
617199
  }),
617223
- getConfig: import_build_tools3.browserConfig
617200
+ getConfig: import_build_tools2.browserConfig
617224
617201
  };
617225
617202
  }
617226
617203
  }
@@ -617228,13 +617205,13 @@ var executor_default5 = withRunExecutor(
617228
617205
  );
617229
617206
 
617230
617207
  // packages/workspace-tools/src/executors/tsup-neutral/executor.ts
617231
- var import_build_tools4 = require("@storm-software/build-tools");
617208
+ var import_build_tools3 = require("@storm-software/build-tools");
617232
617209
  var tsupNeutralBuildExecutorFn = (options, context, config) => {
617233
617210
  return tsupExecutorFn(
617234
617211
  {
617235
617212
  ...options,
617236
617213
  platform: "neutral",
617237
- banner: (0, import_build_tools4.getFileBanner)(
617214
+ banner: (0, import_build_tools3.getFileBanner)(
617238
617215
  context.projectName ? context.projectName.split(/(?=[A-Z])|[\.\-\s_]/).map((s2) => s2.trim()).filter((s2) => !!s2).map(
617239
617216
  (s2) => s2 ? s2.toUpperCase()[0] + s2.toLowerCase().slice(1) : ""
617240
617217
  ).join(" ") : "TypeScript (Neutral Platform)"
@@ -617246,7 +617223,7 @@ var tsupNeutralBuildExecutorFn = (options, context, config) => {
617246
617223
  env: {
617247
617224
  ...process.env
617248
617225
  },
617249
- getConfig: import_build_tools4.neutralConfig
617226
+ getConfig: import_build_tools3.neutralConfig
617250
617227
  },
617251
617228
  context,
617252
617229
  config
@@ -617260,12 +617237,12 @@ var executor_default6 = withRunExecutor(
617260
617237
  hooks: {
617261
617238
  applyDefaultOptions: (options) => {
617262
617239
  return {
617263
- ...(0, import_build_tools4.applyDefaultOptions)({
617240
+ ...(0, import_build_tools3.applyDefaultOptions)({
617264
617241
  plugins: [],
617265
617242
  ...options,
617266
617243
  platform: "neutral"
617267
617244
  }),
617268
- getConfig: import_build_tools4.neutralConfig
617245
+ getConfig: import_build_tools3.neutralConfig
617269
617246
  };
617270
617247
  }
617271
617248
  }
@@ -617273,13 +617250,13 @@ var executor_default6 = withRunExecutor(
617273
617250
  );
617274
617251
 
617275
617252
  // packages/workspace-tools/src/executors/tsup-node/executor.ts
617276
- var import_build_tools5 = require("@storm-software/build-tools");
617253
+ var import_build_tools4 = require("@storm-software/build-tools");
617277
617254
  var tsupNodeBuildExecutorFn = (options, context, config) => {
617278
617255
  return tsupExecutorFn(
617279
617256
  {
617280
617257
  ...options,
617281
617258
  platform: "node",
617282
- banner: (0, import_build_tools5.getFileBanner)(
617259
+ banner: (0, import_build_tools4.getFileBanner)(
617283
617260
  context.projectName ? context.projectName.split(/(?=[A-Z])|[\.\-\s_]/).map((s2) => s2.trim()).filter((s2) => !!s2).map((s2) => s2 ? s2.toUpperCase()[0] + s2.toLowerCase().slice(1) : "").join(" ") : "TypeScript (NodeJs Platform)"
617284
617261
  ),
617285
617262
  define: {
@@ -617288,7 +617265,7 @@ var tsupNodeBuildExecutorFn = (options, context, config) => {
617288
617265
  env: {
617289
617266
  ...process.env
617290
617267
  },
617291
- getConfig: import_build_tools5.nodeConfig
617268
+ getConfig: import_build_tools4.nodeConfig
617292
617269
  },
617293
617270
  context,
617294
617271
  config
@@ -617302,12 +617279,12 @@ var executor_default7 = withRunExecutor(
617302
617279
  hooks: {
617303
617280
  applyDefaultOptions: (options) => {
617304
617281
  return {
617305
- ...(0, import_build_tools5.applyDefaultOptions)({
617282
+ ...(0, import_build_tools4.applyDefaultOptions)({
617306
617283
  plugins: [],
617307
617284
  ...options,
617308
617285
  platform: "node"
617309
617286
  }),
617310
- getConfig: import_build_tools5.nodeConfig,
617287
+ getConfig: import_build_tools4.nodeConfig,
617311
617288
  transports: ["pino-pretty", "pino-loki"]
617312
617289
  };
617313
617290
  }