@tamagui/build 1.123.13 → 1.123.15

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,26 @@
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 16 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 348 ms
10
+ Watch process output: built tamagui-build-test-watch-package in 341 ms
11
11
 
12
12
  Rebuild after file modification complete
13
13
 
14
- ✓ __tests__/integration.test.ts (7 tests) 9080ms
15
- ✓ tamagui-build integration test > should build the package correctly 1223ms
16
- ✓ tamagui-build integration test > should bundle the package correctly 1025ms
17
- ✓ tamagui-build integration test > should skip mjs files when --skip-mjs is used 1094ms
18
- ✓ tamagui-build integration test > should ignore base URL when --ignore-base-url is used 1181ms
19
- ✓ tamagui-build integration test > should rebuild the package on file change when --watch is used 1261ms
20
- ✓ tamagui-build integration test > should generate correct platform-specific output 1096ms
21
- ✓ tamagui-build integration test > should minify the output when MINIFY=true is set 2183ms
14
+ ✓ __tests__/integration.test.ts (7 tests) 8586ms
15
+ ✓ tamagui-build integration test > should build the package correctly 1187ms
16
+ ✓ tamagui-build integration test > should bundle the package correctly 994ms
17
+ ✓ tamagui-build integration test > should skip mjs files when --skip-mjs is used 1041ms
18
+ ✓ tamagui-build integration test > should ignore base URL when --ignore-base-url is used 1030ms
19
+ ✓ tamagui-build integration test > should rebuild the package on file change when --watch is used 1209ms
20
+ ✓ tamagui-build integration test > should generate correct platform-specific output 1024ms
21
+ ✓ tamagui-build integration test > should minify the output when MINIFY=true is set 2087ms
22
22
 
23
23
  Test Files 1 passed (1)
24
24
  Tests 7 passed (7)
25
- Start at 15:40:54
26
- Duration 9.29s (transform 45ms, setup 0ms, collect 39ms, tests 9.08s, environment 0ms, prepare 37ms)
25
+ Start at 11:13:47
26
+ Duration 8.77s (transform 38ms, setup 0ms, collect 34ms, tests 8.59s, environment 0ms, prepare 32ms)
27
27
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/build",
3
- "version": "1.123.13",
3
+ "version": "1.123.15",
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.123.13",
17
+ "@tamagui/babel-plugin-fully-specified": "1.123.15",
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
@@ -19,12 +19,6 @@ const shouldSkipTypes = !!(
19
19
  process.argv.includes('--skip-types') || process.env.SKIP_TYPES
20
20
  )
21
21
 
22
- if (process.env.NEEDS_UNLOCK) {
23
- if (!FSE.readFileSync(`./src/test-encrypted-file`, 'utf-8').includes(`is_unlocked`)) {
24
- process.exit(0)
25
- }
26
- }
27
-
28
22
  const shouldSkipNative = !!process.argv.includes('--skip-native')
29
23
  const shouldSkipMJS = !!process.argv.includes('--skip-mjs')
30
24
  const shouldBundleFlag = !!process.argv.includes('--bundle')
@@ -32,6 +26,13 @@ const shouldBundleNodeModules = !!process.argv.includes('--bundle-modules')
32
26
  const shouldClean = !!process.argv.includes('clean')
33
27
  const shouldCleanBuildOnly = !!process.argv.includes('clean:build')
34
28
  const shouldWatch = process.argv.includes('--watch')
29
+
30
+ if (process.env.NEEDS_UNLOCK) {
31
+ if (!FSE.readFileSync(`./src/test-encrypted-file`, 'utf-8').includes(`is_unlocked`)) {
32
+ process.exit(shouldWatch ? 0 : 1)
33
+ }
34
+ }
35
+
35
36
  const declarationToRoot = !!process.argv.includes('--declaration-root')
36
37
  const ignoreBaseUrl = process.argv.includes('--ignore-base-url')
37
38
  const baseUrlIndex = process.argv.indexOf('--base-url')