@storm-software/workspace-tools 1.128.2 → 1.129.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.128.2",
3
+ "version": "1.129.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": {
@@ -68,7 +68,11 @@
68
68
  "@anatine/esbuild-decorators": "0.2.19",
69
69
  "@ltd/j-toml": "1.38.0",
70
70
  "@microsoft/api-extractor": "7.46.2",
71
+ "@nx/devkit": "19.5.1",
71
72
  "@rollup/plugin-json": "6.1.0",
73
+ "@size-limit/esbuild": "11.1.4",
74
+ "@size-limit/esbuild-why": "11.1.4",
75
+ "@size-limit/file": "11.1.4",
72
76
  "bundle-require": "5.0.0",
73
77
  "c12": "1.10.0",
74
78
  "decky": "1.1.1",
@@ -85,6 +89,7 @@
85
89
  "rollup": "4.18.0",
86
90
  "rollup-plugin-dts": "6.1.1",
87
91
  "semver": "7.6.2",
92
+ "size-limit": "11.1.4",
88
93
  "terser": "5.31.1",
89
94
  "tsup": "8.0.0",
90
95
  "typia": "6.0.6",
@@ -1,5 +1,5 @@
1
- import type { ZodTypeAny } from "zod";
2
1
  import type { StormConfig } from "@storm-software/config";
2
+ import type { ZodTypeAny } from "zod";
3
3
  /**
4
4
  * Get the config for the current Storm workspace
5
5
  *
@@ -1,23 +1,24 @@
1
1
  export * from "./src/base";
2
- export * from "./src/utils";
3
- export * from "./src/executors/unbuild/executor";
4
- export * from "./src/executors/unbuild/schema";
2
+ export * from "./src/executors/cargo-publish/executor";
3
+ export * from "./src/executors/cargo-publish/schema";
4
+ export * from "./src/executors/clean-package/executor";
5
+ export * from "./src/executors/clean-package/schema";
6
+ export * from "./src/executors/npm-publish/executor";
7
+ export * from "./src/executors/npm-publish/schema";
5
8
  export * from "./src/executors/rolldown/executor";
6
9
  export * from "./src/executors/rolldown/schema";
10
+ export * from "./src/executors/size-limit/executor";
11
+ export * from "./src/executors/size-limit/schema";
12
+ export * from "./src/executors/tsup-browser/executor";
13
+ export * from "./src/executors/tsup-browser/schema";
7
14
  export * from "./src/executors/tsup-neutral/executor";
8
15
  export * from "./src/executors/tsup-neutral/schema";
9
16
  export * from "./src/executors/tsup-node/executor";
10
17
  export * from "./src/executors/tsup-node/schema";
11
- export * from "./src/executors/tsup-browser/executor";
12
- export * from "./src/executors/tsup-browser/schema";
13
18
  export * from "./src/executors/typia/executor";
14
19
  export * from "./src/executors/typia/schema";
15
- export * from "./src/executors/clean-package/executor";
16
- export * from "./src/executors/clean-package/schema";
17
- export * from "./src/executors/cargo-publish/executor";
18
- export * from "./src/executors/cargo-publish/schema";
19
- export * from "./src/executors/npm-publish/executor";
20
- export * from "./src/executors/npm-publish/schema";
20
+ export * from "./src/executors/unbuild/executor";
21
+ export * from "./src/executors/unbuild/schema";
21
22
  export * from "./src/generators/config-schema/generator";
22
23
  export * from "./src/generators/config-schema/schema";
23
24
  export * from "./src/generators/init/init";
@@ -28,3 +29,4 @@ export * from "./src/generators/preset/generator";
28
29
  export * from "./src/generators/preset/schema";
29
30
  export * from "./src/generators/release-version/generator";
30
31
  export * from "./src/generators/release-version/schema";
32
+ export * from "./src/utils";
@@ -0,0 +1,8 @@
1
+ import type { ExecutorContext } from "@nx/devkit";
2
+ import type { StormConfig } from "@storm-software/config";
3
+ import type { SizeLimitExecutorSchema } from "./schema";
4
+ export declare function sizeLimitExecutorFn(options: SizeLimitExecutorSchema, context: ExecutorContext, config?: StormConfig): Promise<{
5
+ success: boolean;
6
+ }>;
7
+ declare const _default: import("@nx/devkit").PromiseExecutor<SizeLimitExecutorSchema>;
8
+ export default _default;
package/src/base/index.js CHANGED
@@ -68016,8 +68016,8 @@ var init_set_env = __esm({
68016
68016
  var import_deepmerge2, _extension_cache, _static_cache, createConfig, createStormConfig, createConfigExtension, loadStormConfig;
68017
68017
  var init_create_storm_config = __esm({
68018
68018
  "packages/config-tools/src/create-storm-config.ts"() {
68019
- import_deepmerge2 = __toESM(require_cjs());
68020
68019
  init_schema();
68020
+ import_deepmerge2 = __toESM(require_cjs());
68021
68021
  init_get_config_file();
68022
68022
  init_get_env();
68023
68023
  init_set_env();
@@ -68096,7 +68096,7 @@ var init_create_storm_config = __esm({
68096
68096
  _workspaceRoot
68097
68097
  );
68098
68098
  setConfigEnv(config);
68099
- writeInfo(`\u2699\uFE0F Using Storm configuration:
68099
+ writeInfo(`\u2699\uFE0F Using Storm configuration:
68100
68100
  ${formatLogMessage(config)}`, {
68101
68101
  logLevel: "all"
68102
68102
  });
@@ -68016,8 +68016,8 @@ var init_set_env = __esm({
68016
68016
  var import_deepmerge2, _extension_cache, _static_cache, createConfig, createStormConfig, createConfigExtension, loadStormConfig;
68017
68017
  var init_create_storm_config = __esm({
68018
68018
  "packages/config-tools/src/create-storm-config.ts"() {
68019
- import_deepmerge2 = __toESM(require_cjs());
68020
68019
  init_schema();
68020
+ import_deepmerge2 = __toESM(require_cjs());
68021
68021
  init_get_config_file();
68022
68022
  init_get_env();
68023
68023
  init_set_env();
@@ -68096,7 +68096,7 @@ var init_create_storm_config = __esm({
68096
68096
  _workspaceRoot
68097
68097
  );
68098
68098
  setConfigEnv(config);
68099
- writeInfo(`\u2699\uFE0F Using Storm configuration:
68099
+ writeInfo(`\u2699\uFE0F Using Storm configuration:
68100
68100
  ${formatLogMessage(config)}`, {
68101
68101
  logLevel: "all"
68102
68102
  });
@@ -68016,8 +68016,8 @@ var init_set_env = __esm({
68016
68016
  var import_deepmerge2, _extension_cache, _static_cache, createConfig, createStormConfig, createConfigExtension, loadStormConfig;
68017
68017
  var init_create_storm_config = __esm({
68018
68018
  "packages/config-tools/src/create-storm-config.ts"() {
68019
- import_deepmerge2 = __toESM(require_cjs());
68020
68019
  init_schema();
68020
+ import_deepmerge2 = __toESM(require_cjs());
68021
68021
  init_get_config_file();
68022
68022
  init_get_env();
68023
68023
  init_set_env();
@@ -68096,7 +68096,7 @@ var init_create_storm_config = __esm({
68096
68096
  _workspaceRoot
68097
68097
  );
68098
68098
  setConfigEnv(config);
68099
- writeInfo(`\u2699\uFE0F Using Storm configuration:
68099
+ writeInfo(`\u2699\uFE0F Using Storm configuration:
68100
68100
  ${formatLogMessage(config)}`, {
68101
68101
  logLevel: "all"
68102
68102
  });