@razorwind/nx 0.0.38 → 0.0.40
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/dist/executors/generate/executor.d.mts +6 -0
- package/dist/executors/generate/executor.d.ts +6 -0
- package/dist/executors/generate/executor.d.ts.map +1 -1
- package/dist/executors/generate/executor.js +3 -1
- package/dist/executors/generate/executor.mjs +3 -1
- package/dist/executors/generate/schema.d.ts +7 -0
- package/dist/executors/generate/schema.json +7 -1
- package/docs/api/generate/schema.md +8 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,26 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Razorwind - Nx
|
|
4
4
|
|
|
5
|
+
## [0.0.40](https://github.com/storm-software/razorwind/releases/tag/nx%400.0.40) (08/13/2026)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
- **core:** Added `verbose` option to provide verbose Style Dictionary extraction ([032b623](https://github.com/storm-software/razorwind/commit/032b623))
|
|
10
|
+
|
|
11
|
+
### Updated Dependencies
|
|
12
|
+
|
|
13
|
+
- Updated **core** to **v0.0.45**
|
|
14
|
+
|
|
15
|
+
## [0.0.39](https://github.com/storm-software/razorwind/releases/tag/nx%400.0.39) (08/13/2026)
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
- **core:** Resolve issue updating the `package.json` dependencies prior to publishing ([7ecfe7c](https://github.com/storm-software/razorwind/commit/7ecfe7c))
|
|
20
|
+
|
|
21
|
+
### Updated Dependencies
|
|
22
|
+
|
|
23
|
+
- Updated **core** to **v0.0.44**
|
|
24
|
+
|
|
5
25
|
## [0.0.38](https://github.com/storm-software/razorwind/releases/tag/nx%400.0.38) (08/13/2026)
|
|
6
26
|
|
|
7
27
|
### Updated Dependencies
|
|
@@ -31,6 +31,12 @@ interface GenerateExecutorSchema {
|
|
|
31
31
|
* @oneOf [object Object],[object Object]
|
|
32
32
|
*/
|
|
33
33
|
tokensPath?: string | string[];
|
|
34
|
+
/**
|
|
35
|
+
* Enable Style Dictionary verbose logging (`log.verbosity: "verbose"`)
|
|
36
|
+
*
|
|
37
|
+
* @default false
|
|
38
|
+
*/
|
|
39
|
+
verbose?: boolean;
|
|
34
40
|
}
|
|
35
41
|
//#endregion
|
|
36
42
|
//#region src/executors/generate/executor.d.ts
|
|
@@ -31,6 +31,12 @@ interface GenerateExecutorSchema {
|
|
|
31
31
|
* @oneOf [object Object],[object Object]
|
|
32
32
|
*/
|
|
33
33
|
tokensPath?: string | string[];
|
|
34
|
+
/**
|
|
35
|
+
* Enable Style Dictionary verbose logging (`log.verbosity: "verbose"`)
|
|
36
|
+
*
|
|
37
|
+
* @default false
|
|
38
|
+
*/
|
|
39
|
+
verbose?: boolean;
|
|
34
40
|
}
|
|
35
41
|
//#endregion
|
|
36
42
|
//#region src/executors/generate/executor.d.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executor.d.ts","names":[],"sources":["../../../src/executors/generate/schema.d.ts","../../../src/executors/generate/executor.ts"],"mappings":";;;;;UAIiB;;;;;EAKhB;;;;;;;;EASA;;;;;;;EAQA;;;;;;;EAQA;;;;
|
|
1
|
+
{"version":3,"file":"executor.d.ts","names":[],"sources":["../../../src/executors/generate/schema.d.ts","../../../src/executors/generate/executor.ts"],"mappings":";;;;;UAIiB;;;;;EAKhB;;;;;;;;EASA;;;;;;;EAQA;;;;;;;EAQA;;;;;;EAOA;;;;iBChBc,WACb,SAAS,wBACT,SAAS,kBACR,QAAQ"}
|
|
@@ -5,9 +5,11 @@ let _razorwind_core = require("@razorwind/core");
|
|
|
5
5
|
async function executorFn(options, context) {
|
|
6
6
|
if (!context.projectName) throw new Error(`The Razorwind - Generate executor requires \`projectName\` on the context object.`);
|
|
7
7
|
if (!context.projectName || !context.projectsConfigurations?.projects || !context.projectsConfigurations.projects[context.projectName] || !context.projectsConfigurations.projects[context.projectName]?.root) throw new Error(`The Razorwind - Generate executor requires \`projectsConfigurations\` on the context object.`);
|
|
8
|
+
const verbose = options.verbose === true ? true : context.isVerbose;
|
|
8
9
|
await (0, _power_plant_core.execute)(_razorwind_core.generator, {
|
|
9
10
|
...options,
|
|
10
|
-
mode: options.mode
|
|
11
|
+
mode: options.mode,
|
|
12
|
+
verbose
|
|
11
13
|
});
|
|
12
14
|
return { success: true };
|
|
13
15
|
}
|
|
@@ -5,9 +5,11 @@ import { generator } from "@razorwind/core";
|
|
|
5
5
|
async function executorFn(options, context) {
|
|
6
6
|
if (!context.projectName) throw new Error(`The Razorwind - Generate executor requires \`projectName\` on the context object.`);
|
|
7
7
|
if (!context.projectName || !context.projectsConfigurations?.projects || !context.projectsConfigurations.projects[context.projectName] || !context.projectsConfigurations.projects[context.projectName]?.root) throw new Error(`The Razorwind - Generate executor requires \`projectsConfigurations\` on the context object.`);
|
|
8
|
+
const verbose = options.verbose === true ? true : context.isVerbose;
|
|
8
9
|
await execute(generator, {
|
|
9
10
|
...options,
|
|
10
|
-
mode: options.mode
|
|
11
|
+
mode: options.mode,
|
|
12
|
+
verbose
|
|
11
13
|
});
|
|
12
14
|
return { success: true };
|
|
13
15
|
}
|
|
@@ -33,5 +33,12 @@ export interface GenerateExecutorSchema {
|
|
|
33
33
|
* @oneOf [object Object],[object Object]
|
|
34
34
|
*/
|
|
35
35
|
tokensPath?: string | string[],
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Enable Style Dictionary verbose logging (`log.verbosity: "verbose"`)
|
|
39
|
+
*
|
|
40
|
+
* @default false
|
|
41
|
+
*/
|
|
42
|
+
verbose?: boolean,
|
|
36
43
|
}
|
|
37
44
|
|
|
@@ -49,11 +49,17 @@
|
|
|
49
49
|
],
|
|
50
50
|
"tsType": "string | string[]",
|
|
51
51
|
"description": "The path to the tokens.json file, or an array of paths"
|
|
52
|
+
},
|
|
53
|
+
"verbose": {
|
|
54
|
+
"type": "boolean",
|
|
55
|
+
"description": "Enable Style Dictionary verbose logging (`log.verbosity: \"verbose\"`)",
|
|
56
|
+
"default": false
|
|
52
57
|
}
|
|
53
58
|
},
|
|
54
59
|
"additionalProperties": false,
|
|
55
60
|
"type": "object",
|
|
56
61
|
"default": {
|
|
57
|
-
"mode": "production"
|
|
62
|
+
"mode": "production",
|
|
63
|
+
"verbose": false
|
|
58
64
|
}
|
|
59
65
|
}
|
|
@@ -33,3 +33,11 @@ The path to a directory containing component directories or files, or an array o
|
|
|
33
33
|
The path to the tokens.json file, or an array of paths
|
|
34
34
|
|
|
35
35
|
|
|
36
|
+
## `verbose`
|
|
37
|
+
- **Type**: `boolean`
|
|
38
|
+
- **Default**: `false`
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
Enable Style Dictionary verbose logging (`log.verbosity: "verbose"`)
|
|
42
|
+
|
|
43
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@razorwind/nx",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.40",
|
|
4
4
|
"description": "A Nx plugin to support Razorwind development in Nx monorepos.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "github",
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
"dependencies": {
|
|
113
113
|
"@nx/devkit": "23.1.0",
|
|
114
114
|
"@power-plant/core": "^0.0.90",
|
|
115
|
-
"@razorwind/core": "^0.0.
|
|
115
|
+
"@razorwind/core": "^0.0.45",
|
|
116
116
|
"@storm-software/workspace-tools": "^1.297.2",
|
|
117
117
|
"@stryke/hash": "^0.13.63",
|
|
118
118
|
"@stryke/path": "^0.29.35",
|
|
@@ -134,5 +134,5 @@
|
|
|
134
134
|
"publishConfig": { "access": "public" },
|
|
135
135
|
"executors": "./executors.json",
|
|
136
136
|
"generators": "./generators.json",
|
|
137
|
-
"gitHead": "
|
|
137
|
+
"gitHead": "8646ac01928c5b68108e86adf33fb78941b35902"
|
|
138
138
|
}
|