@storm-software/workspace-tools 1.295.17 → 1.295.19

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.
@@ -0,0 +1,144 @@
1
+ import * as _nx_devkit from '@nx/devkit';
2
+ import { ExecutorContext } from '@nx/devkit';
3
+ import { S as StormWorkspaceConfig } from './types-D-YNP2Zk.js';
4
+
5
+ // Generated by @storm-software/untyped
6
+ // Do not edit this file directly
7
+
8
+ interface TSDownExecutorSchema {
9
+ /**
10
+ * Output Path
11
+ *
12
+ * The output path for the build
13
+ *
14
+ * @default "dist/{projectRoot}"
15
+ *
16
+ * @format path
17
+ */
18
+ outputPath?: string,
19
+
20
+ /**
21
+ * Entry File(s)
22
+ *
23
+ * The entry file or files to build
24
+ *
25
+ * @default ["{sourceRoot}/index.ts"]
26
+ *
27
+ * @format path
28
+ */
29
+ entry?: Array<string>,
30
+
31
+ /**
32
+ * TSConfig Path
33
+ *
34
+ * The path to the tsconfig file
35
+ *
36
+ * @default "{projectRoot}/tsconfig.json"
37
+ *
38
+ * @format path
39
+ */
40
+ tsconfig?: string,
41
+
42
+ /**
43
+ * Bundle
44
+ *
45
+ * Bundle the output
46
+ *
47
+ */
48
+ bundle?: boolean,
49
+
50
+ /**
51
+ * Minify
52
+ *
53
+ * Minify the output
54
+ *
55
+ */
56
+ minify?: boolean,
57
+
58
+ /**
59
+ * Debug
60
+ *
61
+ * Debug the output
62
+ *
63
+ */
64
+ debug?: boolean,
65
+
66
+ /**
67
+ * Sourcemap
68
+ *
69
+ * Generate a sourcemap
70
+ *
71
+ */
72
+ sourcemap?: boolean,
73
+
74
+ /**
75
+ * Silent
76
+ *
77
+ * Should the build run silently - only report errors back to the user
78
+ *
79
+ * @default false
80
+ */
81
+ silent?: boolean,
82
+
83
+ /**
84
+ * Target
85
+ *
86
+ * The target to build
87
+ *
88
+ * @default "esnext"
89
+ *
90
+ * @enum es3,es5,es6,es2015,es2016,es2017,es2018,es2019,es2020,es2021,es2022,es2023,es2024,esnext,node12,node14,node16,node18,node20,node22,browser,chrome58,chrome59,chrome60
91
+ */
92
+ target?: string,
93
+
94
+ /**
95
+ * Format
96
+ *
97
+ * The format to build
98
+ *
99
+ * @default ["cjs","esm"]
100
+ */
101
+ format?: Array<string>,
102
+
103
+ /**
104
+ * Platform
105
+ *
106
+ * The platform to build
107
+ *
108
+ * @default "neutral"
109
+ *
110
+ * @enum neutral,node,browser
111
+ */
112
+ platform?: string,
113
+
114
+ /**
115
+ * External
116
+ *
117
+ * The external dependencies
118
+ *
119
+ */
120
+ external?: Array<any>,
121
+
122
+ /**
123
+ * Define
124
+ *
125
+ * The define values
126
+ *
127
+ */
128
+ define?: Record<string, string>,
129
+
130
+ /**
131
+ * Environment Variables
132
+ *
133
+ * The environment variable values
134
+ *
135
+ */
136
+ env?: Record<string, string>,
137
+ }
138
+
139
+ declare function tsdownExecutorFn(options: TSDownExecutorSchema, context: ExecutorContext, config?: StormWorkspaceConfig): Promise<{
140
+ success: boolean;
141
+ }>;
142
+ declare const _default: _nx_devkit.PromiseExecutor<TSDownExecutorSchema>;
143
+
144
+ export { type TSDownExecutorSchema as T, _default as _, tsdownExecutorFn as t };
package/dist/executors.js CHANGED
@@ -39,9 +39,9 @@ var _chunkQTI2WSYXjs = require('./chunk-QTI2WSYX.js');
39
39
 
40
40
 
41
41
  var _chunkVPB6ALHZjs = require('./chunk-VPB6ALHZ.js');
42
- require('./chunk-D2PV33E5.js');
43
42
  require('./chunk-PJBQJFQI.js');
44
43
  require('./chunk-33TUEQBH.js');
44
+ require('./chunk-D2PV33E5.js');
45
45
  require('./chunk-UHTWNVEZ.js');
46
46
  require('./chunk-RYYMR72F.js');
47
47
  require('./chunk-HXQRGLII.js');
@@ -39,9 +39,9 @@ import {
39
39
  import {
40
40
  cargoCheckExecutor
41
41
  } from "./chunk-UMEEPN33.mjs";
42
- import "./chunk-ZTN2676G.mjs";
43
42
  import "./chunk-V5NVKBCF.mjs";
44
43
  import "./chunk-M3YDUOTX.mjs";
44
+ import "./chunk-ZTN2676G.mjs";
45
45
  import "./chunk-AQ7B26V3.mjs";
46
46
  import "./chunk-I2PUWYSE.mjs";
47
47
  import "./chunk-2QMGYIOO.mjs";
@@ -0,0 +1,38 @@
1
+ import { c as BaseGeneratorResult } from './types-BI64Uv6g.mjs';
2
+ import * as _nx_devkit from '@nx/devkit';
3
+ import { Tree } from '@nx/devkit';
4
+ import { S as StormWorkspaceConfig } from './types-D-YNP2Zk.mjs';
5
+ import * as z from 'zod';
6
+
7
+ // Generated by @storm-software/untyped
8
+ // Do not edit this file directly
9
+
10
+ interface ConfigSchemaGeneratorSchema {
11
+ /**
12
+ * Directory
13
+ *
14
+ * The directory to create the library in
15
+ *
16
+ */
17
+ directory?: string,
18
+
19
+ /**
20
+ * Output File
21
+ *
22
+ * The file to write the schema to
23
+ *
24
+ * @default "{workspaceRoot}/storm-workspace.schema.json"
25
+ */
26
+ outputFile?: string,
27
+ }
28
+
29
+ type ModuleSchema = {
30
+ name: string;
31
+ schema: z.ZodType;
32
+ };
33
+ declare function configSchemaGeneratorFn(tree: Tree, options: ConfigSchemaGeneratorSchema, config?: StormWorkspaceConfig): Promise<{
34
+ success: boolean;
35
+ }>;
36
+ declare const _default: (tree: Tree, _options: ConfigSchemaGeneratorSchema) => Promise<_nx_devkit.GeneratorCallback | BaseGeneratorResult>;
37
+
38
+ export { type ConfigSchemaGeneratorSchema as C, type ModuleSchema as M, _default as _, configSchemaGeneratorFn as c };
@@ -0,0 +1,108 @@
1
+ import { c as BaseGeneratorResult } from './types-BI64Uv6g.mjs';
2
+ import * as _nx_devkit from '@nx/devkit';
3
+ import { Tree } from '@nx/devkit';
4
+
5
+ // Generated by @storm-software/untyped
6
+ // Do not edit this file directly
7
+
8
+ interface PresetGeneratorSchema {
9
+ /**
10
+ * Directory
11
+ *
12
+ * The directory to create the library in
13
+ *
14
+ */
15
+ directory: string,
16
+
17
+ /**
18
+ * Name
19
+ *
20
+ * The name of the workspace
21
+ *
22
+ */
23
+ name: string,
24
+
25
+ /**
26
+ * Organization
27
+ *
28
+ * The organization of the workspace
29
+ *
30
+ * @default "storm-software"
31
+ */
32
+ organization?: string,
33
+
34
+ /**
35
+ * Include Apps
36
+ *
37
+ * Include apps in the workspace
38
+ *
39
+ * @default true
40
+ */
41
+ includeApps?: boolean,
42
+
43
+ /**
44
+ * Include Rust
45
+ *
46
+ * Include Rust support in the workspace
47
+ *
48
+ * @default false
49
+ */
50
+ includeRust?: boolean,
51
+
52
+ /**
53
+ * Namespace
54
+ *
55
+ * The namespace of the workspace
56
+ *
57
+ * @default "storm-software"
58
+ */
59
+ namespace?: string,
60
+
61
+ /**
62
+ * Description
63
+ *
64
+ * The description of the workspace
65
+ *
66
+ */
67
+ description?: string,
68
+
69
+ /**
70
+ * Repository URL
71
+ *
72
+ * The URL of the repository
73
+ *
74
+ */
75
+ repositoryUrl?: string,
76
+
77
+ /**
78
+ * Nx Cloud
79
+ *
80
+ * Nx Cloud configuration
81
+ *
82
+ */
83
+ nxCloud?: string,
84
+
85
+ /**
86
+ * Mode
87
+ *
88
+ * The mode of the Nx client
89
+ *
90
+ */
91
+ mode?: string,
92
+
93
+ /**
94
+ * Package Manager
95
+ *
96
+ * The package manager to use
97
+ *
98
+ * @default "pnpm"
99
+ *
100
+ * @enum npm,pnpm,yarn,bun
101
+ */
102
+ packageManager?: string,
103
+ }
104
+
105
+ declare function presetGeneratorFn(tree: Tree, options: PresetGeneratorSchema): Promise<null>;
106
+ declare const _default: (tree: Tree, _options: PresetGeneratorSchema) => Promise<_nx_devkit.GeneratorCallback | BaseGeneratorResult>;
107
+
108
+ export { type PresetGeneratorSchema as P, _default as _, presetGeneratorFn as p };
@@ -0,0 +1,38 @@
1
+ import { c as BaseGeneratorResult } from './types-B6F7nl01.js';
2
+ import * as _nx_devkit from '@nx/devkit';
3
+ import { Tree } from '@nx/devkit';
4
+ import { S as StormWorkspaceConfig } from './types-D-YNP2Zk.js';
5
+ import * as z from 'zod';
6
+
7
+ // Generated by @storm-software/untyped
8
+ // Do not edit this file directly
9
+
10
+ interface ConfigSchemaGeneratorSchema {
11
+ /**
12
+ * Directory
13
+ *
14
+ * The directory to create the library in
15
+ *
16
+ */
17
+ directory?: string,
18
+
19
+ /**
20
+ * Output File
21
+ *
22
+ * The file to write the schema to
23
+ *
24
+ * @default "{workspaceRoot}/storm-workspace.schema.json"
25
+ */
26
+ outputFile?: string,
27
+ }
28
+
29
+ type ModuleSchema = {
30
+ name: string;
31
+ schema: z.ZodType;
32
+ };
33
+ declare function configSchemaGeneratorFn(tree: Tree, options: ConfigSchemaGeneratorSchema, config?: StormWorkspaceConfig): Promise<{
34
+ success: boolean;
35
+ }>;
36
+ declare const _default: (tree: Tree, _options: ConfigSchemaGeneratorSchema) => Promise<_nx_devkit.GeneratorCallback | BaseGeneratorResult>;
37
+
38
+ export { type ConfigSchemaGeneratorSchema as C, type ModuleSchema as M, _default as _, configSchemaGeneratorFn as c };
@@ -0,0 +1,130 @@
1
+ import { c as BaseGeneratorResult } from './types-B6F7nl01.js';
2
+ import * as _nx_devkit from '@nx/devkit';
3
+ import { Tree } from '@nx/devkit';
4
+ import { S as StormWorkspaceConfig } from './types-D-YNP2Zk.js';
5
+
6
+ // Generated by @storm-software/untyped
7
+ // Do not edit this file directly
8
+
9
+ interface NeutralLibraryGeneratorSchema {
10
+ /**
11
+ * Directory
12
+ *
13
+ * The directory to create the library in
14
+ *
15
+ */
16
+ directory: string,
17
+
18
+ /**
19
+ * Name
20
+ *
21
+ * The name of the library
22
+ *
23
+ */
24
+ name: string,
25
+
26
+ /**
27
+ * Description
28
+ *
29
+ * The description of the library
30
+ *
31
+ */
32
+ description?: string,
33
+
34
+ /**
35
+ * Build Executor
36
+ *
37
+ * The executor to use for building the library
38
+ *
39
+ * @default "@storm-software/workspace-tools:unbuild"
40
+ */
41
+ buildExecutor?: string,
42
+
43
+ /**
44
+ * Platform
45
+ *
46
+ * The platform to target with the library
47
+ *
48
+ * @default "neutral"
49
+ *
50
+ * @enum neutral
51
+ */
52
+ platform?: string,
53
+
54
+ /**
55
+ * Import Path
56
+ *
57
+ * The import path for the library
58
+ *
59
+ */
60
+ importPath?: string,
61
+
62
+ /**
63
+ * Tags
64
+ *
65
+ * The tags for the library
66
+ *
67
+ */
68
+ tags?: string,
69
+
70
+ /**
71
+ * Unit Test Runner
72
+ *
73
+ * The unit test runner to use
74
+ *
75
+ *
76
+ * @enum jest,vitest,none
77
+ */
78
+ unitTestRunner?: string,
79
+
80
+ /**
81
+ * Test Environment
82
+ *
83
+ * The test environment to use
84
+ *
85
+ *
86
+ * @enum jsdom,node
87
+ */
88
+ testEnvironment?: string,
89
+
90
+ /**
91
+ * Pascal Case Files
92
+ *
93
+ * Use PascalCase for file names
94
+ *
95
+ * @default false
96
+ */
97
+ pascalCaseFiles?: boolean,
98
+
99
+ /**
100
+ * Strict
101
+ *
102
+ * Enable strict mode
103
+ *
104
+ * @default true
105
+ */
106
+ strict?: boolean,
107
+
108
+ /**
109
+ * Publishable
110
+ *
111
+ * Make the library publishable
112
+ *
113
+ * @default false
114
+ */
115
+ publishable?: boolean,
116
+
117
+ /**
118
+ * Buildable
119
+ *
120
+ * Make the library buildable
121
+ *
122
+ * @default true
123
+ */
124
+ buildable?: boolean,
125
+ }
126
+
127
+ declare function neutralLibraryGeneratorFn(tree: Tree, schema: NeutralLibraryGeneratorSchema, config?: StormWorkspaceConfig): Promise<null>;
128
+ declare const _default: (tree: Tree, _options: NeutralLibraryGeneratorSchema) => Promise<_nx_devkit.GeneratorCallback | BaseGeneratorResult>;
129
+
130
+ export { type NeutralLibraryGeneratorSchema as N, _default as _, neutralLibraryGeneratorFn as n };
@@ -0,0 +1,130 @@
1
+ import { c as BaseGeneratorResult } from './types-BI64Uv6g.mjs';
2
+ import * as _nx_devkit from '@nx/devkit';
3
+ import { Tree } from '@nx/devkit';
4
+ import { S as StormWorkspaceConfig } from './types-D-YNP2Zk.mjs';
5
+
6
+ // Generated by @storm-software/untyped
7
+ // Do not edit this file directly
8
+
9
+ interface NeutralLibraryGeneratorSchema {
10
+ /**
11
+ * Directory
12
+ *
13
+ * The directory to create the library in
14
+ *
15
+ */
16
+ directory: string,
17
+
18
+ /**
19
+ * Name
20
+ *
21
+ * The name of the library
22
+ *
23
+ */
24
+ name: string,
25
+
26
+ /**
27
+ * Description
28
+ *
29
+ * The description of the library
30
+ *
31
+ */
32
+ description?: string,
33
+
34
+ /**
35
+ * Build Executor
36
+ *
37
+ * The executor to use for building the library
38
+ *
39
+ * @default "@storm-software/workspace-tools:unbuild"
40
+ */
41
+ buildExecutor?: string,
42
+
43
+ /**
44
+ * Platform
45
+ *
46
+ * The platform to target with the library
47
+ *
48
+ * @default "neutral"
49
+ *
50
+ * @enum neutral
51
+ */
52
+ platform?: string,
53
+
54
+ /**
55
+ * Import Path
56
+ *
57
+ * The import path for the library
58
+ *
59
+ */
60
+ importPath?: string,
61
+
62
+ /**
63
+ * Tags
64
+ *
65
+ * The tags for the library
66
+ *
67
+ */
68
+ tags?: string,
69
+
70
+ /**
71
+ * Unit Test Runner
72
+ *
73
+ * The unit test runner to use
74
+ *
75
+ *
76
+ * @enum jest,vitest,none
77
+ */
78
+ unitTestRunner?: string,
79
+
80
+ /**
81
+ * Test Environment
82
+ *
83
+ * The test environment to use
84
+ *
85
+ *
86
+ * @enum jsdom,node
87
+ */
88
+ testEnvironment?: string,
89
+
90
+ /**
91
+ * Pascal Case Files
92
+ *
93
+ * Use PascalCase for file names
94
+ *
95
+ * @default false
96
+ */
97
+ pascalCaseFiles?: boolean,
98
+
99
+ /**
100
+ * Strict
101
+ *
102
+ * Enable strict mode
103
+ *
104
+ * @default true
105
+ */
106
+ strict?: boolean,
107
+
108
+ /**
109
+ * Publishable
110
+ *
111
+ * Make the library publishable
112
+ *
113
+ * @default false
114
+ */
115
+ publishable?: boolean,
116
+
117
+ /**
118
+ * Buildable
119
+ *
120
+ * Make the library buildable
121
+ *
122
+ * @default true
123
+ */
124
+ buildable?: boolean,
125
+ }
126
+
127
+ declare function neutralLibraryGeneratorFn(tree: Tree, schema: NeutralLibraryGeneratorSchema, config?: StormWorkspaceConfig): Promise<null>;
128
+ declare const _default: (tree: Tree, _options: NeutralLibraryGeneratorSchema) => Promise<_nx_devkit.GeneratorCallback | BaseGeneratorResult>;
129
+
130
+ export { type NeutralLibraryGeneratorSchema as N, _default as _, neutralLibraryGeneratorFn as n };