@tamagui/build 2.0.0-rc.20 → 2.0.0-rc.21

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.
@@ -7,29 +7,29 @@ $ node ../../../tamagui-build.js --bundle
7
7
  $ node ../../../tamagui-build.js --skip-mjs
8
8
  $ node ../../../tamagui-build.js --ignore-base-url
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 77 ms
10
+ Watch process output: built tamagui-build-test-watch-package in 87 ms
11
11
 
12
12
  Initial build complete, modifying file...
13
13
 
14
14
  stdout | __tests__/integration.test.ts > tamagui-build integration test > should rebuild the package on file change when --watch is used
15
- Watch process output: built tamagui-build-test-watch-package in 357 ms
15
+ Watch process output: built tamagui-build-test-watch-package in 383 ms
16
16
 
17
17
  Rebuild after file modification complete
18
18
 
19
19
  $ node ../../../tamagui-build.js
20
20
  $ node ../../../tamagui-build.js
21
21
  $ MINIFY=true node ../../../tamagui-build.js
22
- ✓ __tests__/integration.test.ts (7 tests) 5453ms
23
- ✓ should build the package correctly  744ms
24
- ✓ should bundle the package correctly  568ms
25
- ✓ should skip mjs files when --skip-mjs is used  625ms
26
- ✓ should ignore base URL when --ignore-base-url is used  632ms
27
- ✓ should rebuild the package on file change when --watch is used  976ms
28
- ✓ should generate correct platform-specific output  634ms
29
- ✓ should minify the output when MINIFY=true is set  1251ms
22
+ ✓ __tests__/integration.test.ts (7 tests) 5427ms
23
+ ✓ should build the package correctly  628ms
24
+ ✓ should bundle the package correctly  590ms
25
+ ✓ should skip mjs files when --skip-mjs is used  642ms
26
+ ✓ should ignore base URL when --ignore-base-url is used  639ms
27
+ ✓ should rebuild the package on file change when --watch is used  1016ms
28
+ ✓ should generate correct platform-specific output  641ms
29
+ ✓ should minify the output when MINIFY=true is set  1246ms
30
30
 
31
31
   Test Files  1 passed (1)
32
32
   Tests  7 passed (7)
33
-  Start at  05:50:15
34
-  Duration  5.57s (transform 39ms, setup 0ms, collect 45ms, tests 5.45s, environment 0ms, prepare 2ms)
33
+  Start at  20:15:11
34
+  Duration  5.55s (transform 40ms, setup 0ms, collect 45ms, tests 5.43s, environment 0ms, prepare 2ms)
35
35
 
@@ -1,2 +1,2 @@
1
1
  $ node ../../../tamagui-build.js
2
- built tamagui-build-test-simple-tpackage in 1090 ms
2
+ built tamagui-build-test-simple-tpackage in 659 ms
@@ -1,2 +1,2 @@
1
1
  $ node ../../../tamagui-build.js
2
- built tamagui-build-test-watch-package in 1063 ms
2
+ built tamagui-build-test-watch-package in 755 ms
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/build",
3
- "version": "2.0.0-rc.20",
3
+ "version": "2.0.0-rc.21",
4
4
  "gitHead": "a49cc7ea6b93ba384e77a4880ae48ac4a5635c14",
5
5
  "bin": {
6
6
  "tamagui-build": "tamagui-build.js",
@@ -17,7 +17,7 @@
17
17
  "@babel/core": "^7.25.2",
18
18
  "@babel/preset-typescript": "^7.26.0",
19
19
  "@swc/core": "^1.14.0",
20
- "@tamagui/babel-plugin-fully-specified": "2.0.0-rc.20",
20
+ "@tamagui/babel-plugin-fully-specified": "2.0.0-rc.21",
21
21
  "@types/fs-extra": "^9.0.13",
22
22
  "babel-plugin-react-compiler": "^1.0.0",
23
23
  "baseline-browser-mapping": "^2.9.15",
package/tamagui-build.js CHANGED
@@ -442,7 +442,7 @@ async function buildTsc(allFiles) {
442
442
  const compilerOptions = createCompilerOptions(config.options, targetDir)
443
443
 
444
444
  if (config.options.isolatedDeclarations) {
445
- const oxc = require('oxc-transform')
445
+ const oxc = await import('oxc-transform')
446
446
 
447
447
  const results = await Promise.all(
448
448
  allFiles.map(async (file) => {