chore: unbreak tooling (pnpm 11 lockfile, dep build allow-list, organize-imports plugin)

- pnpm 11 rewrites the v5 lockfile on install and refuses to run unreviewed
  dependency build scripts; declare them explicitly (all disabled — everything
  installs and builds fine without them) so installs and the pre-commit hook pass
- upgrade prettier-plugin-organize-imports 1.x -> 3.x: the old version crashes
  against typescript 4.9 (host.fileExists is not a function), breaking lint-staged
- ignore the local .pnpm-store
This commit is contained in:
coyotte508 2026-08-16 20:55:41 +00:00
commit c11163e3ff
4 changed files with 17923 additions and 589 deletions

1
.gitignore vendored
View file

@ -1 +1,2 @@
node_modules
.pnpm-store

View file

@ -10,7 +10,7 @@
"husky": "^5.0.9",
"lint-staged": "^10.5.4",
"prettier": "^2.2.1",
"prettier-plugin-organize-imports": "^1.1.1",
"prettier-plugin-organize-imports": "^3.2.4",
"typescript": "^4.1.5"
},
"lint-staged": {

18198
pnpm-lock.yaml generated

File diff suppressed because it is too large Load diff

View file

@ -1,3 +1,12 @@
packages:
- 'viewer'
- 'engine'
# Dependency build scripts are not needed: everything installs and builds with them
# skipped (core-js/ejs postinstalls are ads, @parcel/watcher ships prebuilds, yorkie
# is superseded by husky). Explicit so pnpm doesn't error on unreviewed builds.
allowBuilds:
'@parcel/watcher': false
core-js: false
ejs: false
nodent-runtime: false
yorkie: false