[examples] Fix ERR_PNPM_OUTDATED_LOCKFILE when deploying SvelteKit example (#10984)

Currently, [the SvelteKit (v1)](https://vercel.com/new/clone?b=main&s=https%3A%2F%2Fgithub.com%2Fvercel%2Fvercel%2Ftree%2Fmain%2Fexamples%2Fsveltekit-1&showOptionalTeamCreation=false&template=sveltekit-1&teamCreateStatus=hidden) example fails with:
```
ERR_PNPM_OUTDATED_LOCKFILE  Cannot install with "frozen-lockfile" because pnpm-lock.yaml is not up to date with package.json
```

This fixes the lockfile, and therefore fixes the example.

---

As a side-quest, I also fixed the "unmet peer" warnings:
```
└─┬ @vercel/style-guide 4.0.2
  ├── ✕ unmet peer eslint@^8.24.0: found 8.14.0
  ├── ✕ unmet peer prettier@^2.7.0: found 2.6.2
  └─┬ eslint-plugin-unicorn 43.0.2
    └── ✕ unmet peer eslint@>=8.18.0: found 8.14.0
```
This commit is contained in:
Luc Leray
2023-12-21 20:21:53 +01:00
committed by GitHub
parent 04f5f3f3d2
commit 9903f11cc3
4 changed files with 801 additions and 1140 deletions

View File

@@ -0,0 +1,3 @@
---
---

File diff suppressed because it is too large Load Diff

View File

@@ -17,7 +17,7 @@
"create-svelte": "2.0.1", "create-svelte": "2.0.1",
"dot": "1.1.3", "dot": "1.1.3",
"esbuild": "0.19.2", "esbuild": "0.19.2",
"eslint": "8.14.0", "eslint": "8.24.0",
"eslint-config-prettier": "8.5.0", "eslint-config-prettier": "8.5.0",
"eslint-plugin-jest": "26.1.5", "eslint-plugin-jest": "26.1.5",
"execa": "3.2.0", "execa": "3.2.0",
@@ -29,7 +29,7 @@
"lint-staged": "9.2.5", "lint-staged": "9.2.5",
"node-fetch": "2.6.7", "node-fetch": "2.6.7",
"npm-package-arg": "6.1.0", "npm-package-arg": "6.1.0",
"prettier": "2.6.2", "prettier": "2.7.0",
"source-map-support": "0.5.12", "source-map-support": "0.5.12",
"ts-eager": "2.0.2", "ts-eager": "2.0.2",
"ts-jest": "29.1.0", "ts-jest": "29.1.0",

786
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff