Files
website/pnpm-lockfix.ipynb
2026-05-24 14:50:35 +00:00

40 lines
988 B
Plaintext

{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"id": "39a6015f",
"metadata": {},
"outputs": [],
"source": [
"import json\n",
"import os\n",
"import pathlib\n",
"import subprocess\n",
"\n",
"repo_root = pathlib.Path('/workspaces/website')\n",
"print('Repo root:', repo_root)\n",
"print('Exists:', repo_root.exists())\n",
"print('Listing root files:', [p.name for p in repo_root.iterdir() if p.name in ['package.json', 'pnpm-lock.yaml', '.github']])"
]
},
{
"cell_type": "markdown",
"id": "8ea9b9df",
"metadata": {},
"source": [
"# Fix pnpm lockfile override mismatch\n",
"\n",
"This notebook inspects the GitHub Actions workflow, reproduces the `pnpm install` lockfile mismatch, compares `package.json` overrides to `pnpm-lock.yaml`, and updates the lockfile if needed."
]
}
],
"metadata": {
"language_info": {
"name": "python"
}
},
"nbformat": 4,
"nbformat_minor": 5
}