@storm-software/workspace-tools 1.159.0 → 1.159.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 +7 -0
- package/README.md +278 -69
- package/config/nx.json +1 -1
- package/declarations.d.ts +15 -4
- package/executors.json +35 -10
- package/index.js +50 -0
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/executors/cargo-build/executor.d.ts +7 -0
- package/src/executors/cargo-build/executor.js +68635 -0
- package/src/executors/cargo-build/schema.d.ts +3 -0
- package/src/executors/cargo-build/schema.json +138 -0
- package/src/executors/cargo-check/executor.d.ts +7 -0
- package/src/executors/cargo-check/executor.js +68634 -0
- package/src/executors/cargo-check/schema.d.ts +3 -0
- package/src/executors/cargo-check/schema.json +138 -0
- package/src/executors/cargo-clippy/executor.d.ts +7 -0
- package/src/executors/cargo-clippy/executor.js +68635 -0
- package/src/executors/cargo-clippy/schema.d.ts +3 -0
- package/src/executors/cargo-clippy/schema.json +36 -0
- package/src/executors/cargo-doc/executor.d.ts +7 -0
- package/src/executors/cargo-doc/executor.js +68640 -0
- package/src/executors/cargo-doc/schema.d.ts +3 -0
- package/src/executors/cargo-doc/schema.json +146 -0
- package/src/executors/cargo-format/executor.d.ts +7 -0
- package/src/executors/cargo-format/executor.js +68635 -0
- package/src/executors/cargo-format/schema.d.ts +3 -0
- package/src/executors/cargo-format/schema.json +134 -0
- package/src/plugins/rust/cargo-toml.d.ts +11 -0
- package/src/plugins/rust/index.js +94 -33
- package/src/utils/cargo.d.ts +4 -0
- package/src/utils/index.js +50 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"$id": "cargo-clippy",
|
|
4
|
+
"outputCapture": "direct-nodejs",
|
|
5
|
+
"version": 2,
|
|
6
|
+
"title": "Cargo Clippy",
|
|
7
|
+
"description": "Lint a Rust project with Cargo Clippy",
|
|
8
|
+
"type": "object",
|
|
9
|
+
"properties": {
|
|
10
|
+
"release": {
|
|
11
|
+
"type": "boolean",
|
|
12
|
+
"description": "Run the Cargo command for the project in release mode",
|
|
13
|
+
"default": false
|
|
14
|
+
},
|
|
15
|
+
"profile": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"description": "Build artifacts with the specified profile"
|
|
18
|
+
},
|
|
19
|
+
"toolchain": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"description": "The Rust toolchain to use",
|
|
22
|
+
"enum": ["stable", "beta", "nightly"],
|
|
23
|
+
"default": "stable"
|
|
24
|
+
},
|
|
25
|
+
"target": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"description": "Build the specified target"
|
|
28
|
+
},
|
|
29
|
+
"fix": {
|
|
30
|
+
"type": "boolean",
|
|
31
|
+
"default": false,
|
|
32
|
+
"description": "Automatically apply suggestions"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"required": []
|
|
36
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ExecutorContext, PromiseExecutor } from "@nx/devkit";
|
|
2
|
+
import { CargoDocExecutorSchema } from "./schema";
|
|
3
|
+
export declare function cargoDocExecutor(options: CargoDocExecutorSchema, context: ExecutorContext): Promise<{
|
|
4
|
+
success: boolean;
|
|
5
|
+
}>;
|
|
6
|
+
declare const _default: PromiseExecutor<CargoDocExecutorSchema>;
|
|
7
|
+
export default _default;
|