Files
grimmory/frontend/package.json
T
James Cox 4855f36d46 build(yarn): migrate frontend and release tooling to yarn 4
- Frontend package management:
  - add a repo-root `.yarnrc.yml` that pins Yarn to the `node-modules` linker with a local cache
  - add the modern Yarn package manager declaration to `frontend/package.json`
  - replace the frontend npm lockfile with `frontend/yarn.lock`
  - move the frontend Just recipes to Corepack-managed Yarn commands for install, audit, build, test, and lint
  - run the production build in CI-style mode so non-interactive Yarn builds behave consistently
- Release automation:
  - add the modern Yarn package manager declaration to `tools/release/package.json`
  - replace the release tooling npm lockfile with `tools/release/yarn.lock`
  - switch the release Just recipes from `npm` and `npx` to Corepack-managed Yarn scripts
- CI and local runtime wiring:
  - switch the frontend and release GitHub Actions caches from npm lockfiles to Yarn lockfiles
  - update the root `doctor` output and contributor prerequisites to report Yarn and Corepack instead of npm
  - update the dev compose UI container to Node 24 with immutable Yarn installs
  - restore the Docker frontend build stage to install and build through Yarn, including the shared cache path
- Repository hygiene:
  - ignore the repo-local Yarn cache and per-project Yarn state directories created by modern Yarn installs

- Validation:
  - `just ui install-ci`
  - `just release install`
  - `just ui build`
  - `just image-build linux/amd64 codex-yarn-port-test` was not runnable because the local Docker daemon was unavailable
2026-04-22 17:26:40 -04:00

82 lines
2.4 KiB
JSON

{
"name": "grimmory",
"version": "0.0.0",
"packageManager": "yarn@4.10.3",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"build:prod": "ng build --configuration production",
"dev": "ng serve --open --watch --configuration development",
"watch": "ng build --watch --configuration development",
"test": "ng test",
"lint": "ng lint"
},
"private": true,
"dependencies": {
"@angular/animations": "^21.2.4",
"@angular/cdk": "^21.2.0",
"@angular/common": "^21.2.4",
"@angular/compiler": "^21.2.4",
"@angular/core": "^21.2.4",
"@angular/forms": "^21.2.4",
"@angular/platform-browser": "^21.2.4",
"@angular/platform-browser-dynamic": "^21.2.4",
"@angular/router": "^21.2.4",
"@angular/service-worker": "^21.2.4",
"@iharbeck/ngx-virtual-scroller": "^20.0.0",
"@jsverse/transloco": "^8.2.1",
"@primeuix/themes": "^2.0.3",
"@stomp/rx-stomp": "^2.3.0",
"@stomp/stompjs": "^7.3.0",
"@tanstack/angular-query-experimental": "5.90.26",
"@tweenjs/tween.js": "^25.0.0",
"chart.js": "^4.5.1",
"chartjs-chart-matrix": "^3.0.0",
"chartjs-plugin-datalabels": "^2.2.0",
"date-fns": "^4.1.0",
"dompurify": "^3.3.1",
"jwt-decode": "^4.0.0",
"ng-lazyload-image": "^9.1.3",
"ng2-charts": "^8.0.0",
"ngx-extended-pdf-viewer": "^25.6.4",
"ngx-infinite-scroll": "^21.0.0",
"ngx-sse-client": "^20.0.1",
"primeicons": "^7.0.0",
"primeng": "^21.1.1",
"rxjs": "^7.8.2",
"showdown": "^2.1.0",
"tslib": "^2.8.1",
"uuid": "^11.0.0",
"ws": "^8.19.0",
"zone.js": "^0.16.1"
},
"devDependencies": {
"@analogjs/vite-plugin-angular": "^2.3.0",
"@analogjs/vitest-angular": "^2.3.0",
"@angular-devkit/architect": "0.2102.0",
"@angular-devkit/schematics": "21.2.0",
"@angular/build": "^21.2.0",
"@angular/cli": "^21.2.0",
"@angular/compiler-cli": "^21.2.4",
"@types/dompurify": "^3.2.0",
"@types/node": "^25.3.2",
"@types/showdown": "^2.0.6",
"@vitest/coverage-v8": "^4.0.17",
"angular-eslint": "^21.3.1",
"eslint": "^9.39.3",
"jsdom": "^28.1.0",
"typescript": "~5.9.3",
"typescript-eslint": "^8.56.1",
"vitest": "^4.0.17"
},
"overrides": {
"minimatch": "^10.2.1",
"ajv": "^8.18.0",
"eslint": {
"ajv": "^6.14.0"
},
"undici": "^7.24.1"
}
}