@hanzogui/static 8.0.0 → 8.0.1
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.
|
@@ -57,7 +57,7 @@ var import_regenerateConfig = require("./regenerateConfig.cjs");
|
|
|
57
57
|
const getFilledOptions = propsIn => ({
|
|
58
58
|
platform: "web",
|
|
59
59
|
config: "hanzogui.config.ts",
|
|
60
|
-
components: ["
|
|
60
|
+
components: ["@hanzo/gui"],
|
|
61
61
|
...propsIn
|
|
62
62
|
});
|
|
63
63
|
let isLoadingPromise;
|
|
@@ -157,7 +157,7 @@ async function loadGuiBuildConfigAsync(hanzoguiOptions) {
|
|
|
157
157
|
if (!hanzoguiOptions) throw new Error(`No hanzogui build options found either via input props or at hanzogui.build.ts`);
|
|
158
158
|
return {
|
|
159
159
|
config: "hanzogui.config.ts",
|
|
160
|
-
components: ["
|
|
160
|
+
components: ["@hanzo/gui", "@hanzogui/core"],
|
|
161
161
|
...hanzoguiOptions
|
|
162
162
|
};
|
|
163
163
|
}
|
|
@@ -179,7 +179,7 @@ function loadGuiBuildConfigSync(hanzoguiOptions) {
|
|
|
179
179
|
if (!hanzoguiOptions) throw new Error(`No hanzogui build options found either via input props or at hanzogui.build.ts`);
|
|
180
180
|
return {
|
|
181
181
|
config: "hanzogui.config.ts",
|
|
182
|
-
components: ["
|
|
182
|
+
components: ["@hanzo/gui", "@hanzogui/core"],
|
|
183
183
|
...hanzoguiOptions
|
|
184
184
|
};
|
|
185
185
|
}
|
|
@@ -288,7 +288,7 @@ async function getOptions({
|
|
|
288
288
|
tsconfigPath,
|
|
289
289
|
hanzoguiOptions: {
|
|
290
290
|
platform: "web",
|
|
291
|
-
components: ["
|
|
291
|
+
components: ["@hanzo/gui"],
|
|
292
292
|
...hanzoguiOptions,
|
|
293
293
|
config: hanzoguiOptions?.config ?? (await getDefaultGuiConfigPath(root, hanzoguiOptions?.config))
|
|
294
294
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hanzogui/static",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.1",
|
|
4
4
|
"gitHead": "a49cc7ea6b93ba384e77a4880ae48ac4a5635c14",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"source": "src/index.ts",
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
"@babel/traverse": "^7.25.4",
|
|
52
52
|
"@babel/types": "^7.25.4",
|
|
53
53
|
"@hanzogui/cli-color": "8.0.0",
|
|
54
|
-
"@hanzogui/config-default": "8.0.
|
|
55
|
-
"@hanzogui/core": "8.0.
|
|
54
|
+
"@hanzogui/config-default": "8.0.1",
|
|
55
|
+
"@hanzogui/core": "8.0.1",
|
|
56
56
|
"@hanzogui/fake-react-native": "8.0.0",
|
|
57
57
|
"@hanzogui/generate-themes": "8.0.0",
|
|
58
58
|
"@hanzogui/helpers": "8.0.0",
|
package/src/extractor/loadGui.ts
CHANGED
|
@@ -29,7 +29,7 @@ const getFilledOptions = (propsIn: Partial<GuiOptions>): GuiOptions => ({
|
|
|
29
29
|
// defaults
|
|
30
30
|
platform: (process.env.GUI_TARGET as any) || 'web',
|
|
31
31
|
config: 'hanzogui.config.ts',
|
|
32
|
-
components: ['
|
|
32
|
+
components: ['@hanzo/gui'],
|
|
33
33
|
...(propsIn as Partial<GuiOptions>),
|
|
34
34
|
})
|
|
35
35
|
|
|
@@ -198,7 +198,7 @@ export async function loadGuiBuildConfigAsync(
|
|
|
198
198
|
|
|
199
199
|
return {
|
|
200
200
|
config: 'hanzogui.config.ts',
|
|
201
|
-
components: ['
|
|
201
|
+
components: ['@hanzo/gui', '@hanzogui/core'],
|
|
202
202
|
...hanzoguiOptions,
|
|
203
203
|
} as GuiOptions
|
|
204
204
|
}
|
|
@@ -235,7 +235,7 @@ export function loadGuiBuildConfigSync(
|
|
|
235
235
|
}
|
|
236
236
|
return {
|
|
237
237
|
config: 'hanzogui.config.ts',
|
|
238
|
-
components: ['
|
|
238
|
+
components: ['@hanzo/gui', '@hanzogui/core'],
|
|
239
239
|
...hanzoguiOptions,
|
|
240
240
|
} as GuiOptions
|
|
241
241
|
}
|
|
@@ -387,7 +387,7 @@ export async function getOptions({
|
|
|
387
387
|
tsconfigPath,
|
|
388
388
|
hanzoguiOptions: {
|
|
389
389
|
platform: (process.env.GUI_TARGET as any) || 'web',
|
|
390
|
-
components: ['
|
|
390
|
+
components: ['@hanzo/gui'],
|
|
391
391
|
...hanzoguiOptions,
|
|
392
392
|
config:
|
|
393
393
|
hanzoguiOptions?.config ??
|