@absolutejs/absolute 0.20.0-beta.120 → 0.20.0-beta.121
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/CHANGELOG.md +14 -0
- package/changelog.json +21 -0
- package/dist/angular/components/core/streamingSlotRegistrar.js +1 -1
- package/dist/angular/components/core/streamingSlotRegistry.js +2 -2
- package/dist/build.js +2 -2
- package/dist/build.js.map +3 -3
- package/dist/cli/{add-kt4qx8sh.js → add-9sa7e3vd.js} +5 -5
- package/dist/cli/{androidEmulatorController-v6chbhem.js → androidEmulatorController-sj141e1c.js} +3 -3
- package/dist/cli/{androidNativeWatcher-mgqws6ag.js → androidNativeWatcher-dnp95nk2.js} +3 -3
- package/dist/cli/{api-xtq3zqfg.js → api-2hd8cahp.js} +1 -1
- package/dist/cli/{compile-5m830csy.js → compile-hywymh6y.js} +1 -1
- package/dist/cli/config/server.js +50 -8
- package/dist/cli/db-8wweexdp.js +1100 -0
- package/dist/cli/{dev-ww30tdrv.js → dev-pdefc9ac.js} +9 -9
- package/dist/cli/{emulatorDoctor-y2nqmaha.js → emulatorDoctor-gzarrsex.js} +2 -2
- package/dist/cli/{emulatorInstaller-3shdna4g.js → emulatorInstaller-pjw4ex6q.js} +3 -3
- package/dist/cli/{expoDevController-zz516pdd.js → expoDevController-weywa74d.js} +3 -3
- package/dist/cli/{generate-zy3d9bce.js → generate-069p0dk3.js} +4 -4
- package/dist/cli/{htmx-63kt9qj1.js → htmx-5wh1jh75.js} +2 -2
- package/dist/cli/{index-t84wxk1p.js → index-00wfffav.js} +50 -8
- package/dist/cli/{index-wtyg9cy0.js → index-1ys3dnrs.js} +1 -1
- package/dist/cli/{index-knt92dm8.js → index-255xs63d.js} +1 -1
- package/dist/cli/{index-wspj2mq3.js → index-3x5wpx5d.js} +1 -1
- package/dist/cli/{index-28nxv57v.js → index-5cgsrv62.js} +12 -2
- package/dist/cli/{index-mxmg15c5.js → index-ddakkws4.js} +2 -2
- package/dist/cli/{index-ce870r79.js → index-erngp7a9.js} +1 -1
- package/dist/cli/{index-pa3hmzj7.js → index-j2nw3edf.js} +1 -1
- package/dist/cli/{index-1wgc9e0v.js → index-keg69zm1.js} +1 -1
- package/dist/cli/{index-5268nwjx.js → index-q3sq287p.js} +1 -1
- package/dist/cli/{index-jf1f6npt.js → index-rqbk0b30.js} +1 -1
- package/dist/cli/{index-q1d4ns4n.js → index-v26ze17p.js} +1 -1
- package/dist/cli/{index-hneb973j.js → index-vkkqe08e.js} +2 -2
- package/dist/cli/index.js +23 -18
- package/dist/cli/{info-crpftzxh.js → info-d74dr585.js} +1 -1
- package/dist/cli/{iosNativeWatcher-8w1gawg4.js → iosNativeWatcher-kggp7j9a.js} +4 -4
- package/dist/cli/{iosSimulatorController-5vhqvhg6.js → iosSimulatorController-xcxxfkzx.js} +4 -4
- package/dist/cli/{mobile-21vsmrjd.js → mobile-00bqw12c.js} +9 -9
- package/dist/cli/{ps-ha7bhpc6.js → ps-8y28kzmb.js} +1 -1
- package/dist/cli/{psTui-rxszyyz8.js → psTui-8e96mwgz.js} +1 -1
- package/dist/cli/{remoteMacProtocol-dybpgazw.js → remoteMacProtocol-r38jhg44.js} +4 -4
- package/dist/cli/{remove-pwfv4wsd.js → remove-3fd1z2hx.js} +4 -4
- package/dist/cli/{start-3bhf56tj.js → start-q08avhxg.js} +2 -2
- package/dist/cli/{typecheck-7n5599tp.js → typecheck-yj9s13eb.js} +1 -1
- package/dist/cli/{workspace-h7czpaqh.js → workspace-e3jt4as8.js} +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +3 -3
- package/dist/mobile/index.js +13 -3
- package/dist/mobile/index.js.map +4 -4
- package/dist/mobile/remoteMacAgentEntry.js +162 -162
- package/dist/src/cli/scripts/db.d.ts +2 -19
- package/dist/src/cli/scripts/dbEngines/detect.d.ts +8 -0
- package/dist/src/cli/scripts/dbEngines/mssql.d.ts +4 -0
- package/dist/src/cli/scripts/dbEngines/mysql.d.ts +2 -0
- package/dist/src/cli/scripts/dbEngines/open.d.ts +2 -0
- package/dist/src/cli/scripts/dbEngines/postgres.d.ts +2 -0
- package/dist/src/cli/scripts/dbEngines/sqlText.d.ts +13 -0
- package/dist/src/cli/scripts/dbEngines/sqlite.d.ts +4 -0
- package/dist/src/cli/scripts/dbEngines/values.d.ts +12 -0
- package/dist/src/cli/utils.d.ts +7 -0
- package/dist/src/utils/userAgentFunctions.d.ts +1 -1
- package/dist/types/db.d.ts +109 -0
- package/package.json +13 -1
- package/dist/cli/db-tejnwt9j.js +0 -238
package/dist/mobile/index.js
CHANGED
|
@@ -23703,7 +23703,7 @@ import { homedir } from "os";
|
|
|
23703
23703
|
import { join as join3 } from "path";
|
|
23704
23704
|
|
|
23705
23705
|
// src/cli/utils.ts
|
|
23706
|
-
import { existsSync, readFileSync } from "fs";
|
|
23706
|
+
import { existsSync, readFileSync, realpathSync } from "fs";
|
|
23707
23707
|
init_constants();
|
|
23708
23708
|
init_startupBanner();
|
|
23709
23709
|
var isWSLEnvironment = () => {
|
|
@@ -24390,6 +24390,12 @@ var MAX_TCP_PORT = 65535;
|
|
|
24390
24390
|
var PROCESS_CLOSE_TIMEOUT_MS = 2000;
|
|
24391
24391
|
var HASH_RADIX2 = 16;
|
|
24392
24392
|
var WINDOWS_BUILD_ID_LENGTH = 10;
|
|
24393
|
+
var DEFAULT_WINDOWS_BUILD_RETENTION_DAYS = 14;
|
|
24394
|
+
var WINDOWS_BUILD_STAMP = ".absolutejs-last-build";
|
|
24395
|
+
var windowsBuildRetentionDays = () => {
|
|
24396
|
+
const configured = Number(process.env.ABSOLUTE_EXPO_BUILD_RETENTION_DAYS);
|
|
24397
|
+
return Number.isFinite(configured) && configured > 0 ? configured : DEFAULT_WINDOWS_BUILD_RETENTION_DAYS;
|
|
24398
|
+
};
|
|
24393
24399
|
var allocateAvailableMetroPort = () => new Promise((resolve4, reject) => {
|
|
24394
24400
|
const server = createServer2();
|
|
24395
24401
|
server.unref();
|
|
@@ -24623,10 +24629,14 @@ var encodedWindowsExpoAndroidCommand = (project, androidRoot, appId, args, captu
|
|
|
24623
24629
|
"try { $mutexAcquired = $mutex.WaitOne([TimeSpan]::FromMinutes(30)) } catch [Threading.AbandonedMutexException] { $mutexAcquired = $true }",
|
|
24624
24630
|
"if (-not $mutexAcquired) { throw 'Timed out waiting for another AbsoluteJS Expo Android build to release the managed Windows mirror.' }",
|
|
24625
24631
|
"New-Item -ItemType Directory -Force -Path $directory | Out-Null",
|
|
24626
|
-
|
|
24632
|
+
`& robocopy.exe $source $directory /MIR /XD node_modules .expo .git .gradle .cxx .kotlin build /XF bun.lock bun.lockb .absolutejs-preserve-subst.cjs .absolutejs-source-lock.sha256 ${WINDOWS_BUILD_STAMP} /NFL /NDL /NJH /NJS /NP`,
|
|
24627
24633
|
"$copyExit = $LASTEXITCODE",
|
|
24628
24634
|
"if ($copyExit -ge 8) { exit $copyExit }",
|
|
24629
24635
|
"Set-Location $directory",
|
|
24636
|
+
`$buildStamp = Join-Path $directory '${WINDOWS_BUILD_STAMP}'`,
|
|
24637
|
+
"Set-Content $buildStamp ([DateTime]::UtcNow.ToString('o')) -NoNewline",
|
|
24638
|
+
`$staleBefore = [DateTime]::UtcNow.AddDays(-${windowsBuildRetentionDays()})`,
|
|
24639
|
+
`Get-ChildItem -LiteralPath (Split-Path -Parent $directory) -Directory -ErrorAction SilentlyContinue | Where-Object { -not [String]::Equals($_.FullName, $directory, [StringComparison]::OrdinalIgnoreCase) -and (Test-Path (Join-Path $_.FullName '.absolutejs-expo-project')) } | ForEach-Object { $stamp = Join-Path $_.FullName '${WINDOWS_BUILD_STAMP}'; $lastBuild = if (Test-Path $stamp) { (Get-Item $stamp).LastWriteTimeUtc } else { $_.LastWriteTimeUtc }; if ($lastBuild -lt $staleBefore) { Remove-Item -LiteralPath $_.FullName -Recurse -Force -ErrorAction SilentlyContinue } }`,
|
|
24630
24640
|
"$sourceLock = @('bun.lock', 'bun.lockb') | ForEach-Object { Join-Path $source $_ } | Where-Object { Test-Path $_ } | Select-Object -First 1",
|
|
24631
24641
|
"$sourceLockHash = if ($sourceLock) { (Get-FileHash $sourceLock -Algorithm SHA256).Hash } else { 'none' }",
|
|
24632
24642
|
"$lockMarker = Join-Path $directory '.absolutejs-source-lock.sha256'",
|
|
@@ -45308,5 +45318,5 @@ export {
|
|
|
45308
45318
|
writeAbsoluteMobileUpdateRegistry
|
|
45309
45319
|
};
|
|
45310
45320
|
|
|
45311
|
-
//# debugId=
|
|
45321
|
+
//# debugId=3C2136054AFFDBD364756E2164756E21
|
|
45312
45322
|
//# sourceMappingURL=index.js.map
|