@storm-software/workspace-tools 1.44.0 → 1.45.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.
@@ -1,5 +1,6 @@
1
1
  export interface TypiaExecutorSchema {
2
- entry: string;
2
+ entryPath: string;
3
3
  outputPath: string;
4
4
  tsConfig: string;
5
+ clean?: boolean;
5
6
  }
@@ -6,18 +6,18 @@
6
6
  "description": "Run the Typia generator to create runtime type validators",
7
7
  "type": "object",
8
8
  "properties": {
9
- "entry": {
9
+ "entryPath": {
10
10
  "type": "string",
11
- "description": "The path to the typia entry file, relative to project.",
11
+ "description": "The path of the typescript files using `typia`.",
12
12
  "alias": "main",
13
- "default": "{sourceRoot}/index.ts"
13
+ "default": "{sourceRoot}"
14
14
  },
15
15
  "outputPath": {
16
16
  "type": "string",
17
17
  "description": "The output path of the generated files.",
18
18
  "x-completion-type": "directory",
19
19
  "x-priority": "important",
20
- "default": "{sourceRoot}/__generated__/typia/index.ts"
20
+ "default": "{sourceRoot}/__generated__/typia"
21
21
  },
22
22
  "tsConfig": {
23
23
  "type": "string",
@@ -25,8 +25,14 @@
25
25
  "x-completion-type": "file",
26
26
  "x-completion-glob": "tsconfig.*.json",
27
27
  "x-priority": "important",
28
- "default": "tsconfig.json"
28
+ "default": "{projectRoot}/tsconfig.json"
29
+ },
30
+ "clean": {
31
+ "type": "boolean",
32
+ "description": "Remove previous output before build.",
33
+ "alias": "deleteOutputPath",
34
+ "default": true
29
35
  }
30
36
  },
31
- "required": ["entry", "outputPath", "tsConfig"]
37
+ "required": ["entryPath", "outputPath", "tsConfig"]
32
38
  }