@tamagui/build 2.7.6 → 2.7.7-1788328229285
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/__tests__/fixtures/js-main-package/.turbo/turbo-build.log +1 -1
- package/__tests__/fixtures/simple-package/.turbo/turbo-build.log +1 -1
- package/__tests__/fixtures/watch-package/.turbo/turbo-build.log +1 -1
- package/package.json +3 -3
- package/.turbo/turbo-test$colon$web.log +0 -68
- package/.turbo/turbo-test.log +0 -44
- package/__tests__/fixtures/subpath-only-package/.turbo/turbo-build.log +0 -3
- package/__tests__/fixtures/subpath-only-package/dist/cjs/feature.cjs +0 -25
- package/__tests__/fixtures/subpath-only-package/dist/cjs/feature.native.cjs +0 -27
- package/__tests__/fixtures/subpath-only-package/dist/cjs/feature.native.js +0 -29
- package/__tests__/fixtures/subpath-only-package/dist/cjs/feature.native.js.map +0 -1
- package/__tests__/fixtures/subpath-only-package/dist/esm/feature.mjs +0 -4
- package/__tests__/fixtures/subpath-only-package/dist/esm/feature.mjs.map +0 -1
- package/__tests__/fixtures/subpath-only-package/dist/esm/feature.native.js +0 -4
- package/__tests__/fixtures/subpath-only-package/dist/esm/feature.native.js.map +0 -1
- package/__tests__/fixtures/subpath-only-package/types/feature.d.ts.map +0 -11
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
$ node ../../../tamagui-build.js
|
|
2
|
-
built tamagui-build-test-js-main-package in
|
|
2
|
+
built tamagui-build-test-js-main-package in 10356 ms
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
$ node ../../../tamagui-build.js
|
|
2
|
-
built tamagui-build-test-simple-tpackage in
|
|
2
|
+
built tamagui-build-test-simple-tpackage in 5146 ms
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
$ node ../../../tamagui-build.js
|
|
2
|
-
built tamagui-build-test-watch-package in
|
|
2
|
+
built tamagui-build-test-watch-package in 5234 ms
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/build",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.7-1788328229285",
|
|
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.7.
|
|
20
|
+
"@tamagui/babel-plugin-fully-specified": "2.7.7-1788328229285",
|
|
21
21
|
"@types/fs-extra": "^9.0.13",
|
|
22
22
|
"baseline-browser-mapping": "^2.9.15",
|
|
23
23
|
"chokidar": "^3.5.2",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"lodash.debounce": "^4.0.8",
|
|
30
30
|
"oxc-transform": "^0.112.0",
|
|
31
31
|
"picomatch": "4.0.3",
|
|
32
|
-
"rolldown": "1.
|
|
32
|
+
"rolldown": "1.2.4",
|
|
33
33
|
"typescript": "~5.9.2"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
$ bun run test
|
|
2
|
-
$ vitest --run
|
|
3
|
-
|
|
4
|
-
RUN v4.1.0 /Users/n8/tamagui/code/packages/build
|
|
5
|
-
|
|
6
|
-
$ node ../../../tamagui-build.js
|
|
7
|
-
$ node ../../../tamagui-build.js
|
|
8
|
-
$ node ../../../tamagui-build.js
|
|
9
|
-
$ node ../../../tamagui-build.js --bundle
|
|
10
|
-
$ node ../../../tamagui-build.js --skip-mjs
|
|
11
|
-
$ node ../../../tamagui-build.js --skip-sourcemaps
|
|
12
|
-
$ node ../../../tamagui-build.js --ignore-base-url
|
|
13
|
-
stdout | __tests__/integration.test.ts > tamagui-build integration test > should rebuild the package on file change when --watch is used
|
|
14
|
-
Watch process output: watching 1 workspace packages with one watcher
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
stdout | __tests__/integration.test.ts > tamagui-build integration test > should rebuild the package on file change when --watch is used
|
|
18
|
-
Watch process output: built tamagui-build-test-watch-package in 49 ms
|
|
19
|
-
|
|
20
|
-
Initial build complete, modifying file...
|
|
21
|
-
|
|
22
|
-
stdout | __tests__/integration.test.ts > tamagui-build integration test > should rebuild the package on file change when --watch is used
|
|
23
|
-
Watch process output: built tamagui-build-test-watch-package in 49 ms
|
|
24
|
-
|
|
25
|
-
Rebuild after file modification complete
|
|
26
|
-
|
|
27
|
-
$ node ../../../tamagui-build.js
|
|
28
|
-
$ node ../../../tamagui-build.js
|
|
29
|
-
$ node ../../../tamagui-build.js
|
|
30
|
-
$ node ../../../tamagui-build.js
|
|
31
|
-
$ node ../../../tamagui-build.js
|
|
32
|
-
$ MINIFY=true node ../../../tamagui-build.js
|
|
33
|
-
$ node ../../../tamagui-build.js
|
|
34
|
-
$ node ../../../tamagui-build.js
|
|
35
|
-
$ node ../../../tamagui-build.js
|
|
36
|
-
$ node ../../../tamagui-build.js
|
|
37
|
-
$ node ../../../tamagui-build.js
|
|
38
|
-
$ node ../../../tamagui-build.js
|
|
39
|
-
$ node ../../../tamagui-build.js
|
|
40
|
-
$ node ../../../tamagui-build.js
|
|
41
|
-
$ node ../../../tamagui-build.js
|
|
42
|
-
$ node ../../../tamagui-build.js
|
|
43
|
-
$ node ../../../tamagui-build.js
|
|
44
|
-
✓ __tests__/integration.test.ts (20 tests) 13665ms
|
|
45
|
-
✓ should build the package correctly 494ms
|
|
46
|
-
✓ rebuilds declarations when incremental state outlives the output 733ms
|
|
47
|
-
✓ should bundle the package correctly 319ms
|
|
48
|
-
✓ should skip mjs files when --skip-mjs is used 2769ms
|
|
49
|
-
✓ should skip sourcemaps when --skip-sourcemaps is used 411ms
|
|
50
|
-
✓ should ignore base URL when --ignore-base-url is used 420ms
|
|
51
|
-
✓ should rebuild the package on file change when --watch is used 759ms
|
|
52
|
-
✓ should generate correct platform-specific output 441ms
|
|
53
|
-
✓ should prune imports left unused after platform DCE 410ms
|
|
54
|
-
✓ should emit a real require() (not the throwing __require shim) for native esm 357ms
|
|
55
|
-
✓ should keep side-effectful native statements outside dev-only guards 473ms
|
|
56
|
-
✓ should minify the output when MINIFY=true is set 830ms
|
|
57
|
-
✓ prunes stale outputs only after a successful build 915ms
|
|
58
|
-
✓ keeps the previous dist loadable when a build fails 800ms
|
|
59
|
-
✓ keeps dist unchanged during a types-only build 733ms
|
|
60
|
-
✓ does not prune prior afterBuild artifacts when afterBuild fails 860ms
|
|
61
|
-
✓ does not follow symlinked directories while pruning dist 986ms
|
|
62
|
-
✓ should keep only the required js aliases after postprocessing 382ms
|
|
63
|
-
|
|
64
|
-
Test Files 1 passed (1)
|
|
65
|
-
Tests 20 passed (20)
|
|
66
|
-
Start at 10:14:00
|
|
67
|
-
Duration 13.84s (transform 80ms, setup 0ms, import 65ms, tests 13.66s, environment 0ms)
|
|
68
|
-
|
package/.turbo/turbo-test.log
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
$ vitest --run
|
|
2
|
-
|
|
3
|
-
[1m[46m RUN [49m[22m [36mv4.0.4 [39m[90m/Users/n8/tamagui/code/packages/build[39m
|
|
4
|
-
|
|
5
|
-
$ node ../../../tamagui-build.js
|
|
6
|
-
$ node ../../../tamagui-build.js --bundle
|
|
7
|
-
$ node ../../../tamagui-build.js --skip-mjs
|
|
8
|
-
$ node ../../../tamagui-build.js --skip-sourcemaps
|
|
9
|
-
$ node ../../../tamagui-build.js --ignore-base-url
|
|
10
|
-
[90mstdout[2m | __tests__/integration.test.ts[2m > [22m[2mtamagui-build integration test[2m > [22m[2mshould rebuild the package on file change when --watch is used
|
|
11
|
-
[22m[39mWatch process output: built tamagui-build-test-watch-package in 80 ms
|
|
12
|
-
|
|
13
|
-
Initial build complete, modifying file...
|
|
14
|
-
|
|
15
|
-
[90mstdout[2m | __tests__/integration.test.ts[2m > [22m[2mtamagui-build integration test[2m > [22m[2mshould rebuild the package on file change when --watch is used
|
|
16
|
-
[22m[39mWatch process output: built tamagui-build-test-watch-package in 361 ms
|
|
17
|
-
|
|
18
|
-
Rebuild after file modification complete
|
|
19
|
-
|
|
20
|
-
$ node ../../../tamagui-build.js
|
|
21
|
-
$ node ../../../tamagui-build.js
|
|
22
|
-
$ MINIFY=true node ../../../tamagui-build.js
|
|
23
|
-
$ node ../../../tamagui-build.js
|
|
24
|
-
$ node ../../../tamagui-build.js
|
|
25
|
-
$ node ../../../tamagui-build.js
|
|
26
|
-
$ node ../../../tamagui-build.js
|
|
27
|
-
[32m✓[39m __tests__/integration.test.ts [2m([22m[2m11 tests[22m[2m)[22m[33m 8801[2mms[22m[39m
|
|
28
|
-
[33m[2m✓[22m[39m should build the package correctly [33m 639[2mms[22m[39m
|
|
29
|
-
[33m[2m✓[22m[39m should bundle the package correctly [33m 556[2mms[22m[39m
|
|
30
|
-
[33m[2m✓[22m[39m should skip mjs files when --skip-mjs is used [33m 623[2mms[22m[39m
|
|
31
|
-
[33m[2m✓[22m[39m should skip sourcemaps when --skip-sourcemaps is used [33m 638[2mms[22m[39m
|
|
32
|
-
[33m[2m✓[22m[39m should ignore base URL when --ignore-base-url is used [33m 621[2mms[22m[39m
|
|
33
|
-
[33m[2m✓[22m[39m should rebuild the package on file change when --watch is used [33m 765[2mms[22m[39m
|
|
34
|
-
[33m[2m✓[22m[39m should generate correct platform-specific output [33m 629[2mms[22m[39m
|
|
35
|
-
[33m[2m✓[22m[39m should minify the output when MINIFY=true is set [33m 1268[2mms[22m[39m
|
|
36
|
-
[33m[2m✓[22m[39m should clean stale outputs before building [33m 1250[2mms[22m[39m
|
|
37
|
-
[33m[2m✓[22m[39m should keep only the required js aliases after postprocessing [33m 621[2mms[22m[39m
|
|
38
|
-
[33m[2m✓[22m[39m should keep explicit cjs .js mains as final output [33m 1149[2mms[22m[39m
|
|
39
|
-
|
|
40
|
-
[2m Test Files [22m [1m[32m1 passed[39m[22m[90m (1)[39m
|
|
41
|
-
[2m Tests [22m [1m[32m11 passed[39m[22m[90m (11)[39m
|
|
42
|
-
[2m Start at [22m 17:43:04
|
|
43
|
-
[2m Duration [22m 8.91s[2m (transform 38ms, setup 0ms, collect 45ms, tests 8.80s, environment 0ms, prepare 2ms)[22m
|
|
44
|
-
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all) __defProp(target, name, {
|
|
8
|
-
get: all[name],
|
|
9
|
-
enumerable: true
|
|
10
|
-
});
|
|
11
|
-
};
|
|
12
|
-
var __copyProps = (to, from, except, desc) => {
|
|
13
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
-
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
15
|
-
get: () => from[key],
|
|
16
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
return to;
|
|
20
|
-
};
|
|
21
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
22
|
-
var feature_exports = {};
|
|
23
|
-
__export(feature_exports, { feature: () => feature });
|
|
24
|
-
module.exports = __toCommonJS(feature_exports);
|
|
25
|
-
const feature = "subpath-only";
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var __defProp = Object.defineProperty;
|
|
5
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __export = (target, all) => {
|
|
9
|
-
for (var name in all) __defProp(target, name, {
|
|
10
|
-
get: all[name],
|
|
11
|
-
enumerable: true
|
|
12
|
-
});
|
|
13
|
-
};
|
|
14
|
-
var __copyProps = (to, from, except, desc) => {
|
|
15
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
16
|
-
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
17
|
-
get: () => from[key],
|
|
18
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
return to;
|
|
22
|
-
};
|
|
23
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
24
|
-
var feature_exports = {};
|
|
25
|
-
__export(feature_exports, { feature: () => feature });
|
|
26
|
-
module.exports = __toCommonJS(feature_exports);
|
|
27
|
-
var feature = "subpath-only";
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var __defProp = Object.defineProperty;
|
|
5
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __export = (target, all) => {
|
|
9
|
-
for (var name in all) __defProp(target, name, {
|
|
10
|
-
get: all[name],
|
|
11
|
-
enumerable: true
|
|
12
|
-
});
|
|
13
|
-
};
|
|
14
|
-
var __copyProps = (to, from, except, desc) => {
|
|
15
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
16
|
-
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
17
|
-
get: () => from[key],
|
|
18
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
return to;
|
|
22
|
-
};
|
|
23
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
24
|
-
var feature_exports = {};
|
|
25
|
-
__export(feature_exports, { feature: () => feature });
|
|
26
|
-
module.exports = __toCommonJS(feature_exports);
|
|
27
|
-
var feature = "subpath-only";
|
|
28
|
-
|
|
29
|
-
//# sourceMappingURL=feature.native.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"feature.native.js","names":[],"sources":["cjs/feature.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar feature_exports = {};\n__export(feature_exports, {\n feature: () => feature\n});\nmodule.exports = __toCommonJS(feature_exports);\nvar feature = \"subpath-only\";\n//# sourceMappingURL=feature.js.map\n"],"mappings":";;;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,IAAI,QAAQ,KACf,UAAU,QAAQ,MAAM;EAAE,KAAK,IAAI;EAAO,YAAY;CAAK,CAAC;AAChE;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,kBAAkB,CAAC;AACvB,SAAS,iBAAiB,EACxB,eAAe,QACjB,CAAC;AACD,OAAO,UAAU,aAAa,eAAe;AAC7C,IAAI,UAAU"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"feature.js","names":[],"sources":["esm/feature.js"],"sourcesContent":["const feature = \"subpath-only\";\nexport {\n feature\n};\n//# sourceMappingURL=feature.js.map\n"],"mappings":";AAAA,MAAM,UAAU"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"feature.native.js","names":[],"sources":["esm/feature.native.js"],"sourcesContent":["var feature = \"subpath-only\";\nexport {\n feature\n};\n//# sourceMappingURL=feature.js.map\n"],"mappings":";AAAA,IAAI,UAAU"}
|