@tamagui/build 1.121.4 → 1.121.6
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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tamagui-build-test-simple-tpackage",
|
|
3
|
-
"version": "1.121.
|
|
3
|
+
"version": "1.121.6",
|
|
4
4
|
"main": "dist/cjs",
|
|
5
5
|
"module": "dist/esm/index.mjs",
|
|
6
6
|
"types": "dist/types/index.d.ts",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"build:target-native": "TAMAGUI_TARGET=native node ../../../tamagui-build.js"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@tamagui/build": "1.121.
|
|
19
|
+
"@tamagui/build": "1.121.6",
|
|
20
20
|
"typescript": "^5.7.2"
|
|
21
21
|
}
|
|
22
22
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tamagui-build-test-watch-package",
|
|
3
|
-
"version": "1.121.
|
|
3
|
+
"version": "1.121.6",
|
|
4
4
|
"main": "dist/cjs",
|
|
5
5
|
"module": "dist/esm/index.mjs",
|
|
6
6
|
"types": "dist/types/index.d.ts",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"build:target-native": "TAMAGUI_TARGET=native node ../../../tamagui-build.js"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@tamagui/build": "1.121.
|
|
19
|
+
"@tamagui/build": "1.121.6",
|
|
20
20
|
"typescript": "^5.7.2"
|
|
21
21
|
}
|
|
22
22
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/build",
|
|
3
|
-
"version": "1.121.
|
|
3
|
+
"version": "1.121.6",
|
|
4
4
|
"bin": {
|
|
5
5
|
"tamagui-build": "tamagui-build.js",
|
|
6
6
|
"teesx": "./teesx.sh"
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"@babel/core": "^7.25.2",
|
|
16
16
|
"@swc/core": "^1.7.21",
|
|
17
|
-
"@tamagui/babel-plugin-fully-specified": "1.121.
|
|
17
|
+
"@tamagui/babel-plugin-fully-specified": "1.121.6",
|
|
18
18
|
"@types/fs-extra": "^9.0.13",
|
|
19
19
|
"chokidar": "^3.5.2",
|
|
20
20
|
"esbuild": "^0.24.0",
|
package/tamagui-build.js
CHANGED
|
@@ -18,6 +18,8 @@ const skipJS = !!(process.env.SKIP_JS || false)
|
|
|
18
18
|
const shouldSkipTypes = !!(
|
|
19
19
|
process.argv.includes('--skip-types') || process.env.SKIP_TYPES
|
|
20
20
|
)
|
|
21
|
+
|
|
22
|
+
const shouldSkipNative = !!process.argv.includes('--skip-native')
|
|
21
23
|
const shouldSkipMJS = !!process.argv.includes('--skip-mjs')
|
|
22
24
|
const shouldBundleFlag = !!process.argv.includes('--bundle')
|
|
23
25
|
const shouldBundleNodeModules = !!process.argv.includes('--bundle-modules')
|
|
@@ -430,14 +432,14 @@ async function buildJs() {
|
|
|
430
432
|
: null,
|
|
431
433
|
|
|
432
434
|
// native output to cjs
|
|
433
|
-
pkgMain
|
|
435
|
+
pkgMain && !shouldSkipNative
|
|
434
436
|
? esbuildWriteIfChanged(cjsConfig, {
|
|
435
437
|
platform: 'native',
|
|
436
438
|
})
|
|
437
439
|
: null,
|
|
438
440
|
|
|
439
441
|
// for tests to load native-mode from node
|
|
440
|
-
bundleNative
|
|
442
|
+
bundleNative && !shouldSkipNative
|
|
441
443
|
? esbuildWriteIfChanged(
|
|
442
444
|
{
|
|
443
445
|
...esbuildBundleProps,
|
|
@@ -450,7 +452,7 @@ async function buildJs() {
|
|
|
450
452
|
: null,
|
|
451
453
|
|
|
452
454
|
// for tests to load native-mode from node
|
|
453
|
-
bundleNativeTest
|
|
455
|
+
bundleNativeTest && !shouldSkipNative
|
|
454
456
|
? esbuildWriteIfChanged(
|
|
455
457
|
{
|
|
456
458
|
...esbuildBundleProps,
|
|
@@ -472,7 +474,7 @@ async function buildJs() {
|
|
|
472
474
|
: null,
|
|
473
475
|
|
|
474
476
|
// native output to esm
|
|
475
|
-
pkgModule
|
|
477
|
+
pkgModule && !shouldSkipNative
|
|
476
478
|
? esbuildWriteIfChanged(esmConfig, {
|
|
477
479
|
platform: 'native',
|
|
478
480
|
})
|
|
@@ -500,7 +502,7 @@ async function buildJs() {
|
|
|
500
502
|
: null,
|
|
501
503
|
|
|
502
504
|
// jsx native
|
|
503
|
-
pkgModuleJSX
|
|
505
|
+
pkgModuleJSX && !shouldSkipNative
|
|
504
506
|
? esbuildWriteIfChanged(
|
|
505
507
|
{
|
|
506
508
|
// only diff is jsx preserve and outdir
|