@storm-software/workspace-tools 1.65.1 → 1.65.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/workspace-tools",
3
- "version": "1.65.1",
3
+ "version": "1.65.2",
4
4
  "private": false,
5
5
  "description": "⚡ A Nx plugin package that contains various executors and generators used in a Storm workspaces.",
6
6
  "keywords": [
@@ -227,7 +227,7 @@ ${Object.keys(options).map(
227
227
  "The Build process failed because the context is not valid. Please run this command from a workspace."
228
228
  );
229
229
  }
230
- await (0, import_build_tools2.buildWithOptions)(config, {
230
+ await (0, import_build_tools2.build)(config, {
231
231
  ...options,
232
232
  projectRoot: context.projectsConfigurations.projects?.[context.projectName]?.root,
233
233
  projectName: context.projectName,
@@ -227,7 +227,7 @@ ${Object.keys(options).map(
227
227
  "The Build process failed because the context is not valid. Please run this command from a workspace."
228
228
  );
229
229
  }
230
- await (0, import_build_tools2.buildWithOptions)(config, {
230
+ await (0, import_build_tools2.build)(config, {
231
231
  ...options,
232
232
  projectRoot: context.projectsConfigurations.projects?.[context.projectName]?.root,
233
233
  projectName: context.projectName,
@@ -267,9 +267,7 @@ var tsupBrowserBuildExecutorFn = (options, context, config) => {
267
267
  ...options,
268
268
  platform: "browser",
269
269
  banner: (0, import_build_tools3.getFileBanner)(
270
- context.projectName ? context.projectName.split(/(?=[A-Z])|[\.\-\s_]/).map((s) => s.trim()).filter((s) => !!s).map(
271
- (s) => s ? s.toUpperCase()[0] + s.toLowerCase().slice(1) : ""
272
- ).join(" ") : "TypeScript (Browser Platforms)"
270
+ 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 (Browser Platforms)"
273
271
  ),
274
272
  define: {
275
273
  ...options.define
@@ -283,23 +281,22 @@ var tsupBrowserBuildExecutorFn = (options, context, config) => {
283
281
  config
284
282
  );
285
283
  };
286
- var applyDefaultOptions2 = (options) => {
287
- return {
288
- ...(0, import_build_tools3.applyDefaultOptions)({
289
- plugins: [],
290
- ...options,
291
- platform: "browser"
292
- }),
293
- getConfig: import_build_tools3.browserConfig
294
- };
295
- };
296
284
  var executor_default2 = withRunExecutor(
297
285
  "TypeScript Build (Browser Platforms)",
298
286
  tsupBrowserBuildExecutorFn,
299
287
  {
300
288
  skipReadingConfig: false,
301
289
  hooks: {
302
- applyDefaultOptions: applyDefaultOptions2
290
+ applyDefaultOptions: (options) => {
291
+ return {
292
+ ...(0, import_build_tools3.applyDefaultOptions)({
293
+ plugins: [],
294
+ ...options,
295
+ platform: "browser"
296
+ }),
297
+ getConfig: import_build_tools3.browserConfig
298
+ };
299
+ }
303
300
  }
304
301
  }
305
302
  );
@@ -230,7 +230,7 @@ ${Object.keys(options).map(
230
230
  "The Build process failed because the context is not valid. Please run this command from a workspace."
231
231
  );
232
232
  }
233
- await (0, import_build_tools2.buildWithOptions)(config, {
233
+ await (0, import_build_tools2.build)(config, {
234
234
  ...options,
235
235
  projectRoot: context.projectsConfigurations.projects?.[context.projectName]?.root,
236
236
  projectName: context.projectName,
@@ -284,23 +284,22 @@ var tsupNeutralBuildExecutorFn = (options, context, config) => {
284
284
  config
285
285
  );
286
286
  };
287
- var applyDefaultOptions2 = (options) => {
288
- return {
289
- ...(0, import_build_tools3.applyDefaultOptions)({
290
- plugins: [],
291
- ...options,
292
- platform: "neutral",
293
- getConfig: import_build_tools3.neutralConfig
294
- })
295
- };
296
- };
297
287
  var executor_default2 = withRunExecutor(
298
288
  "TypeScript Build (Neutral Platform)",
299
289
  tsupNeutralBuildExecutorFn,
300
290
  {
301
291
  skipReadingConfig: false,
302
292
  hooks: {
303
- applyDefaultOptions: applyDefaultOptions2
293
+ applyDefaultOptions: (options) => {
294
+ return {
295
+ ...(0, import_build_tools3.applyDefaultOptions)({
296
+ plugins: [],
297
+ ...options,
298
+ platform: "neutral"
299
+ }),
300
+ getConfig: import_build_tools3.neutralConfig
301
+ };
302
+ }
304
303
  }
305
304
  }
306
305
  );
@@ -227,7 +227,7 @@ ${Object.keys(options).map(
227
227
  "The Build process failed because the context is not valid. Please run this command from a workspace."
228
228
  );
229
229
  }
230
- await (0, import_build_tools2.buildWithOptions)(config, {
230
+ await (0, import_build_tools2.build)(config, {
231
231
  ...options,
232
232
  projectRoot: context.projectsConfigurations.projects?.[context.projectName]?.root,
233
233
  projectName: context.projectName,
@@ -281,24 +281,23 @@ var tsupNodeBuildExecutorFn = (options, context, config) => {
281
281
  config
282
282
  );
283
283
  };
284
- var applyDefaultOptions2 = (options) => {
285
- return {
286
- ...(0, import_build_tools3.applyDefaultOptions)({
287
- plugins: [],
288
- ...options,
289
- platform: "node",
290
- getConfig: import_build_tools3.nodeConfig
291
- }),
292
- transports: ["pino-pretty", "pino-loki"]
293
- };
294
- };
295
284
  var executor_default2 = withRunExecutor(
296
285
  "TypeScript Build (NodeJs Platform)",
297
286
  tsupNodeBuildExecutorFn,
298
287
  {
299
288
  skipReadingConfig: false,
300
289
  hooks: {
301
- applyDefaultOptions: applyDefaultOptions2
290
+ applyDefaultOptions: (options) => {
291
+ return {
292
+ ...(0, import_build_tools3.applyDefaultOptions)({
293
+ plugins: [],
294
+ ...options,
295
+ platform: "node"
296
+ }),
297
+ getConfig: import_build_tools3.nodeConfig,
298
+ transports: ["pino-pretty", "pino-loki"]
299
+ };
300
+ }
302
301
  }
303
302
  }
304
303
  );