Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
18a82e4
Frontend: switch package manager to pnpm@11.3.0
gusthoff May 25, 2026
79cc8c9
Merge feat/lock-file: switch package manager to pnpm@11.3.0
gusthoff May 25, 2026
90217d2
Frontend: remove Yarn configuration and lock file
gusthoff May 25, 2026
b1fed53
Merge feat/remove-yarn: remove Yarn configuration and lock file
gusthoff May 25, 2026
ec88870
Frontend: replace yarn invocations with pnpm in Makefile
gusthoff May 25, 2026
59e8860
CI: replace yarn invocations with pnpm in workflows
gusthoff May 25, 2026
4008419
Merge feat/makefile-ci: replace yarn invocations with pnpm in Makefil…
gusthoff May 25, 2026
c942e84
Vagrantfile: replace yarn provisioning with pnpm
gusthoff May 25, 2026
ebc9930
Merge feat/vagrantfile: replace yarn provisioning with pnpm
gusthoff May 25, 2026
63ee076
Frontend: add pnpm-workspace.yaml to approve build scripts
gusthoff May 25, 2026
1b51f95
Merge feat/validation: add pnpm-workspace.yaml to approve build scripts
gusthoff May 25, 2026
055066e
README: update dev server command from yarn to pnpm
gusthoff May 25, 2026
cb996fa
Merge feat/readme: update dev server command from yarn to pnpm
gusthoff May 25, 2026
7589b67
Frontend: fix cover script to invoke pnpm instead of yarn
gusthoff May 25, 2026
22c8e1d
Merge feat/cover-script: fix cover script to invoke pnpm instead of yarn
gusthoff May 25, 2026
8773367
Docs: update dev server command from yarn to pnpm in web_tests README
gusthoff May 25, 2026
16569a8
Frontend: replace yarn-error.log with pnpm-debug.log in .gitignore
gusthoff May 25, 2026
67cd6fb
Merge feat/docs-cleanup: update remaining yarn references in docs and…
gusthoff May 25, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/sphinx-books-tests.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
cache-dependency-path: 'frontend'
cache: 'pnpm'
cache-dependency-path: 'frontend/pnpm-lock.yaml'
- name: Install OS Deps
run: |
sudo apt-get update && \
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && \
sudo sysctl -p
- name: Install dependencies
run: yarn --immutable
run: pnpm install --frozen-lockfile
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/sphinx-content-tests.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
cache-dependency-path: 'frontend'
cache: 'pnpm'
cache-dependency-path: 'frontend/pnpm-lock.yaml'
- name: Install OS Deps
run: |
sudo apt-get update
Expand All @@ -46,7 +46,7 @@ jobs:
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && \
sudo sysctl -p
- name: Install dependencies
run: yarn --immutable
run: pnpm install --frozen-lockfile
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/typescript-tests.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
cache-dependency-path: 'frontend'
cache: 'pnpm'
cache-dependency-path: 'frontend/pnpm-lock.yaml'
- name: Install OS Deps
run: |
sudo apt-get update && \
Expand All @@ -51,12 +51,12 @@ jobs:
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && \
sudo sysctl -p
- name: Install dependencies
run: yarn --immutable
run: pnpm install --frozen-lockfile
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements_frozen.txt
- name: Build HTML test pages
run: make site-testing
- name: Run Typescript tests
run: yarn run cover
run: pnpm run cover
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ $ vagrant ssh web

$ source /vagrant/venv/bin/activate
$ cd /vagrant/frontend
$ yarn run dev
$ pnpm run dev
```

This will run webpack on the typescript and scss, then sphinx for the rst
Expand Down
6 changes: 2 additions & 4 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,7 @@ $frontend = <<-SHELL
cd /vagrant/frontend
echo 'export COREPACK_ENABLE_DOWNLOAD_PROMPT=0' >> /home/vagrant/.bashrc
yes | corepack enable
yes | yarn set version berry
yarn
pnpm install --frozen-lockfile

SHELL

Expand Down Expand Up @@ -215,8 +214,7 @@ $epub = <<-SHELL
cd /vagrant/frontend
echo 'export COREPACK_ENABLE_DOWNLOAD_PROMPT=0' >> /home/vagrant/.bashrc
yes | corepack enable
yes | yarn set version berry
yarn
pnpm install --frozen-lockfile

SHELL

Expand Down
2 changes: 1 addition & 1 deletion frontend/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ build-manifest.json
dist
.nyc_output/
coverage/
yarn-error.log
pnpm-debug.log
.coverage
1 change: 0 additions & 1 deletion frontend/.yarnrc.yml

This file was deleted.

6 changes: 3 additions & 3 deletions frontend/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -218,18 +218,18 @@ publish: #

# Development target, rebuilds the site, with it pointing to the local
# code server.
# This should only be called from `yarn run dev`
# This should only be called from `pnpm run dev`
local:
@SPHINX_CONF_INI="$(SPHINX_CONF_INI)" \
SRC_TEST_DIR="$(SRC_TEST_DIR)" \
$(SPHINXBUILD) -M html $(CONTENT_DIR) \
"$(BUILDDIR)" $(SPHINXOPTS) $(O) -v -c "$(SPHINXCONF)"

webpack-production:
yarn run production
pnpm run production

webpack-sandbox:
yarn run sandbox
pnpm run sandbox

sphinx-production:
SPHINX_CONF_INI="$(SPHINX_CONF_INI)" \
Expand Down
4 changes: 2 additions & 2 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
"sandbox": "webpack --env sandbox --config webpack.prod.cjs",
"production": "webpack --config webpack.prod.cjs",
"test": "TS_NODE_COMPILER_OPTIONS='{\"strict\":false}' mocha --exit",
"cover": "c8 yarn run test",
"cover": "c8 pnpm run test",
"doc": "typedoc src --out docs"
},
"author": "AdaCore",
Expand Down Expand Up @@ -154,5 +154,5 @@
"src/ts/sandbox-redirect.ts"
]
},
"packageManager": "yarn@4.12.0"
"packageManager": "pnpm@11.3.0"
}
Loading
Loading