@storm-software/workspace-tools 1.229.0 → 1.229.1

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.
Files changed (50) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/chunk-KBJ7IEXI.js +1 -0
  3. package/dist/chunk-P5P43FOZ.mjs +0 -0
  4. package/dist/executors.js +8 -8
  5. package/dist/executors.mjs +10 -10
  6. package/dist/{generator-CgdrKFcO.d.mts → generator-BLYdn00o.d.mts} +1 -1
  7. package/dist/{generator-CNiN6sul.d.mts → generator-BqzpDHpv.d.mts} +1 -1
  8. package/dist/{generator-Dc6RWp26.d.ts → generator-BufhnJev.d.ts} +1 -1
  9. package/dist/{generator-DmJcSdfk.d.mts → generator-CC8n6BWL.d.mts} +1 -1
  10. package/dist/{generator-WuasfjoA.d.ts → generator-CtpgcwxE.d.ts} +1 -1
  11. package/dist/{generator-VyYYXMy4.d.mts → generator-DeKyhxAj.d.mts} +1 -1
  12. package/dist/{generator-BOj8XBVt.d.mts → generator-Dyq3mgZU.d.mts} +1 -1
  13. package/dist/{generator-C392qNd1.d.ts → generator-OLytwpdD.d.ts} +1 -1
  14. package/dist/{generator-DX0frURz.d.ts → generator-T2p5gT0C.d.ts} +1 -1
  15. package/dist/{generator-CtMFNmXP.d.ts → generator-noL-xIjx.d.ts} +1 -1
  16. package/dist/generators.d.mts +6 -6
  17. package/dist/generators.d.ts +6 -6
  18. package/dist/generators.js +3 -3
  19. package/dist/generators.mjs +3 -3
  20. package/dist/index.d.mts +16 -332
  21. package/dist/index.d.ts +16 -332
  22. package/dist/index.js +33 -12
  23. package/dist/index.mjs +34 -13
  24. package/dist/src/base/base-executor.d.mts +1 -1
  25. package/dist/src/base/base-executor.d.ts +1 -1
  26. package/dist/src/base/base-generator.d.mts +1 -1
  27. package/dist/src/base/base-generator.d.ts +1 -1
  28. package/dist/src/base/index.d.mts +337 -0
  29. package/dist/src/base/index.d.ts +337 -0
  30. package/dist/src/base/index.js +49 -0
  31. package/dist/src/base/index.mjs +49 -0
  32. package/dist/src/generators/browser-library/generator.d.mts +2 -2
  33. package/dist/src/generators/browser-library/generator.d.ts +2 -2
  34. package/dist/src/generators/config-schema/generator.d.mts +2 -2
  35. package/dist/src/generators/config-schema/generator.d.ts +2 -2
  36. package/dist/src/generators/neutral-library/generator.d.mts +2 -2
  37. package/dist/src/generators/neutral-library/generator.d.ts +2 -2
  38. package/dist/src/generators/node-library/generator.d.mts +2 -2
  39. package/dist/src/generators/node-library/generator.d.ts +2 -2
  40. package/dist/src/generators/preset/generator.d.mts +2 -2
  41. package/dist/src/generators/preset/generator.d.ts +2 -2
  42. package/dist/src/types.d.mts +1 -1
  43. package/dist/src/types.d.ts +1 -1
  44. package/dist/src/utils/index.d.mts +1 -1
  45. package/dist/src/utils/index.d.ts +1 -1
  46. package/dist/src/utils/project-tags.d.mts +1 -1
  47. package/dist/src/utils/project-tags.d.ts +1 -1
  48. package/dist/{types-Dbr7XMO3.d.ts → types-BmsLBqaq.d.ts} +1 -1
  49. package/dist/{types-CMFSY9ut.d.mts → types-CQzaS20Q.d.mts} +1 -1
  50. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 1.229.1 (2025-01-20)
2
+
3
+ ### Bug Fixes
4
+
5
+ - **workspace-tools:** Resolve cross-platform build issue in `copyfiles` script ([331a723f](https://github.com/storm-software/storm-ops/commit/331a723f))
6
+
1
7
  ## 1.229.0 (2025-01-20)
2
8
 
3
9
  ### Features
@@ -0,0 +1 @@
1
+ "use strict";
File without changes
package/dist/executors.js CHANGED
@@ -1,6 +1,12 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-3J53KHVV.js');
2
2
 
3
3
 
4
+ var _chunkRKOOM5R5js = require('./chunk-RKOOM5R5.js');
5
+
6
+
7
+ var _chunk45GU4HW2js = require('./chunk-45GU4HW2.js');
8
+
9
+
4
10
  var _chunkTILR7372js = require('./chunk-TILR7372.js');
5
11
 
6
12
 
@@ -10,7 +16,7 @@ var _chunkOJ3R7YBKjs = require('./chunk-OJ3R7YBK.js');
10
16
  var _chunkB7LWGAUIjs = require('./chunk-B7LWGAUI.js');
11
17
 
12
18
 
13
- var _chunkRKOOM5R5js = require('./chunk-RKOOM5R5.js');
19
+ var _chunkZCZVVZBXjs = require('./chunk-ZCZVVZBX.js');
14
20
 
15
21
 
16
22
  var _chunkGGGO542Mjs = require('./chunk-GGGO542M.js');
@@ -20,7 +26,7 @@ var _chunkDIODSFGHjs = require('./chunk-DIODSFGH.js');
20
26
  require('./chunk-CT7IVPJY.js');
21
27
 
22
28
 
23
- var _chunk45GU4HW2js = require('./chunk-45GU4HW2.js');
29
+ var _chunkZXT33DDBjs = require('./chunk-ZXT33DDB.js');
24
30
 
25
31
 
26
32
  var _chunk6B6IVIMQjs = require('./chunk-6B6IVIMQ.js');
@@ -30,12 +36,6 @@ var _chunkFP4PPOO6js = require('./chunk-FP4PPOO6.js');
30
36
 
31
37
 
32
38
  var _chunkF5WI7VDMjs = require('./chunk-F5WI7VDM.js');
33
-
34
-
35
- var _chunkZCZVVZBXjs = require('./chunk-ZCZVVZBX.js');
36
-
37
-
38
- var _chunkZXT33DDBjs = require('./chunk-ZXT33DDB.js');
39
39
  require('./chunk-INAG73GE.js');
40
40
  require('./chunk-ULBTYC2B.js');
41
41
  require('./chunk-ZMFVKBRM.js');
@@ -1,4 +1,10 @@
1
1
  import "./chunk-V7YZ3666.mjs";
2
+ import {
3
+ unbuildExecutorFn
4
+ } from "./chunk-HAT7PSQD.mjs";
5
+ import {
6
+ LARGE_BUFFER
7
+ } from "./chunk-PS2NPPRM.mjs";
2
8
  import {
3
9
  sizeLimitExecutorFn
4
10
  } from "./chunk-WTHELTBU.mjs";
@@ -9,8 +15,8 @@ import {
9
15
  typiaExecutorFn
10
16
  } from "./chunk-35B5C22H.mjs";
11
17
  import {
12
- unbuildExecutorFn
13
- } from "./chunk-HAT7PSQD.mjs";
18
+ cargoFormatExecutor
19
+ } from "./chunk-GV44QHV3.mjs";
14
20
  import {
15
21
  getRegistryVersion
16
22
  } from "./chunk-6ZQ3QYXH.mjs";
@@ -19,8 +25,8 @@ import {
19
25
  } from "./chunk-DLO5NZQI.mjs";
20
26
  import "./chunk-UDAQKEJS.mjs";
21
27
  import {
22
- LARGE_BUFFER
23
- } from "./chunk-PS2NPPRM.mjs";
28
+ cargoBuildExecutor
29
+ } from "./chunk-SFT3A33D.mjs";
24
30
  import {
25
31
  cargoCheckExecutor
26
32
  } from "./chunk-OESA3G7F.mjs";
@@ -30,12 +36,6 @@ import {
30
36
  import {
31
37
  cargoDocExecutor
32
38
  } from "./chunk-XSCTGWRG.mjs";
33
- import {
34
- cargoFormatExecutor
35
- } from "./chunk-GV44QHV3.mjs";
36
- import {
37
- cargoBuildExecutor
38
- } from "./chunk-SFT3A33D.mjs";
39
39
  import "./chunk-DLQLZTCZ.mjs";
40
40
  import "./chunk-QZHIWK5Z.mjs";
41
41
  import "./chunk-VYH45FO6.mjs";
@@ -1,4 +1,4 @@
1
- import { d as BaseGeneratorResult } from './types-CMFSY9ut.mjs';
1
+ import { e as BaseGeneratorResult } from './types-CQzaS20Q.mjs';
2
2
  import * as _nx_devkit from '@nx/devkit';
3
3
  import { Tree } from '@nx/devkit';
4
4
 
@@ -1,4 +1,4 @@
1
- import { d as BaseGeneratorResult } from './types-CMFSY9ut.mjs';
1
+ import { e as BaseGeneratorResult } from './types-CQzaS20Q.mjs';
2
2
  import * as _nx_devkit from '@nx/devkit';
3
3
  import { Tree } from '@nx/devkit';
4
4
  import { S as StormConfig } from './types-D9vU63tt.mjs';
@@ -1,4 +1,4 @@
1
- import { d as BaseGeneratorResult } from './types-Dbr7XMO3.js';
1
+ import { e as BaseGeneratorResult } from './types-BmsLBqaq.js';
2
2
  import * as _nx_devkit from '@nx/devkit';
3
3
  import { Tree } from '@nx/devkit';
4
4
  import { S as StormConfig } from './types-D9vU63tt.js';
@@ -1,4 +1,4 @@
1
- import { d as BaseGeneratorResult } from './types-CMFSY9ut.mjs';
1
+ import { e as BaseGeneratorResult } from './types-CQzaS20Q.mjs';
2
2
  import * as _nx_devkit from '@nx/devkit';
3
3
  import { Tree } from '@nx/devkit';
4
4
  import { S as StormConfig } from './types-D9vU63tt.mjs';
@@ -1,4 +1,4 @@
1
- import { d as BaseGeneratorResult } from './types-Dbr7XMO3.js';
1
+ import { e as BaseGeneratorResult } from './types-BmsLBqaq.js';
2
2
  import * as _nx_devkit from '@nx/devkit';
3
3
  import { Tree } from '@nx/devkit';
4
4
  import { S as StormConfig } from './types-D9vU63tt.js';
@@ -1,4 +1,4 @@
1
- import { d as BaseGeneratorResult } from './types-CMFSY9ut.mjs';
1
+ import { e as BaseGeneratorResult } from './types-CQzaS20Q.mjs';
2
2
  import * as _nx_devkit from '@nx/devkit';
3
3
  import { Tree } from '@nx/devkit';
4
4
  import { S as StormConfig } from './types-D9vU63tt.mjs';
@@ -1,4 +1,4 @@
1
- import { d as BaseGeneratorResult } from './types-CMFSY9ut.mjs';
1
+ import { e as BaseGeneratorResult } from './types-CQzaS20Q.mjs';
2
2
  import * as _nx_devkit from '@nx/devkit';
3
3
  import { Tree } from '@nx/devkit';
4
4
  import { S as StormConfig } from './types-D9vU63tt.mjs';
@@ -1,4 +1,4 @@
1
- import { d as BaseGeneratorResult } from './types-Dbr7XMO3.js';
1
+ import { e as BaseGeneratorResult } from './types-BmsLBqaq.js';
2
2
  import * as _nx_devkit from '@nx/devkit';
3
3
  import { Tree } from '@nx/devkit';
4
4
  import { S as StormConfig } from './types-D9vU63tt.js';
@@ -1,4 +1,4 @@
1
- import { d as BaseGeneratorResult } from './types-Dbr7XMO3.js';
1
+ import { e as BaseGeneratorResult } from './types-BmsLBqaq.js';
2
2
  import * as _nx_devkit from '@nx/devkit';
3
3
  import { Tree } from '@nx/devkit';
4
4
  import { S as StormConfig } from './types-D9vU63tt.js';
@@ -1,4 +1,4 @@
1
- import { d as BaseGeneratorResult } from './types-Dbr7XMO3.js';
1
+ import { e as BaseGeneratorResult } from './types-BmsLBqaq.js';
2
2
  import * as _nx_devkit from '@nx/devkit';
3
3
  import { Tree } from '@nx/devkit';
4
4
 
@@ -1,11 +1,11 @@
1
- export { B as BrowserLibraryGeneratorSchema, b as browserLibraryGeneratorFn } from './generator-CNiN6sul.mjs';
2
- export { C as ConfigSchemaGeneratorSchema, M as ModuleSchema, c as configSchemaGeneratorFn } from './generator-DmJcSdfk.mjs';
1
+ export { B as BrowserLibraryGeneratorSchema, b as browserLibraryGeneratorFn } from './generator-BqzpDHpv.mjs';
2
+ export { C as ConfigSchemaGeneratorSchema, M as ModuleSchema, c as configSchemaGeneratorFn } from './generator-CC8n6BWL.mjs';
3
3
  export { I as InitGeneratorSchema, i as initGenerator } from './init-6Nmtv8d5.mjs';
4
- export { N as NeutralLibraryGeneratorSchema, n as neutralLibraryGeneratorFn } from './generator-BOj8XBVt.mjs';
5
- export { N as NodeLibraryGeneratorSchema, n as nodeLibraryGeneratorFn } from './generator-VyYYXMy4.mjs';
6
- export { P as PresetGeneratorSchema, p as presetGeneratorFn } from './generator-CgdrKFcO.mjs';
4
+ export { N as NeutralLibraryGeneratorSchema, n as neutralLibraryGeneratorFn } from './generator-Dyq3mgZU.mjs';
5
+ export { N as NodeLibraryGeneratorSchema, n as nodeLibraryGeneratorFn } from './generator-DeKyhxAj.mjs';
6
+ export { P as PresetGeneratorSchema, p as presetGeneratorFn } from './generator-BLYdn00o.mjs';
7
7
  export { R as ReleaseVersionGeneratorSchema, r as releaseVersionGeneratorFn } from './generator-48_WHnGL.mjs';
8
- import './types-CMFSY9ut.mjs';
8
+ import './types-CQzaS20Q.mjs';
9
9
  import './types-D9vU63tt.mjs';
10
10
  import 'zod';
11
11
  import 'tsup';
@@ -1,11 +1,11 @@
1
- export { B as BrowserLibraryGeneratorSchema, b as browserLibraryGeneratorFn } from './generator-C392qNd1.js';
2
- export { C as ConfigSchemaGeneratorSchema, M as ModuleSchema, c as configSchemaGeneratorFn } from './generator-WuasfjoA.js';
1
+ export { B as BrowserLibraryGeneratorSchema, b as browserLibraryGeneratorFn } from './generator-OLytwpdD.js';
2
+ export { C as ConfigSchemaGeneratorSchema, M as ModuleSchema, c as configSchemaGeneratorFn } from './generator-CtpgcwxE.js';
3
3
  export { I as InitGeneratorSchema, i as initGenerator } from './init-6Nmtv8d5.js';
4
- export { N as NeutralLibraryGeneratorSchema, n as neutralLibraryGeneratorFn } from './generator-DX0frURz.js';
5
- export { N as NodeLibraryGeneratorSchema, n as nodeLibraryGeneratorFn } from './generator-Dc6RWp26.js';
6
- export { P as PresetGeneratorSchema, p as presetGeneratorFn } from './generator-CtMFNmXP.js';
4
+ export { N as NeutralLibraryGeneratorSchema, n as neutralLibraryGeneratorFn } from './generator-T2p5gT0C.js';
5
+ export { N as NodeLibraryGeneratorSchema, n as nodeLibraryGeneratorFn } from './generator-BufhnJev.js';
6
+ export { P as PresetGeneratorSchema, p as presetGeneratorFn } from './generator-noL-xIjx.js';
7
7
  export { R as ReleaseVersionGeneratorSchema, r as releaseVersionGeneratorFn } from './generator-DeNfAL1R.js';
8
- import './types-Dbr7XMO3.js';
8
+ import './types-BmsLBqaq.js';
9
9
  import './types-D9vU63tt.js';
10
10
  import 'zod';
11
11
  import 'tsup';
@@ -1,6 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-INERRJ6Q.js');
2
2
 
3
3
 
4
+ var _chunkKLEKFCL2js = require('./chunk-KLEKFCL2.js');
5
+
6
+
4
7
  var _chunkI7OZOKTHjs = require('./chunk-I7OZOKTH.js');
5
8
 
6
9
 
@@ -17,9 +20,6 @@ var _chunkJEV3GSS7js = require('./chunk-JEV3GSS7.js');
17
20
 
18
21
 
19
22
  var _chunk3IZ3O4OKjs = require('./chunk-3IZ3O4OK.js');
20
-
21
-
22
- var _chunkKLEKFCL2js = require('./chunk-KLEKFCL2.js');
23
23
  require('./chunk-FBLF4KJF.js');
24
24
  require('./chunk-7YRW5HNX.js');
25
25
  require('./chunk-HI4G4OOG.js');
@@ -1,4 +1,7 @@
1
1
  import "./chunk-RLIZVCIN.mjs";
2
+ import {
3
+ neutralLibraryGeneratorFn
4
+ } from "./chunk-PS55UN6T.mjs";
2
5
  import {
3
6
  nodeLibraryGeneratorFn
4
7
  } from "./chunk-OA7KWN7D.mjs";
@@ -17,9 +20,6 @@ import {
17
20
  import {
18
21
  initGenerator
19
22
  } from "./chunk-J5SXKBBU.mjs";
20
- import {
21
- neutralLibraryGeneratorFn
22
- } from "./chunk-PS55UN6T.mjs";
23
23
  import "./chunk-XSRDTQ5C.mjs";
24
24
  import "./chunk-66TYTM73.mjs";
25
25
  import "./chunk-EK75QNMS.mjs";
package/dist/index.d.mts CHANGED
@@ -11,19 +11,22 @@ export { S as SizeLimitExecutorSchema, s as sizeLimitExecutorFn } from './execut
11
11
  export { T as TSDownExecutorSchema, t as tsdownExecutorFn } from './executor-C5AtaKvj.mjs';
12
12
  export { T as TypiaExecutorSchema, t as typiaExecutorFn } from './executor-D8m1bXgk.mjs';
13
13
  export { U as UnbuildExecutorSchema, u as unbuildExecutorFn } from './executor-BSXWmnE3.mjs';
14
- export { B as BrowserLibraryGeneratorSchema, b as browserLibraryGeneratorFn } from './generator-CNiN6sul.mjs';
15
- export { C as ConfigSchemaGeneratorSchema, M as ModuleSchema, c as configSchemaGeneratorFn } from './generator-DmJcSdfk.mjs';
14
+ export { B as BrowserLibraryGeneratorSchema, b as browserLibraryGeneratorFn } from './generator-BqzpDHpv.mjs';
15
+ export { C as ConfigSchemaGeneratorSchema, M as ModuleSchema, c as configSchemaGeneratorFn } from './generator-CC8n6BWL.mjs';
16
16
  export { I as InitGeneratorSchema, i as initGenerator } from './init-6Nmtv8d5.mjs';
17
- export { N as NeutralLibraryGeneratorSchema, n as neutralLibraryGeneratorFn } from './generator-BOj8XBVt.mjs';
18
- export { N as NodeLibraryGeneratorSchema, n as nodeLibraryGeneratorFn } from './generator-VyYYXMy4.mjs';
19
- export { P as PresetGeneratorSchema, p as presetGeneratorFn } from './generator-CgdrKFcO.mjs';
17
+ export { N as NeutralLibraryGeneratorSchema, n as neutralLibraryGeneratorFn } from './generator-Dyq3mgZU.mjs';
18
+ export { N as NodeLibraryGeneratorSchema, n as nodeLibraryGeneratorFn } from './generator-DeKyhxAj.mjs';
19
+ export { P as PresetGeneratorSchema, p as presetGeneratorFn } from './generator-BLYdn00o.mjs';
20
20
  export { R as ReleaseVersionGeneratorSchema, r as releaseVersionGeneratorFn } from './generator-48_WHnGL.mjs';
21
21
  export { withRunExecutor } from './src/base/base-executor.mjs';
22
+ export { default as baseExecutorSchema } from './src/base/base-executor.untyped.mjs';
22
23
  export { withRunGenerator } from './src/base/base-generator.mjs';
23
- import { Tree } from '@nx/devkit';
24
- import { NormalizedLibraryGeneratorOptions } from '@nx/js/src/generators/library/schema';
25
- import { S as StormConfig } from './types-D9vU63tt.mjs';
26
- export { b as BaseExecutorOptions, a as BaseExecutorResult, e as BaseGeneratorOptions, d as BaseGeneratorResult, l as BaseWorkspaceToolOptions, k as BuildOptions, E as Entry, h as ProjectTagDistStyleValue, f as ProjectTagLanguageValue, i as ProjectTagPlatformValue, j as ProjectTagRegistryValue, g as ProjectTagTypeValue, P as ProjectTagVariant, T as TsupContext, W as WorkspaceToolHooks } from './types-CMFSY9ut.mjs';
24
+ export { default as baseGeneratorSchema } from './src/base/base-generator.untyped.mjs';
25
+ export { default as cargoBaseExecutorSchema } from './src/base/cargo-base-executor.untyped.mjs';
26
+ export { default as typescriptBuildExecutorSchema } from './src/base/typescript-build-executor.untyped.mjs';
27
+ export { TestEnvironment, TypeScriptLibraryGeneratorNormalizedSchema, UnitTestRunner, createProjectTsConfigJson, getOutputPath, normalizeOptions, typeScriptLibraryGeneratorFn } from './src/base/index.mjs';
28
+ export { default as typescriptLibraryGeneratorSchema } from './src/base/typescript-library-generator.untyped.mjs';
29
+ export { b as BaseExecutorOptions, c as BaseExecutorResult, d as BaseGeneratorOptions, e as BaseGeneratorResult, a as BaseWorkspaceToolOptions, B as BuildOptions, E as Entry, h as ProjectTagDistStyleValue, f as ProjectTagLanguageValue, i as ProjectTagPlatformValue, j as ProjectTagRegistryValue, g as ProjectTagTypeValue, P as ProjectTagVariant, T as TsupContext, W as WorkspaceToolHooks } from './types-CQzaS20Q.mjs';
27
30
  export { ExecutorTokenizerOptions, applyWorkspaceExecutorTokens } from './src/utils/apply-workspace-tokens.mjs';
28
31
  export { INVALID_CARGO_ARGS, buildCargoCommand, cargoCommand, cargoCommandSync, cargoMetadata, cargoRunCommand, childProcess, isExternal, runProcess } from './src/utils/cargo.mjs';
29
32
  export { createCliOptions } from './src/utils/create-cli-options.mjs';
@@ -35,333 +38,14 @@ export { ProjectTagConstants, addPluginProjectTag, addProjectTag, formatProjectT
35
38
  export { CargoMetadata, CargoToml, Dep, DepKind, Dependency, Docs, Docs2, Features, Metadata, Metadata2, Node, Package, Resolve, Rs, Rs2, Target, modifyCargoNestedTable, modifyCargoTable, parseCargoToml, parseCargoTomlWithTree, stringifyCargoToml } from './src/utils/toml.mjs';
36
39
  export { getTypiaTransform } from './src/utils/typia-transform.mjs';
37
40
  export { eslintVersion, lintStagedVersion, nodeVersion, nxVersion, pnpmVersion, prettierPackageJsonVersion, prettierPrismaVersion, prettierVersion, semanticReleaseVersion, swcCliVersion, swcCoreVersion, swcHelpersVersion, swcNodeVersion, tsLibVersion, tsupVersion, typesNodeVersion, typescriptVersion, verdaccioVersion } from './src/utils/versions.mjs';
41
+ import '@nx/devkit';
42
+ import './types-D9vU63tt.mjs';
38
43
  import 'zod';
39
44
  import 'nx/src/command-line/release/version';
45
+ import 'untyped';
46
+ import '@nx/js/src/generators/library/schema';
40
47
  import 'tsup';
41
48
  import 'node:child_process';
42
49
  import 'nx/src/devkit-exports';
43
50
  import 'nx/src/utils/package-json.js';
44
51
  import 'typescript';
45
-
46
- // Generated by @storm-software/untyped
47
- // Do not edit this file directly
48
-
49
- interface TypeScriptLibraryGeneratorSchema {
50
- /**
51
- * Directory
52
- *
53
- * The directory to create the library in
54
- *
55
- */
56
- directory: string,
57
-
58
- /**
59
- * Name
60
- *
61
- * The name of the library
62
- *
63
- */
64
- name: string,
65
-
66
- /**
67
- * Description
68
- *
69
- * The description of the library
70
- *
71
- */
72
- description?: string,
73
-
74
- /**
75
- * Build Executor
76
- *
77
- * The executor to use for building the library
78
- *
79
- * @default "@storm-software/workspace-tools:unbuild"
80
- */
81
- buildExecutor?: string,
82
-
83
- /**
84
- * Platform
85
- *
86
- * The platform to target with the library
87
- *
88
- * @default "neutral"
89
- *
90
- * @enum neutral,node,browser
91
- */
92
- platform?: string,
93
-
94
- /**
95
- * Dev Dependencies
96
- *
97
- * The dev dependencies to install
98
- *
99
- */
100
- devDependencies?: {
101
- [key: string]: any
102
- },
103
-
104
- /**
105
- * Dependencies
106
- *
107
- * The dependencies to install
108
- *
109
- */
110
- dependencies?: {
111
- [key: string]: any
112
- },
113
-
114
- /**
115
- * Peer Dependencies
116
- *
117
- * The peer dependencies to install
118
- *
119
- */
120
- peerDependencies?: {
121
- [key: string]: any
122
- },
123
-
124
- /**
125
- * Peer Dependencies Meta
126
- *
127
- * The peer dependencies meta
128
- *
129
- */
130
- peerDependenciesMeta?: {
131
- [key: string]: any
132
- },
133
-
134
- /**
135
- * Tags
136
- *
137
- * The tags for the library
138
- *
139
- */
140
- tags?: string,
141
-
142
- /**
143
- * TypeScript Config (tsconfig.json) Options
144
- *
145
- * The TypeScript configuration options
146
- *
147
- */
148
- tsconfigOptions?: {
149
- [key: string]: any
150
- },
151
-
152
- /**
153
- * Skip Format
154
- *
155
- * Skip formatting
156
- *
157
- */
158
- skipFormat?: boolean,
159
-
160
- /**
161
- * Skip TsConfig
162
- *
163
- * Skip TypeScript configuration
164
- *
165
- */
166
- skipTsConfig?: boolean,
167
-
168
- /**
169
- * Skip Package Json
170
- *
171
- * Skip package.json
172
- *
173
- */
174
- skipPackageJson?: boolean,
175
-
176
- /**
177
- * Include Babel Rc
178
- *
179
- * Include Babel configuration
180
- *
181
- */
182
- includeBabelRc?: boolean,
183
-
184
- /**
185
- * Unit Test Runner
186
- *
187
- * The unit test runner to use
188
- *
189
- *
190
- * @enum jest,vitest,none
191
- */
192
- unitTestRunner?: string,
193
-
194
- /**
195
- * Linter
196
- *
197
- * The linter to use
198
- *
199
- */
200
- linter?: string,
201
-
202
- /**
203
- * Test Environment
204
- *
205
- * The test environment to use
206
- *
207
- *
208
- * @enum jsdom,node
209
- */
210
- testEnvironment?: string,
211
-
212
- /**
213
- * Import Path
214
- *
215
- * The import path for the library
216
- *
217
- */
218
- importPath?: string,
219
-
220
- /**
221
- * JavaScript
222
- *
223
- * Use JavaScript instead of TypeScript
224
- *
225
- */
226
- js?: boolean,
227
-
228
- /**
229
- * Pascal Case Files
230
- *
231
- * Use PascalCase for file names
232
- *
233
- */
234
- pascalCaseFiles?: boolean,
235
-
236
- /**
237
- * Strict
238
- *
239
- * Enable strict mode
240
- *
241
- */
242
- strict?: boolean,
243
-
244
- /**
245
- * Publishable
246
- *
247
- * Make the library publishable
248
- *
249
- */
250
- publishable?: boolean,
251
-
252
- /**
253
- * Buildable
254
- *
255
- * Make the library buildable
256
- *
257
- */
258
- buildable?: boolean,
259
-
260
- /**
261
- * Set Parser Options Project
262
- *
263
- * Set parser options project
264
- *
265
- */
266
- setParserOptionsProject?: boolean,
267
-
268
- /**
269
- * Config
270
- *
271
- * The configuration type
272
- *
273
- *
274
- * @enum workspace,project,npm-scripts
275
- */
276
- config?: string,
277
-
278
- /**
279
- * Compiler
280
- *
281
- * The compiler to use
282
- *
283
- */
284
- compiler?: string,
285
-
286
- /**
287
- * Bundler
288
- *
289
- * The bundler to use
290
- *
291
- */
292
- bundler?: string,
293
-
294
- /**
295
- * Skip Type Check
296
- *
297
- * Skip type checking
298
- *
299
- */
300
- skipTypeCheck?: boolean,
301
-
302
- /**
303
- * Minimal
304
- *
305
- * Create a minimal library
306
- *
307
- */
308
- minimal?: boolean,
309
-
310
- /**
311
- * Root Project
312
- *
313
- * Create a root project
314
- *
315
- */
316
- rootProject?: boolean,
317
-
318
- /**
319
- * Simple Name
320
- *
321
- * Use a simple name for the library
322
- *
323
- */
324
- simpleName?: boolean,
325
-
326
- /**
327
- * Add Plugin
328
- *
329
- * Add a plugin to the library
330
- *
331
- */
332
- addPlugin?: boolean,
333
-
334
- /**
335
- * Use Project Json
336
- *
337
- * Use project.json
338
- *
339
- */
340
- useProjectJson?: boolean,
341
-
342
- /**
343
- * Skip Workspaces Warning
344
- *
345
- * Skip workspaces warning
346
- *
347
- */
348
- skipWorkspacesWarning?: boolean,
349
-
350
- /**
351
- * Use Tsc Executor
352
- *
353
- * Use TSC executor
354
- *
355
- */
356
- useTscExecutor?: boolean,
357
- }
358
-
359
- type TypeScriptLibraryGeneratorNormalizedSchema = TypeScriptLibraryGeneratorSchema & NormalizedLibraryGeneratorOptions;
360
- declare function typeScriptLibraryGeneratorFn(tree: Tree, schema: TypeScriptLibraryGeneratorSchema, config?: StormConfig): Promise<null>;
361
- declare function getOutputPath(options: TypeScriptLibraryGeneratorNormalizedSchema): string;
362
- declare function createProjectTsConfigJson(tree: Tree, options: TypeScriptLibraryGeneratorNormalizedSchema): void;
363
- type UnitTestRunner = "jest" | "vitest" | "none" | undefined;
364
- type TestEnvironment = "jsdom" | "node" | undefined;
365
- declare function normalizeOptions(tree: Tree, options: TypeScriptLibraryGeneratorSchema): Promise<TypeScriptLibraryGeneratorNormalizedSchema>;
366
-
367
- export { type TestEnvironment, type TypeScriptLibraryGeneratorNormalizedSchema, type UnitTestRunner, createProjectTsConfigJson, getOutputPath, normalizeOptions, typeScriptLibraryGeneratorFn };