Docs: migrate yarn to pnpm (#1412)

This commit is contained in:
Erik Vroon
2025-11-12 10:04:32 +01:00
committed by GitHub
parent af5e12e295
commit b8d7241ef0
7 changed files with 9010 additions and 7052 deletions

View File

@@ -16,21 +16,24 @@ jobs:
steps:
- uses: actions/checkout@v5
- name: Setup yarn
- name: Enable Corepack
run: corepack enable
- name: Setup pnpm
uses: actions/setup-node@v6
with:
node-version: '22'
cache: 'yarn'
cache-dependency-path: docs/yarn.lock
cache: 'pnpm'
cache-dependency-path: docs/pnpm-lock.yaml
- name: Install npm modules
run: yarn
- name: Install pnpm modules
run: pnpm i
working-directory: docs
- name: Run tests
run: yarn test-check
run: pnpm test-check
working-directory: docs
- name: Build docs
run: SITE_URL=https://docs.bracketapp.nl yarn build
run: SITE_URL=https://docs.bracketapp.nl pnpm build
working-directory: docs

View File

@@ -16,19 +16,22 @@ jobs:
steps:
- uses: actions/checkout@v5
- name: Setup yarn
- name: Enable Corepack
run: corepack enable
- name: Setup pnpm
uses: actions/setup-node@v6
with:
node-version: '22'
cache: 'yarn'
cache-dependency-path: docs/yarn.lock
cache: 'pnpm'
cache-dependency-path: docs/pnpm-lock.yaml
- name: Install npm modules
run: yarn
- name: Install pnpm modules
run: pnpm i
working-directory: docs
- name: Build docs
run: SITE_URL=https://docs.bracketapp.nl yarn build
run: SITE_URL=https://docs.bracketapp.nl pnpm build
working-directory: docs
- name: Deploy to GitHub Pages

View File

@@ -6,7 +6,7 @@ Nextra and [shadcn-landing-page](https://github.com/leoMirandaa/shadcn-landing-p
Run development server:
```bash
yarn dev
pnpm dev
```
Open <http://localhost:3000> with your browser to see the result.

View File

@@ -8,8 +8,8 @@
"start": "next start",
"prettier:check": "prettier --check \"**/*.{js,jsx,ts,tsx}\"",
"prettier:write": "prettier --write \"**/*.{js,jsx,ts,tsx}\"",
"test": "yarn run prettier:write && yarn run markdownlint-cli2 --fix",
"test-check": "yarn run prettier:check && yarn run markdownlint-cli2 --config .markdownlint-cli2.mjs",
"test": "pnpm run prettier:write && pnpm markdownlint-cli2 --fix",
"test-check": "pnpm run prettier:check && pnpm markdownlint-cli2 --config .markdownlint-cli2.mjs",
"lint:markdown": "markdownlint-cli2",
"postbuild": "pagefind --site .next/server/app --output-path out/_pagefind && next-sitemap"
},

8973
docs/pnpm-lock.yaml generated Normal file
View File

File diff suppressed because it is too large Load Diff

View File

@@ -1,18 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">
<url><loc>https://docs.bracketapp.nl</loc><lastmod>2025-05-28T09:31:59.450Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://docs.bracketapp.nl/docs</loc><lastmod>2025-05-28T09:31:59.450Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://docs.bracketapp.nl/docs/api</loc><lastmod>2025-05-28T09:31:59.450Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://docs.bracketapp.nl/docs/community/contributing</loc><lastmod>2025-05-28T09:31:59.451Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://docs.bracketapp.nl/docs/community/development</loc><lastmod>2025-05-28T09:31:59.451Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://docs.bracketapp.nl/docs/deployment</loc><lastmod>2025-05-28T09:31:59.451Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://docs.bracketapp.nl/docs/deployment/cloud-services</loc><lastmod>2025-05-28T09:31:59.451Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://docs.bracketapp.nl/docs/deployment/docker</loc><lastmod>2025-05-28T09:31:59.451Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://docs.bracketapp.nl/docs/deployment/nomad</loc><lastmod>2025-05-28T09:31:59.451Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://docs.bracketapp.nl/docs/deployment/systemd</loc><lastmod>2025-05-28T09:31:59.451Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://docs.bracketapp.nl/docs/running-bracket/configuration</loc><lastmod>2025-05-28T09:31:59.451Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://docs.bracketapp.nl/docs/running-bracket/faq</loc><lastmod>2025-05-28T09:31:59.451Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://docs.bracketapp.nl/docs/running-bracket/quickstart</loc><lastmod>2025-05-28T09:31:59.451Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://docs.bracketapp.nl/docs/usage/guide</loc><lastmod>2025-05-28T09:31:59.451Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://docs.bracketapp.nl/docs/usage/terminology</loc><lastmod>2025-05-28T09:31:59.451Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://docs.bracketapp.nl/docs/</loc><lastmod>2025-11-12T08:51:40.894Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://docs.bracketapp.nl/docs/api/</loc><lastmod>2025-11-12T08:51:40.894Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://docs.bracketapp.nl/docs/community/contributing/</loc><lastmod>2025-11-12T08:51:40.895Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://docs.bracketapp.nl/docs/community/development/</loc><lastmod>2025-11-12T08:51:40.895Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://docs.bracketapp.nl/docs/deployment/</loc><lastmod>2025-11-12T08:51:40.895Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://docs.bracketapp.nl/docs/deployment/cloud-services/</loc><lastmod>2025-11-12T08:51:40.895Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://docs.bracketapp.nl/docs/deployment/docker/</loc><lastmod>2025-11-12T08:51:40.895Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://docs.bracketapp.nl/docs/deployment/nomad/</loc><lastmod>2025-11-12T08:51:40.895Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://docs.bracketapp.nl/docs/deployment/systemd/</loc><lastmod>2025-11-12T08:51:40.895Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://docs.bracketapp.nl/docs/running-bracket/configuration/</loc><lastmod>2025-11-12T08:51:40.895Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://docs.bracketapp.nl/docs/running-bracket/faq/</loc><lastmod>2025-11-12T08:51:40.895Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://docs.bracketapp.nl/docs/running-bracket/quickstart/</loc><lastmod>2025-11-12T08:51:40.895Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://docs.bracketapp.nl/docs/usage/guide/</loc><lastmod>2025-11-12T08:51:40.895Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://docs.bracketapp.nl/docs/usage/terminology/</loc><lastmod>2025-11-12T08:51:40.895Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://docs.bracketapp.nl/</loc><lastmod>2025-11-12T08:51:40.895Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
</urlset>

View File

File diff suppressed because it is too large Load Diff