@tamagui/build 1.134.4 → 1.135.0
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.
- package/.turbo/turbo-test.log +12 -12
- package/esbuild-es5.js +2 -7
- package/package.json +2 -2
package/.turbo/turbo-test.log
CHANGED
|
@@ -2,26 +2,26 @@
|
|
|
2
2
|
RUN v3.2.4 /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
|
|
5
|
+
Watch process output: built tamagui-build-test-watch-package in 64 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
|
|
10
|
+
Watch process output: built tamagui-build-test-watch-package in 355 ms
|
|
11
11
|
|
|
12
12
|
Rebuild after file modification complete
|
|
13
13
|
|
|
14
|
-
✓ __tests__/integration.test.ts (7 tests)
|
|
15
|
-
✓ tamagui-build integration test > should build the package correctly
|
|
16
|
-
✓ tamagui-build integration test > should bundle the package correctly
|
|
17
|
-
✓ tamagui-build integration test > should skip mjs files when --skip-mjs is used
|
|
18
|
-
✓ tamagui-build integration test > should ignore base URL when --ignore-base-url is used
|
|
19
|
-
✓ tamagui-build integration test > should rebuild the package on file change when --watch is used
|
|
20
|
-
✓ tamagui-build integration test > should generate correct platform-specific output
|
|
21
|
-
✓ tamagui-build integration test > should minify the output when MINIFY=true is set
|
|
14
|
+
✓ __tests__/integration.test.ts (7 tests) 10079ms
|
|
15
|
+
✓ tamagui-build integration test > should build the package correctly 1387ms
|
|
16
|
+
✓ tamagui-build integration test > should bundle the package correctly 1171ms
|
|
17
|
+
✓ tamagui-build integration test > should skip mjs files when --skip-mjs is used 1216ms
|
|
18
|
+
✓ tamagui-build integration test > should ignore base URL when --ignore-base-url is used 1253ms
|
|
19
|
+
✓ tamagui-build integration test > should rebuild the package on file change when --watch is used 1364ms
|
|
20
|
+
✓ tamagui-build integration test > should generate correct platform-specific output 1210ms
|
|
21
|
+
✓ tamagui-build integration test > should minify the output when MINIFY=true is set 2456ms
|
|
22
22
|
|
|
23
23
|
Test Files 1 passed (1)
|
|
24
24
|
Tests 7 passed (7)
|
|
25
|
-
Start at
|
|
26
|
-
Duration 10.
|
|
25
|
+
Start at 13:27:20
|
|
26
|
+
Duration 10.29s (transform 46ms, setup 0ms, collect 43ms, tests 10.08s, environment 0ms, prepare 43ms)
|
|
27
27
|
|
package/esbuild-es5.js
CHANGED
|
@@ -65,6 +65,7 @@ function transformFile(file, options) {
|
|
|
65
65
|
syntax: isTs ? 'typescript' : 'ecmascript',
|
|
66
66
|
tsx: isReact && isTs,
|
|
67
67
|
jsx: isReact && !isTs,
|
|
68
|
+
preserveAllComments: true,
|
|
68
69
|
},
|
|
69
70
|
},
|
|
70
71
|
module: { type: 'es6' },
|
|
@@ -79,16 +80,10 @@ exports.es5Plugin = function es5Plugin() {
|
|
|
79
80
|
return {
|
|
80
81
|
name: 'es5',
|
|
81
82
|
setup(build) {
|
|
82
|
-
const buildOptions = build.initialOptions
|
|
83
|
-
const enableSourcemap = !!buildOptions.sourcemap
|
|
84
|
-
|
|
85
83
|
build.onLoad({ filter: /\.([tj]sx?|mjs)$/ }, (args) => {
|
|
86
84
|
return new Promise((resolve) => {
|
|
87
85
|
transformFile(args.path, {
|
|
88
|
-
|
|
89
|
-
* Generate inline source maps to enable esbuild to properly handle sourcemaps.
|
|
90
|
-
*/
|
|
91
|
-
sourceMaps: enableSourcemap ? 'inline' : false,
|
|
86
|
+
sourceMaps: false,
|
|
92
87
|
})
|
|
93
88
|
.then(({ code }) => {
|
|
94
89
|
resolve({ contents: code, loader: 'js' })
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/build",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.135.0",
|
|
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.
|
|
17
|
+
"@tamagui/babel-plugin-fully-specified": "1.135.0",
|
|
18
18
|
"@types/fs-extra": "^9.0.13",
|
|
19
19
|
"chokidar": "^3.5.2",
|
|
20
20
|
"esbuild": "^0.25.0",
|