mirror of
https://github.com/bitbaum/evig.git
synced 2026-12-03 17:06:59 +01:00
* chore: pnpm — the fleet has one package manager - packageManager pnpm@11.25.0; lockfile via pnpm import, package-lock.json gone - npm overrides moved to pnpm-workspace.yaml overrides (pnpm ignores package.json overrides); allowBuilds for @parcel/watcher, @sentry/cli, @swc/core, esbuild, puppeteer, unrs-resolver, and the ai-forms git dep (pnpm requires the exact resolved URL for git-dep prepare builds) - @tiptap/core added as a direct dependency: RichTextEditor.tsx augments 'module @tiptap/core' and tiptap-markdown's Storage augmentation rides on it — a phantom dependency npm's hoisting hid and pnpm's isolation exposed - all workflows: pnpm/action-setup@v6 before setup-node, cache: pnpm, store-dir pinned, pnpm install --frozen-lockfile; Next cache key now hashes pnpm-lock.yaml - scripts/ci/dependency-audit.sh: pnpm audit --prod (parses both npm-v2 'vulnerabilities' and pnpm's v1 'advisories' shapes) - selfhost-deploy-evig.sh, ship.sh, start-all.sh, e2e-inventory-prod.sh, husky pre-commit, Dockerfile.prod (node 24 + corepack) converted - engines: node >=22.13 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn * fix(deps): declare espree — eslint.config.mjs imports it directly npm's hoisting provided it as a phantom; pnpm's isolated node_modules exposed ERR_MODULE_NOT_FOUND in CI. Verified in a true clean room (parent node_modules masked): full verify green, 7783 tests. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn * fix(deps): declare tsx — npx fetched it on demand, pnpm exec does not e2e:seed (and the hirn:*/setup-admins scripts) ran 'npx tsx', which silently downloaded tsx because it was never in devDependencies. pnpm exec only resolves installed bins, so CI's Seed E2E step died with 'Command tsx not found'. Declare it. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn * fix(ci): drop '--' separators — pnpm run forwards them verbatim npm strips the first '--' before handing args to the script; pnpm 11 passes it through, so 'pnpm run start -- -p 3001' executed 'next start -- -p 3001' and next read '-p' as a project directory. pnpm forwards everything after the script name anyway, so the separator is dead weight: remove it in ci.yml (start, e2e journeys, e2e guards) and ship.sh. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn --------- Co-authored-by: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com> Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
3 lines
23 B
Bash
Executable File
3 lines
23 B
Bash
Executable File
#!/bin/bash
|
|
pnpm run d
|