@tamagui/build 1.123.2 → 1.123.4
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 +28 -0
- package/package.json +3 -3
- package/__tests__/fixtures/simple-package/LICENSE +0 -21
- package/__tests__/fixtures/simple-package/index.d.ts +0 -2
- package/__tests__/fixtures/simple-package/index.d.ts.map +0 -1
- package/__tests__/fixtures/simple-package/package.json +0 -22
- package/__tests__/fixtures/simple-package/src/index.ts +0 -10
- package/__tests__/fixtures/simple-package/tsconfig.json +0 -42
- package/__tests__/fixtures/watch-package/LICENSE +0 -21
- package/__tests__/fixtures/watch-package/index.d.ts +0 -2
- package/__tests__/fixtures/watch-package/index.d.ts.map +0 -1
- package/__tests__/fixtures/watch-package/package.json +0 -22
- package/__tests__/fixtures/watch-package/src/watch.ts +0 -3
- package/__tests__/fixtures/watch-package/tsconfig.json +0 -42
- package/__tests__/fixtures/watch-package/watch.d.ts +0 -2
- package/__tests__/fixtures/watch-package/watch.d.ts.map +0 -1
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
[?25l
|
|
2
|
+
RUN v3.0.2 /Users/n8/tamagui/code/packages/build
|
|
3
|
+
|
|
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 22 ms
|
|
6
|
+
|
|
7
|
+
Initial build complete, modifying file...
|
|
8
|
+
|
|
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 446 ms
|
|
11
|
+
|
|
12
|
+
Rebuild after file modification complete
|
|
13
|
+
|
|
14
|
+
✓ __tests__/integration.test.ts (7 tests) 11870ms
|
|
15
|
+
✓ tamagui-build integration test > should build the package correctly 1629ms
|
|
16
|
+
✓ tamagui-build integration test > should bundle the package correctly 1357ms
|
|
17
|
+
✓ tamagui-build integration test > should skip mjs files when --skip-mjs is used 1427ms
|
|
18
|
+
✓ tamagui-build integration test > should ignore base URL when --ignore-base-url is used 1436ms
|
|
19
|
+
✓ tamagui-build integration test > should rebuild the package on file change when --watch is used 1561ms
|
|
20
|
+
✓ tamagui-build integration test > should generate correct platform-specific output 1454ms
|
|
21
|
+
✓ tamagui-build integration test > should minify the output when MINIFY=true is set 2981ms
|
|
22
|
+
|
|
23
|
+
Test Files 1 passed (1)
|
|
24
|
+
Tests 7 passed (7)
|
|
25
|
+
Start at 07:17:50
|
|
26
|
+
Duration 12.27s (transform 110ms, setup 0ms, collect 105ms, tests 11.87s, environment 0ms, prepare 123ms)
|
|
27
|
+
|
|
28
|
+
[?25h
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/build",
|
|
3
|
-
"version": "1.123.
|
|
3
|
+
"version": "1.123.4",
|
|
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.
|
|
17
|
+
"@tamagui/babel-plugin-fully-specified": "1.123.4",
|
|
18
18
|
"@types/fs-extra": "^9.0.13",
|
|
19
19
|
"chokidar": "^3.5.2",
|
|
20
20
|
"esbuild": "^0.24.2",
|
|
@@ -31,4 +31,4 @@
|
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"vitest": "^3.0.2"
|
|
33
33
|
}
|
|
34
|
-
}
|
|
34
|
+
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2020 Nate Wienert
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["src/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK,SAAU,MAAM,KAAG,MAEpC,CAAA"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "tamagui-build-test-simple-tpackage",
|
|
3
|
-
"version": "1.123.2",
|
|
4
|
-
"main": "dist/cjs",
|
|
5
|
-
"module": "dist/esm/index.mjs",
|
|
6
|
-
"types": "dist/types/index.d.ts",
|
|
7
|
-
"scripts": {
|
|
8
|
-
"build": "node ../../../tamagui-build.js",
|
|
9
|
-
"build:bundle": "node ../../../tamagui-build.js --bundle",
|
|
10
|
-
"build:skip-mjs": "node ../../../tamagui-build.js --skip-mjs",
|
|
11
|
-
"build:declaration-root": "node ../../../tamagui-build.js --declaration-root",
|
|
12
|
-
"build:ignore-base-url": "node ../../../tamagui-build.js --ignore-base-url",
|
|
13
|
-
"build:watch": "node ../../../tamagui-build.js --watch",
|
|
14
|
-
"build:minify": "MINIFY=true node ../../../tamagui-build.js",
|
|
15
|
-
"build:target-web": "TAMAGUI_TARGET=web node ../../../tamagui-build.js",
|
|
16
|
-
"build:target-native": "TAMAGUI_TARGET=native node ../../../tamagui-build.js"
|
|
17
|
-
},
|
|
18
|
-
"devDependencies": {
|
|
19
|
-
"@tamagui/build": "1.123.2",
|
|
20
|
-
"typescript": "^5.7.2"
|
|
21
|
-
}
|
|
22
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export const greet = (name: string): string => {
|
|
2
|
-
return `Hello, ${name}!`
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
export const paltformGreeter = (name: string): string => {
|
|
6
|
-
let salutation
|
|
7
|
-
process.env.TAMAGUI_TARGET === 'web' ? (salutation = 'Hi') : (salutation = 'Hello')
|
|
8
|
-
process.env.TAMAGUI_TARGET === 'native' ? (salutation = 'Hey') : (salutation = 'Hello')
|
|
9
|
-
return `${salutation}, ${name}!`
|
|
10
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"baseUrl": ".",
|
|
4
|
-
"rootDir": ".",
|
|
5
|
-
"paths": {
|
|
6
|
-
"vxrn": ["packages/vxrn"],
|
|
7
|
-
"@vxrn/*": ["packages/*"]
|
|
8
|
-
},
|
|
9
|
-
"importHelpers": true,
|
|
10
|
-
"allowJs": false,
|
|
11
|
-
"resolveJsonModule": true,
|
|
12
|
-
"allowSyntheticDefaultImports": true,
|
|
13
|
-
"forceConsistentCasingInFileNames": true,
|
|
14
|
-
"declaration": true,
|
|
15
|
-
"downlevelIteration": true,
|
|
16
|
-
"strict": true,
|
|
17
|
-
"esModuleInterop": true,
|
|
18
|
-
"inlineSourceMap": true,
|
|
19
|
-
"preserveSymlinks": true,
|
|
20
|
-
"jsx": "react-jsx",
|
|
21
|
-
"module": "Preserve",
|
|
22
|
-
"moduleResolution": "Bundler",
|
|
23
|
-
"noEmit": false,
|
|
24
|
-
"noEmitOnError": false,
|
|
25
|
-
"noImplicitAny": false,
|
|
26
|
-
"noImplicitReturns": false,
|
|
27
|
-
"noUnusedLocals": false,
|
|
28
|
-
"noUnusedParameters": false,
|
|
29
|
-
"preserveConstEnums": true,
|
|
30
|
-
"removeComments": false,
|
|
31
|
-
"skipLibCheck": true,
|
|
32
|
-
"sourceMap": false,
|
|
33
|
-
"strictNullChecks": true,
|
|
34
|
-
"target": "es2020",
|
|
35
|
-
"types": ["vite/client", "node", "react"],
|
|
36
|
-
"lib": ["dom", "esnext"]
|
|
37
|
-
},
|
|
38
|
-
"exclude": ["**/test", "**/dist", "**/types", "**/__tests__"],
|
|
39
|
-
"typeAcquisition": {
|
|
40
|
-
"enable": true
|
|
41
|
-
}
|
|
42
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2020 Nate Wienert
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["src/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK,SAAU,MAAM,KAAG,MAEpC,CAAA"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "tamagui-build-test-watch-package",
|
|
3
|
-
"version": "1.123.2",
|
|
4
|
-
"main": "dist/cjs",
|
|
5
|
-
"module": "dist/esm/index.mjs",
|
|
6
|
-
"types": "dist/types/index.d.ts",
|
|
7
|
-
"scripts": {
|
|
8
|
-
"build": "node ../../../tamagui-build.js",
|
|
9
|
-
"build:bundle": "node ../../../tamagui-build.js --bundle",
|
|
10
|
-
"build:skip-mjs": "node ../../../tamagui-build.js --skip-mjs",
|
|
11
|
-
"build:declaration-root": "node ../../../tamagui-build.js --declaration-root",
|
|
12
|
-
"build:ignore-base-url": "node ../../../tamagui-build.js --ignore-base-url",
|
|
13
|
-
"build:watch": "node ../../../tamagui-build.js --watch",
|
|
14
|
-
"build:minify": "MINIFY=true node ../../../tamagui-build.js",
|
|
15
|
-
"build:target-web": "TAMAGUI_TARGET=web node ../../../tamagui-build.js",
|
|
16
|
-
"build:target-native": "TAMAGUI_TARGET=native node ../../../tamagui-build.js"
|
|
17
|
-
},
|
|
18
|
-
"devDependencies": {
|
|
19
|
-
"@tamagui/build": "1.123.2",
|
|
20
|
-
"typescript": "^5.7.2"
|
|
21
|
-
}
|
|
22
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"baseUrl": ".",
|
|
4
|
-
"rootDir": ".",
|
|
5
|
-
"paths": {
|
|
6
|
-
"vxrn": ["packages/vxrn"],
|
|
7
|
-
"@vxrn/*": ["packages/*"]
|
|
8
|
-
},
|
|
9
|
-
"importHelpers": true,
|
|
10
|
-
"allowJs": false,
|
|
11
|
-
"resolveJsonModule": true,
|
|
12
|
-
"allowSyntheticDefaultImports": true,
|
|
13
|
-
"forceConsistentCasingInFileNames": true,
|
|
14
|
-
"declaration": true,
|
|
15
|
-
"downlevelIteration": true,
|
|
16
|
-
"strict": true,
|
|
17
|
-
"esModuleInterop": true,
|
|
18
|
-
"inlineSourceMap": true,
|
|
19
|
-
"preserveSymlinks": true,
|
|
20
|
-
"jsx": "react-jsx",
|
|
21
|
-
"module": "Preserve",
|
|
22
|
-
"moduleResolution": "Bundler",
|
|
23
|
-
"noEmit": false,
|
|
24
|
-
"noEmitOnError": false,
|
|
25
|
-
"noImplicitAny": false,
|
|
26
|
-
"noImplicitReturns": false,
|
|
27
|
-
"noUnusedLocals": false,
|
|
28
|
-
"noUnusedParameters": false,
|
|
29
|
-
"preserveConstEnums": true,
|
|
30
|
-
"removeComments": false,
|
|
31
|
-
"skipLibCheck": true,
|
|
32
|
-
"sourceMap": false,
|
|
33
|
-
"strictNullChecks": true,
|
|
34
|
-
"target": "es2020",
|
|
35
|
-
"types": ["vite/client", "node", "react"],
|
|
36
|
-
"lib": ["dom", "esnext"]
|
|
37
|
-
},
|
|
38
|
-
"exclude": ["**/test", "**/dist", "**/types", "**/__tests__"],
|
|
39
|
-
"typeAcquisition": {
|
|
40
|
-
"enable": true
|
|
41
|
-
}
|
|
42
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"watch.d.ts","sourceRoot":"","sources":["src/watch.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK,SAAU,MAAM,KAAG,MAE5B,CAAC"}
|