@hanzogui/static-sync 7.3.0 → 8.0.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/dist/index.cjs +2 -2
- package/package.json +9 -10
- package/src/index.ts +2 -2
package/dist/index.cjs
CHANGED
|
@@ -68,7 +68,7 @@ function extractToClassNamesSync(params) {
|
|
|
68
68
|
const result = runTaskSync(task);
|
|
69
69
|
if (!result.success) {
|
|
70
70
|
const errorMessage = [
|
|
71
|
-
`[
|
|
71
|
+
`[hanzogui-extract] Error processing file: ${sourcePath || "(unknown)"}`,
|
|
72
72
|
``,
|
|
73
73
|
result.error,
|
|
74
74
|
result.stack ? `
|
|
@@ -88,7 +88,7 @@ function extractToNativeSync(sourceFileName, sourceCode, options) {
|
|
|
88
88
|
const result = runTaskSync(task);
|
|
89
89
|
if (!result.success) {
|
|
90
90
|
const errorMessage = [
|
|
91
|
-
`[
|
|
91
|
+
`[hanzogui-extract] Error processing file: ${sourceFileName || "(unknown)"}`,
|
|
92
92
|
``,
|
|
93
93
|
result.error,
|
|
94
94
|
result.stack ? `
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hanzogui/static-sync",
|
|
3
|
-
"version": "
|
|
4
|
-
"license": "
|
|
3
|
+
"version": "8.0.0",
|
|
4
|
+
"license": "MIT",
|
|
5
5
|
"source": "src/index.ts",
|
|
6
6
|
"files": [
|
|
7
7
|
"src",
|
|
@@ -25,19 +25,18 @@
|
|
|
25
25
|
"access": "public"
|
|
26
26
|
},
|
|
27
27
|
"scripts": {
|
|
28
|
-
"build": "
|
|
28
|
+
"build": "hanzogui-build --skip-native --bundle",
|
|
29
29
|
"watch": "bun run build --watch",
|
|
30
|
-
"clean": "
|
|
31
|
-
"clean:build": "
|
|
30
|
+
"clean": "hanzogui-build clean",
|
|
31
|
+
"clean:build": "hanzogui-build clean:build"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@babel/core": "^7.25.2",
|
|
35
|
-
"@hanzogui/static": "
|
|
36
|
-
"@hanzogui/types": "
|
|
35
|
+
"@hanzogui/static": "8.0.0",
|
|
36
|
+
"@hanzogui/types": "8.0.0",
|
|
37
37
|
"synckit": "^0.9.2"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@hanzogui/build": "
|
|
41
|
-
}
|
|
42
|
-
"author": "Hanzo AI <dev@hanzo.ai>"
|
|
40
|
+
"@hanzogui/build": "8.0.0"
|
|
41
|
+
}
|
|
43
42
|
}
|
package/src/index.ts
CHANGED
|
@@ -67,7 +67,7 @@ export function extractToClassNamesSync(params: {
|
|
|
67
67
|
|
|
68
68
|
if (!result.success) {
|
|
69
69
|
const errorMessage = [
|
|
70
|
-
`[
|
|
70
|
+
`[hanzogui-extract] Error processing file: ${sourcePath || '(unknown)'}`,
|
|
71
71
|
``,
|
|
72
72
|
result.error,
|
|
73
73
|
result.stack ? `\n${result.stack}` : '',
|
|
@@ -100,7 +100,7 @@ export function extractToNativeSync(
|
|
|
100
100
|
|
|
101
101
|
if (!result.success) {
|
|
102
102
|
const errorMessage = [
|
|
103
|
-
`[
|
|
103
|
+
`[hanzogui-extract] Error processing file: ${sourceFileName || '(unknown)'}`,
|
|
104
104
|
``,
|
|
105
105
|
result.error,
|
|
106
106
|
result.stack ? `\n${result.stack}` : '',
|