From ddf85bef81052887470917c8145dcbc9ce92aad8 Mon Sep 17 00:00:00 2001 From: Maxime Quandalle Date: Sat, 23 Dec 2023 08:58:16 +0100 Subject: [PATCH] Fix CI cf. https://github.com/vitejs/vite/issues/15167 --- package-lock.json | 29 ++++++++++++++++++++++++++++- package.json | 8 +++++++- 2 files changed, 35 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 667d5ad..31539bf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21,6 +21,7 @@ "@actions/github": "^6.0.0", "@playwright/test": "^1.40.1", "@rollup/plugin-yaml": "^4.1.2", + "@rollup/wasm-node": "^4.9.1", "@sveltejs/adapter-vercel": "^4.0.3", "@sveltejs/kit": "^2.0.6", "@sveltejs/vite-plugin-svelte": "^3.0.1", @@ -523,7 +524,24 @@ "optional": true, "os": [ "darwin" - ] + ], + "peer": true + }, + "node_modules/@rollup/wasm-node": { + "version": "4.9.1", + "resolved": "https://registry.npmjs.org/@rollup/wasm-node/-/wasm-node-4.9.1.tgz", + "integrity": "sha512-awrdTJgcUC0IA5X7Zi2HJlCcdhxaSDZHaBhoNuKt+TgDPdLatbw8GKKcLpqKVEAIOwfajNCQP+taQ/EgM+090A==", + "dev": true, + "bin": { + "rollup": "dist/bin/rollup" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.0.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } }, "node_modules/@sinclair/typebox": { "version": "0.27.8", @@ -2611,6 +2629,8 @@ "version": "4.9.1", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "bin": { "rollup": "dist/bin/rollup" }, @@ -3223,6 +3243,13 @@ "vite": "^2.0.1 || ^3.0.0 || ^4.0.0 || ^5.0.0" } }, + "node_modules/vite/@rollup/wasm-node": { + "dev": true + }, + "node_modules/vite/node_modules/rollup": { + "resolved": "node_modules/vite/@rollup/wasm-node", + "link": true + }, "node_modules/vitefu": { "version": "0.2.5", "dev": true, diff --git a/package.json b/package.json index 146bb92..3cb91f9 100644 --- a/package.json +++ b/package.json @@ -23,6 +23,7 @@ "@actions/github": "^6.0.0", "@playwright/test": "^1.40.1", "@rollup/plugin-yaml": "^4.1.2", + "@rollup/wasm-node": "^4.9.1", "@sveltejs/adapter-vercel": "^4.0.3", "@sveltejs/kit": "^2.0.6", "@sveltejs/vite-plugin-svelte": "^3.0.1", @@ -46,5 +47,10 @@ "playwright-aws-lambda": "^0.10.0", "playwright-core": "^1.40.1", "publicodes": "=1.0.0-beta.70" + }, + "overrides": { + "vite": { + "rollup": "@rollup/wasm-node" + } } -} \ No newline at end of file +}