mirror of
https://github.com/goauthentik/authentik.git
synced 2026-06-17 19:09:11 +03:00
6fb4bb543a
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>
43 lines
1.4 KiB
JSON
43 lines
1.4 KiB
JSON
{
|
|
"name": "@goauthentik/docs-topics",
|
|
"version": "0.0.0",
|
|
"license": "MIT",
|
|
"private": true,
|
|
"scripts": {
|
|
"build": "docusaurus build && cp -r ./build/ ../build/",
|
|
"build:copy": "cp -r ./build/ ../build/",
|
|
"build:docusaurus": "docusaurus build",
|
|
"check-types": "tsc -b .",
|
|
"clear": "docusaurus clear",
|
|
"docusaurus": "docusaurus",
|
|
"serve": "docusaurus serve",
|
|
"start": "docusaurus start"
|
|
},
|
|
"dependencies": {
|
|
"@docusaurus/core": "^3.10.1",
|
|
"@docusaurus/module-type-aliases": "^3.10.1",
|
|
"@docusaurus/preset-classic": "^3.10.1",
|
|
"@docusaurus/theme-mermaid": "^3.10.1",
|
|
"@docusaurus/tsconfig": "^3.10.1",
|
|
"@docusaurus/types": "^3.10.1",
|
|
"@goauthentik/docusaurus-config": "link:../../packages/docusaurus-config",
|
|
"@goauthentik/docusaurus-theme": "workspace:*",
|
|
"@iconify-json/fa7-regular": "^1.2.3",
|
|
"@iconify-json/fa7-solid": "^1.2.4",
|
|
"@iconify-json/fluent-mdl2": "^1.2.1",
|
|
"@iconify-json/mdi": "^1.2.3",
|
|
"@mdx-js/react": "^3.1.1",
|
|
"@types/react": "^19.2.16",
|
|
"@types/react-dom": "^19.2.3",
|
|
"prism-react-renderer": "^2.4.1",
|
|
"react": "^19.2.7",
|
|
"react-before-after-slider-component": "^1.1.8",
|
|
"react-dom": "^19.2.7",
|
|
"typescript": "^6.0.3",
|
|
"unist-util-visit": "^5.1.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=24"
|
|
}
|
|
}
|