@tamagui/build 1.112.2 → 1.112.4

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.112.2",
3
+ "version": "1.112.4",
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.112.2",
19
+ "@tamagui/build": "1.112.4",
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.112.2",
3
+ "version": "1.112.4",
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.112.2",
19
+ "@tamagui/build": "1.112.4",
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.112.2",
3
+ "version": "1.112.4",
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.112.2",
17
+ "@tamagui/babel-plugin-fully-specified": "1.112.4",
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
@@ -687,15 +687,14 @@ async function esbuildWriteIfChanged(
687
687
  contents = result.join('\n')
688
688
  }
689
689
 
690
- await flush(path, contents)
691
-
692
- if (isMap) {
693
- return
694
- }
695
-
696
- return {
697
- path,
698
- contents,
690
+ // only if writes + not map do we continue to specification
691
+ if (await flush(path, contents)) {
692
+ if (!isMap) {
693
+ return {
694
+ path,
695
+ contents,
696
+ }
697
+ }
699
698
  }
700
699
  })
701
700
  )