Files
authentik/website/package.json
Teffen Ellis 928eefe098 root: Replace (npm + Corepack) with pnpm (#22830)
* Replace npm + Corepack with pnpm

Migrate package management from npm + Corepack to pnpm across the root,
web, and website workspaces:

- Swap npm/Corepack tooling for pnpm: drop package-lock.json files and the
  bespoke Corepack bootstrap scripts (setup-corepack.mjs, utils/corepack.mjs,
  lint-lockfile.mjs); add pnpm-lock.yaml + pnpm-workspace.yaml per workspace.
- CI uses the official pnpm/action-setup + actions/setup-node; pin the pnpm
  store dir via PNPM_HOME so setup-node's `cache: pnpm` post-step succeeds.
- Docker sources pnpm from the official ghcr.io/pnpm/pnpm image via a
  ${BUILDPLATFORM}-pinned stage; the website docs build does a hoisted root
  install so @goauthentik/docusaurus-config resolves its own deps.
- Gate the web install on the `node` dep so runtime-only jobs don't invoke
  pnpm; scope the from-stable env setup so the new tooling doesn't run against
  the stable checkout's npm packageManager field.
- Resolve @goauthentik/api (client-ts) from its TypeScript source instead of a
  tsc-built dist, so it no longer depends on an install-time prepare having run
  (the storybook build's environment never built it); sfe's rollup gains .ts
  resolution to match.
- Netlify builds with pnpm; encode pnpm's supply-chain controls
  (onlyBuiltDependencies/allowBuilds, minimumReleaseAge) in the workspace.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

Remove custom node action.

* Format.
2026-07-01 19:24:19 +00:00

66 lines
2.4 KiB
JSON

{
"name": "@goauthentik/docs",
"version": "0.0.0",
"license": "MIT",
"private": true,
"scripts": {
"build": "pnpm --filter \"./docs\" run build",
"build:api": "pnpm --filter \"./api\" run build",
"build:integrations": "pnpm --filter \"./integrations\" run build",
"check-types": "tsc -b",
"docusaurus": "docusaurus",
"lint": "eslint --fix .",
"lint-check": "eslint --max-warnings 0 .",
"prettier": "prettier --write .",
"prettier-check": "prettier --check .",
"start": "pnpm --filter \"./docs\" run start",
"test": "node --test"
},
"dependencies": {
"@eslint/js": "^9.39.4",
"@goauthentik/brand-assets": "^2.0.0",
"@goauthentik/eslint-config": "link:../packages/eslint-config",
"@goauthentik/prettier-config": "link:../packages/prettier-config",
"@goauthentik/tsconfig": "link:../packages/tsconfig",
"@types/node": "^26.1.0",
"deepmerge-ts": "^7.1.5",
"escape-string-regexp": "^5.0.0",
"eslint": "^9.39.4",
"netlify-plugin-cache": "^1.0.3",
"netlify-redirect-parser": "^14.4.0",
"npm-run-all": "^4.1.5",
"postman-code-generators": "2.1.1",
"prettier": "^3.8.3",
"prettier-plugin-packagejson": "^3.0.2",
"typescript": "^6.0.3",
"typescript-eslint": "^8.60.1"
},
"optionalDependencies": {
"@rspack/binding-darwin-arm64": "2.0.8",
"@rspack/binding-linux-arm64-gnu": "2.0.8",
"@rspack/binding-linux-x64-gnu": "2.0.8",
"@swc/core-darwin-arm64": "1.15.43",
"@swc/core-linux-arm64-gnu": "1.15.43",
"@swc/core-linux-x64-gnu": "1.15.43",
"@swc/html-darwin-arm64": "1.15.43",
"@swc/html-linux-arm64-gnu": "1.15.43",
"@swc/html-linux-x64-gnu": "1.15.43",
"lightningcss-darwin-arm64": "1.32.0",
"lightningcss-linux-arm64-gnu": "1.32.0",
"lightningcss-linux-x64-gnu": "1.32.0"
},
"engines": {
"node": ">=24",
"pnpm": ">=11.5.1"
},
"devEngines": {
"runtime": {
"name": "node",
"onFail": "error",
"version": ">=24"
}
},
"packageManager": "pnpm@11.5.1+sha512.93f7b57422ea7068257235b4c16eb60762eb68e1dc23723199cc739043ea9be2c4143274a399d8c6defa2b1176226d9ca1c4b63482d6200c1a8fbaa78c1d1485",
"prettier": "@goauthentik/prettier-config"
}