@pandacss/compiler 2.0.0-beta.17 → 2.0.0-beta.18
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/binding.cjs +54 -54
- package/dist/{chunk-AN3VLJEN.js → chunk-YOYEU6IU.js} +54 -10
- package/dist/index.d.ts +8 -2
- package/dist/index.js +1 -1
- package/dist/loader.d.ts +1 -1
- package/dist/loader.js +1 -1
- package/dist/tooling/index.js +7 -7
- package/dist/{types-CsQTkng9.d.ts → types-BbuLq_c5.d.ts} +1 -1
- package/package.json +14 -14
package/binding.cjs
CHANGED
|
@@ -77,8 +77,8 @@ function requireNative() {
|
|
|
77
77
|
try {
|
|
78
78
|
const binding = require('@pandacss/compiler-android-arm64')
|
|
79
79
|
const bindingPackageVersion = require('@pandacss/compiler-android-arm64/package.json').version
|
|
80
|
-
if (bindingPackageVersion !== '2.0.0-beta.
|
|
81
|
-
throw new Error(`Native binding package version mismatch, expected 2.0.0-beta.
|
|
80
|
+
if (bindingPackageVersion !== '2.0.0-beta.18' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
81
|
+
throw new Error(`Native binding package version mismatch, expected 2.0.0-beta.18 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
82
82
|
}
|
|
83
83
|
return binding
|
|
84
84
|
} catch (e) {
|
|
@@ -93,8 +93,8 @@ function requireNative() {
|
|
|
93
93
|
try {
|
|
94
94
|
const binding = require('@pandacss/compiler-android-arm-eabi')
|
|
95
95
|
const bindingPackageVersion = require('@pandacss/compiler-android-arm-eabi/package.json').version
|
|
96
|
-
if (bindingPackageVersion !== '2.0.0-beta.
|
|
97
|
-
throw new Error(`Native binding package version mismatch, expected 2.0.0-beta.
|
|
96
|
+
if (bindingPackageVersion !== '2.0.0-beta.18' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
97
|
+
throw new Error(`Native binding package version mismatch, expected 2.0.0-beta.18 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
98
98
|
}
|
|
99
99
|
return binding
|
|
100
100
|
} catch (e) {
|
|
@@ -114,8 +114,8 @@ function requireNative() {
|
|
|
114
114
|
try {
|
|
115
115
|
const binding = require('@pandacss/compiler-win32-x64-gnu')
|
|
116
116
|
const bindingPackageVersion = require('@pandacss/compiler-win32-x64-gnu/package.json').version
|
|
117
|
-
if (bindingPackageVersion !== '2.0.0-beta.
|
|
118
|
-
throw new Error(`Native binding package version mismatch, expected 2.0.0-beta.
|
|
117
|
+
if (bindingPackageVersion !== '2.0.0-beta.18' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
118
|
+
throw new Error(`Native binding package version mismatch, expected 2.0.0-beta.18 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
119
119
|
}
|
|
120
120
|
return binding
|
|
121
121
|
} catch (e) {
|
|
@@ -130,8 +130,8 @@ function requireNative() {
|
|
|
130
130
|
try {
|
|
131
131
|
const binding = require('@pandacss/compiler-win32-x64-msvc')
|
|
132
132
|
const bindingPackageVersion = require('@pandacss/compiler-win32-x64-msvc/package.json').version
|
|
133
|
-
if (bindingPackageVersion !== '2.0.0-beta.
|
|
134
|
-
throw new Error(`Native binding package version mismatch, expected 2.0.0-beta.
|
|
133
|
+
if (bindingPackageVersion !== '2.0.0-beta.18' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
134
|
+
throw new Error(`Native binding package version mismatch, expected 2.0.0-beta.18 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
135
135
|
}
|
|
136
136
|
return binding
|
|
137
137
|
} catch (e) {
|
|
@@ -147,8 +147,8 @@ function requireNative() {
|
|
|
147
147
|
try {
|
|
148
148
|
const binding = require('@pandacss/compiler-win32-ia32-msvc')
|
|
149
149
|
const bindingPackageVersion = require('@pandacss/compiler-win32-ia32-msvc/package.json').version
|
|
150
|
-
if (bindingPackageVersion !== '2.0.0-beta.
|
|
151
|
-
throw new Error(`Native binding package version mismatch, expected 2.0.0-beta.
|
|
150
|
+
if (bindingPackageVersion !== '2.0.0-beta.18' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
151
|
+
throw new Error(`Native binding package version mismatch, expected 2.0.0-beta.18 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
152
152
|
}
|
|
153
153
|
return binding
|
|
154
154
|
} catch (e) {
|
|
@@ -163,8 +163,8 @@ function requireNative() {
|
|
|
163
163
|
try {
|
|
164
164
|
const binding = require('@pandacss/compiler-win32-arm64-msvc')
|
|
165
165
|
const bindingPackageVersion = require('@pandacss/compiler-win32-arm64-msvc/package.json').version
|
|
166
|
-
if (bindingPackageVersion !== '2.0.0-beta.
|
|
167
|
-
throw new Error(`Native binding package version mismatch, expected 2.0.0-beta.
|
|
166
|
+
if (bindingPackageVersion !== '2.0.0-beta.18' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
167
|
+
throw new Error(`Native binding package version mismatch, expected 2.0.0-beta.18 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
168
168
|
}
|
|
169
169
|
return binding
|
|
170
170
|
} catch (e) {
|
|
@@ -182,8 +182,8 @@ function requireNative() {
|
|
|
182
182
|
try {
|
|
183
183
|
const binding = require('@pandacss/compiler-darwin-universal')
|
|
184
184
|
const bindingPackageVersion = require('@pandacss/compiler-darwin-universal/package.json').version
|
|
185
|
-
if (bindingPackageVersion !== '2.0.0-beta.
|
|
186
|
-
throw new Error(`Native binding package version mismatch, expected 2.0.0-beta.
|
|
185
|
+
if (bindingPackageVersion !== '2.0.0-beta.18' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
186
|
+
throw new Error(`Native binding package version mismatch, expected 2.0.0-beta.18 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
187
187
|
}
|
|
188
188
|
return binding
|
|
189
189
|
} catch (e) {
|
|
@@ -198,8 +198,8 @@ function requireNative() {
|
|
|
198
198
|
try {
|
|
199
199
|
const binding = require('@pandacss/compiler-darwin-x64')
|
|
200
200
|
const bindingPackageVersion = require('@pandacss/compiler-darwin-x64/package.json').version
|
|
201
|
-
if (bindingPackageVersion !== '2.0.0-beta.
|
|
202
|
-
throw new Error(`Native binding package version mismatch, expected 2.0.0-beta.
|
|
201
|
+
if (bindingPackageVersion !== '2.0.0-beta.18' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
202
|
+
throw new Error(`Native binding package version mismatch, expected 2.0.0-beta.18 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
203
203
|
}
|
|
204
204
|
return binding
|
|
205
205
|
} catch (e) {
|
|
@@ -214,8 +214,8 @@ function requireNative() {
|
|
|
214
214
|
try {
|
|
215
215
|
const binding = require('@pandacss/compiler-darwin-arm64')
|
|
216
216
|
const bindingPackageVersion = require('@pandacss/compiler-darwin-arm64/package.json').version
|
|
217
|
-
if (bindingPackageVersion !== '2.0.0-beta.
|
|
218
|
-
throw new Error(`Native binding package version mismatch, expected 2.0.0-beta.
|
|
217
|
+
if (bindingPackageVersion !== '2.0.0-beta.18' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
218
|
+
throw new Error(`Native binding package version mismatch, expected 2.0.0-beta.18 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
219
219
|
}
|
|
220
220
|
return binding
|
|
221
221
|
} catch (e) {
|
|
@@ -234,8 +234,8 @@ function requireNative() {
|
|
|
234
234
|
try {
|
|
235
235
|
const binding = require('@pandacss/compiler-freebsd-x64')
|
|
236
236
|
const bindingPackageVersion = require('@pandacss/compiler-freebsd-x64/package.json').version
|
|
237
|
-
if (bindingPackageVersion !== '2.0.0-beta.
|
|
238
|
-
throw new Error(`Native binding package version mismatch, expected 2.0.0-beta.
|
|
237
|
+
if (bindingPackageVersion !== '2.0.0-beta.18' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
238
|
+
throw new Error(`Native binding package version mismatch, expected 2.0.0-beta.18 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
239
239
|
}
|
|
240
240
|
return binding
|
|
241
241
|
} catch (e) {
|
|
@@ -250,8 +250,8 @@ function requireNative() {
|
|
|
250
250
|
try {
|
|
251
251
|
const binding = require('@pandacss/compiler-freebsd-arm64')
|
|
252
252
|
const bindingPackageVersion = require('@pandacss/compiler-freebsd-arm64/package.json').version
|
|
253
|
-
if (bindingPackageVersion !== '2.0.0-beta.
|
|
254
|
-
throw new Error(`Native binding package version mismatch, expected 2.0.0-beta.
|
|
253
|
+
if (bindingPackageVersion !== '2.0.0-beta.18' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
254
|
+
throw new Error(`Native binding package version mismatch, expected 2.0.0-beta.18 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
255
255
|
}
|
|
256
256
|
return binding
|
|
257
257
|
} catch (e) {
|
|
@@ -271,8 +271,8 @@ function requireNative() {
|
|
|
271
271
|
try {
|
|
272
272
|
const binding = require('@pandacss/compiler-linux-x64-musl')
|
|
273
273
|
const bindingPackageVersion = require('@pandacss/compiler-linux-x64-musl/package.json').version
|
|
274
|
-
if (bindingPackageVersion !== '2.0.0-beta.
|
|
275
|
-
throw new Error(`Native binding package version mismatch, expected 2.0.0-beta.
|
|
274
|
+
if (bindingPackageVersion !== '2.0.0-beta.18' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
275
|
+
throw new Error(`Native binding package version mismatch, expected 2.0.0-beta.18 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
276
276
|
}
|
|
277
277
|
return binding
|
|
278
278
|
} catch (e) {
|
|
@@ -287,8 +287,8 @@ function requireNative() {
|
|
|
287
287
|
try {
|
|
288
288
|
const binding = require('@pandacss/compiler-linux-x64-gnu')
|
|
289
289
|
const bindingPackageVersion = require('@pandacss/compiler-linux-x64-gnu/package.json').version
|
|
290
|
-
if (bindingPackageVersion !== '2.0.0-beta.
|
|
291
|
-
throw new Error(`Native binding package version mismatch, expected 2.0.0-beta.
|
|
290
|
+
if (bindingPackageVersion !== '2.0.0-beta.18' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
291
|
+
throw new Error(`Native binding package version mismatch, expected 2.0.0-beta.18 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
292
292
|
}
|
|
293
293
|
return binding
|
|
294
294
|
} catch (e) {
|
|
@@ -305,8 +305,8 @@ function requireNative() {
|
|
|
305
305
|
try {
|
|
306
306
|
const binding = require('@pandacss/compiler-linux-arm64-musl')
|
|
307
307
|
const bindingPackageVersion = require('@pandacss/compiler-linux-arm64-musl/package.json').version
|
|
308
|
-
if (bindingPackageVersion !== '2.0.0-beta.
|
|
309
|
-
throw new Error(`Native binding package version mismatch, expected 2.0.0-beta.
|
|
308
|
+
if (bindingPackageVersion !== '2.0.0-beta.18' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
309
|
+
throw new Error(`Native binding package version mismatch, expected 2.0.0-beta.18 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
310
310
|
}
|
|
311
311
|
return binding
|
|
312
312
|
} catch (e) {
|
|
@@ -321,8 +321,8 @@ function requireNative() {
|
|
|
321
321
|
try {
|
|
322
322
|
const binding = require('@pandacss/compiler-linux-arm64-gnu')
|
|
323
323
|
const bindingPackageVersion = require('@pandacss/compiler-linux-arm64-gnu/package.json').version
|
|
324
|
-
if (bindingPackageVersion !== '2.0.0-beta.
|
|
325
|
-
throw new Error(`Native binding package version mismatch, expected 2.0.0-beta.
|
|
324
|
+
if (bindingPackageVersion !== '2.0.0-beta.18' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
325
|
+
throw new Error(`Native binding package version mismatch, expected 2.0.0-beta.18 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
326
326
|
}
|
|
327
327
|
return binding
|
|
328
328
|
} catch (e) {
|
|
@@ -339,8 +339,8 @@ function requireNative() {
|
|
|
339
339
|
try {
|
|
340
340
|
const binding = require('@pandacss/compiler-linux-arm-musleabihf')
|
|
341
341
|
const bindingPackageVersion = require('@pandacss/compiler-linux-arm-musleabihf/package.json').version
|
|
342
|
-
if (bindingPackageVersion !== '2.0.0-beta.
|
|
343
|
-
throw new Error(`Native binding package version mismatch, expected 2.0.0-beta.
|
|
342
|
+
if (bindingPackageVersion !== '2.0.0-beta.18' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
343
|
+
throw new Error(`Native binding package version mismatch, expected 2.0.0-beta.18 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
344
344
|
}
|
|
345
345
|
return binding
|
|
346
346
|
} catch (e) {
|
|
@@ -355,8 +355,8 @@ function requireNative() {
|
|
|
355
355
|
try {
|
|
356
356
|
const binding = require('@pandacss/compiler-linux-arm-gnueabihf')
|
|
357
357
|
const bindingPackageVersion = require('@pandacss/compiler-linux-arm-gnueabihf/package.json').version
|
|
358
|
-
if (bindingPackageVersion !== '2.0.0-beta.
|
|
359
|
-
throw new Error(`Native binding package version mismatch, expected 2.0.0-beta.
|
|
358
|
+
if (bindingPackageVersion !== '2.0.0-beta.18' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
359
|
+
throw new Error(`Native binding package version mismatch, expected 2.0.0-beta.18 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
360
360
|
}
|
|
361
361
|
return binding
|
|
362
362
|
} catch (e) {
|
|
@@ -373,8 +373,8 @@ function requireNative() {
|
|
|
373
373
|
try {
|
|
374
374
|
const binding = require('@pandacss/compiler-linux-loong64-musl')
|
|
375
375
|
const bindingPackageVersion = require('@pandacss/compiler-linux-loong64-musl/package.json').version
|
|
376
|
-
if (bindingPackageVersion !== '2.0.0-beta.
|
|
377
|
-
throw new Error(`Native binding package version mismatch, expected 2.0.0-beta.
|
|
376
|
+
if (bindingPackageVersion !== '2.0.0-beta.18' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
377
|
+
throw new Error(`Native binding package version mismatch, expected 2.0.0-beta.18 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
378
378
|
}
|
|
379
379
|
return binding
|
|
380
380
|
} catch (e) {
|
|
@@ -389,8 +389,8 @@ function requireNative() {
|
|
|
389
389
|
try {
|
|
390
390
|
const binding = require('@pandacss/compiler-linux-loong64-gnu')
|
|
391
391
|
const bindingPackageVersion = require('@pandacss/compiler-linux-loong64-gnu/package.json').version
|
|
392
|
-
if (bindingPackageVersion !== '2.0.0-beta.
|
|
393
|
-
throw new Error(`Native binding package version mismatch, expected 2.0.0-beta.
|
|
392
|
+
if (bindingPackageVersion !== '2.0.0-beta.18' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
393
|
+
throw new Error(`Native binding package version mismatch, expected 2.0.0-beta.18 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
394
394
|
}
|
|
395
395
|
return binding
|
|
396
396
|
} catch (e) {
|
|
@@ -407,8 +407,8 @@ function requireNative() {
|
|
|
407
407
|
try {
|
|
408
408
|
const binding = require('@pandacss/compiler-linux-riscv64-musl')
|
|
409
409
|
const bindingPackageVersion = require('@pandacss/compiler-linux-riscv64-musl/package.json').version
|
|
410
|
-
if (bindingPackageVersion !== '2.0.0-beta.
|
|
411
|
-
throw new Error(`Native binding package version mismatch, expected 2.0.0-beta.
|
|
410
|
+
if (bindingPackageVersion !== '2.0.0-beta.18' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
411
|
+
throw new Error(`Native binding package version mismatch, expected 2.0.0-beta.18 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
412
412
|
}
|
|
413
413
|
return binding
|
|
414
414
|
} catch (e) {
|
|
@@ -423,8 +423,8 @@ function requireNative() {
|
|
|
423
423
|
try {
|
|
424
424
|
const binding = require('@pandacss/compiler-linux-riscv64-gnu')
|
|
425
425
|
const bindingPackageVersion = require('@pandacss/compiler-linux-riscv64-gnu/package.json').version
|
|
426
|
-
if (bindingPackageVersion !== '2.0.0-beta.
|
|
427
|
-
throw new Error(`Native binding package version mismatch, expected 2.0.0-beta.
|
|
426
|
+
if (bindingPackageVersion !== '2.0.0-beta.18' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
427
|
+
throw new Error(`Native binding package version mismatch, expected 2.0.0-beta.18 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
428
428
|
}
|
|
429
429
|
return binding
|
|
430
430
|
} catch (e) {
|
|
@@ -440,8 +440,8 @@ function requireNative() {
|
|
|
440
440
|
try {
|
|
441
441
|
const binding = require('@pandacss/compiler-linux-ppc64-gnu')
|
|
442
442
|
const bindingPackageVersion = require('@pandacss/compiler-linux-ppc64-gnu/package.json').version
|
|
443
|
-
if (bindingPackageVersion !== '2.0.0-beta.
|
|
444
|
-
throw new Error(`Native binding package version mismatch, expected 2.0.0-beta.
|
|
443
|
+
if (bindingPackageVersion !== '2.0.0-beta.18' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
444
|
+
throw new Error(`Native binding package version mismatch, expected 2.0.0-beta.18 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
445
445
|
}
|
|
446
446
|
return binding
|
|
447
447
|
} catch (e) {
|
|
@@ -456,8 +456,8 @@ function requireNative() {
|
|
|
456
456
|
try {
|
|
457
457
|
const binding = require('@pandacss/compiler-linux-s390x-gnu')
|
|
458
458
|
const bindingPackageVersion = require('@pandacss/compiler-linux-s390x-gnu/package.json').version
|
|
459
|
-
if (bindingPackageVersion !== '2.0.0-beta.
|
|
460
|
-
throw new Error(`Native binding package version mismatch, expected 2.0.0-beta.
|
|
459
|
+
if (bindingPackageVersion !== '2.0.0-beta.18' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
460
|
+
throw new Error(`Native binding package version mismatch, expected 2.0.0-beta.18 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
461
461
|
}
|
|
462
462
|
return binding
|
|
463
463
|
} catch (e) {
|
|
@@ -476,8 +476,8 @@ function requireNative() {
|
|
|
476
476
|
try {
|
|
477
477
|
const binding = require('@pandacss/compiler-openharmony-arm64')
|
|
478
478
|
const bindingPackageVersion = require('@pandacss/compiler-openharmony-arm64/package.json').version
|
|
479
|
-
if (bindingPackageVersion !== '2.0.0-beta.
|
|
480
|
-
throw new Error(`Native binding package version mismatch, expected 2.0.0-beta.
|
|
479
|
+
if (bindingPackageVersion !== '2.0.0-beta.18' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
480
|
+
throw new Error(`Native binding package version mismatch, expected 2.0.0-beta.18 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
481
481
|
}
|
|
482
482
|
return binding
|
|
483
483
|
} catch (e) {
|
|
@@ -492,8 +492,8 @@ function requireNative() {
|
|
|
492
492
|
try {
|
|
493
493
|
const binding = require('@pandacss/compiler-openharmony-x64')
|
|
494
494
|
const bindingPackageVersion = require('@pandacss/compiler-openharmony-x64/package.json').version
|
|
495
|
-
if (bindingPackageVersion !== '2.0.0-beta.
|
|
496
|
-
throw new Error(`Native binding package version mismatch, expected 2.0.0-beta.
|
|
495
|
+
if (bindingPackageVersion !== '2.0.0-beta.18' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
496
|
+
throw new Error(`Native binding package version mismatch, expected 2.0.0-beta.18 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
497
497
|
}
|
|
498
498
|
return binding
|
|
499
499
|
} catch (e) {
|
|
@@ -508,8 +508,8 @@ function requireNative() {
|
|
|
508
508
|
try {
|
|
509
509
|
const binding = require('@pandacss/compiler-openharmony-arm')
|
|
510
510
|
const bindingPackageVersion = require('@pandacss/compiler-openharmony-arm/package.json').version
|
|
511
|
-
if (bindingPackageVersion !== '2.0.0-beta.
|
|
512
|
-
throw new Error(`Native binding package version mismatch, expected 2.0.0-beta.
|
|
511
|
+
if (bindingPackageVersion !== '2.0.0-beta.18' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
512
|
+
throw new Error(`Native binding package version mismatch, expected 2.0.0-beta.18 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
513
513
|
}
|
|
514
514
|
return binding
|
|
515
515
|
} catch (e) {
|
|
@@ -648,8 +648,8 @@ if (!nativeBinding || forceWasi) {
|
|
|
648
648
|
if (!candidateFailed) {
|
|
649
649
|
if (process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
650
650
|
const bindingPackageVersion = require('@pandacss/compiler-wasm32-wasi/package.json').version
|
|
651
|
-
if (bindingPackageVersion !== '2.0.0-beta.
|
|
652
|
-
throw new Error(`WASI binding package version mismatch, expected 2.0.0-beta.
|
|
651
|
+
if (bindingPackageVersion !== '2.0.0-beta.18') {
|
|
652
|
+
throw new Error(`WASI binding package version mismatch, expected 2.0.0-beta.18 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
653
653
|
}
|
|
654
654
|
}
|
|
655
655
|
wasiBinding = require('@pandacss/compiler-wasm32-wasi')
|
|
@@ -375,10 +375,10 @@ function emptyWriteSplitCssResult(root) {
|
|
|
375
375
|
}
|
|
376
376
|
|
|
377
377
|
// src/load-binary.ts
|
|
378
|
-
import { execFileSync } from "child_process";
|
|
379
|
-
import { existsSync, mkdirSync, readFileSync, rmSync } from "fs";
|
|
380
|
-
import { createRequire } from "module";
|
|
381
|
-
import { dirname, join } from "path";
|
|
378
|
+
import { execFileSync } from "node:child_process";
|
|
379
|
+
import { existsSync, mkdirSync, readFileSync, rmSync } from "node:fs";
|
|
380
|
+
import { createRequire } from "node:module";
|
|
381
|
+
import { dirname, join } from "node:path";
|
|
382
382
|
var webContainerWasiPackage = "@pandacss/compiler-wasm32-wasi";
|
|
383
383
|
function loadNativeBinding() {
|
|
384
384
|
const bindingPath = resolveBindingPath();
|
|
@@ -498,8 +498,8 @@ import {
|
|
|
498
498
|
toPosixRelative,
|
|
499
499
|
toRelativeKey
|
|
500
500
|
} from "@pandacss/config";
|
|
501
|
-
import { statSync } from "fs";
|
|
502
|
-
import { dirname as dirname2, resolve as resolvePath } from "path";
|
|
501
|
+
import { statSync } from "node:fs";
|
|
502
|
+
import { dirname as dirname2, resolve as resolvePath } from "node:path";
|
|
503
503
|
|
|
504
504
|
// src/design-system.ts
|
|
505
505
|
import "@pandacss/compiler-shared";
|
|
@@ -770,7 +770,7 @@ function createProjectFromLoadedConfig(loaded) {
|
|
|
770
770
|
var DEFAULT_DESIGN_SYSTEM_LIB_OUTDIR = "dist";
|
|
771
771
|
var DEFAULT_DESIGN_SYSTEM_LIB_FILES = ["./**/*.{js,mjs}"];
|
|
772
772
|
async function createNodeDriver(options) {
|
|
773
|
-
const loaded = await loadConfig2({ cwd: options.cwd, file: options.configPath });
|
|
773
|
+
const loaded = await loadConfig2({ cwd: options.cwd, file: options.configPath, trackSources: options.trackSources });
|
|
774
774
|
if (options.include?.length) applyIncludeOverride(loaded, options.cwd, options.include);
|
|
775
775
|
return new NodeDriver(options, loaded);
|
|
776
776
|
}
|
|
@@ -810,6 +810,9 @@ var NodeDriver = class extends BaseDriver {
|
|
|
810
810
|
get designSystemDiagnostics() {
|
|
811
811
|
return this.#designSystemDiagnostics;
|
|
812
812
|
}
|
|
813
|
+
configSources() {
|
|
814
|
+
return this.#loaded.metadata?.sources;
|
|
815
|
+
}
|
|
813
816
|
codegenOverlay() {
|
|
814
817
|
if (!this.#codegenOverlayResolved) {
|
|
815
818
|
this.#codegenOverlay = buildCodegenOverlay(this.#loaded.metadata);
|
|
@@ -882,7 +885,11 @@ var NodeDriver = class extends BaseDriver {
|
|
|
882
885
|
return this.applyChanges(changes);
|
|
883
886
|
}
|
|
884
887
|
async reload() {
|
|
885
|
-
const next = await loadConfig2({
|
|
888
|
+
const next = await loadConfig2({
|
|
889
|
+
cwd: this.#options.cwd,
|
|
890
|
+
file: this.#options.configPath,
|
|
891
|
+
trackSources: this.#options.trackSources
|
|
892
|
+
});
|
|
886
893
|
if (this.#options.include?.length) applyIncludeOverride(next, this.#options.cwd, this.#options.include);
|
|
887
894
|
const diff = diffConfig(this.#loaded, next);
|
|
888
895
|
const nextDesignSystemArtifactSnapshot = designSystemArtifactSnapshot(next);
|
|
@@ -1115,12 +1122,22 @@ var NodeDriver = class extends BaseDriver {
|
|
|
1115
1122
|
publishFiles: identity.publishFiles,
|
|
1116
1123
|
packageName: identity.name
|
|
1117
1124
|
});
|
|
1125
|
+
const { spec, diagnostics: specDiagnostics } = resolvePublishableSpec({
|
|
1126
|
+
spec: options.spec,
|
|
1127
|
+
compiler: this.compiler,
|
|
1128
|
+
outRoot,
|
|
1129
|
+
pandaDir,
|
|
1130
|
+
packageRoot: this.compiler.path.dirname(identity.packagePath),
|
|
1131
|
+
publishFiles: identity.publishFiles,
|
|
1132
|
+
packageName: identity.name
|
|
1133
|
+
});
|
|
1118
1134
|
const manifest = this.compiler.designSystem.create({
|
|
1119
1135
|
name: identity.name,
|
|
1120
1136
|
version: identity.version,
|
|
1121
1137
|
panda: pandaRange,
|
|
1122
1138
|
preset: "./preset.mjs",
|
|
1123
1139
|
buildInfo: "./buildinfo.json",
|
|
1140
|
+
spec,
|
|
1124
1141
|
importMap: defaultImportMap(identity.name),
|
|
1125
1142
|
designSystem: typeof this.config.designSystem === "string" ? this.config.designSystem : void 0,
|
|
1126
1143
|
files: libFiles
|
|
@@ -1162,10 +1179,37 @@ var NodeDriver = class extends BaseDriver {
|
|
|
1162
1179
|
presetPath,
|
|
1163
1180
|
exportsChanged,
|
|
1164
1181
|
parsedFileCount: parsed.parsedFileCount,
|
|
1165
|
-
diagnostics: [
|
|
1182
|
+
diagnostics: [
|
|
1183
|
+
...parsed.diagnostics,
|
|
1184
|
+
...filesDiagnostics,
|
|
1185
|
+
...specDiagnostics,
|
|
1186
|
+
...exportConflictDiagnostics(identity.name, conflicts)
|
|
1187
|
+
]
|
|
1166
1188
|
};
|
|
1167
1189
|
}
|
|
1168
1190
|
};
|
|
1191
|
+
function resolvePublishableSpec(options) {
|
|
1192
|
+
if (!options.spec) return { diagnostics: [] };
|
|
1193
|
+
const absolute = options.compiler.path.resolve(options.spec);
|
|
1194
|
+
const { unpublished } = filterPublishableLibFiles({
|
|
1195
|
+
files: [toPosixRelative(options.outRoot, absolute)],
|
|
1196
|
+
packageRoot: options.packageRoot,
|
|
1197
|
+
outRoot: options.outRoot,
|
|
1198
|
+
publishFiles: options.publishFiles
|
|
1199
|
+
});
|
|
1200
|
+
if (unpublished.length > 0) {
|
|
1201
|
+
return { diagnostics: [specNotPublishableDiagnostic(options.packageName, unpublished[0])] };
|
|
1202
|
+
}
|
|
1203
|
+
return { spec: toPosixRelative(options.pandaDir, absolute), diagnostics: [] };
|
|
1204
|
+
}
|
|
1205
|
+
function specNotPublishableDiagnostic(name, spec) {
|
|
1206
|
+
return {
|
|
1207
|
+
code: "design_system_spec_not_publishable",
|
|
1208
|
+
severity: "warning",
|
|
1209
|
+
category: "designSystem",
|
|
1210
|
+
message: `\`panda lib\` left the spec out of ${JSON.stringify(name)}'s manifest because package.json \`"files"\` would not publish ${JSON.stringify(spec)}. A bare \`--spec\` writes it beside preset.mjs, inside what you publish.`
|
|
1211
|
+
};
|
|
1212
|
+
}
|
|
1169
1213
|
function resolveDesignSystemLibFiles(options) {
|
|
1170
1214
|
if (options.explicit) {
|
|
1171
1215
|
return { files: options.explicit, diagnostics: [] };
|
|
@@ -1382,7 +1426,7 @@ function build(config, callbacks, options) {
|
|
|
1382
1426
|
assertNativeBinding(callbacks, options?.hooks);
|
|
1383
1427
|
const prepared = prepareCompilerConfig(config);
|
|
1384
1428
|
const compiler = nativeCompilerFromConfig(prepared, toNativeOptions(options), createUtilityValuesCallbacks(callbacks));
|
|
1385
|
-
registerCallbacks(compiler, callbacks, options?.hooks, compiler.
|
|
1429
|
+
registerCallbacks(compiler, callbacks, options?.hooks, compiler.tokenDictionary?.());
|
|
1386
1430
|
attachFileSystem(compiler);
|
|
1387
1431
|
attachPathSystem(compiler);
|
|
1388
1432
|
attachBuildInfo(compiler);
|
package/dist/index.d.ts
CHANGED
|
@@ -2,8 +2,9 @@ import * as _pandacss_compiler_shared from '@pandacss/compiler-shared';
|
|
|
2
2
|
import { BaseDriver, Diagnostic, CodegenOverlay, DesignSystemWatchTarget, DesignSystemWatchFileKind, SourceChange, DiffConfigResult, CodegenOptions, CompileOptions, CompileOutput, WriteCssOptions, WriteCssResult, WriteLayerCssOptions, WriteSplitCssOptions, WriteSplitCssResult, SerializedConfig, CompilerOptions, ConfigSnapshot } from '@pandacss/compiler-shared';
|
|
3
3
|
export * from '@pandacss/compiler-shared';
|
|
4
4
|
export { NativeSourceTransformer, NativeTransformSourceInput, TransformSourceOptions, TransformSourceResult, createUsageReport } from '@pandacss/compiler-shared';
|
|
5
|
-
import { C as CompileInput, T as TraceOptions, N as NativeCompiler } from './types-
|
|
6
|
-
export { n as CompilerConstructor, i as ExtractDebugResult, E as ExtractedCallsResult, h as ExtractedJsxResult, j as ExtractorSession, k as ExtractorSessionConstructor, b as ImportKind, c as ImportRecord, d as ImportScanResult, a as ImportSpecifier, I as ImportSpecifierKind, J as JsxFramework, g as MatchedImport, M as Matcher, e as Matchers, o as NativeBinding, l as NativeCompilerOptions, m as RawCompiler, R as RawSourceTransformBinding, f as TokenDictionary } from './types-
|
|
5
|
+
import { C as CompileInput, T as TraceOptions, N as NativeCompiler } from './types-BbuLq_c5.js';
|
|
6
|
+
export { n as CompilerConstructor, i as ExtractDebugResult, E as ExtractedCallsResult, h as ExtractedJsxResult, j as ExtractorSession, k as ExtractorSessionConstructor, b as ImportKind, c as ImportRecord, d as ImportScanResult, a as ImportSpecifier, I as ImportSpecifierKind, J as JsxFramework, g as MatchedImport, M as Matcher, e as Matchers, o as NativeBinding, l as NativeCompilerOptions, m as RawCompiler, R as RawSourceTransformBinding, f as TokenDictionary } from './types-BbuLq_c5.js';
|
|
7
|
+
import * as _pandacss_config from '@pandacss/config';
|
|
7
8
|
import { LoadConfigResult } from '@pandacss/config';
|
|
8
9
|
|
|
9
10
|
interface NodeDriverOptions {
|
|
@@ -12,6 +13,8 @@ interface NodeDriverOptions {
|
|
|
12
13
|
configPath?: string;
|
|
13
14
|
/** Override the config's `include` globs (e.g. CLI `--include`). Empty/omitted keeps the config value. */
|
|
14
15
|
include?: string[];
|
|
16
|
+
/** Record which config or preset defined each entry, for `spec()` provenance. */
|
|
17
|
+
trackSources?: boolean;
|
|
15
18
|
}
|
|
16
19
|
interface WriteDesignSystemLibOptions {
|
|
17
20
|
outdir?: string;
|
|
@@ -19,6 +22,8 @@ interface WriteDesignSystemLibOptions {
|
|
|
19
22
|
panda?: string;
|
|
20
23
|
minify?: boolean;
|
|
21
24
|
maxWarnings?: number | string;
|
|
25
|
+
/** An already-written spec file; recorded in lib.json relative to the manifest. */
|
|
26
|
+
spec?: string;
|
|
22
27
|
}
|
|
23
28
|
interface WriteDesignSystemLibResult {
|
|
24
29
|
manifestPath: string;
|
|
@@ -37,6 +42,7 @@ declare class NodeDriver extends BaseDriver {
|
|
|
37
42
|
#private;
|
|
38
43
|
constructor(options: NodeDriverOptions, loaded: LoadConfigResult);
|
|
39
44
|
get designSystemDiagnostics(): Diagnostic[];
|
|
45
|
+
protected configSources(): _pandacss_config.ConfigSources | undefined;
|
|
40
46
|
protected codegenOverlay(): CodegenOverlay | undefined;
|
|
41
47
|
get config(): _pandacss_compiler_shared.SerializedConfig;
|
|
42
48
|
get configPath(): string;
|
package/dist/index.js
CHANGED
package/dist/loader.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CompilerOptions } from '@pandacss/compiler-shared';
|
|
2
2
|
import { LoadConfigOptions } from '@pandacss/config';
|
|
3
3
|
export { LoadConfigOptions, LoadConfigResult } from '@pandacss/config';
|
|
4
|
-
import { N as NativeCompiler } from './types-
|
|
4
|
+
import { N as NativeCompiler } from './types-BbuLq_c5.js';
|
|
5
5
|
|
|
6
6
|
interface LoadCompilerResult {
|
|
7
7
|
/** The compiler built from the loaded config snapshot. */
|
package/dist/loader.js
CHANGED
package/dist/tooling/index.js
CHANGED
|
@@ -610,10 +610,10 @@ function emptyWriteSplitCssResult(root) {
|
|
|
610
610
|
}
|
|
611
611
|
|
|
612
612
|
// src/load-binary.ts
|
|
613
|
-
import { execFileSync } from "child_process";
|
|
614
|
-
import { existsSync, mkdirSync, readFileSync, rmSync } from "fs";
|
|
615
|
-
import { createRequire } from "module";
|
|
616
|
-
import { dirname, join } from "path";
|
|
613
|
+
import { execFileSync } from "node:child_process";
|
|
614
|
+
import { existsSync, mkdirSync, readFileSync, rmSync } from "node:fs";
|
|
615
|
+
import { createRequire } from "node:module";
|
|
616
|
+
import { dirname, join } from "node:path";
|
|
617
617
|
var webContainerWasiPackage = "@pandacss/compiler-wasm32-wasi";
|
|
618
618
|
function loadNativeBinding() {
|
|
619
619
|
const bindingPath = resolveBindingPath();
|
|
@@ -735,7 +735,7 @@ function build(config, callbacks, options) {
|
|
|
735
735
|
assertNativeBinding(callbacks, options?.hooks);
|
|
736
736
|
const prepared = prepareCompilerConfig(config);
|
|
737
737
|
const compiler = nativeCompilerFromConfig(prepared, toNativeOptions(options), createUtilityValuesCallbacks(callbacks));
|
|
738
|
-
registerCallbacks(compiler, callbacks, options?.hooks, compiler.
|
|
738
|
+
registerCallbacks(compiler, callbacks, options?.hooks, compiler.tokenDictionary?.());
|
|
739
739
|
attachFileSystem(compiler);
|
|
740
740
|
attachPathSystem(compiler);
|
|
741
741
|
attachBuildInfo(compiler);
|
|
@@ -893,8 +893,8 @@ function sourceCacheKey(source) {
|
|
|
893
893
|
}
|
|
894
894
|
|
|
895
895
|
// src/tooling/registry.ts
|
|
896
|
-
import { realpathSync, unwatchFile, watch, watchFile } from "fs";
|
|
897
|
-
import { dirname as dirname2, isAbsolute, join as join2, resolve } from "path";
|
|
896
|
+
import { realpathSync, unwatchFile, watch, watchFile } from "node:fs";
|
|
897
|
+
import { dirname as dirname2, isAbsolute, join as join2, resolve } from "node:path";
|
|
898
898
|
import { findConfig } from "@pandacss/config";
|
|
899
899
|
var FILE_POLL_INTERVAL_MS = 1e3;
|
|
900
900
|
var ProjectRegistry = class {
|
|
@@ -125,7 +125,7 @@ interface RawSourceTransformBinding {
|
|
|
125
125
|
* methods the facade hides. */
|
|
126
126
|
interface RawCompiler extends NativeCompiler, RawSourceTransformBinding, BuildInfoNative, RawDesignSystemBinding, RawFileSystemBinding, RawPathBinding {
|
|
127
127
|
inspectFileSource(path: string, source: string): Omit<FileInspectionResult, 'path'>;
|
|
128
|
-
|
|
128
|
+
tokenDictionary?(): TokenDictionary | undefined;
|
|
129
129
|
registerUtilityTransform?(id: string, callback: (resolved: unknown, original: unknown) => unknown): void;
|
|
130
130
|
registerPatternTransform?(id: string, callback: (props: unknown, helpers: Record<string, unknown>) => unknown): void;
|
|
131
131
|
registerSourceTransform?(id: string, filter: SerializedHookFilter | undefined, callback: (filePath: string, content: string) => string | undefined): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pandacss/compiler",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.18",
|
|
4
4
|
"description": "Native Rust binding for the Panda compiler engine",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -56,16 +56,16 @@
|
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"@napi-rs/wasm-runtime": "^1.1.6",
|
|
59
|
-
"@pandacss/compiler-shared": "2.0.0-beta.
|
|
60
|
-
"@pandacss/config": "2.0.0-beta.
|
|
61
|
-
"@pandacss/types": "2.0.0-beta.
|
|
59
|
+
"@pandacss/compiler-shared": "2.0.0-beta.18",
|
|
60
|
+
"@pandacss/config": "2.0.0-beta.18",
|
|
61
|
+
"@pandacss/types": "2.0.0-beta.18"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@emnapi/core": "1.11.2",
|
|
65
65
|
"@emnapi/runtime": "1.11.2",
|
|
66
66
|
"@napi-rs/cli": "3.9.0",
|
|
67
|
-
"@pandacss/preset-base": "2.0.0-beta.
|
|
68
|
-
"@pandacss/preset-panda": "2.0.0-beta.
|
|
67
|
+
"@pandacss/preset-base": "2.0.0-beta.18",
|
|
68
|
+
"@pandacss/preset-panda": "2.0.0-beta.18",
|
|
69
69
|
"emnapi": "1.11.2",
|
|
70
70
|
"lightningcss": "1.33.0",
|
|
71
71
|
"rolldown": "1.2.7"
|
|
@@ -74,14 +74,14 @@
|
|
|
74
74
|
"node": ">=22"
|
|
75
75
|
},
|
|
76
76
|
"optionalDependencies": {
|
|
77
|
-
"@pandacss/compiler-darwin-arm64": "2.0.0-beta.
|
|
78
|
-
"@pandacss/compiler-darwin-x64": "2.0.0-beta.
|
|
79
|
-
"@pandacss/compiler-linux-x64-gnu": "2.0.0-beta.
|
|
80
|
-
"@pandacss/compiler-linux-arm64-gnu": "2.0.0-beta.
|
|
81
|
-
"@pandacss/compiler-linux-x64-musl": "2.0.0-beta.
|
|
82
|
-
"@pandacss/compiler-linux-arm64-musl": "2.0.0-beta.
|
|
83
|
-
"@pandacss/compiler-win32-x64-msvc": "2.0.0-beta.
|
|
84
|
-
"@pandacss/compiler-win32-arm64-msvc": "2.0.0-beta.
|
|
77
|
+
"@pandacss/compiler-darwin-arm64": "2.0.0-beta.18",
|
|
78
|
+
"@pandacss/compiler-darwin-x64": "2.0.0-beta.18",
|
|
79
|
+
"@pandacss/compiler-linux-x64-gnu": "2.0.0-beta.18",
|
|
80
|
+
"@pandacss/compiler-linux-arm64-gnu": "2.0.0-beta.18",
|
|
81
|
+
"@pandacss/compiler-linux-x64-musl": "2.0.0-beta.18",
|
|
82
|
+
"@pandacss/compiler-linux-arm64-musl": "2.0.0-beta.18",
|
|
83
|
+
"@pandacss/compiler-win32-x64-msvc": "2.0.0-beta.18",
|
|
84
|
+
"@pandacss/compiler-win32-arm64-msvc": "2.0.0-beta.18"
|
|
85
85
|
},
|
|
86
86
|
"scripts": {
|
|
87
87
|
"build": "pnpm build:native && pnpm build:js",
|