@tamagui/build 1.124.16 → 1.124.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.
@@ -2,26 +2,36 @@
2
2
  RUN v3.0.5 /Users/n8/tamagui/code/packages/build
3
3
 
4
4
  stdout | __tests__/integration.test.ts > tamagui-build integration test > should rebuild the package on file change when --watch is used
5
- Watch process output: built tamagui-build-test-watch-package in 17 ms
5
+ Watch process output: built tamagui-build-test-watch-package in 15 ms
6
6
 
7
7
  Initial build complete, modifying file...
8
8
 
9
9
  stdout | __tests__/integration.test.ts > tamagui-build integration test > should rebuild the package on file change when --watch is used
10
- Watch process output: built tamagui-build-test-watch-package in 357 ms
10
+ Watch process output: built tamagui-build-test-watch-package in 421 ms
11
11
 
12
12
  Rebuild after file modification complete
13
13
 
14
- __tests__/integration.test.ts (7 tests) 9556ms
15
- tamagui-build integration test > should build the package correctly 1184ms
16
- ✓ tamagui-build integration test > should bundle the package correctly 1879ms
17
- tamagui-build integration test > should skip mjs files when --skip-mjs is used 1058ms
18
- ✓ tamagui-build integration test > should ignore base URL when --ignore-base-url is used 1033ms
19
- tamagui-build integration test > should rebuild the package on file change when --watch is used 1224ms
20
- tamagui-build integration test > should generate correct platform-specific output 1031ms
21
- ✓ tamagui-build integration test > should minify the output when MINIFY=true is set 2129ms
14
+ stdout | __tests__/integration.test.ts > tamagui-build integration test > should generate correct platform-specific output
15
+ Watch process output: built tamagui-build-test-watch-package in 251 ms
16
+
17
+ Rebuild after file modification complete
18
+
19
+ stdout | __tests__/integration.test.ts
20
+ Watch process output: built tamagui-build-test-watch-package in 234 ms
21
+
22
+ Rebuild after file modification complete
23
+
24
+ ✓ __tests__/integration.test.ts (7 tests) 11095ms
25
+ ✓ tamagui-build integration test > should build the package correctly 1430ms
26
+ ✓ tamagui-build integration test > should bundle the package correctly 1188ms
27
+ ✓ tamagui-build integration test > should skip mjs files when --skip-mjs is used 1279ms
28
+ ✓ tamagui-build integration test > should ignore base URL when --ignore-base-url is used 1270ms
29
+ ✓ tamagui-build integration test > should rebuild the package on file change when --watch is used 1424ms
30
+ ✓ tamagui-build integration test > should generate correct platform-specific output 1758ms
31
+ ✓ tamagui-build integration test > should minify the output when MINIFY=true is set 2729ms
22
32
 
23
33
  Test Files 1 passed (1)
24
34
  Tests 7 passed (7)
25
- Start at 13:43:19
26
- Duration 9.76s (transform 41ms, setup 0ms, collect 40ms, tests 9.56s, environment 0ms, prepare 33ms)
35
+ Start at 15:55:48
36
+ Duration 11.32s (transform 43ms, setup 0ms, collect 40ms, tests 11.09s, environment 0ms, prepare 28ms)
27
37
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/build",
3
- "version": "1.124.16",
3
+ "version": "1.124.18",
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.124.16",
17
+ "@tamagui/babel-plugin-fully-specified": "1.124.18",
18
18
  "@types/fs-extra": "^9.0.13",
19
19
  "chokidar": "^3.5.2",
20
20
  "esbuild": "^0.24.2",
package/tamagui-build.js CHANGED
@@ -186,7 +186,7 @@ async function buildTsc(allFiles) {
186
186
  return
187
187
  }
188
188
 
189
- const targetDir = 'types'
189
+ const targetDir = './types'
190
190
  await FSE.ensureDir(targetDir)
191
191
 
192
192
  try {
@@ -211,6 +211,7 @@ async function buildTsc(allFiles) {
211
211
  const mapPath = `${dtsPath}.map`
212
212
 
213
213
  const output = `${code}\n//# sourceMappingURL=${path.basename(mapPath)}`
214
+ await FSE.ensureDir(dirname(dtsPath))
214
215
  await Promise.all([
215
216
  FSE.writeFile(dtsPath, output),
216
217
  FSE.writeFile(mapPath, JSON.stringify(map, null, 2)),