@tamagui/build 1.113.1 → 1.114.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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tamagui-build-test-simple-tpackage",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.114.0",
|
|
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.
|
|
19
|
+
"@tamagui/build": "1.114.0",
|
|
20
20
|
"typescript": "^5.5.2"
|
|
21
21
|
}
|
|
22
22
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tamagui-build-test-watch-package",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.114.0",
|
|
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.
|
|
19
|
+
"@tamagui/build": "1.114.0",
|
|
20
20
|
"typescript": "^5.5.2"
|
|
21
21
|
}
|
|
22
22
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/build",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.114.0",
|
|
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.
|
|
17
|
+
"@tamagui/babel-plugin-fully-specified": "1.114.0",
|
|
18
18
|
"@types/fs-extra": "^9.0.13",
|
|
19
19
|
"babel-plugin-fully-specified": "*",
|
|
20
20
|
"chokidar": "^3.5.2",
|
package/tamagui-build.js
CHANGED
|
@@ -67,6 +67,31 @@ const replaceRNWeb = {
|
|
|
67
67
|
|
|
68
68
|
let cachedConfig = null
|
|
69
69
|
|
|
70
|
+
const getProcessLabel = () => {
|
|
71
|
+
const labels = {
|
|
72
|
+
clean: 'clean',
|
|
73
|
+
'clean:build': 'clean:build',
|
|
74
|
+
watch: 'watch',
|
|
75
|
+
build: 'build',
|
|
76
|
+
tsc: 'build-tsc',
|
|
77
|
+
js: 'build-js',
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
if (shouldClean) return labels.clean
|
|
81
|
+
if (shouldCleanBuildOnly) return labels['clean:build']
|
|
82
|
+
if (shouldWatch) return labels.watch
|
|
83
|
+
if (shouldSkipTypes) return labels.js
|
|
84
|
+
if (!skipJS && !jsOnly) return labels.build
|
|
85
|
+
if (jsOnly) return labels.js
|
|
86
|
+
if (!shouldSkipTypes && pkgTypes) return labels.tsc
|
|
87
|
+
|
|
88
|
+
return 'Unknown'
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
const label = getProcessLabel()
|
|
92
|
+
|
|
93
|
+
process.title = `tamagui-build:${label} ${process.cwd().split('/').pop()}`
|
|
94
|
+
|
|
70
95
|
async function clean() {
|
|
71
96
|
try {
|
|
72
97
|
await Promise.allSettled([
|
|
@@ -728,7 +753,7 @@ async function esbuildWriteIfChanged(
|
|
|
728
753
|
return
|
|
729
754
|
}
|
|
730
755
|
|
|
731
|
-
if (shouldSkipMJS || !isESM) {
|
|
756
|
+
if (shouldSkipMJS || !isESM || platform === 'native') {
|
|
732
757
|
return
|
|
733
758
|
}
|
|
734
759
|
|