forked from Uniswap/interface
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbunfig.toml
More file actions
67 lines (61 loc) 路 2.43 KB
/
Copy pathbunfig.toml
File metadata and controls
67 lines (61 loc) 路 2.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# Bun configuration file
[install]
# Disable telemetry
telemetry = false
# Use node_modules (default behavior)
linkStrategy = "node"
linker = "hoisted"
# Save exact versions (equivalent to defaultSemverRangePrefix: '')
save = "exact"
# Supply chain protection: reject package versions published less than 3 days ago
# @uniswap/client-* packages are internal service definitions that are frequently
# updated alongside backend proto changes and are trusted as first-party packages.
# @uniswap/{router-sdk,sdk-core,universal-router-sdk,uniswapx-sdk,v2-sdk,v3-sdk,v4-sdk}
# are the first-party open-source SDKs, allowed for time-sensitive coordinated
# upgrades (e.g. mainnet address rollouts) where waiting 3 days blocks the rest
# of the integration.
# @privy-io/expo, @privy-io/js-sdk-core, and @privy-io/routes are allowed for
# time-sensitive SDK upgrades coordinated with Privy.
# @uniswap/liquidity-launcher-sdk is a first-party SDK (Uniswap/sdks) consumed by the
# create-auction flow; excluded so a fresh publish can be adopted without the age delay.
# agent-device is a pre-1.0 dev-only QA CLI (Callstack) with near-daily releases; it is
# exact-pinned in apps/mobile devDependencies, so this exclusion only unblocks the
# deliberately chosen version, never a floating range.
# react-native-sortables is exact-pinned in apps/mobile; 1.10.0 fixes drag gestures
# permanently dying on New Architecture + gesture-handler v3 (favorites sorting bug),
# so we adopt it without the age delay.
minimumReleaseAge = 259200
minimumReleaseAgeExcludes = [
"@privy-io/expo",
"@privy-io/js-sdk-core",
"@privy-io/routes",
"@uniswap/client-compliancev2",
"@uniswap/client-conversion-proxy",
"@uniswap/client-data-api",
"@uniswap/client-enclave-data-proxy",
"@uniswap/client-explore",
"@uniswap/client-for",
"@uniswap/client-liquidity",
"@uniswap/client-notification-service",
"@uniswap/client-platform-service",
"@uniswap/client-privy-embedded-wallet",
"@uniswap/client-trading",
"@uniswap/client-unirpc-v2",
"@uniswap/client-unitag",
"@uniswap/liquidity-launcher-sdk",
"@uniswap/router-sdk",
"@uniswap/sdk-core",
"@uniswap/universal-router-sdk",
"@uniswap/uniswapx-sdk",
"@uniswap/v2-sdk",
"@uniswap/v3-sdk",
"@uniswap/v4-sdk",
"agent-device",
"react-native-sortables",
]
# Pin the default registry explicitly to prevent registry confusion attacks
registry = "https://registry.npmjs.org"
# Dev settings
[dev]
# Port for dev server
port = 3000