@dxtmisha/scripts 0.5.15 → 0.5.17
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,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxtmisha/scripts",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.5.
|
|
4
|
+
"version": "0.5.17",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Development scripts and CLI tools for DXT UI projects - automated component generation, library building and project management tools",
|
|
7
7
|
"keywords": [
|
|
@@ -7,7 +7,8 @@ import { PropertiesFile } from './PropertiesFile'
|
|
|
7
7
|
import type { AiType, DesignUiConfig } from '../../types/configTypes'
|
|
8
8
|
|
|
9
9
|
import {
|
|
10
|
-
UI_AI_DOC_DIRECTORY,
|
|
10
|
+
UI_AI_DOC_DIRECTORY,
|
|
11
|
+
UI_AI_DOC_STORYBOOK,
|
|
11
12
|
UI_CONFIG_FILE
|
|
12
13
|
} from '../../config'
|
|
13
14
|
|
|
@@ -155,21 +156,29 @@ export class PropertiesConfig {
|
|
|
155
156
|
}
|
|
156
157
|
|
|
157
158
|
static {
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
159
|
+
const paths: string[] = [UI_CONFIG_FILE]
|
|
160
|
+
this.config = {} as DesignUiConfig
|
|
161
|
+
|
|
162
|
+
for (let i = 0; i < 32; i++) {
|
|
163
|
+
if (PropertiesFile.is(paths)) {
|
|
164
|
+
let file = PropertiesFile.readFile<DesignUiConfig>(paths)
|
|
165
|
+
|
|
166
|
+
if (file) {
|
|
167
|
+
if (
|
|
168
|
+
file?.extends
|
|
169
|
+
) {
|
|
170
|
+
file = {
|
|
171
|
+
...this.getExtends(file.extends, [PropertiesFile.getPathDir(paths)]),
|
|
172
|
+
...file
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
this.config = file
|
|
177
|
+
break
|
|
178
|
+
}
|
|
166
179
|
}
|
|
167
|
-
}
|
|
168
180
|
|
|
169
|
-
|
|
170
|
-
this.config = file
|
|
171
|
-
} else {
|
|
172
|
-
this.config = {} as DesignUiConfig
|
|
181
|
+
paths.unshift('..')
|
|
173
182
|
}
|
|
174
183
|
}
|
|
175
184
|
}
|