@razorwind/nx 0.0.4 → 0.0.5
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 +10 -0
- package/dist/executors/generate/executor.d.mts +2 -2
- package/dist/executors/generate/executor.d.ts +2 -2
- package/dist/executors/generate/executor.js +2 -4
- package/dist/executors/generate/executor.mjs +2 -4
- package/dist/executors/generate/schema.d.ts +2 -2
- package/dist/executors/generate/schema.json +2 -2
- package/docs/api/generate/schema.md +2 -2
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Razorwind - Nx
|
|
4
4
|
|
|
5
|
+
## [0.0.5](https://github.com/storm-software/razorwind/releases/tag/nx%400.0.5) (07/30/2026)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
- **core:** Update generator to read `componentsPath` to populate specification ([77ce658](https://github.com/storm-software/razorwind/commit/77ce658))
|
|
10
|
+
|
|
11
|
+
### Updated Dependencies
|
|
12
|
+
|
|
13
|
+
- Updated **core** to **v0.0.11**
|
|
14
|
+
|
|
5
15
|
## [0.0.4](https://github.com/storm-software/razorwind/releases/tag/nx%400.0.4) (07/27/2026)
|
|
6
16
|
|
|
7
17
|
### Updated Dependencies
|
|
@@ -19,10 +19,10 @@ interface GenerateExecutorSchema {
|
|
|
19
19
|
*/
|
|
20
20
|
mode: string;
|
|
21
21
|
/**
|
|
22
|
-
* The path to
|
|
22
|
+
* The path to a directory containing component directories or files
|
|
23
23
|
*
|
|
24
24
|
*/
|
|
25
|
-
|
|
25
|
+
componentsPath?: string;
|
|
26
26
|
/**
|
|
27
27
|
* The path to the tokens.json file
|
|
28
28
|
*
|
|
@@ -19,10 +19,10 @@ interface GenerateExecutorSchema {
|
|
|
19
19
|
*/
|
|
20
20
|
mode: string;
|
|
21
21
|
/**
|
|
22
|
-
* The path to
|
|
22
|
+
* The path to a directory containing component directories or files
|
|
23
23
|
*
|
|
24
24
|
*/
|
|
25
|
-
|
|
25
|
+
componentsPath?: string;
|
|
26
26
|
/**
|
|
27
27
|
* The path to the tokens.json file
|
|
28
28
|
*
|
|
@@ -6,10 +6,8 @@ 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
8
|
await (0, _power_plant_core.execute)(_razorwind_core.generator, {
|
|
9
|
-
|
|
10
|
-
mode: options.mode
|
|
11
|
-
registryPath: options.registryPath,
|
|
12
|
-
tokensPath: options.tokensPath
|
|
9
|
+
...options,
|
|
10
|
+
mode: options.mode
|
|
13
11
|
});
|
|
14
12
|
return { success: true };
|
|
15
13
|
}
|
|
@@ -6,10 +6,8 @@ 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
8
|
await execute(generator, {
|
|
9
|
-
|
|
10
|
-
mode: options.mode
|
|
11
|
-
registryPath: options.registryPath,
|
|
12
|
-
tokensPath: options.tokensPath
|
|
9
|
+
...options,
|
|
10
|
+
mode: options.mode
|
|
13
11
|
});
|
|
14
12
|
return { success: true };
|
|
15
13
|
}
|
|
@@ -20,10 +20,10 @@ export interface GenerateExecutorSchema {
|
|
|
20
20
|
mode: string,
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
|
-
* The path to
|
|
23
|
+
* The path to a directory containing component directories or files
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
|
-
|
|
26
|
+
componentsPath?: string,
|
|
27
27
|
|
|
28
28
|
/**
|
|
29
29
|
* The path to the tokens.json file
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"production"
|
|
22
22
|
]
|
|
23
23
|
},
|
|
24
|
-
"
|
|
24
|
+
"componentsPath": {
|
|
25
25
|
"type": "string",
|
|
26
|
-
"description": "The path to
|
|
26
|
+
"description": "The path to a directory containing component directories or files"
|
|
27
27
|
},
|
|
28
28
|
"tokensPath": {
|
|
29
29
|
"type": "string",
|
|
@@ -20,11 +20,11 @@ The path to the configuration file
|
|
|
20
20
|
The mode to use
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
## `
|
|
23
|
+
## `componentsPath`
|
|
24
24
|
- **Type**: `string`
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
The path to
|
|
27
|
+
The path to a directory containing component directories or files
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
## `tokensPath`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@razorwind/nx",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.5",
|
|
4
4
|
"description": "A Nx plugin to support Razorwind development in Nx monorepos.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "github",
|
|
@@ -79,8 +79,8 @@
|
|
|
79
79
|
"typings": "dist/index.d.ts",
|
|
80
80
|
"dependencies": {
|
|
81
81
|
"@nx/devkit": "23.1.0",
|
|
82
|
-
"@power-plant/core": "^0.0.
|
|
83
|
-
"@razorwind/core": "^0.0.
|
|
82
|
+
"@power-plant/core": "^0.0.52",
|
|
83
|
+
"@razorwind/core": "^0.0.11",
|
|
84
84
|
"@stryke/hash": "^0.13.52",
|
|
85
85
|
"@stryke/path": "^0.29.25",
|
|
86
86
|
"@stryke/string-format": "^0.17.40",
|
|
@@ -90,8 +90,8 @@
|
|
|
90
90
|
"untyped": "^2.0.0"
|
|
91
91
|
},
|
|
92
92
|
"devDependencies": {
|
|
93
|
-
"@powerlines/plugin-tsdown": "^0.1.
|
|
94
|
-
"@powerlines/plugin-untyped": "^0.2.
|
|
93
|
+
"@powerlines/plugin-tsdown": "^0.1.571",
|
|
94
|
+
"@powerlines/plugin-untyped": "^0.2.585",
|
|
95
95
|
"@types/node": "^25.9.5",
|
|
96
96
|
"eslint-flat-config-utils": "^3.2.0",
|
|
97
97
|
"jsonc-eslint-parser": "^3.1.0"
|
|
@@ -99,5 +99,5 @@
|
|
|
99
99
|
"peerDependencies": { "nx": ">=23.0.0" },
|
|
100
100
|
"publishConfig": { "access": "public" },
|
|
101
101
|
"executors": "./executors.json",
|
|
102
|
-
"gitHead": "
|
|
102
|
+
"gitHead": "fd7712d76c7a07b13072384c0d57b7f36d5c9946"
|
|
103
103
|
}
|