@storm-software/workspace-tools 1.273.0 → 1.273.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.
- package/CHANGELOG.md +20 -0
- package/README.md +2 -1
- package/dist/generators.js +2 -2
- package/dist/generators.mjs +3 -3
- package/dist/index.js +2 -2
- package/dist/index.mjs +3 -3
- package/dist/src/executors/cargo-build/schema.d.ts +86 -0
- package/dist/src/executors/cargo-build/schema.json +85 -0
- package/dist/src/executors/cargo-check/schema.d.ts +89 -0
- package/dist/src/executors/cargo-check/schema.json +88 -0
- package/dist/src/executors/cargo-clippy/schema.d.ts +97 -0
- package/dist/src/executors/cargo-clippy/schema.json +94 -0
- package/dist/src/executors/cargo-doc/schema.d.ts +125 -0
- package/dist/src/executors/cargo-doc/schema.json +164 -0
- package/dist/src/executors/cargo-format/schema.d.ts +89 -0
- package/dist/src/executors/cargo-format/schema.json +88 -0
- package/dist/src/executors/cargo-publish/schema.d.ts +115 -0
- package/dist/src/executors/cargo-publish/schema.json +107 -0
- package/dist/src/executors/clean-package/schema.d.ts +60 -0
- package/dist/src/executors/clean-package/schema.json +57 -0
- package/dist/src/executors/esbuild/schema.d.ts +137 -0
- package/dist/src/executors/esbuild/schema.json +165 -0
- package/dist/src/executors/npm-publish/schema.d.ts +68 -0
- package/dist/src/executors/npm-publish/schema.json +61 -0
- package/dist/src/executors/size-limit/schema.d.ts +25 -0
- package/dist/src/executors/size-limit/schema.json +29 -0
- package/dist/src/executors/typia/schema.d.ts +48 -0
- package/dist/src/executors/typia/schema.json +57 -0
- package/dist/src/executors/unbuild/schema.d.ts +258 -0
- package/dist/src/executors/unbuild/schema.json +301 -0
- package/dist/src/generators/browser-library/schema.d.ts +122 -0
- package/dist/src/generators/browser-library/schema.json +117 -0
- package/dist/src/generators/config-schema/schema.d.ts +23 -0
- package/dist/src/generators/config-schema/schema.json +24 -0
- package/dist/src/generators/init/schema.d.ts +14 -0
- package/dist/src/generators/init/schema.json +15 -0
- package/dist/src/generators/neutral-library/schema.d.ts +122 -0
- package/dist/src/generators/neutral-library/schema.json +116 -0
- package/dist/src/generators/node-library/schema.d.ts +122 -0
- package/dist/src/generators/node-library/schema.json +117 -0
- package/dist/src/generators/preset/schema.d.ts +101 -0
- package/dist/src/generators/preset/schema.json +96 -0
- package/dist/src/generators/release-version/schema.d.ts +180 -0
- package/dist/src/generators/release-version/schema.json +158 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,26 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Workspace Tools
|
|
4
4
|
|
|
5
|
+
## [1.273.0](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.273.0) (2025-05-08)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
- **git-tools:** Update release process to ensure package.json is updated
|
|
10
|
+
- **k8s-tools:** Update Nx plugin to support `createNodesV2`
|
|
11
|
+
- **config-tools:** Added TOML utilities module
|
|
12
|
+
|
|
13
|
+
### Miscellaneous
|
|
14
|
+
|
|
15
|
+
- **monorepo:** Regenerate README markdown files
|
|
16
|
+
|
|
17
|
+
### Updated Dependencies
|
|
18
|
+
|
|
19
|
+
- Updated prettier to 0.51.0
|
|
20
|
+
- Updated esbuild to 0.41.0
|
|
21
|
+
- Updated esbuild to 0.41.0
|
|
22
|
+
- Updated unbuild to 0.47.0
|
|
23
|
+
- Updated unbuild to 0.47.0
|
|
24
|
+
|
|
5
25
|
## [1.272.2](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.272.2) (2025-05-07)
|
|
6
26
|
|
|
7
27
|
### Bug Fixes
|
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
21
21
|
|
|
22
22
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
23
23
|
|
|
24
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
|
@@ -358,6 +358,7 @@ The following executor options are available:
|
|
|
358
358
|
| packageRoot | `string` | The path to the package root | |
|
|
359
359
|
| registry | `string` | The registry to publish to | "https://registry.npmjs.org/" |
|
|
360
360
|
| tag | `string` | The tag to publish with | "latest" |
|
|
361
|
+
| version | `string` | The version to publish. If not provided, the version from package.json will be used | |
|
|
361
362
|
| otp | `number` | The one time password | |
|
|
362
363
|
| dryRun | `boolean` | Perform a dry run | |
|
|
363
364
|
| firstRelease | `boolean` | Publish the first release | |
|
package/dist/generators.js
CHANGED
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
var _chunkTVH6TDEDjs = require('./chunk-TVH6TDED.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk2F5TLK3Cjs = require('./chunk-2F5TLK3C.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkY7JE33K2js = require('./chunk-Y7JE33K2.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
var _chunkSMRFUKN7js = require('./chunk-SMRFUKN7.js');
|
package/dist/generators.mjs
CHANGED
|
@@ -2,12 +2,12 @@ import "./chunk-RLIZVCIN.mjs";
|
|
|
2
2
|
import {
|
|
3
3
|
nodeLibraryGeneratorFn
|
|
4
4
|
} from "./chunk-XOKT6TQL.mjs";
|
|
5
|
-
import {
|
|
6
|
-
presetGeneratorFn
|
|
7
|
-
} from "./chunk-EHAI3NXN.mjs";
|
|
8
5
|
import {
|
|
9
6
|
releaseVersionGeneratorFn
|
|
10
7
|
} from "./chunk-5XYM22SB.mjs";
|
|
8
|
+
import {
|
|
9
|
+
presetGeneratorFn
|
|
10
|
+
} from "./chunk-EHAI3NXN.mjs";
|
|
11
11
|
import {
|
|
12
12
|
browserLibraryGeneratorFn
|
|
13
13
|
} from "./chunk-HLMSVHZY.mjs";
|
package/dist/index.js
CHANGED
|
@@ -99,10 +99,10 @@ require('./chunk-INERRJ6Q.js');
|
|
|
99
99
|
var _chunkTVH6TDEDjs = require('./chunk-TVH6TDED.js');
|
|
100
100
|
|
|
101
101
|
|
|
102
|
-
var
|
|
102
|
+
var _chunk2F5TLK3Cjs = require('./chunk-2F5TLK3C.js');
|
|
103
103
|
|
|
104
104
|
|
|
105
|
-
var
|
|
105
|
+
var _chunkY7JE33K2js = require('./chunk-Y7JE33K2.js');
|
|
106
106
|
|
|
107
107
|
|
|
108
108
|
var _chunkSMRFUKN7js = require('./chunk-SMRFUKN7.js');
|
package/dist/index.mjs
CHANGED
|
@@ -97,12 +97,12 @@ import "./chunk-RLIZVCIN.mjs";
|
|
|
97
97
|
import {
|
|
98
98
|
nodeLibraryGeneratorFn
|
|
99
99
|
} from "./chunk-XOKT6TQL.mjs";
|
|
100
|
-
import {
|
|
101
|
-
presetGeneratorFn
|
|
102
|
-
} from "./chunk-EHAI3NXN.mjs";
|
|
103
100
|
import {
|
|
104
101
|
releaseVersionGeneratorFn
|
|
105
102
|
} from "./chunk-5XYM22SB.mjs";
|
|
103
|
+
import {
|
|
104
|
+
presetGeneratorFn
|
|
105
|
+
} from "./chunk-EHAI3NXN.mjs";
|
|
106
106
|
import {
|
|
107
107
|
browserLibraryGeneratorFn
|
|
108
108
|
} from "./chunk-HLMSVHZY.mjs";
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
|
|
2
|
+
// Generated by @storm-software/untyped
|
|
3
|
+
// Do not edit this file directly
|
|
4
|
+
|
|
5
|
+
export interface CargoBuildExecutorSchema {
|
|
6
|
+
/**
|
|
7
|
+
* Output Path
|
|
8
|
+
*
|
|
9
|
+
* The path to the output directory
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
outputPath?: string,
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Cargo.toml Path
|
|
16
|
+
*
|
|
17
|
+
* The path to the Cargo.toml file
|
|
18
|
+
*
|
|
19
|
+
* @default "{projectRoot}/Cargo.toml"
|
|
20
|
+
*
|
|
21
|
+
* @format path
|
|
22
|
+
*/
|
|
23
|
+
package?: string,
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Toolchain
|
|
27
|
+
*
|
|
28
|
+
* The type of toolchain to use for the build
|
|
29
|
+
*
|
|
30
|
+
* @default "stable"
|
|
31
|
+
*
|
|
32
|
+
* @enum stable,beta,nightly
|
|
33
|
+
*/
|
|
34
|
+
toolchain?: string,
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Target
|
|
38
|
+
*
|
|
39
|
+
* The target to build
|
|
40
|
+
*
|
|
41
|
+
*/
|
|
42
|
+
target?: string,
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* All Targets
|
|
46
|
+
*
|
|
47
|
+
* Build all targets
|
|
48
|
+
*
|
|
49
|
+
*/
|
|
50
|
+
allTargets?: boolean,
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Profile
|
|
54
|
+
*
|
|
55
|
+
* The profile to build
|
|
56
|
+
*
|
|
57
|
+
*/
|
|
58
|
+
profile?: string,
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Release
|
|
62
|
+
*
|
|
63
|
+
* Build in release mode
|
|
64
|
+
*
|
|
65
|
+
*/
|
|
66
|
+
release?: boolean,
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Features
|
|
70
|
+
*
|
|
71
|
+
* The features to build
|
|
72
|
+
*
|
|
73
|
+
*
|
|
74
|
+
* @oneOf [object Object],[object Object]
|
|
75
|
+
*/
|
|
76
|
+
features?: string,
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* All Features
|
|
80
|
+
*
|
|
81
|
+
* Build all features
|
|
82
|
+
*
|
|
83
|
+
*/
|
|
84
|
+
allFeatures?: boolean,
|
|
85
|
+
}
|
|
86
|
+
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "#",
|
|
3
|
+
"title": "Cargo Build Executor",
|
|
4
|
+
"description": "A type definition for a Cargo/rust build executor schema",
|
|
5
|
+
"properties": {
|
|
6
|
+
"outputPath": {
|
|
7
|
+
"title": "Output Path",
|
|
8
|
+
"type": "string",
|
|
9
|
+
"description": "The path to the output directory",
|
|
10
|
+
"id": "#outputPath"
|
|
11
|
+
},
|
|
12
|
+
"package": {
|
|
13
|
+
"title": "Cargo.toml Path",
|
|
14
|
+
"type": "string",
|
|
15
|
+
"format": "path",
|
|
16
|
+
"description": "The path to the Cargo.toml file",
|
|
17
|
+
"id": "#package",
|
|
18
|
+
"default": "{projectRoot}/Cargo.toml"
|
|
19
|
+
},
|
|
20
|
+
"toolchain": {
|
|
21
|
+
"title": "Toolchain",
|
|
22
|
+
"description": "The type of toolchain to use for the build",
|
|
23
|
+
"enum": [
|
|
24
|
+
"stable",
|
|
25
|
+
"beta",
|
|
26
|
+
"nightly"
|
|
27
|
+
],
|
|
28
|
+
"default": "stable",
|
|
29
|
+
"id": "#toolchain",
|
|
30
|
+
"type": "string"
|
|
31
|
+
},
|
|
32
|
+
"target": {
|
|
33
|
+
"title": "Target",
|
|
34
|
+
"type": "string",
|
|
35
|
+
"description": "The target to build",
|
|
36
|
+
"id": "#target"
|
|
37
|
+
},
|
|
38
|
+
"allTargets": {
|
|
39
|
+
"title": "All Targets",
|
|
40
|
+
"type": "boolean",
|
|
41
|
+
"description": "Build all targets",
|
|
42
|
+
"id": "#allTargets"
|
|
43
|
+
},
|
|
44
|
+
"profile": {
|
|
45
|
+
"title": "Profile",
|
|
46
|
+
"type": "string",
|
|
47
|
+
"description": "The profile to build",
|
|
48
|
+
"id": "#profile"
|
|
49
|
+
},
|
|
50
|
+
"release": {
|
|
51
|
+
"title": "Release",
|
|
52
|
+
"type": "boolean",
|
|
53
|
+
"description": "Build in release mode",
|
|
54
|
+
"id": "#release"
|
|
55
|
+
},
|
|
56
|
+
"features": {
|
|
57
|
+
"title": "Features",
|
|
58
|
+
"type": "string",
|
|
59
|
+
"description": "The features to build",
|
|
60
|
+
"oneOf": [
|
|
61
|
+
{
|
|
62
|
+
"type": "string"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"type": "array",
|
|
66
|
+
"items": {
|
|
67
|
+
"type": "string"
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
],
|
|
71
|
+
"id": "#features"
|
|
72
|
+
},
|
|
73
|
+
"allFeatures": {
|
|
74
|
+
"title": "All Features",
|
|
75
|
+
"type": "boolean",
|
|
76
|
+
"description": "Build all features",
|
|
77
|
+
"id": "#allFeatures"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"type": "object",
|
|
81
|
+
"default": {
|
|
82
|
+
"package": "{projectRoot}/Cargo.toml",
|
|
83
|
+
"toolchain": "stable"
|
|
84
|
+
}
|
|
85
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
|
|
2
|
+
// Generated by @storm-software/untyped
|
|
3
|
+
// Do not edit this file directly
|
|
4
|
+
|
|
5
|
+
export interface CargoCheckExecutorSchema {
|
|
6
|
+
/**
|
|
7
|
+
* Output Path
|
|
8
|
+
*
|
|
9
|
+
* The output path for the build
|
|
10
|
+
*
|
|
11
|
+
* @default "dist/{projectRoot}"
|
|
12
|
+
*
|
|
13
|
+
* @format path
|
|
14
|
+
*/
|
|
15
|
+
outputPath?: string,
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Cargo.toml Path
|
|
19
|
+
*
|
|
20
|
+
* The path to the Cargo.toml file
|
|
21
|
+
*
|
|
22
|
+
* @default "{projectRoot}/Cargo.toml"
|
|
23
|
+
*
|
|
24
|
+
* @format path
|
|
25
|
+
*/
|
|
26
|
+
package?: string,
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Toolchain
|
|
30
|
+
*
|
|
31
|
+
* The type of toolchain to use for the build
|
|
32
|
+
*
|
|
33
|
+
* @default "stable"
|
|
34
|
+
*
|
|
35
|
+
* @enum stable,beta,nightly
|
|
36
|
+
*/
|
|
37
|
+
toolchain?: string,
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Target
|
|
41
|
+
*
|
|
42
|
+
* The target to build
|
|
43
|
+
*
|
|
44
|
+
*/
|
|
45
|
+
target?: string,
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* All Targets
|
|
49
|
+
*
|
|
50
|
+
* Build all targets
|
|
51
|
+
*
|
|
52
|
+
*/
|
|
53
|
+
allTargets?: boolean,
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Profile
|
|
57
|
+
*
|
|
58
|
+
* The profile to build
|
|
59
|
+
*
|
|
60
|
+
*/
|
|
61
|
+
profile?: string,
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Release
|
|
65
|
+
*
|
|
66
|
+
* Build in release mode
|
|
67
|
+
*
|
|
68
|
+
*/
|
|
69
|
+
release?: boolean,
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Features
|
|
73
|
+
*
|
|
74
|
+
* The features to build
|
|
75
|
+
*
|
|
76
|
+
*
|
|
77
|
+
* @oneOf [object Object],[object Object]
|
|
78
|
+
*/
|
|
79
|
+
features?: string,
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* All Features
|
|
83
|
+
*
|
|
84
|
+
* Build all features
|
|
85
|
+
*
|
|
86
|
+
*/
|
|
87
|
+
allFeatures?: boolean,
|
|
88
|
+
}
|
|
89
|
+
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "#",
|
|
3
|
+
"title": "Cargo Check Executor",
|
|
4
|
+
"description": "A type definition for a Cargo/rust check executor schema",
|
|
5
|
+
"properties": {
|
|
6
|
+
"outputPath": {
|
|
7
|
+
"title": "Output Path",
|
|
8
|
+
"type": "string",
|
|
9
|
+
"format": "path",
|
|
10
|
+
"description": "The output path for the build",
|
|
11
|
+
"id": "#outputPath",
|
|
12
|
+
"default": "dist/{projectRoot}"
|
|
13
|
+
},
|
|
14
|
+
"package": {
|
|
15
|
+
"title": "Cargo.toml Path",
|
|
16
|
+
"type": "string",
|
|
17
|
+
"format": "path",
|
|
18
|
+
"description": "The path to the Cargo.toml file",
|
|
19
|
+
"id": "#package",
|
|
20
|
+
"default": "{projectRoot}/Cargo.toml"
|
|
21
|
+
},
|
|
22
|
+
"toolchain": {
|
|
23
|
+
"title": "Toolchain",
|
|
24
|
+
"description": "The type of toolchain to use for the build",
|
|
25
|
+
"enum": [
|
|
26
|
+
"stable",
|
|
27
|
+
"beta",
|
|
28
|
+
"nightly"
|
|
29
|
+
],
|
|
30
|
+
"default": "stable",
|
|
31
|
+
"id": "#toolchain",
|
|
32
|
+
"type": "string"
|
|
33
|
+
},
|
|
34
|
+
"target": {
|
|
35
|
+
"title": "Target",
|
|
36
|
+
"type": "string",
|
|
37
|
+
"description": "The target to build",
|
|
38
|
+
"id": "#target"
|
|
39
|
+
},
|
|
40
|
+
"allTargets": {
|
|
41
|
+
"title": "All Targets",
|
|
42
|
+
"type": "boolean",
|
|
43
|
+
"description": "Build all targets",
|
|
44
|
+
"id": "#allTargets"
|
|
45
|
+
},
|
|
46
|
+
"profile": {
|
|
47
|
+
"title": "Profile",
|
|
48
|
+
"type": "string",
|
|
49
|
+
"description": "The profile to build",
|
|
50
|
+
"id": "#profile"
|
|
51
|
+
},
|
|
52
|
+
"release": {
|
|
53
|
+
"title": "Release",
|
|
54
|
+
"type": "boolean",
|
|
55
|
+
"description": "Build in release mode",
|
|
56
|
+
"id": "#release"
|
|
57
|
+
},
|
|
58
|
+
"features": {
|
|
59
|
+
"title": "Features",
|
|
60
|
+
"type": "string",
|
|
61
|
+
"description": "The features to build",
|
|
62
|
+
"oneOf": [
|
|
63
|
+
{
|
|
64
|
+
"type": "string"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"type": "array",
|
|
68
|
+
"items": {
|
|
69
|
+
"type": "string"
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
],
|
|
73
|
+
"id": "#features"
|
|
74
|
+
},
|
|
75
|
+
"allFeatures": {
|
|
76
|
+
"title": "All Features",
|
|
77
|
+
"type": "boolean",
|
|
78
|
+
"description": "Build all features",
|
|
79
|
+
"id": "#allFeatures"
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"type": "object",
|
|
83
|
+
"default": {
|
|
84
|
+
"outputPath": "dist/{projectRoot}",
|
|
85
|
+
"package": "{projectRoot}/Cargo.toml",
|
|
86
|
+
"toolchain": "stable"
|
|
87
|
+
}
|
|
88
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
|
|
2
|
+
// Generated by @storm-software/untyped
|
|
3
|
+
// Do not edit this file directly
|
|
4
|
+
|
|
5
|
+
export interface CargoClippyExecutorSchema {
|
|
6
|
+
/**
|
|
7
|
+
* Output Path
|
|
8
|
+
*
|
|
9
|
+
* The output path for the build
|
|
10
|
+
*
|
|
11
|
+
* @default "dist/{projectRoot}"
|
|
12
|
+
*
|
|
13
|
+
* @format path
|
|
14
|
+
*/
|
|
15
|
+
outputPath?: string,
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Cargo.toml Path
|
|
19
|
+
*
|
|
20
|
+
* The path to the Cargo.toml file
|
|
21
|
+
*
|
|
22
|
+
* @default "{projectRoot}/Cargo.toml"
|
|
23
|
+
*
|
|
24
|
+
* @format path
|
|
25
|
+
*/
|
|
26
|
+
package?: string,
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Toolchain
|
|
30
|
+
*
|
|
31
|
+
* The type of toolchain to use for the build
|
|
32
|
+
*
|
|
33
|
+
* @default "stable"
|
|
34
|
+
*
|
|
35
|
+
* @enum stable,beta,nightly
|
|
36
|
+
*/
|
|
37
|
+
toolchain?: string,
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Target
|
|
41
|
+
*
|
|
42
|
+
* The target to build
|
|
43
|
+
*
|
|
44
|
+
*/
|
|
45
|
+
target?: string,
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* All Targets
|
|
49
|
+
*
|
|
50
|
+
* Build all targets
|
|
51
|
+
*
|
|
52
|
+
*/
|
|
53
|
+
allTargets?: boolean,
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Profile
|
|
57
|
+
*
|
|
58
|
+
* The profile to build
|
|
59
|
+
*
|
|
60
|
+
*/
|
|
61
|
+
profile?: string,
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Release
|
|
65
|
+
*
|
|
66
|
+
* Build in release mode
|
|
67
|
+
*
|
|
68
|
+
*/
|
|
69
|
+
release?: boolean,
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Features
|
|
73
|
+
*
|
|
74
|
+
* The features to build
|
|
75
|
+
*
|
|
76
|
+
*
|
|
77
|
+
* @oneOf [object Object],[object Object]
|
|
78
|
+
*/
|
|
79
|
+
features?: string,
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* All Features
|
|
83
|
+
*
|
|
84
|
+
* Build all features
|
|
85
|
+
*
|
|
86
|
+
*/
|
|
87
|
+
allFeatures?: boolean,
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Fix
|
|
91
|
+
*
|
|
92
|
+
* Automatically fix issues
|
|
93
|
+
*
|
|
94
|
+
*/
|
|
95
|
+
fix?: boolean,
|
|
96
|
+
}
|
|
97
|
+
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "#",
|
|
3
|
+
"title": "Cargo Clippy Executor",
|
|
4
|
+
"description": "A type definition for a Cargo/rust clippy executor schema",
|
|
5
|
+
"properties": {
|
|
6
|
+
"outputPath": {
|
|
7
|
+
"title": "Output Path",
|
|
8
|
+
"type": "string",
|
|
9
|
+
"format": "path",
|
|
10
|
+
"description": "The output path for the build",
|
|
11
|
+
"id": "#outputPath",
|
|
12
|
+
"default": "dist/{projectRoot}"
|
|
13
|
+
},
|
|
14
|
+
"package": {
|
|
15
|
+
"title": "Cargo.toml Path",
|
|
16
|
+
"type": "string",
|
|
17
|
+
"format": "path",
|
|
18
|
+
"description": "The path to the Cargo.toml file",
|
|
19
|
+
"id": "#package",
|
|
20
|
+
"default": "{projectRoot}/Cargo.toml"
|
|
21
|
+
},
|
|
22
|
+
"toolchain": {
|
|
23
|
+
"title": "Toolchain",
|
|
24
|
+
"description": "The type of toolchain to use for the build",
|
|
25
|
+
"enum": [
|
|
26
|
+
"stable",
|
|
27
|
+
"beta",
|
|
28
|
+
"nightly"
|
|
29
|
+
],
|
|
30
|
+
"default": "stable",
|
|
31
|
+
"id": "#toolchain",
|
|
32
|
+
"type": "string"
|
|
33
|
+
},
|
|
34
|
+
"target": {
|
|
35
|
+
"title": "Target",
|
|
36
|
+
"type": "string",
|
|
37
|
+
"description": "The target to build",
|
|
38
|
+
"id": "#target"
|
|
39
|
+
},
|
|
40
|
+
"allTargets": {
|
|
41
|
+
"title": "All Targets",
|
|
42
|
+
"type": "boolean",
|
|
43
|
+
"description": "Build all targets",
|
|
44
|
+
"id": "#allTargets"
|
|
45
|
+
},
|
|
46
|
+
"profile": {
|
|
47
|
+
"title": "Profile",
|
|
48
|
+
"type": "string",
|
|
49
|
+
"description": "The profile to build",
|
|
50
|
+
"id": "#profile"
|
|
51
|
+
},
|
|
52
|
+
"release": {
|
|
53
|
+
"title": "Release",
|
|
54
|
+
"type": "boolean",
|
|
55
|
+
"description": "Build in release mode",
|
|
56
|
+
"id": "#release"
|
|
57
|
+
},
|
|
58
|
+
"features": {
|
|
59
|
+
"title": "Features",
|
|
60
|
+
"type": "string",
|
|
61
|
+
"description": "The features to build",
|
|
62
|
+
"oneOf": [
|
|
63
|
+
{
|
|
64
|
+
"type": "string"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"type": "array",
|
|
68
|
+
"items": {
|
|
69
|
+
"type": "string"
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
],
|
|
73
|
+
"id": "#features"
|
|
74
|
+
},
|
|
75
|
+
"allFeatures": {
|
|
76
|
+
"title": "All Features",
|
|
77
|
+
"type": "boolean",
|
|
78
|
+
"description": "Build all features",
|
|
79
|
+
"id": "#allFeatures"
|
|
80
|
+
},
|
|
81
|
+
"fix": {
|
|
82
|
+
"title": "Fix",
|
|
83
|
+
"type": "boolean",
|
|
84
|
+
"description": "Automatically fix issues",
|
|
85
|
+
"id": "#fix"
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"type": "object",
|
|
89
|
+
"default": {
|
|
90
|
+
"outputPath": "dist/{projectRoot}",
|
|
91
|
+
"package": "{projectRoot}/Cargo.toml",
|
|
92
|
+
"toolchain": "stable"
|
|
93
|
+
}
|
|
94
|
+
}
|