@storm-software/workspace-tools 1.158.1 → 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.
Files changed (33) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +278 -69
  3. package/config/nx.json +2 -2
  4. package/declarations.d.ts +15 -4
  5. package/executors.json +35 -10
  6. package/index.js +50 -0
  7. package/meta.json +1 -1
  8. package/package.json +1 -1
  9. package/src/executors/cargo-build/executor.d.ts +7 -0
  10. package/src/executors/cargo-build/executor.js +68635 -0
  11. package/src/executors/cargo-build/schema.d.ts +3 -0
  12. package/src/executors/cargo-build/schema.json +138 -0
  13. package/src/executors/cargo-check/executor.d.ts +7 -0
  14. package/src/executors/cargo-check/executor.js +68634 -0
  15. package/src/executors/cargo-check/schema.d.ts +3 -0
  16. package/src/executors/cargo-check/schema.json +138 -0
  17. package/src/executors/cargo-clippy/executor.d.ts +7 -0
  18. package/src/executors/cargo-clippy/executor.js +68635 -0
  19. package/src/executors/cargo-clippy/schema.d.ts +3 -0
  20. package/src/executors/cargo-clippy/schema.json +36 -0
  21. package/src/executors/cargo-doc/executor.d.ts +7 -0
  22. package/src/executors/cargo-doc/executor.js +68640 -0
  23. package/src/executors/cargo-doc/schema.d.ts +3 -0
  24. package/src/executors/cargo-doc/schema.json +146 -0
  25. package/src/executors/cargo-format/executor.d.ts +7 -0
  26. package/src/executors/cargo-format/executor.js +68635 -0
  27. package/src/executors/cargo-format/schema.d.ts +3 -0
  28. package/src/executors/cargo-format/schema.json +134 -0
  29. package/src/plugins/rust/cargo-toml.d.ts +11 -0
  30. package/src/plugins/rust/index.js +99 -34
  31. package/src/plugins/typescript/index.js +1 -1
  32. package/src/utils/cargo.d.ts +4 -0
  33. package/src/utils/index.js +50 -0
@@ -0,0 +1,3 @@
1
+ import { CargoBaseExecutorSchema } from "../../../declarations";
2
+
3
+ export type CargoClippyExecutorSchema = CargoBaseExecutorSchema;
@@ -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;