@tamagui/build 1.112.1 → 1.112.3

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.1",
3
+ "version": "1.112.3",
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.1",
19
+ "@tamagui/build": "1.112.3",
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.1",
3
+ "version": "1.112.3",
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.1",
19
+ "@tamagui/build": "1.112.3",
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.1",
3
+ "version": "1.112.3",
4
4
  "bin": {
5
5
  "tamagui-build": "tamagui-build.js",
6
6
  "teesx": "./teesx.sh"
@@ -14,11 +14,11 @@
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.1",
17
+ "@tamagui/babel-plugin-fully-specified": "1.112.3",
18
18
  "@types/fs-extra": "^9.0.13",
19
19
  "babel-plugin-fully-specified": "*",
20
20
  "chokidar": "^3.5.2",
21
- "esbuild": "^0.23.1",
21
+ "esbuild": "^0.24.0",
22
22
  "esbuild-plugin-es5": "^2.1.1",
23
23
  "esbuild-register": "^3.6.0",
24
24
  "execa": "^5.0.0",
@@ -29,6 +29,6 @@
29
29
  },
30
30
  "gitHead": "a49cc7ea6b93ba384e77a4880ae48ac4a5635c14",
31
31
  "devDependencies": {
32
- "vitest": "0.34.3"
32
+ "vitest": "2.1.1"
33
33
  }
34
34
  }
package/tamagui-build.js CHANGED
@@ -498,7 +498,11 @@ async function buildJs() {
498
498
  )
499
499
  : null,
500
500
  ]).then(() => {
501
- if (process.env.DEBUG) console.info(`built js in ${Date.now() - start}ms`)
501
+ if (process.env.DEBUG) {
502
+ console.info(`built js in ${Date.now() - start}ms`)
503
+ }
504
+
505
+ void esbuild.stop()
502
506
  })
503
507
  }
504
508
 
@@ -683,15 +687,14 @@ async function esbuildWriteIfChanged(
683
687
  contents = result.join('\n')
684
688
  }
685
689
 
686
- await flush(path, contents)
687
-
688
- if (isMap) {
689
- return
690
- }
691
-
692
- return {
693
- path,
694
- 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
+ }
695
698
  }
696
699
  })
697
700
  )