Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions frontend/react-native-expo/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
# dependencies
node_modules/

# Block npm/yarn lockfiles — this project is pnpm-only
package-lock.json
yarn.lock

# Expo
.expo/
dist/
Expand Down
19 changes: 18 additions & 1 deletion frontend/react-native-expo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,30 @@
"name": "pluggy",
"main": "expo-router/entry",
"version": "1.0.0",
"packageManager": "pnpm@11.1.1",
"engines": {
"node": ">=24.0.0",
"pnpm": ">=11.0.0"
},
"devEngines": {
"runtime": {
"name": "node",
"version": ">=24.0.0",
"onFail": "error"
}
},
"scripts": {
"preinstall": "pnpm audit && pnpm audit signatures",
"lint:lockfile": "pnpm install --frozen-lockfile",
"typecheck": "tsc --noEmit",
"start": "expo start",
"reset-project": "node ./scripts/reset-project.js",
"android": "expo start --android",
"ios": "expo start --ios",
"web": "expo start --web",
"lint": "expo lint"
"lint": "tsc --noEmit",
"test": "tsc --noEmit",
"build": "tsc --noEmit"
},
"dependencies": {
"@expo/vector-icons": "15.0.3",
Expand Down
56 changes: 56 additions & 0 deletions frontend/react-native-expo/pnpm-workspace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# Supply-chain hardening
# ----------------------

# Reject any package version published less than 14 days ago when
# resolving. Most supply-chain attacks are detected within hours or
# days; the 14-day window absorbs that while keeping upgrades moving
# at a reasonable pace. For a critical CVE that demands a sub-14d
# upgrade, add a temporary `minimumReleaseAgeExclude` entry with a
# CVE link and remove it once the window closes.
# 14 days = 60 * 24 * 14 minutes
minimumReleaseAge: 20160

# When the registry metadata is missing the `time` field for a
# version, fall back to allowing it.
minimumReleaseAgeIgnoreMissingTime: true

# Whitelist for the 14-day wait. `@pluggyai/*` ships from our own
# release pipeline.
minimumReleaseAgeExclude:
- '@pluggyai/*'

# Pinned explicitly to survive any future default change.
resolutionMode: highest

# Refuse to install if Node / pnpm don't satisfy the `engines` field.
engineStrict: true

# Fail the install if a package version's trust level drops
# compared to earlier versions.
trustPolicy: no-downgrade

# Auto-skip the trust check for packages older than 90 days.
trustPolicyIgnoreAfter: 129600

# Block transitive deps from being resolved from exotic sources.
blockExoticSubdeps: true


# Version pinning
# ---------------

# Save exact resolved versions (no semver ranges) on `pnpm add`.
savePrefix: ""


# Per-package decisions
# ---------------------

# pnpm 11 blocks postinstall / install / preinstall scripts by
# default; every package that ships one must be listed here.
# Default-deny: new entries start as `false` and only flip to `true`
# after a conscious review.
allowBuilds: {}

# Force a specific version on transitive dependencies.
overrides: {}