Files
zeekay cee2dbe616 chore: migrate yarn 4 → pnpm 9 (workspace-wide)
Drop yarn 4 PnP completely; pnpm is now the only package manager.

Touched:
  package.json               packageManager yarn@4 → [email protected].0;
                              resolutions → pnpm.overrides;
                              yarn patches → pnpm.patchedDependencies;
                              "pnpm workspace X" scripts → "pnpm --filter X exec";
                              drop @yarnpkg/types dep
  pnpm-workspace.yaml         new — mirrors workspaces array
  .npmrc                      new — node-linker=hoisted; auto-install-peers
  patches/                    new — moved from .yarn/patches/
  apps/mobile/package.json    eas-build-pre-install: corepack prep pnpm
  .yarn/                      deleted (PnP state)
  .yarnrc.yml                 deleted
  yarn.lock                   deleted; pnpm-lock.yaml regenerated
  .github/actions/yarn/       renamed to .github/actions/pnpm/, rewritten
                              for pnpm/action-setup + pnpm install
                              --frozen-lockfile
  .github/actions/cache-deps  cache paths: ~/.yarn/berry/cache →
                              ~/.local/share/pnpm/store; hashFiles
                              yarn.lock → pnpm-lock.yaml
  10 workflows                ./.github/actions/yarn → /pnpm; yarn
                              workspaces foreach → pnpm -r; yarn workspace
                              → pnpm --filter; yarn install --immutable →
                              pnpm install --frozen-lockfile; cache: yarn
                              → cache: pnpm

This is a hard fork from upstream safe-global/safe-wallet-monorepo
(which mandates yarn 4 in its AGENTS.md). Per directive: no yarn in
luxfi/* — pnpm only. Upstream merges into this fork will need manual
package-manager translation going forward.
2026-05-27 01:35:38 -07:00

38 lines
1.3 KiB
JSON

{
"private": true,
"name": "@safe-global/store",
"version": "1.0.0",
"main": "./src/index.ts",
"scripts": {
"test": "jest",
"lint": "eslint src",
"lint:fix": "eslint src --fix",
"type-check": "tsc --noEmit",
"prettier": "prettier --check . --config ../../.prettierrc --ignore-path ../../.prettierignore",
"prettier:fix": "prettier --write . --config ../../.prettierrc --ignore-path ../../.prettierignore",
"fetch-schema": "ts-node ./scripts/fetch-schema.ts > scripts/api-schema/schema.json",
"generate-api": "npx @rtk-query/codegen-openapi scripts/openapi-config.ts",
"build": "pnpm fetch-schema && pnpm generate-api",
"build:dev": "NODE_ENV=dev pnpm fetch-schema && pnpm generate-api",
"build:local": "NODE_ENV=local pnpm fetch-schema && pnpm generate-api",
"check-sync": "ts-node scripts/check-auto-generated-sync.ts"
},
"devDependencies": {
"@eslint/js": "^9.18.0",
"@safe-global/test": "workspace:^",
"@types/jest": "^29.5.14",
"eslint": "^9.29.0",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.2.0",
"jest": "^29.7.0",
"prettier": "^3.6.2",
"typescript": "~5.9.2",
"typescript-eslint": "^8.31.1"
},
"dependencies": {
"jest-fixed-jsdom": "^0.0.10",
"redux-persist": "^6.0.0",
"ts-node": "^10.9.2"
}
}