vxrn 2.13.8 → 2.13.9

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 (118) hide show
  1. package/dist/cli.mjs +3 -2
  2. package/dist/cli.mjs.map +1 -1
  3. package/dist/cli.native.js +5 -2
  4. package/dist/cli.native.js.map +1 -1
  5. package/dist/config/getBaseViteConfigOnly.mjs +3 -3
  6. package/dist/config/getBaseViteConfigOnly.mjs.map +1 -1
  7. package/dist/config/getBaseViteConfigOnly.native.js +3 -3
  8. package/dist/config/getBaseViteConfigOnly.native.js.map +1 -1
  9. package/dist/config/getOptionsFilled.mjs +24 -2
  10. package/dist/config/getOptionsFilled.mjs.map +1 -1
  11. package/dist/config/getOptionsFilled.native.js +25 -2
  12. package/dist/config/getOptionsFilled.native.js.map +1 -1
  13. package/dist/config/getServerOptionsFilled.mjs +119 -1
  14. package/dist/config/getServerOptionsFilled.mjs.map +1 -1
  15. package/dist/config/getServerOptionsFilled.native.js +137 -1
  16. package/dist/config/getServerOptionsFilled.native.js.map +1 -1
  17. package/dist/exports/build.mjs +5 -5
  18. package/dist/exports/build.mjs.map +1 -1
  19. package/dist/exports/build.native.js +5 -5
  20. package/dist/exports/build.native.js.map +1 -1
  21. package/dist/exports/dev.mjs +4 -6
  22. package/dist/exports/dev.mjs.map +1 -1
  23. package/dist/exports/dev.native.js +6 -6
  24. package/dist/exports/dev.native.js.map +1 -1
  25. package/dist/exports/prebuild.mjs +4 -4
  26. package/dist/exports/prebuild.mjs.map +1 -1
  27. package/dist/exports/prebuild.native.js +4 -4
  28. package/dist/exports/prebuild.native.js.map +1 -1
  29. package/dist/exports/prebuildWithoutExpo.mjs +95 -88
  30. package/dist/exports/prebuildWithoutExpo.mjs.map +1 -1
  31. package/dist/exports/prebuildWithoutExpo.native.js +95 -88
  32. package/dist/exports/prebuildWithoutExpo.native.js.map +1 -1
  33. package/dist/plugins/autoDepOptimizePlugin.mjs +3 -3
  34. package/dist/plugins/autoDepOptimizePlugin.mjs.map +1 -1
  35. package/dist/plugins/autoDepOptimizePlugin.native.js +3 -3
  36. package/dist/plugins/autoDepOptimizePlugin.native.js.map +1 -1
  37. package/dist/plugins/reactNativeDevAssetPlugin.mjs +4 -4
  38. package/dist/plugins/reactNativeDevAssetPlugin.mjs.map +1 -1
  39. package/dist/plugins/reactNativeDevAssetPlugin.native.js +4 -4
  40. package/dist/plugins/reactNativeDevAssetPlugin.native.js.map +1 -1
  41. package/dist/rn-commands/bundle/buildBundle.mjs +18 -5
  42. package/dist/rn-commands/bundle/buildBundle.mjs.map +1 -1
  43. package/dist/rn-commands/bundle/buildBundle.native.js +18 -5
  44. package/dist/rn-commands/bundle/buildBundle.native.js.map +1 -1
  45. package/dist/user-interface/index.mjs +1 -1
  46. package/dist/user-interface/index.mjs.map +1 -1
  47. package/dist/user-interface/index.native.js +1 -1
  48. package/dist/user-interface/index.native.js.map +1 -1
  49. package/dist/utils/env-editor.mjs +198 -0
  50. package/dist/utils/env-editor.mjs.map +1 -0
  51. package/dist/utils/env-editor.native.js +266 -0
  52. package/dist/utils/env-editor.native.js.map +1 -0
  53. package/dist/utils/fs.mjs +48 -0
  54. package/dist/utils/fs.mjs.map +1 -0
  55. package/dist/utils/fs.native.js +48 -0
  56. package/dist/utils/fs.native.js.map +1 -0
  57. package/dist/utils/getVitePath.mjs +2 -2
  58. package/dist/utils/getVitePath.mjs.map +1 -1
  59. package/dist/utils/getVitePath.native.js +2 -2
  60. package/dist/utils/getVitePath.native.js.map +1 -1
  61. package/dist/utils/patches.mjs +38 -29
  62. package/dist/utils/patches.mjs.map +1 -1
  63. package/dist/utils/patches.native.js +38 -29
  64. package/dist/utils/patches.native.js.map +1 -1
  65. package/dist/utils/scanDepsToOptimize.mjs +12 -11
  66. package/dist/utils/scanDepsToOptimize.mjs.map +1 -1
  67. package/dist/utils/scanDepsToOptimize.native.js +12 -11
  68. package/dist/utils/scanDepsToOptimize.native.js.map +1 -1
  69. package/dist/utils/state.mjs +5 -5
  70. package/dist/utils/state.mjs.map +1 -1
  71. package/dist/utils/state.native.js +5 -5
  72. package/dist/utils/state.native.js.map +1 -1
  73. package/dist/utils/utils.mjs +4 -3
  74. package/dist/utils/utils.mjs.map +1 -1
  75. package/dist/utils/utils.native.js +4 -3
  76. package/dist/utils/utils.native.js.map +1 -1
  77. package/package.json +12 -18
  78. package/src/cli.ts +5 -4
  79. package/src/config/getBaseViteConfigOnly.ts +3 -3
  80. package/src/config/getOptionsFilled.ts +35 -2
  81. package/src/config/getServerOptionsFilled.test.ts +37 -0
  82. package/src/config/getServerOptionsFilled.ts +57 -1
  83. package/src/exports/build.ts +5 -5
  84. package/src/exports/clean.test.ts +1 -1
  85. package/src/exports/dev.ts +5 -6
  86. package/src/exports/prebuild.ts +4 -4
  87. package/src/exports/prebuildWithoutExpo.ts +102 -89
  88. package/src/plugins/autoDepOptimizePlugin.ts +3 -3
  89. package/src/plugins/reactNativeDevAssetPlugin.ts +4 -4
  90. package/src/rn-commands/bundle/buildBundle.ts +15 -5
  91. package/src/user-interface/index.ts +1 -1
  92. package/src/utils/env-editor.LICENSE +9 -0
  93. package/src/utils/env-editor.ts +214 -0
  94. package/src/utils/fs.ts +59 -0
  95. package/src/utils/getVitePath.ts +2 -2
  96. package/src/utils/patches.test.ts +36 -36
  97. package/src/utils/patches.ts +39 -27
  98. package/src/utils/scanDepsToOptimize.test.ts +2 -2
  99. package/src/utils/scanDepsToOptimize.ts +6 -5
  100. package/src/utils/state.ts +5 -7
  101. package/src/utils/utils.ts +5 -5
  102. package/types/config/getOptionsFilled.d.ts +9 -2
  103. package/types/config/getOptionsFilled.d.ts.map +1 -1
  104. package/types/config/getServerOptionsFilled.d.ts.map +1 -1
  105. package/types/exports/build.d.ts +1 -1
  106. package/types/exports/dev.d.ts.map +1 -1
  107. package/types/exports/prebuildWithoutExpo.d.ts.map +1 -1
  108. package/types/rn-commands/bundle/buildBundle.d.ts.map +1 -1
  109. package/types/user-interface/index.d.ts.map +1 -1
  110. package/types/utils/env-editor.d.ts +9 -0
  111. package/types/utils/env-editor.d.ts.map +1 -0
  112. package/types/utils/fs.d.ts +9 -0
  113. package/types/utils/fs.d.ts.map +1 -0
  114. package/types/utils/patches.d.ts.map +1 -1
  115. package/types/utils/scanDepsToOptimize.d.ts.map +1 -1
  116. package/types/utils/state.d.ts.map +1 -1
  117. package/types/utils/utils.d.ts +2 -2
  118. package/types/utils/utils.d.ts.map +1 -1
@@ -1,16 +1,29 @@
1
1
  import { transformSWC } from '@vxrn/compiler'
2
2
  import { transformFlowBabel } from '@vxrn/vite-flow'
3
3
  import Glob from 'fast-glob'
4
- import findNodeModules from 'find-node-modules'
5
- import FSExtra from 'fs-extra'
6
- import { realpathSync } from 'node:fs'
7
- import { join } from 'node:path'
8
- import { rename } from 'node:fs/promises'
4
+ import { existsSync, realpathSync } from 'node:fs'
5
+ import { dirname, join, resolve } from 'node:path'
6
+ import { readFile, rename, stat, writeFile } from 'node:fs/promises'
9
7
  import semver from 'semver'
10
8
  import type { VXRNOptionsFilled } from '../config/getOptionsFilled'
11
9
  import { builtInDepPatches } from '../patches/builtInDepPatches'
10
+ import { readJSON, writeJSON } from './fs'
12
11
  import { globDir } from './globDir'
13
12
 
13
+ // every node_modules dir from root up to the filesystem root,
14
+ // matching the find-node-modules lookup this replaces
15
+ function findNodeModulesDirs(root: string): string[] {
16
+ const dirs: string[] = []
17
+ let dir = resolve(root)
18
+ for (;;) {
19
+ const candidate = join(dir, 'node_modules')
20
+ if (existsSync(candidate)) dirs.push(candidate)
21
+ const parent = dirname(dir)
22
+ if (parent === dir) return dirs
23
+ dir = parent
24
+ }
25
+ }
26
+
14
27
  type Strategies = 'swc' | 'flow' | 'jsx'
15
28
 
16
29
  export type DepFileStrategy =
@@ -83,14 +96,14 @@ function getOriginalPath(fullPath: string) {
83
96
 
84
97
  async function readPatchStats(nodeModulesDir: string): Promise<PatchStats> {
85
98
  try {
86
- return await FSExtra.readJSON(join(nodeModulesDir, STATS_FILE))
99
+ return await readJSON(join(nodeModulesDir, STATS_FILE))
87
100
  } catch {
88
101
  return {}
89
102
  }
90
103
  }
91
104
 
92
105
  async function writePatchStats(nodeModulesDir: string, stats: PatchStats) {
93
- await FSExtra.writeJSON(join(nodeModulesDir, STATS_FILE), stats)
106
+ await writeJSON(join(nodeModulesDir, STATS_FILE), stats)
94
107
  }
95
108
 
96
109
  type PatchResult = 'applied' | 'ok' | 'skipped'
@@ -111,16 +124,15 @@ export async function applyDependencyPatches(
111
124
  // collect unique module names for pnpm store globbing
112
125
  const patchModuleNames = [...new Set(patches.map((p) => p.module))]
113
126
 
114
- const nodeModulesDirs = findNodeModules({ cwd: root }).flatMap((relativePath) => {
115
- const dir = join(root, relativePath)
127
+ const nodeModulesDirs = findNodeModulesDirs(root).flatMap((dir) => {
116
128
  const dirs = [dir]
117
129
 
118
130
  const pnpmBase = join(dir, '.pnpm')
119
- if (!FSExtra.existsSync(pnpmBase)) return dirs
131
+ if (!existsSync(pnpmBase)) return dirs
120
132
 
121
133
  // pnpm hoists transitive deps into .pnpm/node_modules/ (symlinks to store)
122
134
  const pnpmHoistedDir = join(pnpmBase, 'node_modules')
123
- if (FSExtra.existsSync(pnpmHoistedDir)) {
135
+ if (existsSync(pnpmHoistedDir)) {
124
136
  dirs.push(pnpmHoistedDir)
125
137
  }
126
138
 
@@ -159,7 +171,7 @@ export async function applyDependencyPatches(
159
171
  try {
160
172
  const nodeModuleDir = join(nodeModulesDir, patch.module)
161
173
 
162
- if (!FSExtra.existsSync(nodeModuleDir)) return
174
+ if (!existsSync(nodeModuleDir)) return
163
175
 
164
176
  // deduplicate by real path to avoid patching the same files twice
165
177
  // (multiple symlinks/paths can resolve to the same pnpm store entry)
@@ -176,7 +188,7 @@ export async function applyDependencyPatches(
176
188
 
177
189
  const version = patch.patchFiles.version
178
190
  if (typeof version === 'string') {
179
- const pkgJSON = await FSExtra.readJSON(join(nodeModuleDir, 'package.json'))
191
+ const pkgJSON = await readJSON(join(nodeModuleDir, 'package.json'))
180
192
  if (!semver.satisfies(pkgJSON.version, version)) return
181
193
  }
182
194
 
@@ -203,8 +215,8 @@ export async function applyDependencyPatches(
203
215
  filePatches.map(async ({ relativePath }) => {
204
216
  const fullPath = join(nodeModuleDir, relativePath)
205
217
  try {
206
- const stat = await FSExtra.stat(fullPath)
207
- return { relativePath, fullPath, stat, exists: true }
218
+ const fileStat = await stat(fullPath)
219
+ return { relativePath, fullPath, stat: fileStat, exists: true }
208
220
  } catch {
209
221
  return { relativePath, fullPath, stat: null, exists: false }
210
222
  }
@@ -213,15 +225,15 @@ export async function applyDependencyPatches(
213
225
 
214
226
  // filter to files that need processing
215
227
  const filesToProcess = fileStatsResults.filter(
216
- ({ fullPath, stat, exists }) => {
217
- if (!exists || !stat) return false
228
+ ({ fullPath, stat: fileStat, exists }) => {
229
+ if (!exists || !fileStat) return false
218
230
  if (process.env.VXRN_FORCE_PATCH) return true
219
231
 
220
232
  const cached = patchStats[fullPath]
221
233
  if (!cached) return true // never patched
222
234
 
223
235
  // check if file changed since we patched it
224
- return stat.size !== cached.size || stat.mtimeMs !== cached.mtimeMs
236
+ return fileStat.size !== cached.size || fileStat.mtimeMs !== cached.mtimeMs
225
237
  }
226
238
  )
227
239
 
@@ -246,8 +258,8 @@ export async function applyDependencyPatches(
246
258
 
247
259
  // read target and original in parallel
248
260
  const [targetContent, originalContent] = await Promise.all([
249
- FSExtra.readFile(fullPath, 'utf-8'),
250
- FSExtra.readFile(originalPath, 'utf-8').catch(() => null),
261
+ readFile(fullPath, 'utf-8'),
262
+ readFile(originalPath, 'utf-8').catch(() => null),
251
263
  ])
252
264
 
253
265
  // determine source content for patching
@@ -336,8 +348,8 @@ export async function applyDependencyPatches(
336
348
  // check if already has this patched content
337
349
  if (targetContent === patchedContent) {
338
350
  // already patched, just update stats
339
- const stat = await FSExtra.stat(fullPath)
340
- patchStats[fullPath] = { size: stat.size, mtimeMs: stat.mtimeMs }
351
+ const fileStat = await stat(fullPath)
352
+ patchStats[fullPath] = { size: fileStat.size, mtimeMs: fileStat.mtimeMs }
341
353
  statsChanged = true
342
354
  return
343
355
  }
@@ -350,8 +362,8 @@ export async function applyDependencyPatches(
350
362
  ])
351
363
 
352
364
  // update stats
353
- const stat = await FSExtra.stat(fullPath)
354
- patchStats[fullPath] = { size: stat.size, mtimeMs: stat.mtimeMs }
365
+ const fileStat = await stat(fullPath)
366
+ patchStats[fullPath] = { size: fileStat.size, mtimeMs: fileStat.mtimeMs }
355
367
  statsChanged = true
356
368
  didApplyPatch = true
357
369
 
@@ -362,8 +374,8 @@ export async function applyDependencyPatches(
362
374
  }
363
375
  } else {
364
376
  // patch made no changes, still record stats so we skip next time
365
- const stat = await FSExtra.stat(fullPath)
366
- patchStats[fullPath] = { size: stat.size, mtimeMs: stat.mtimeMs }
377
+ const fileStat = await stat(fullPath)
378
+ patchStats[fullPath] = { size: fileStat.size, mtimeMs: fileStat.mtimeMs }
367
379
  statsChanged = true
368
380
  }
369
381
  } catch (err) {
@@ -405,6 +417,6 @@ export async function applyDependencyPatches(
405
417
 
406
418
  async function atomicWriteFile(filePath: string, contents: string) {
407
419
  const tempPath = filePath + '.vxrn.tmp.' + process.pid + '.' + Date.now()
408
- await FSExtra.writeFile(tempPath, contents)
420
+ await writeFile(tempPath, contents)
409
421
  await rename(tempPath, filePath)
410
422
  }
@@ -3,7 +3,7 @@ import { tmpdir } from 'node:os'
3
3
  import { join } from 'node:path'
4
4
  import { createServer } from 'vite'
5
5
  import { describe, expect, test, vi } from 'vitest'
6
- import FSExtra from 'fs-extra'
6
+ import * as fsUtils from './fs'
7
7
  import {
8
8
  findDepsToOptimize,
9
9
  getScannedOptimizeDepsConfig,
@@ -34,7 +34,7 @@ test('shares manifest reads within a scan and refreshes them on the next scan',
34
34
  dependencies: { added: '*' },
35
35
  peerDependencies: { react: '*' },
36
36
  })
37
- const readJson = vi.spyOn(FSExtra, 'readJson')
37
+ const readJson = vi.spyOn(fsUtils, 'readJSON')
38
38
  try {
39
39
  const result = await scanDepsToOptimize(join(root, 'package.json'))
40
40
  expect(new Set(result.prebundleDeps)).toEqual(new Set(['alpha', 'beta', 'common']))
@@ -1,6 +1,7 @@
1
1
  import { createDebugger } from '@vxrn/debug'
2
- import FSExtra from 'fs-extra'
2
+ import { realpath } from 'node:fs/promises'
3
3
  import path, { dirname, extname, join, sep } from 'node:path'
4
+ import { pathExists, readJSON } from './fs'
4
5
 
5
6
  const { debug, debugDetails } = createDebugger(`vxrn:scanDepsToOptimize`)
6
7
 
@@ -165,9 +166,9 @@ export async function scanDepsToOptimize(
165
166
  ): Promise<ScanDepsResult> {
166
167
  // share leaf reads only: sharing recursive promises can deadlock sibling cycles.
167
168
  return scanDeps(packageJsonPath, options, {
168
- pathExists: memoizeRead((file) => FSExtra.pathExists(file)),
169
- realpath: memoizeRead((file) => FSExtra.realpath(file)),
170
- readJson: memoizeRead((file) => FSExtra.readJson(file)),
169
+ pathExists: memoizeRead((file) => pathExists(file)),
170
+ realpath: memoizeRead((file) => realpath(file)),
171
+ readJson: memoizeRead((file) => readJSON(file)),
171
172
  })
172
173
  }
173
174
 
@@ -472,7 +473,7 @@ async function resolveDepPkgJsonPath(
472
473
  }
473
474
 
474
475
  export async function findDepPkgJsonPath(dep, dependent) {
475
- return findDepPkgJsonPathWithFs(dep, dependent, (file) => FSExtra.pathExists(file))
476
+ return findDepPkgJsonPathWithFs(dep, dependent, (file) => pathExists(file))
476
477
  }
477
478
 
478
479
  async function findDepPkgJsonPathWithFs(
@@ -1,7 +1,7 @@
1
- import FSExtra from 'fs-extra'
2
1
  import { randomUUID } from 'node:crypto'
3
- import { rename, rm } from 'node:fs/promises'
2
+ import { mkdir, rename, rm } from 'node:fs/promises'
4
3
  import { join } from 'node:path'
4
+ import { pathExists, readJSON, writeJSON } from './fs'
5
5
 
6
6
  type State = {
7
7
  versionHash?: string
@@ -10,9 +10,7 @@ type State = {
10
10
  export async function readState(cacheDir: string) {
11
11
  const statePath = join(cacheDir, 'state.json')
12
12
  try {
13
- const state: State = (await FSExtra.pathExists(statePath))
14
- ? await FSExtra.readJSON(statePath)
15
- : {}
13
+ const state: State = (await pathExists(statePath)) ? await readJSON(statePath) : {}
16
14
  return state
17
15
  } catch {
18
16
  // recover from errors
@@ -23,9 +21,9 @@ export async function readState(cacheDir: string) {
23
21
  export async function writeState(cacheDir: string, state: State) {
24
22
  const statePath = join(cacheDir, 'state.json')
25
23
  const pendingStatePath = `${statePath}.${process.pid}.${randomUUID()}.tmp`
26
- await FSExtra.ensureDir(cacheDir)
24
+ await mkdir(cacheDir, { recursive: true })
27
25
  try {
28
- await FSExtra.writeJSON(pendingStatePath, state)
26
+ await writeJSON(pendingStatePath, state)
29
27
  await rename(pendingStatePath, statePath)
30
28
  } finally {
31
29
  await rm(pendingStatePath, { force: true })
@@ -1,12 +1,12 @@
1
- import type fs from 'node:fs'
2
- import FSExtra from 'fs-extra'
1
+ import { type Stats, statSync } from 'node:fs'
2
+ import { readFile } from 'node:fs/promises'
3
3
  import path from 'node:path'
4
4
  import { createHash } from 'node:crypto'
5
5
 
6
- export function tryStatSync(file: string): fs.Stats | undefined {
6
+ export function tryStatSync(file: string): Stats | undefined {
7
7
  try {
8
8
  // The "throwIfNoEntry" is a performance optimization for cases where the file does not exist
9
- return FSExtra.statSync(file, { throwIfNoEntry: false })
9
+ return statSync(file, { throwIfNoEntry: false })
10
10
  } catch {}
11
11
  }
12
12
 
@@ -36,6 +36,6 @@ export function getHash(text: Buffer | string, length = 8): string {
36
36
  }
37
37
 
38
38
  export async function getFileHash(path: string) {
39
- const content = await FSExtra.readFile(path, 'utf-8')
39
+ const content = await readFile(path, 'utf-8')
40
40
  return getHash(content)
41
41
  }
@@ -27,6 +27,13 @@ import type { Mode, VXRNOptions } from '../types';
27
27
  * * Over time, we can progressively eliminate dependencies on
28
28
  * `VXRNOptionsFilled` across the codebase.
29
29
  */
30
+ export type PackageJSON = {
31
+ name?: string;
32
+ version?: string;
33
+ dependencies?: Record<string, string>;
34
+ devDependencies?: Record<string, string>;
35
+ [key: string]: any;
36
+ };
30
37
  export type VXRNOptionsFilled = Awaited<ReturnType<typeof fillOptions>>;
31
38
  export declare function fillOptions(options: VXRNOptions, { mode }?: {
32
39
  mode?: Mode;
@@ -51,7 +58,7 @@ export declare function fillOptions(options: VXRNOptions, { mode }?: {
51
58
  native: string;
52
59
  readonly server: './src/entry-server.tsx';
53
60
  };
54
- readonly packageJSON: import("pkg-types").PackageJson;
61
+ readonly packageJSON: PackageJSON;
55
62
  readonly packageVersions: {
56
63
  react: string;
57
64
  reactNative: string;
@@ -84,7 +91,7 @@ export declare function getOptionsFilled(): {
84
91
  native: string;
85
92
  readonly server: './src/entry-server.tsx';
86
93
  };
87
- readonly packageJSON: import("pkg-types").PackageJson;
94
+ readonly packageJSON: PackageJSON;
88
95
  readonly packageVersions: {
89
96
  react: string;
90
97
  reactNative: string;
@@ -1 +1 @@
1
- {"version":3,"file":"getOptionsFilled.d.ts","sourceRoot":"","sources":["../../src/config/getOptionsFilled.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAOjD;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,CAAA;AAIvE,wBAAsB,WAAW,CAC/B,OAAO,EAAE,WAAW,EACpB,EAAE,IAAY,EAAE,GAAE;IAAE,IAAI,CAAC,EAAE,IAAI,CAAA;CAAO;;;;;;;;;iBA0ClC,GAAG;iBACH,OAAO;;;;;;;;;yBAQC,wBAAwB;;;;;;;;;;;;;GAcrC;AAED,wBAAgB,gBAAgB;;;;;;;;;iBAzB1B,GAAG;iBACH,OAAO;;;;;;;;;yBAQC,wBAAwB;;;;;;;;;;;;;SAkBrC"}
1
+ {"version":3,"file":"getOptionsFilled.d.ts","sourceRoot":"","sources":["../../src/config/getOptionsFilled.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAOjD;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACrC,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACxC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CACnB,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,CAAA;AAIvE,wBAAsB,WAAW,CAC/B,OAAO,EAAE,WAAW,EACpB,EAAE,IAAY,EAAE,GAAE;IAAE,IAAI,CAAC,EAAE,IAAI,CAAA;CAAO;;;;;;;;;iBA0ClC,GAAG;iBACH,OAAO;;;;;;;;;yBAQC,wBAAwB;;;;;;;;;;;;;GAcrC;AAED,wBAAgB,gBAAgB;;;;;;;;;iBAzB1B,GAAG;iBACH,OAAO;;;;;;;;;yBAQC,wBAAwB;;;;;;;;;;;;;SAkBrC"}
@@ -1 +1 @@
1
- {"version":3,"file":"getServerOptionsFilled.d.ts","sourceRoot":"","sources":["../../src/config/getServerOptionsFilled.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,WAAW,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAA;AAEzE,wBAAsB,sBAAsB,CAC1C,aAAa,EAAE,WAAW,CAAC,QAAQ,CAAC,EACpC,IAAI,EAAE,IAAI,GACT,OAAO,CAAC,sBAAsB,CAAC,CAoDjC"}
1
+ {"version":3,"file":"getServerOptionsFilled.d.ts","sourceRoot":"","sources":["../../src/config/getServerOptionsFilled.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,WAAW,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAA;AA0DzE,wBAAsB,sBAAsB,CAC1C,aAAa,EAAE,WAAW,CAAC,QAAQ,CAAC,EACpC,IAAI,EAAE,IAAI,GACT,OAAO,CAAC,sBAAsB,CAAC,CAoDjC"}
@@ -26,7 +26,7 @@ export declare const build: (optionsIn: VXRNOptions, buildArgs?: BuildArgs) => P
26
26
  native: string;
27
27
  readonly server: './src/entry-server.tsx';
28
28
  };
29
- readonly packageJSON: import("pkg-types").PackageJson;
29
+ readonly packageJSON: import("../config/getOptionsFilled").PackageJSON;
30
30
  readonly packageVersions: {
31
31
  react: string;
32
32
  reactNative: string;
@@ -1 +1 @@
1
- {"version":3,"file":"dev.d.ts","sourceRoot":"","sources":["../../src/exports/dev.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AA6E3C,MAAM,MAAM,UAAU,GAAG,WAAW,GAAG;IACrC,KAAK,CAAC,EAAE,OAAO,CAAA;IACf;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB,CAAA;AAED,eAAO,MAAM,GAAG,cAAqB,UAAU;;;;;;EA4M9C,CAAA"}
1
+ {"version":3,"file":"dev.d.ts","sourceRoot":"","sources":["../../src/exports/dev.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AA4E3C,MAAM,MAAM,UAAU,GAAG,WAAW,GAAG;IACrC,KAAK,CAAC,EAAE,OAAO,CAAA;IACf;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB,CAAA;AAED,eAAO,MAAM,GAAG,cAAqB,UAAU;;;;;;EA4M9C,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"prebuildWithoutExpo.d.ts","sourceRoot":"","sources":["../../src/exports/prebuildWithoutExpo.ts"],"names":[],"mappings":"AAKA,OAAO,EAKL,iBAAiB,EAE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CAAC,CA4Gf"}
1
+ {"version":3,"file":"buildBundle.d.ts","sourceRoot":"","sources":["../../../src/rn-commands/bundle/buildBundle.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAA;AAQ5E,YAAY,EAAE,iBAAiB,EAAE,CAAA;AAEjC,wBAAsB,WAAW,CAC/B,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,EACpB,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,iBAAiB,EACvB,UAAU,GAAE,GAAU,GACrB,OAAO,CAAC,IAAI,CAAC,CAqHf"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/user-interface/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,MAAM,CAAA;AAIzC,KAAK,OAAO,GAAG;IACb,MAAM,EAAE,aAAa,CAAA;CACtB,CAAA;AAkHD,wBAAsB,kBAAkB,CAAC,OAAO,EAAE,OAAO,iBAOxD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/user-interface/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,MAAM,CAAA;AAIzC,KAAK,OAAO,GAAG;IACb,MAAM,EAAE,aAAa,CAAA;CACtB,CAAA;AAiHD,wBAAsB,kBAAkB,CAAC,OAAO,EAAE,OAAO,iBAOxD"}
@@ -0,0 +1,9 @@
1
+ export declare function defaultEditor(): {
2
+ id: string;
3
+ name: string;
4
+ binary: string;
5
+ isTerminalEditor: boolean;
6
+ paths: string[];
7
+ keywords: string[];
8
+ };
9
+ //# sourceMappingURL=env-editor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"env-editor.d.ts","sourceRoot":"","sources":["../../src/utils/env-editor.ts"],"names":[],"mappings":"AAqMA,wBAAgB,aAAa;;;;;;;EAgB5B"}
@@ -0,0 +1,9 @@
1
+ export declare function pathExists(path: string): Promise<boolean>;
2
+ export declare function readJSON<T = any>(path: string): Promise<T>;
3
+ export declare function readJSONSync<T = any>(path: string): T;
4
+ export declare function writeJSON(path: string, data: unknown): Promise<void>;
5
+ export declare function outputJSON(path: string, data: unknown): Promise<void>;
6
+ export declare function outputFileSync(path: string, data: string | Uint8Array, options?: {
7
+ encoding?: BufferEncoding;
8
+ }): void;
9
+ //# sourceMappingURL=fs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fs.d.ts","sourceRoot":"","sources":["../../src/utils/fs.ts"],"names":[],"mappings":"AAQA,wBAAsB,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAO/D;AAeD,wBAAsB,QAAQ,CAAC,CAAC,GAAG,GAAG,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC,CAEhE;AAED,wBAAgB,YAAY,CAAC,CAAC,GAAG,GAAG,EAAE,IAAI,EAAE,MAAM,GAAG,CAAC,CAErD;AAMD,wBAAsB,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAE1E;AAED,wBAAsB,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAG3E;AAED,wBAAgB,cAAc,CAC5B,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,GAAG,UAAU,EACzB,OAAO,CAAC,EAAE;IAAE,QAAQ,CAAC,EAAE,cAAc,CAAA;CAAE,GACtC,IAAI,CAGN"}
@@ -1 +1 @@
1
- {"version":3,"file":"patches.d.ts","sourceRoot":"","sources":["../../src/utils/patches.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAA;AAInE,KAAK,UAAU,GAAG,KAAK,GAAG,MAAM,GAAG,KAAK,CAAA;AAExC,MAAM,MAAM,eAA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AAG,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAA;IACrC,8HAA8H;IAC9H,cAAc,CAAC,EAAE,GAAG,CAAA;CAChB,GACL,OAAO,CAAC,cAAc,CAAC,CAOzB;AA8SD,wBAAsB,kBAAkB,CAAC,GAAG,KAAA,EAAE,SAAS,KAAA,+BAEtD"}
@@ -1 +1 @@
1
- {"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../src/utils/state.ts"],"names":[],"mappings":"AAKA,KAAK,KAAK,GAAG;IACX,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB,CAAA;AAED,wBAAsB,SAAS,CAAC,QAAQ,EAAE,MAAM,kBAW/C;AAED,wBAAsB,UAAU,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,iBAU9D"}
1
+ {"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../src/utils/state.ts"],"names":[],"mappings":"AAKA,KAAK,KAAK,GAAG;IACX,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB,CAAA;AAED,wBAAsB,SAAS,CAAC,QAAQ,EAAE,MAAM,kBAS/C;AAED,wBAAsB,UAAU,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,iBAU9D"}
@@ -1,5 +1,5 @@
1
- import type fs from 'node:fs';
2
- export declare function tryStatSync(file: string): fs.Stats | undefined;
1
+ import { type Stats } from 'node:fs';
2
+ export declare function tryStatSync(file: string): Stats | undefined;
3
3
  export declare function lookupFile(dir: string, fileNames: string[]): Promise<string | undefined>;
4
4
  export declare function getHash(text: Buffer | string, length?: number): string;
5
5
  export declare function getFileHash(path: string): Promise<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/utils/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,SAAS,CAAA;AAK7B,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,EAAE,CAAC,KAAK,GAAG,SAAS,CAK9D;AAED,wBAAsB,UAAU,CAC9B,GAAG,EAAE,MAAM,EACX,SAAS,EAAE,MAAM,EAAE,GAClB,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAW7B;AAED,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,MAAM,SAAI,GAAG,MAAM,CAOjE;AAED,wBAAsB,WAAW,CAAC,IAAI,EAAE,MAAM,mBAG7C"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/utils/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,KAAK,EAAY,MAAM,SAAS,CAAA;AAK9C,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,KAAK,GAAG,SAAS,CAK3D;AAED,wBAAsB,UAAU,CAC9B,GAAG,EAAE,MAAM,EACX,SAAS,EAAE,MAAM,EAAE,GAClB,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAW7B;AAED,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,MAAM,SAAI,GAAG,MAAM,CAOjE;AAED,wBAAsB,WAAW,CAAC,IAAI,EAAE,MAAM,mBAG7C"}