@storm-software/workspace-tools 1.295.19 → 1.295.21
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/CHANGELOG.md +40 -0
- package/README.md +1 -1
- package/dist/{chunk-NU3RM6J3.js → chunk-TLQOFGV3.js} +1 -1
- package/dist/{chunk-R4N2WEQ2.mjs → chunk-YWURGVT5.mjs} +1 -1
- package/dist/executors.js +1 -1
- package/dist/executors.mjs +1 -1
- package/dist/index.js +15 -15
- package/dist/index.mjs +23 -23
- package/dist/src/plugins/rust/cargo-toml.js +2 -2
- package/dist/src/plugins/rust/cargo-toml.mjs +1 -1
- package/dist/src/plugins/rust/index.js +2 -2
- package/dist/src/plugins/rust/index.mjs +1 -1
- package/dist/src/plugins/typescript/index.js +1 -1
- package/dist/src/plugins/typescript/index.mjs +1 -1
- package/dist/src/utils/index.js +10 -10
- package/dist/src/utils/index.mjs +16 -16
- package/package.json +9 -9
- package/dist/executor-3xgqDuO8.d.mts +0 -267
- package/dist/executor-AWVjob7x.d.ts +0 -146
- package/dist/executor-Bg1ZMajZ.d.mts +0 -305
- package/dist/executor-C8CSiSYp.d.ts +0 -267
- package/dist/executor-CUSJtboU.d.mts +0 -146
- package/dist/executor-CazPhUHi.d.mts +0 -57
- package/dist/executor-CiMwf7XO.d.mts +0 -34
- package/dist/executor-CxVN6aHC.d.ts +0 -34
- package/dist/executor-D5cKqCTN.d.ts +0 -305
- package/dist/executor-D9Vr-za5.d.mts +0 -144
- package/dist/executor-DipEWUrL.d.ts +0 -57
- package/dist/executor-OgkQy9Fn.d.ts +0 -144
- package/dist/generator-B3TfYhfT.d.mts +0 -38
- package/dist/generator-BKf0zW9i.d.mts +0 -108
- package/dist/generator-BZ5KDaAo.d.ts +0 -38
- package/dist/generator-BrJ8Eldd.d.ts +0 -130
- package/dist/generator-BrOskKnM.d.mts +0 -130
- package/dist/generator-C7Xsn3y0.d.ts +0 -130
- package/dist/generator-CbsXFRS0.d.mts +0 -130
- package/dist/generator-Cuho4nz0.d.ts +0 -108
- package/dist/generator-cqX5AafO.d.mts +0 -130
- package/dist/generator-ru0ihHO5.d.ts +0 -130
- package/dist/types-B6F7nl01.d.ts +0 -116
- package/dist/types-BI64Uv6g.d.mts +0 -116
- package/dist/types-D-YNP2Zk.d.mts +0 -243
- package/dist/types-D-YNP2Zk.d.ts +0 -243
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
import { c as BaseGeneratorResult } from './types-B6F7nl01.js';
|
|
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 };
|
|
@@ -1,130 +0,0 @@
|
|
|
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 NodeLibraryGeneratorSchema {
|
|
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 "node"
|
|
49
|
-
*
|
|
50
|
-
* @enum node,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 nodeLibraryGeneratorFn(tree: Tree, schema: NodeLibraryGeneratorSchema, config?: StormWorkspaceConfig): Promise<null>;
|
|
128
|
-
declare const _default: (tree: Tree, _options: NodeLibraryGeneratorSchema) => Promise<_nx_devkit.GeneratorCallback | BaseGeneratorResult>;
|
|
129
|
-
|
|
130
|
-
export { type NodeLibraryGeneratorSchema as N, _default as _, nodeLibraryGeneratorFn as n };
|
|
@@ -1,130 +0,0 @@
|
|
|
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 NodeLibraryGeneratorSchema {
|
|
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 "node"
|
|
49
|
-
*
|
|
50
|
-
* @enum node,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 nodeLibraryGeneratorFn(tree: Tree, schema: NodeLibraryGeneratorSchema, config?: StormWorkspaceConfig): Promise<null>;
|
|
128
|
-
declare const _default: (tree: Tree, _options: NodeLibraryGeneratorSchema) => Promise<_nx_devkit.GeneratorCallback | BaseGeneratorResult>;
|
|
129
|
-
|
|
130
|
-
export { type NodeLibraryGeneratorSchema as N, _default as _, nodeLibraryGeneratorFn as n };
|
package/dist/types-B6F7nl01.d.ts
DELETED
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
import { S as StormWorkspaceConfig } from './types-D-YNP2Zk.js';
|
|
2
|
-
import { Options } from 'tsup';
|
|
3
|
-
|
|
4
|
-
// Generated by @storm-software/untyped
|
|
5
|
-
// Do not edit this file directly
|
|
6
|
-
|
|
7
|
-
interface BaseExecutorSchema {
|
|
8
|
-
/**
|
|
9
|
-
* Output Path
|
|
10
|
-
*
|
|
11
|
-
* The output path for the build
|
|
12
|
-
*
|
|
13
|
-
* @default "dist/{projectRoot}"
|
|
14
|
-
*
|
|
15
|
-
* @format path
|
|
16
|
-
*/
|
|
17
|
-
outputPath?: string,
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
// Generated by @storm-software/untyped
|
|
21
|
-
// Do not edit this file directly
|
|
22
|
-
|
|
23
|
-
interface BaseGeneratorSchema {
|
|
24
|
-
/**
|
|
25
|
-
* Directory
|
|
26
|
-
*
|
|
27
|
-
* The directory to create the library in
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
30
|
-
directory?: string,
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
declare enum TypescriptProjectLinkingType {
|
|
34
|
-
ALIAS = "alias",
|
|
35
|
-
REFERENCE = "reference"
|
|
36
|
-
}
|
|
37
|
-
interface BaseTypescriptPluginOptions {
|
|
38
|
-
/**
|
|
39
|
-
* The project linking type to use for TypeScript projects.
|
|
40
|
-
*
|
|
41
|
-
* @see https://nx.dev/docs/concepts/typescript-project-linking
|
|
42
|
-
* @see https://nx.dev/docs/technologies/typescript/guides/switch-to-workspaces-project-references
|
|
43
|
-
*
|
|
44
|
-
* @defaultValue "reference"
|
|
45
|
-
*/
|
|
46
|
-
projectLinks?: TypescriptProjectLinkingType;
|
|
47
|
-
}
|
|
48
|
-
interface TsupContext {
|
|
49
|
-
projectRoot: string;
|
|
50
|
-
sourceRoot: string;
|
|
51
|
-
projectName: string;
|
|
52
|
-
main: string;
|
|
53
|
-
}
|
|
54
|
-
type BuildOptions = Options;
|
|
55
|
-
type Entry = string | string[] | Record<string, string>;
|
|
56
|
-
interface WorkspaceToolHooks<TSchema = any> {
|
|
57
|
-
applyDefaultOptions?: (options: Partial<TSchema>, config?: StormWorkspaceConfig) => Promise<TSchema> | TSchema;
|
|
58
|
-
preProcess?: (options: TSchema, config?: StormWorkspaceConfig) => Promise<void> | void;
|
|
59
|
-
postProcess?: (config?: StormWorkspaceConfig) => Promise<void> | void;
|
|
60
|
-
}
|
|
61
|
-
interface BaseWorkspaceToolOptions<TSchema = any> {
|
|
62
|
-
skipReadingConfig?: boolean;
|
|
63
|
-
hooks?: WorkspaceToolHooks<TSchema>;
|
|
64
|
-
}
|
|
65
|
-
type BaseExecutorOptions<TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema> = BaseWorkspaceToolOptions<TExecutorSchema>;
|
|
66
|
-
interface BaseExecutorResult {
|
|
67
|
-
error?: Error;
|
|
68
|
-
success?: boolean;
|
|
69
|
-
}
|
|
70
|
-
type BaseGeneratorOptions<TGeneratorSchema extends BaseGeneratorSchema = BaseGeneratorSchema> = BaseWorkspaceToolOptions<TGeneratorSchema>;
|
|
71
|
-
interface BaseGeneratorResult extends Record<string, any> {
|
|
72
|
-
error?: Error;
|
|
73
|
-
success?: boolean;
|
|
74
|
-
data?: any;
|
|
75
|
-
}
|
|
76
|
-
type ProjectTagVariant = "language" | "type" | "dist-style" | "provider" | "platform" | "registry" | "plugin";
|
|
77
|
-
declare const ProjectTagVariant: {
|
|
78
|
-
LANGUAGE: ProjectTagVariant;
|
|
79
|
-
TYPE: ProjectTagVariant;
|
|
80
|
-
DIST_STYLE: ProjectTagVariant;
|
|
81
|
-
PROVIDER: ProjectTagVariant;
|
|
82
|
-
PLATFORM: ProjectTagVariant;
|
|
83
|
-
REGISTRY: ProjectTagVariant;
|
|
84
|
-
PLUGIN: ProjectTagVariant;
|
|
85
|
-
};
|
|
86
|
-
type ProjectTagLanguageValue = "typescript" | "rust";
|
|
87
|
-
declare const ProjectTagLanguageValue: {
|
|
88
|
-
TYPESCRIPT: ProjectTagLanguageValue;
|
|
89
|
-
RUST: ProjectTagLanguageValue;
|
|
90
|
-
};
|
|
91
|
-
type ProjectTagTypeValue = "library" | "application";
|
|
92
|
-
declare const ProjectTagTypeValue: {
|
|
93
|
-
LIBRARY: ProjectTagTypeValue;
|
|
94
|
-
APPLICATION: ProjectTagTypeValue;
|
|
95
|
-
};
|
|
96
|
-
type ProjectTagDistStyleValue = "normal" | "clean";
|
|
97
|
-
declare const ProjectTagDistStyleValue: {
|
|
98
|
-
NORMAL: ProjectTagDistStyleValue;
|
|
99
|
-
CLEAN: ProjectTagDistStyleValue;
|
|
100
|
-
};
|
|
101
|
-
type ProjectTagPlatformValue = "node" | "browser" | "neutral" | "worker";
|
|
102
|
-
declare const ProjectTagPlatformValue: {
|
|
103
|
-
NODE: ProjectTagPlatformValue;
|
|
104
|
-
BROWSER: ProjectTagPlatformValue;
|
|
105
|
-
NEUTRAL: ProjectTagPlatformValue;
|
|
106
|
-
WORKER: ProjectTagPlatformValue;
|
|
107
|
-
};
|
|
108
|
-
type ProjectTagRegistryValue = "cargo" | "npm" | "container" | "cyclone";
|
|
109
|
-
declare const ProjectTagRegistryValue: {
|
|
110
|
-
CARGO: ProjectTagRegistryValue;
|
|
111
|
-
NPM: ProjectTagRegistryValue;
|
|
112
|
-
CONTAINER: ProjectTagRegistryValue;
|
|
113
|
-
CYCLONE: ProjectTagRegistryValue;
|
|
114
|
-
};
|
|
115
|
-
|
|
116
|
-
export { type BaseExecutorOptions as B, type Entry as E, ProjectTagDistStyleValue as P, type TsupContext as T, type WorkspaceToolHooks as W, type BaseExecutorResult as a, type BaseGeneratorOptions as b, type BaseGeneratorResult as c, type BaseTypescriptPluginOptions as d, type BaseWorkspaceToolOptions as e, type BuildOptions as f, ProjectTagLanguageValue as g, ProjectTagPlatformValue as h, ProjectTagRegistryValue as i, ProjectTagTypeValue as j, ProjectTagVariant as k, TypescriptProjectLinkingType as l, type BaseExecutorSchema as m, type BaseGeneratorSchema as n };
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
import { S as StormWorkspaceConfig } from './types-D-YNP2Zk.mjs';
|
|
2
|
-
import { Options } from 'tsup';
|
|
3
|
-
|
|
4
|
-
// Generated by @storm-software/untyped
|
|
5
|
-
// Do not edit this file directly
|
|
6
|
-
|
|
7
|
-
interface BaseExecutorSchema {
|
|
8
|
-
/**
|
|
9
|
-
* Output Path
|
|
10
|
-
*
|
|
11
|
-
* The output path for the build
|
|
12
|
-
*
|
|
13
|
-
* @default "dist/{projectRoot}"
|
|
14
|
-
*
|
|
15
|
-
* @format path
|
|
16
|
-
*/
|
|
17
|
-
outputPath?: string,
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
// Generated by @storm-software/untyped
|
|
21
|
-
// Do not edit this file directly
|
|
22
|
-
|
|
23
|
-
interface BaseGeneratorSchema {
|
|
24
|
-
/**
|
|
25
|
-
* Directory
|
|
26
|
-
*
|
|
27
|
-
* The directory to create the library in
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
30
|
-
directory?: string,
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
declare enum TypescriptProjectLinkingType {
|
|
34
|
-
ALIAS = "alias",
|
|
35
|
-
REFERENCE = "reference"
|
|
36
|
-
}
|
|
37
|
-
interface BaseTypescriptPluginOptions {
|
|
38
|
-
/**
|
|
39
|
-
* The project linking type to use for TypeScript projects.
|
|
40
|
-
*
|
|
41
|
-
* @see https://nx.dev/docs/concepts/typescript-project-linking
|
|
42
|
-
* @see https://nx.dev/docs/technologies/typescript/guides/switch-to-workspaces-project-references
|
|
43
|
-
*
|
|
44
|
-
* @defaultValue "reference"
|
|
45
|
-
*/
|
|
46
|
-
projectLinks?: TypescriptProjectLinkingType;
|
|
47
|
-
}
|
|
48
|
-
interface TsupContext {
|
|
49
|
-
projectRoot: string;
|
|
50
|
-
sourceRoot: string;
|
|
51
|
-
projectName: string;
|
|
52
|
-
main: string;
|
|
53
|
-
}
|
|
54
|
-
type BuildOptions = Options;
|
|
55
|
-
type Entry = string | string[] | Record<string, string>;
|
|
56
|
-
interface WorkspaceToolHooks<TSchema = any> {
|
|
57
|
-
applyDefaultOptions?: (options: Partial<TSchema>, config?: StormWorkspaceConfig) => Promise<TSchema> | TSchema;
|
|
58
|
-
preProcess?: (options: TSchema, config?: StormWorkspaceConfig) => Promise<void> | void;
|
|
59
|
-
postProcess?: (config?: StormWorkspaceConfig) => Promise<void> | void;
|
|
60
|
-
}
|
|
61
|
-
interface BaseWorkspaceToolOptions<TSchema = any> {
|
|
62
|
-
skipReadingConfig?: boolean;
|
|
63
|
-
hooks?: WorkspaceToolHooks<TSchema>;
|
|
64
|
-
}
|
|
65
|
-
type BaseExecutorOptions<TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema> = BaseWorkspaceToolOptions<TExecutorSchema>;
|
|
66
|
-
interface BaseExecutorResult {
|
|
67
|
-
error?: Error;
|
|
68
|
-
success?: boolean;
|
|
69
|
-
}
|
|
70
|
-
type BaseGeneratorOptions<TGeneratorSchema extends BaseGeneratorSchema = BaseGeneratorSchema> = BaseWorkspaceToolOptions<TGeneratorSchema>;
|
|
71
|
-
interface BaseGeneratorResult extends Record<string, any> {
|
|
72
|
-
error?: Error;
|
|
73
|
-
success?: boolean;
|
|
74
|
-
data?: any;
|
|
75
|
-
}
|
|
76
|
-
type ProjectTagVariant = "language" | "type" | "dist-style" | "provider" | "platform" | "registry" | "plugin";
|
|
77
|
-
declare const ProjectTagVariant: {
|
|
78
|
-
LANGUAGE: ProjectTagVariant;
|
|
79
|
-
TYPE: ProjectTagVariant;
|
|
80
|
-
DIST_STYLE: ProjectTagVariant;
|
|
81
|
-
PROVIDER: ProjectTagVariant;
|
|
82
|
-
PLATFORM: ProjectTagVariant;
|
|
83
|
-
REGISTRY: ProjectTagVariant;
|
|
84
|
-
PLUGIN: ProjectTagVariant;
|
|
85
|
-
};
|
|
86
|
-
type ProjectTagLanguageValue = "typescript" | "rust";
|
|
87
|
-
declare const ProjectTagLanguageValue: {
|
|
88
|
-
TYPESCRIPT: ProjectTagLanguageValue;
|
|
89
|
-
RUST: ProjectTagLanguageValue;
|
|
90
|
-
};
|
|
91
|
-
type ProjectTagTypeValue = "library" | "application";
|
|
92
|
-
declare const ProjectTagTypeValue: {
|
|
93
|
-
LIBRARY: ProjectTagTypeValue;
|
|
94
|
-
APPLICATION: ProjectTagTypeValue;
|
|
95
|
-
};
|
|
96
|
-
type ProjectTagDistStyleValue = "normal" | "clean";
|
|
97
|
-
declare const ProjectTagDistStyleValue: {
|
|
98
|
-
NORMAL: ProjectTagDistStyleValue;
|
|
99
|
-
CLEAN: ProjectTagDistStyleValue;
|
|
100
|
-
};
|
|
101
|
-
type ProjectTagPlatformValue = "node" | "browser" | "neutral" | "worker";
|
|
102
|
-
declare const ProjectTagPlatformValue: {
|
|
103
|
-
NODE: ProjectTagPlatformValue;
|
|
104
|
-
BROWSER: ProjectTagPlatformValue;
|
|
105
|
-
NEUTRAL: ProjectTagPlatformValue;
|
|
106
|
-
WORKER: ProjectTagPlatformValue;
|
|
107
|
-
};
|
|
108
|
-
type ProjectTagRegistryValue = "cargo" | "npm" | "container" | "cyclone";
|
|
109
|
-
declare const ProjectTagRegistryValue: {
|
|
110
|
-
CARGO: ProjectTagRegistryValue;
|
|
111
|
-
NPM: ProjectTagRegistryValue;
|
|
112
|
-
CONTAINER: ProjectTagRegistryValue;
|
|
113
|
-
CYCLONE: ProjectTagRegistryValue;
|
|
114
|
-
};
|
|
115
|
-
|
|
116
|
-
export { type BaseExecutorOptions as B, type Entry as E, ProjectTagDistStyleValue as P, type TsupContext as T, type WorkspaceToolHooks as W, type BaseExecutorResult as a, type BaseGeneratorOptions as b, type BaseGeneratorResult as c, type BaseTypescriptPluginOptions as d, type BaseWorkspaceToolOptions as e, type BuildOptions as f, ProjectTagLanguageValue as g, ProjectTagPlatformValue as h, ProjectTagRegistryValue as i, ProjectTagTypeValue as j, ProjectTagVariant as k, TypescriptProjectLinkingType as l, type BaseExecutorSchema as m, type BaseGeneratorSchema as n };
|