@storm-software/workspace-tools 1.18.0 → 1.19.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/workspace-tools",
3
- "version": "1.18.0",
3
+ "version": "1.19.0",
4
4
  "private": false,
5
5
  "description": "⚡ A Nx plugin package that contains various executors and generators used in a Storm workspaces.",
6
6
  "keywords": [
@@ -49,7 +49,9 @@
49
49
  "rollup-plugin-dts": "^6.1.0",
50
50
  "terser": "^5.24.0",
51
51
  "tslib": "2.6.2",
52
- "tsup": "8.0.0"
52
+ "tsup": "8.0.0",
53
+ "zod": "^3.22.4",
54
+ "zod-to-json-schema": "^3.22.1"
53
55
  },
54
56
  "publishConfig": {
55
57
  "access": "public"
@@ -0,0 +1,3 @@
1
+ export interface ConfigSchemaGeneratorSchema {
2
+ outputFile?: string;
3
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ "$schema": "http://json-schema.org/schema",
3
+ "$id": "config-schema",
4
+ "title": "Configuration Schema Creator",
5
+ "description": "Create a StormConfig JSON schema based on the workspace's project configurations",
6
+ "type": "object",
7
+ "properties": {
8
+ "outputFile": {
9
+ "type": "string",
10
+ "description": "The file path where the schema json will be written (relative to the workspace root)",
11
+ "$default": {
12
+ "$source": "argv",
13
+ "index": 0
14
+ },
15
+ "x-prompt": "Where should the schema json be written (relative to the workspace root)?",
16
+ "default": "{workspaceRoot}/storm.schema.json"
17
+ }
18
+ },
19
+ "required": ["outputFile"]
20
+ }
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/schema",
3
- "$id": "NodeLibrary",
3
+ "$id": "node-library",
4
4
  "title": "Add Node Library",
5
+ "description": "Create a Storm JSON schema based on the workspace's project configurations",
5
6
  "type": "object",
6
7
  "properties": {
7
8
  "name": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/schema",
3
- "$id": "Preset",
3
+ "$id": "preset",
4
4
  "title": "Workspace Preset",
5
5
  "description": "Create a Storm workspace with all of the required files and recommended packages installed.",
6
6
  "type": "object",