@tamagui/build 2.7.7 → 3.0.0-beta.643.1

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.
Files changed (53) hide show
  1. package/README.md +19 -0
  2. package/package.json +27 -5
  3. package/pretty-print-errors.js +0 -31
  4. package/tamagui-build-workspace.js +296 -0
  5. package/tamagui-build.js +466 -206
  6. package/tamagui-tsgo.js +14 -0
  7. package/typescript-native.js +13 -0
  8. package/.turbo/turbo-test$colon$web.log +0 -68
  9. package/.turbo/turbo-test.log +0 -44
  10. package/__tests__/fixtures/js-main-package/.turbo/turbo-build.log +0 -2
  11. package/__tests__/fixtures/js-main-package/LICENSE +0 -1
  12. package/__tests__/fixtures/js-main-package/dist/cjs/index.js +0 -24
  13. package/__tests__/fixtures/js-main-package/dist/cjs/index.js.map +0 -6
  14. package/__tests__/fixtures/js-main-package/dist/cjs/index.native.js +0 -31
  15. package/__tests__/fixtures/js-main-package/dist/cjs/index.native.js.map +0 -1
  16. package/__tests__/fixtures/js-main-package/dist/esm/index.mjs +0 -3
  17. package/__tests__/fixtures/js-main-package/dist/esm/index.mjs.map +0 -1
  18. package/__tests__/fixtures/js-main-package/dist/esm/index.native.js +0 -3
  19. package/__tests__/fixtures/js-main-package/dist/esm/index.native.js.map +0 -1
  20. package/__tests__/fixtures/js-main-package/package.json +0 -14
  21. package/__tests__/fixtures/js-main-package/src/index.ts +0 -1
  22. package/__tests__/fixtures/js-main-package/tsconfig.json +0 -13
  23. package/__tests__/fixtures/js-main-package/types/index.d.ts +0 -2
  24. package/__tests__/fixtures/js-main-package/types/index.d.ts.map +0 -1
  25. package/__tests__/fixtures/simple-package/.turbo/turbo-build.log +0 -2
  26. package/__tests__/fixtures/simple-package/LICENSE +0 -21
  27. package/__tests__/fixtures/simple-package/index.d.ts +0 -2
  28. package/__tests__/fixtures/simple-package/index.d.ts.map +0 -1
  29. package/__tests__/fixtures/simple-package/package.json +0 -25
  30. package/__tests__/fixtures/simple-package/src/index.ts +0 -71
  31. package/__tests__/fixtures/simple-package/src/nativeOnly.ts +0 -3
  32. package/__tests__/fixtures/simple-package/src/nested/index.ts +0 -1
  33. package/__tests__/fixtures/simple-package/tsconfig.json +0 -42
  34. package/__tests__/fixtures/subpath-only-package/.turbo/turbo-build.log +0 -3
  35. package/__tests__/fixtures/subpath-only-package/dist/cjs/feature.cjs +0 -25
  36. package/__tests__/fixtures/subpath-only-package/dist/cjs/feature.native.cjs +0 -27
  37. package/__tests__/fixtures/subpath-only-package/dist/cjs/feature.native.js +0 -29
  38. package/__tests__/fixtures/subpath-only-package/dist/cjs/feature.native.js.map +0 -1
  39. package/__tests__/fixtures/subpath-only-package/dist/esm/feature.mjs +0 -4
  40. package/__tests__/fixtures/subpath-only-package/dist/esm/feature.mjs.map +0 -1
  41. package/__tests__/fixtures/subpath-only-package/dist/esm/feature.native.js +0 -4
  42. package/__tests__/fixtures/subpath-only-package/dist/esm/feature.native.js.map +0 -1
  43. package/__tests__/fixtures/subpath-only-package/types/feature.d.ts.map +0 -11
  44. package/__tests__/fixtures/watch-package/.turbo/turbo-build.log +0 -2
  45. package/__tests__/fixtures/watch-package/LICENSE +0 -21
  46. package/__tests__/fixtures/watch-package/index.d.ts +0 -2
  47. package/__tests__/fixtures/watch-package/index.d.ts.map +0 -1
  48. package/__tests__/fixtures/watch-package/package.json +0 -22
  49. package/__tests__/fixtures/watch-package/src/watch.ts +0 -3
  50. package/__tests__/fixtures/watch-package/tsconfig.json +0 -42
  51. package/__tests__/fixtures/watch-package/watch.d.ts +0 -2
  52. package/__tests__/fixtures/watch-package/watch.d.ts.map +0 -1
  53. package/__tests__/integration.test.ts +0 -341
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env node
2
+
3
+ const { spawnSync } = require('node:child_process')
4
+ const { getTypeScriptNativePath } = require('./typescript-native')
5
+
6
+ const result = spawnSync(getTypeScriptNativePath(), process.argv.slice(2), {
7
+ stdio: 'inherit',
8
+ })
9
+
10
+ if (result.error) {
11
+ throw result.error
12
+ }
13
+
14
+ process.exitCode = result.status ?? 1
@@ -0,0 +1,13 @@
1
+ const path = require('node:path')
2
+
3
+ function getTypeScriptNativePath() {
4
+ const packageName = `@typescript/typescript-${process.platform}-${process.arch}`
5
+ const packagePath = require.resolve(`${packageName}/package.json`)
6
+ return path.join(
7
+ path.dirname(packagePath),
8
+ 'lib',
9
+ process.platform === 'win32' ? 'tsc.exe' : 'tsc'
10
+ )
11
+ }
12
+
13
+ module.exports = { getTypeScriptNativePath }
@@ -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
-
@@ -1,44 +0,0 @@
1
- $ vitest --run
2
-
3
-  RUN  v4.0.4 /Users/n8/tamagui/code/packages/build
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
- stdout | __tests__/integration.test.ts > tamagui-build integration test > should rebuild the package on file change when --watch is used
11
- Watch process output: built tamagui-build-test-watch-package in 80 ms
12
-
13
- Initial build complete, modifying file...
14
-
15
- stdout | __tests__/integration.test.ts > tamagui-build integration test > should rebuild the package on file change when --watch is used
16
- Watch 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
- ✓ __tests__/integration.test.ts (11 tests) 8801ms
28
- ✓ should build the package correctly  639ms
29
- ✓ should bundle the package correctly  556ms
30
- ✓ should skip mjs files when --skip-mjs is used  623ms
31
- ✓ should skip sourcemaps when --skip-sourcemaps is used  638ms
32
- ✓ should ignore base URL when --ignore-base-url is used  621ms
33
- ✓ should rebuild the package on file change when --watch is used  765ms
34
- ✓ should generate correct platform-specific output  629ms
35
- ✓ should minify the output when MINIFY=true is set  1268ms
36
- ✓ should clean stale outputs before building  1250ms
37
- ✓ should keep only the required js aliases after postprocessing  621ms
38
- ✓ should keep explicit cjs .js mains as final output  1149ms
39
-
40
-  Test Files  1 passed (1)
41
-  Tests  11 passed (11)
42
-  Start at  17:43:04
43
-  Duration  8.91s (transform 38ms, setup 0ms, collect 45ms, tests 8.80s, environment 0ms, prepare 2ms)
44
-
@@ -1,2 +0,0 @@
1
- $ node ../../../tamagui-build.js
2
- built tamagui-build-test-js-main-package in 2414 ms
@@ -1 +0,0 @@
1
- MIT
@@ -1,24 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: true });
8
- };
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (let key of __getOwnPropNames(from))
12
- if (!__hasOwnProp.call(to, key) && key !== except)
13
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
- }
15
- return to;
16
- };
17
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
- var index_exports = {};
19
- __export(index_exports, {
20
- jsMainFixture: () => jsMainFixture
21
- });
22
- module.exports = __toCommonJS(index_exports);
23
- const jsMainFixture = "ok";
24
- //# sourceMappingURL=index.js.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/index.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,MAAM,gBAAgB;",
5
- "names": []
6
- }
@@ -1,31 +0,0 @@
1
- "use strict";
2
-
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __export = (target, all) => {
8
- for (var name in all) __defProp(target, name, {
9
- get: all[name],
10
- enumerable: true
11
- });
12
- };
13
- var __copyProps = (to, from, except, desc) => {
14
- if (from && typeof from === "object" || typeof from === "function") {
15
- for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
16
- get: () => from[key],
17
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
18
- });
19
- }
20
- return to;
21
- };
22
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
23
- value: true
24
- }), mod);
25
- var index_exports = {};
26
- __export(index_exports, {
27
- jsMainFixture: () => jsMainFixture
28
- });
29
- module.exports = __toCommonJS(index_exports);
30
- var jsMainFixture = "ok";
31
- //# sourceMappingURL=index.native.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","index_exports","__export","jsMainFixture","module","exports"],"sources":["../../src/index.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,aAAA;AAAAC,QAAA,CAAAD,aAAA;EAAAE,aAAA,EAAAA,CAAA,KAAAA;AAAA;AAAOC,MAAM,CAAAC,OAAA,GAAAT,YAAgB,CAAAK,aAAA","ignoreList":[]}
@@ -1,3 +0,0 @@
1
- const jsMainFixture = "ok";
2
- export { jsMainFixture };
3
- //# sourceMappingURL=index.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["jsMainFixture"],"sources":["../../src/index.ts"],"sourcesContent":[null],"mappings":"AAAO,MAAMA,aAAA,GAAgB","ignoreList":[]}
@@ -1,3 +0,0 @@
1
- var jsMainFixture = "ok";
2
- export { jsMainFixture };
3
- //# sourceMappingURL=index.native.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["jsMainFixture"],"sources":["../../src/index.ts"],"sourcesContent":[null],"mappings":"AAAO,IAAAA,aAAM,OAAgB","ignoreList":[]}
@@ -1,14 +0,0 @@
1
- {
2
- "name": "tamagui-build-test-js-main-package",
3
- "version": "2.0.0-rc.0-1769885482630",
4
- "main": "dist/cjs/index.js",
5
- "module": "dist/esm/index.mjs",
6
- "types": "types/index.d.ts",
7
- "scripts": {
8
- "build": "node ../../../tamagui-build.js"
9
- },
10
- "devDependencies": {
11
- "@tamagui/build": "workspace:*",
12
- "typescript": "~5.9.2"
13
- }
14
- }
@@ -1 +0,0 @@
1
- export const jsMainFixture = 'ok'
@@ -1,13 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "target": "ES2020",
4
- "module": "ESNext",
5
- "moduleResolution": "Bundler",
6
- "strict": true,
7
- "declaration": true,
8
- "jsx": "react-jsx",
9
- "esModuleInterop": true,
10
- "skipLibCheck": true
11
- },
12
- "include": ["src"]
13
- }
@@ -1,2 +0,0 @@
1
- export declare const jsMainFixture = "ok";
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,OAAO,CAAA"}
@@ -1,2 +0,0 @@
1
- $ node ../../../tamagui-build.js
2
- built tamagui-build-test-simple-tpackage in 1346 ms
@@ -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,2 +0,0 @@
1
- export declare const greet: (name: string) => string;
2
- //# sourceMappingURL=index.d.ts.map
@@ -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,25 +0,0 @@
1
- {
2
- "name": "tamagui-build-test-simple-tpackage",
3
- "version": "2.0.0-rc.0-1769885482630",
4
- "sideEffects": false,
5
- "main": "dist/cjs",
6
- "module": "dist/esm",
7
- "module:jsx": "dist/jsx",
8
- "types": "dist/types/index.d.ts",
9
- "scripts": {
10
- "build": "node ../../../tamagui-build.js",
11
- "build:bundle": "node ../../../tamagui-build.js --bundle",
12
- "build:skip-mjs": "node ../../../tamagui-build.js --skip-mjs",
13
- "build:skip-sourcemaps": "node ../../../tamagui-build.js --skip-sourcemaps",
14
- "build:declaration-root": "node ../../../tamagui-build.js --declaration-root",
15
- "build:ignore-base-url": "node ../../../tamagui-build.js --ignore-base-url",
16
- "build:watch": "node ../../../tamagui-build.js --watch",
17
- "build:minify": "MINIFY=true node ../../../tamagui-build.js",
18
- "build:target-web": "TAMAGUI_TARGET=web node ../../../tamagui-build.js",
19
- "build:target-native": "TAMAGUI_TARGET=native node ../../../tamagui-build.js"
20
- },
21
- "devDependencies": {
22
- "@tamagui/build": "workspace:*",
23
- "typescript": "~5.9.2"
24
- }
25
- }
@@ -1,71 +0,0 @@
1
- import { getNativeOnlyMarker } from './nativeOnly'
2
-
3
- export { nestedHello } from './nested'
4
-
5
- export const greet = (name: string): string => {
6
- return `Hello, ${name}!`
7
- }
8
-
9
- export const paltformGreeter = (name: string): string => {
10
- let salutation
11
- process.env.TAMAGUI_TARGET === 'web' ? (salutation = 'Hi') : (salutation = 'Hello')
12
- process.env.TAMAGUI_TARGET === 'native' ? (salutation = 'Hey') : (salutation = 'Hello')
13
- return `${salutation}, ${name}!`
14
- }
15
-
16
- export function runNativeSideEffect(items: string[]) {
17
- items.push('ran')
18
- }
19
-
20
- export function guardNativeSideEffects(items: string[], debug?: string) {
21
- runNativeSideEffect(items)
22
-
23
- if (process.env.NODE_ENV === 'development' && debug === 'verbose') {
24
- console.log(items.length)
25
- }
26
-
27
- return items
28
- }
29
-
30
- export function getPlatformMarker() {
31
- return process.env.TAMAGUI_TARGET === 'native' ? 'native-only-marker' : 'web-only-marker'
32
- }
33
-
34
- export function getNativeImportMarker() {
35
- if (process.env.TAMAGUI_TARGET === 'native') {
36
- return getNativeOnlyMarker()
37
- }
38
-
39
- return 'web-import-marker'
40
- }
41
-
42
- export function getNativeRequireMarker() {
43
- if (process.env.TAMAGUI_TARGET === 'native') {
44
- // bare require behind a native DCE guard must survive as a real require(),
45
- // not esbuild's __require() shim which throws under Metro's esm scope.
46
- // lodash.debounce is just an external (yet bundleable) stand-in for a native-only require.
47
- // eslint-disable-next-line @typescript-eslint/no-require-imports
48
- return require('lodash.debounce').NativeRequireMarker
49
- }
50
-
51
- return 'web-require-marker'
52
- }
53
-
54
- export function getNodeEnvMarker() {
55
- if (process.env.NODE_ENV === 'test') {
56
- return 'test-env-marker'
57
- }
58
-
59
- if (process.env.NODE_ENV === 'development') {
60
- return 'development-env-marker'
61
- }
62
-
63
- return 'runtime-env-marker'
64
- }
65
-
66
- export function applyNativeLogicalMarker(items: string[]) {
67
- process.env.TAMAGUI_TARGET === 'native' && items.push('native-logical-marker')
68
- process.env.TAMAGUI_TARGET !== 'native' && items.push('web-logical-marker')
69
-
70
- return items
71
- }
@@ -1,3 +0,0 @@
1
- export function getNativeOnlyMarker() {
2
- return 'native-import-marker'
3
- }
@@ -1 +0,0 @@
1
- export const nestedHello = 'nested hello'
@@ -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,3 +0,0 @@
1
-
2
- $ node ../../../tamagui-build.js
3
- built tamagui-build-test-subpath-only-package in 270 ms
@@ -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,4 +0,0 @@
1
- const feature = "subpath-only";
2
-
3
- export { feature };
4
- //# sourceMappingURL=feature.mjs.map
@@ -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,4 +0,0 @@
1
- var feature = "subpath-only";
2
-
3
- export { feature };
4
- //# sourceMappingURL=feature.native.js.map
@@ -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"}
@@ -1,11 +0,0 @@
1
- {
2
- "mappings": "AAAA,OAAO,cAAM,UAAU",
3
- "names": [],
4
- "sources": [
5
- "src/feature.ts"
6
- ],
7
- "version": 3,
8
- "sourcesContent": [
9
- "export const feature = 'subpath-only'\n"
10
- ]
11
- }
@@ -1,2 +0,0 @@
1
- $ node ../../../tamagui-build.js
2
- built tamagui-build-test-watch-package in 1184 ms
@@ -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,2 +0,0 @@
1
- export declare const greet: (name: string) => string;
2
- //# sourceMappingURL=index.d.ts.map
@@ -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"}