@storm-software/workspace-tools 1.151.0 → 1.153.0

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.151.0",
3
+ "version": "1.153.0",
4
4
  "type": "commonjs",
5
5
  "description": "⚡ A Nx plugin package that contains various executors and generators used in a Storm workspaces.",
6
6
  "repository": {
@@ -49,11 +49,15 @@
49
49
  "monorepo"
50
50
  ],
51
51
  "peerDependencies": {
52
+ "@microsoft/api-extractor": "7.46.2",
52
53
  "@nx/devkit": "^19.5.6",
53
54
  "@nx/esbuild": "19.5.6",
54
55
  "nx": "^19.5.6"
55
56
  },
56
57
  "peerDependenciesMeta": {
58
+ "@microsoft/api-extractor": {
59
+ "optional": true
60
+ },
57
61
  "@nx/devkit": {
58
62
  "optional": false
59
63
  },
@@ -67,7 +71,6 @@
67
71
  "dependencies": {
68
72
  "@anatine/esbuild-decorators": "0.2.19",
69
73
  "@ltd/j-toml": "1.38.0",
70
- "@microsoft/api-extractor": "7.46.2",
71
74
  "@nx/devkit": "^19.5.6",
72
75
  "@rollup/plugin-json": "6.1.0",
73
76
  "@size-limit/esbuild": "11.1.4",
@@ -97,6 +100,7 @@
97
100
  "zod-to-json-schema": "3.23.1"
98
101
  },
99
102
  "devDependencies": {
103
+ "@microsoft/api-extractor": "7.46.2",
100
104
  "@nx/esbuild": "19.5.6",
101
105
  "@types/micromatch": "4.0.9",
102
106
  "@types/semver": "7.5.8",
@@ -1,5 +1,5 @@
1
- import type { TypeScriptBuildOptions } from "../../declarations";
2
1
  import type { StormConfig } from "@storm-software/config";
2
+ import type { TypeScriptBuildOptions } from "../../declarations";
3
3
  /**
4
4
  * Build and bundle a TypeScript project using the tsup build tools.
5
5
  *
@@ -1,6 +1,6 @@
1
- import type { RolldownBuildOptions, RolldownOptions } from "../types";
2
1
  import { type DependentBuildableProjectNode } from "@nx/js/src/utils/buildable-libs-utils.js";
3
2
  import type { StormConfig } from "@storm-software/config";
4
3
  import type { PackageJson } from "nx/src/utils/package-json.js";
4
+ import type { RolldownBuildOptions, RolldownOptions } from "../types";
5
5
  export declare const DEFAULT_CONFIG: RolldownBuildOptions;
6
6
  export declare function getRolldownBuildOptions(config: StormConfig, options: RolldownOptions, dependencies: DependentBuildableProjectNode[], packageJson: PackageJson, npmDeps: string[]): Promise<RolldownBuildOptions[]>;
@@ -1,7 +1,7 @@
1
1
  import type { ExecutorContext } from "@nx/devkit";
2
2
  import type { StormConfig } from "@storm-software/config";
3
3
  import type { TsupExecutorSchema } from "./schema.d";
4
- export declare function tsupExecutorFn(options: TsupExecutorSchema, context: ExecutorContext, config?: StormConfig): Promise<{
4
+ export declare function tsupExecutorFn(options: TsupExecutorSchema, context: ExecutorContext, config: StormConfig): Promise<{
5
5
  success: boolean;
6
6
  }>;
7
7
  declare const _default: import("@nx/devkit").PromiseExecutor<TsupExecutorSchema>;
@@ -1,6 +1,7 @@
1
1
  import type { ExecutorContext } from "@nx/devkit";
2
+ import { StormConfig } from "@storm-software/config";
2
3
  import type { TsupBrowserExecutorSchema } from "./schema.d";
3
- export declare const tsupBrowserBuildExecutorFn: (options: TsupBrowserExecutorSchema, context: ExecutorContext, config?: any) => Promise<{
4
+ export declare const tsupBrowserBuildExecutorFn: (options: TsupBrowserExecutorSchema, context: ExecutorContext, config: StormConfig) => Promise<{
4
5
  success: boolean;
5
6
  }>;
6
7
  declare const _default: import("@nx/devkit").PromiseExecutor<TsupBrowserExecutorSchema>;
@@ -1,7 +1,7 @@
1
1
  import type { ExecutorContext } from "@nx/devkit";
2
2
  import type { StormConfig } from "@storm-software/config";
3
3
  import type { TsupNeutralExecutorSchema } from "./schema";
4
- export declare const tsupNeutralBuildExecutorFn: (options: TsupNeutralExecutorSchema, context: ExecutorContext, config?: StormConfig) => Promise<{
4
+ export declare const tsupNeutralBuildExecutorFn: (options: TsupNeutralExecutorSchema, context: ExecutorContext, config: StormConfig) => Promise<{
5
5
  success: boolean;
6
6
  }>;
7
7
  declare const _default: import("@nx/devkit").PromiseExecutor<TsupNeutralExecutorSchema>;
@@ -1,6 +1,7 @@
1
1
  import type { ExecutorContext } from "@nx/devkit";
2
+ import { StormConfig } from "@storm-software/config";
2
3
  import type { TsupNodeExecutorSchema } from "./schema";
3
- export declare const tsupNodeBuildExecutorFn: (options: TsupNodeExecutorSchema, context: ExecutorContext, config?: any) => Promise<{
4
+ export declare const tsupNodeBuildExecutorFn: (options: TsupNodeExecutorSchema, context: ExecutorContext, config: StormConfig) => Promise<{
4
5
  success: boolean;
5
6
  }>;
6
7
  declare const _default: import("@nx/devkit").PromiseExecutor<TsupNodeExecutorSchema>;
@@ -1,7 +1,7 @@
1
1
  import type { ExecutorContext } from "@nx/devkit";
2
2
  import type { StormConfig } from "@storm-software/config";
3
3
  import type { TypiaExecutorSchema } from "./schema";
4
- export declare function typiaExecutorFn(options: TypiaExecutorSchema, _: ExecutorContext, config?: StormConfig): Promise<{
4
+ export declare function typiaExecutorFn(options: TypiaExecutorSchema, _: ExecutorContext, config: StormConfig): Promise<{
5
5
  success: boolean;
6
6
  }>;
7
7
  declare const _default: import("@nx/devkit").PromiseExecutor<TypiaExecutorSchema>;
@@ -157,17 +157,17 @@
157
157
  "apiReport": {
158
158
  "type": "boolean",
159
159
  "description": "Should API Extractor generate an API Report file.",
160
- "default": true
160
+ "default": false
161
161
  },
162
162
  "docModel": {
163
163
  "type": "boolean",
164
164
  "description": "Should API Extractor generate an Doc Model markdown file.",
165
- "default": true
165
+ "default": false
166
166
  },
167
167
  "tsdocMetadata": {
168
168
  "type": "boolean",
169
169
  "description": "Should API Extractor generate an TSDoc Metadata file.",
170
- "default": true
170
+ "default": false
171
171
  },
172
172
  "options": {
173
173
  "type": "object",
@@ -68250,6 +68250,7 @@ __export(executor_exports, {
68250
68250
  tsupBrowserBuildExecutorFn: () => tsupBrowserBuildExecutorFn
68251
68251
  });
68252
68252
  module.exports = __toCommonJS(executor_exports);
68253
+ var import_build_tools2 = require("@storm-software/build-tools");
68253
68254
 
68254
68255
  // packages/workspace-tools/src/base/base-executor.ts
68255
68256
  init_src2();
@@ -68465,14 +68466,15 @@ var executor_default = withRunExecutor(
68465
68466
  );
68466
68467
 
68467
68468
  // packages/workspace-tools/src/executors/tsup-browser/executor.ts
68468
- var import_build_tools2 = require("@storm-software/build-tools");
68469
68469
  var tsupBrowserBuildExecutorFn = (options, context, config) => {
68470
68470
  return tsupExecutorFn(
68471
68471
  {
68472
68472
  ...options,
68473
68473
  platform: "browser",
68474
68474
  banner: (0, import_build_tools2.getFileBanner)(
68475
- 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)"
68475
+ context.projectName ? context.projectName.split(/(?=[A-Z])|[\.\-\s_]/).map((s2) => s2.trim()).filter((s2) => !!s2).map(
68476
+ (s2) => s2 ? s2.toUpperCase()[0] + s2.toLowerCase().slice(1) : ""
68477
+ ).join(" ") : "TypeScript (Browser Platforms)"
68476
68478
  ),
68477
68479
  define: {
68478
68480
  ...options.define
@@ -68250,6 +68250,7 @@ __export(executor_exports, {
68250
68250
  tsupNeutralBuildExecutorFn: () => tsupNeutralBuildExecutorFn
68251
68251
  });
68252
68252
  module.exports = __toCommonJS(executor_exports);
68253
+ var import_build_tools2 = require("@storm-software/build-tools");
68253
68254
 
68254
68255
  // packages/workspace-tools/src/base/base-executor.ts
68255
68256
  init_src2();
@@ -68432,9 +68433,6 @@ var _isFunction2 = (value2) => {
68432
68433
  }
68433
68434
  };
68434
68435
 
68435
- // packages/workspace-tools/src/executors/tsup-neutral/executor.ts
68436
- var import_build_tools2 = require("@storm-software/build-tools");
68437
-
68438
68436
  // packages/workspace-tools/src/executors/tsup/executor.ts
68439
68437
  var import_build_tools = require("@storm-software/build-tools");
68440
68438
  async function tsupExecutorFn(options, context, config) {
@@ -68250,6 +68250,7 @@ __export(executor_exports, {
68250
68250
  tsupNodeBuildExecutorFn: () => tsupNodeBuildExecutorFn
68251
68251
  });
68252
68252
  module.exports = __toCommonJS(executor_exports);
68253
+ var import_build_tools2 = require("@storm-software/build-tools");
68253
68254
 
68254
68255
  // packages/workspace-tools/src/base/base-executor.ts
68255
68256
  init_src2();
@@ -68465,14 +68466,15 @@ var executor_default = withRunExecutor(
68465
68466
  );
68466
68467
 
68467
68468
  // packages/workspace-tools/src/executors/tsup-node/executor.ts
68468
- var import_build_tools2 = require("@storm-software/build-tools");
68469
68469
  var tsupNodeBuildExecutorFn = (options, context, config) => {
68470
68470
  return tsupExecutorFn(
68471
68471
  {
68472
68472
  ...options,
68473
68473
  platform: "node",
68474
68474
  banner: (0, import_build_tools2.getFileBanner)(
68475
- 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)"
68475
+ context.projectName ? context.projectName.split(/(?=[A-Z])|[\.\-\s_]/).map((s2) => s2.trim()).filter((s2) => !!s2).map(
68476
+ (s2) => s2 ? s2.toUpperCase()[0] + s2.toLowerCase().slice(1) : ""
68477
+ ).join(" ") : "TypeScript (NodeJs Platform)"
68476
68478
  ),
68477
68479
  define: {
68478
68480
  ...options.define