@tamagui/build 2.7.5 → 2.7.7
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$colon$web.log +37 -20
- 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/subpath-only-package/.turbo/turbo-build.log +3 -0
- package/__tests__/fixtures/subpath-only-package/dist/cjs/feature.cjs +25 -0
- package/__tests__/fixtures/subpath-only-package/dist/cjs/feature.native.cjs +27 -0
- package/__tests__/fixtures/subpath-only-package/dist/cjs/feature.native.js +29 -0
- package/__tests__/fixtures/subpath-only-package/dist/cjs/feature.native.js.map +1 -0
- package/__tests__/fixtures/subpath-only-package/dist/esm/feature.mjs +4 -0
- package/__tests__/fixtures/subpath-only-package/dist/esm/feature.mjs.map +1 -0
- package/__tests__/fixtures/subpath-only-package/dist/esm/feature.native.js +4 -0
- package/__tests__/fixtures/subpath-only-package/dist/esm/feature.native.js.map +1 -0
- package/__tests__/fixtures/subpath-only-package/types/feature.d.ts.map +11 -0
- package/__tests__/fixtures/watch-package/.turbo/turbo-build.log +1 -1
- package/package.json +2 -2
|
@@ -3,18 +3,24 @@ $ vitest --run
|
|
|
3
3
|
|
|
4
4
|
RUN v4.1.0 /Users/n8/tamagui/code/packages/build
|
|
5
5
|
|
|
6
|
+
$ node ../../../tamagui-build.js
|
|
7
|
+
$ node ../../../tamagui-build.js
|
|
6
8
|
$ node ../../../tamagui-build.js
|
|
7
9
|
$ node ../../../tamagui-build.js --bundle
|
|
8
10
|
$ node ../../../tamagui-build.js --skip-mjs
|
|
9
11
|
$ node ../../../tamagui-build.js --skip-sourcemaps
|
|
10
12
|
$ node ../../../tamagui-build.js --ignore-base-url
|
|
11
13
|
stdout | __tests__/integration.test.ts > tamagui-build integration test > should rebuild the package on file change when --watch is used
|
|
12
|
-
Watch process output:
|
|
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
|
|
13
19
|
|
|
14
20
|
Initial build complete, modifying file...
|
|
15
21
|
|
|
16
22
|
stdout | __tests__/integration.test.ts > tamagui-build integration test > should rebuild the package on file change when --watch is used
|
|
17
|
-
Watch process output: built tamagui-build-test-watch-package in
|
|
23
|
+
Watch process output: built tamagui-build-test-watch-package in 49 ms
|
|
18
24
|
|
|
19
25
|
Rebuild after file modification complete
|
|
20
26
|
|
|
@@ -28,24 +34,35 @@ $ node ../../../tamagui-build.js
|
|
|
28
34
|
$ node ../../../tamagui-build.js
|
|
29
35
|
$ node ../../../tamagui-build.js
|
|
30
36
|
$ node ../../../tamagui-build.js
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
✓ should
|
|
40
|
-
✓
|
|
41
|
-
✓ should
|
|
42
|
-
✓ should
|
|
43
|
-
✓ should
|
|
44
|
-
✓ should
|
|
45
|
-
✓ should
|
|
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
|
|
46
63
|
|
|
47
64
|
Test Files 1 passed (1)
|
|
48
|
-
Tests
|
|
49
|
-
Start at
|
|
50
|
-
Duration
|
|
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)
|
|
51
68
|
|
|
@@ -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 2414 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 1346 ms
|
|
@@ -0,0 +1,25 @@
|
|
|
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";
|
|
@@ -0,0 +1,27 @@
|
|
|
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";
|
|
@@ -0,0 +1,29 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -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 1184 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",
|
|
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",
|
|
21
21
|
"@types/fs-extra": "^9.0.13",
|
|
22
22
|
"baseline-browser-mapping": "^2.9.15",
|
|
23
23
|
"chokidar": "^3.5.2",
|