fix(site): get the site building again (#9819)

* Push

* Downgrade v-p-s

* Remove vps and sass

* Revert renderer
pull/9840/head
Puru Vijay 1 year ago committed by GitHub
parent 06df39795d
commit ea55f4dddd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -136,6 +136,27 @@ declare global {
export {};
// @filename: sass.d.ts
declare module 'sass' {
export function render(
options: {
file: string;
data: string;
includePaths: string[];
},
callback: (err: Error, result: Result) => void
): Result;
export interface Result {
css: {
toString(): string;
};
stats: {
includedFiles: string[];
};
}
}
// @filename: main.ts
// @errors: 2322 2345 2339
/// <reference types="@types/node" />

@ -152,6 +152,7 @@ A function is returned that will remove the event listener when called.
```ts
/// file: index.js
// @errors: 7006
// @filename: ambient.d.ts
import { SvelteComponent, ComponentConstructorOptions } from 'svelte';

@ -28,6 +28,23 @@ If you don't need or want all the features SvelteKit has to offer, you can scaff
```ts
/// file: svelte.config.js
// @filename: ambient.d.ts
declare module '@sveltejs/vite-plugin-svelte' {
import { ResolvedConfig } from 'vite';
import { InlineConfig } from 'vite/dist/node/config';
export interface VitePreprocessOptions {
script?: boolean;
style?: boolean | InlineConfig | ResolvedConfig;
}
export function vitePreprocess(
options?: VitePreprocessOptions
): import('svelte/compiler').PreprocessorGroup;
}
// @filename: index.ts
// ---cut---
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
const config = {

@ -223,9 +223,6 @@ importers:
prettier-plugin-svelte:
specifier: ^3.1.2
version: 3.1.2(prettier@3.1.0)(svelte@packages+svelte)
sass:
specifier: ^1.69.5
version: 1.69.5
satori:
specifier: ^0.10.11
version: 0.10.11
@ -246,10 +243,10 @@ importers:
version: link:../../packages/svelte
svelte-check:
specifier: ^3.6.2
version: 3.6.2(postcss@8.4.32)(sass@1.69.5)(svelte@packages+svelte)
version: 3.6.2(svelte@packages+svelte)
svelte-preprocess:
specifier: ^5.1.1
version: 5.1.1(postcss@8.4.32)(sass@1.69.5)(svelte@packages+svelte)(typescript@5.3.2)
version: 5.1.1(svelte@packages+svelte)(typescript@5.3.2)
tiny-glob:
specifier: ^0.2.9
version: 0.2.9
@ -258,7 +255,7 @@ importers:
version: 5.3.2
vite:
specifier: ^4.5.0
version: 4.5.0(@types/node@20.10.2)(lightningcss@1.22.1)(sass@1.69.5)
version: 4.5.0(@types/node@20.10.2)(lightningcss@1.22.1)
vite-imagetools:
specifier: ^6.2.6
version: 6.2.6
@ -1638,6 +1635,20 @@ packages:
picomatch: 2.3.1
dev: true
/@rollup/pluginutils@5.1.0:
resolution: {integrity: sha512-XTIWOPPcpvyKI6L1NHo0lFlCyznUEyPmPY1mc3KpPVDYulHSTvyeLNVW00QTLIAFNhR3kYnJTQHeGqU4M3n09g==}
engines: {node: '>=14.0.0'}
peerDependencies:
rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0
peerDependenciesMeta:
rollup:
optional: true
dependencies:
'@types/estree': 1.0.5
estree-walker: 2.0.2
picomatch: 2.3.1
dev: true
/@rollup/pluginutils@5.1.0(rollup@3.28.0):
resolution: {integrity: sha512-XTIWOPPcpvyKI6L1NHo0lFlCyznUEyPmPY1mc3KpPVDYulHSTvyeLNVW00QTLIAFNhR3kYnJTQHeGqU4M3n09g==}
engines: {node: '>=14.0.0'}
@ -1779,7 +1790,7 @@ packages:
svelte: link:packages/svelte
tiny-glob: 0.2.9
undici: 5.26.5
vite: 4.5.0(@types/node@20.10.2)(lightningcss@1.22.1)(sass@1.69.5)
vite: 4.5.0(@types/node@20.10.2)(lightningcss@1.22.1)
transitivePeerDependencies:
- supports-color
@ -1858,7 +1869,7 @@ packages:
'@sveltejs/vite-plugin-svelte': 2.5.3(svelte@packages+svelte)(vite@4.5.0)
debug: 4.3.4
svelte: link:packages/svelte
vite: 4.5.0(@types/node@20.10.2)(lightningcss@1.22.1)(sass@1.69.5)
vite: 4.5.0(@types/node@20.10.2)(lightningcss@1.22.1)
transitivePeerDependencies:
- supports-color
@ -1876,7 +1887,7 @@ packages:
magic-string: 0.30.5
svelte: link:packages/svelte
svelte-hmr: 0.15.3(svelte@packages+svelte)
vite: 4.5.0(@types/node@20.10.2)(lightningcss@1.22.1)(sass@1.69.5)
vite: 4.5.0(@types/node@20.10.2)(lightningcss@1.22.1)
vitefu: 0.2.5(vite@4.5.0)
transitivePeerDependencies:
- supports-color
@ -2434,6 +2445,7 @@ packages:
dependencies:
normalize-path: 3.0.0
picomatch: 2.3.1
dev: true
/aproba@2.0.0:
resolution: {integrity: sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ==}
@ -2540,6 +2552,7 @@ packages:
/binary-extensions@2.2.0:
resolution: {integrity: sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==}
engines: {node: '>=8'}
dev: true
/bindings@1.5.0:
resolution: {integrity: sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==}
@ -2577,6 +2590,7 @@ packages:
engines: {node: '>=8'}
dependencies:
fill-range: 7.0.1
dev: true
/breakword@1.0.6:
resolution: {integrity: sha512-yjxDAYyK/pBvws9H4xKYpLDpYKEH6CzrBPAuXq3x18I+c/2MkVtT3qAr7Oloi6Dss9qNhPVueAAVU1CSeNDIXw==}
@ -2706,6 +2720,7 @@ packages:
readdirp: 3.6.0
optionalDependencies:
fsevents: 2.3.3
dev: true
/chownr@1.1.4:
resolution: {integrity: sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==}
@ -3558,6 +3573,7 @@ packages:
engines: {node: '>=8'}
dependencies:
to-regex-range: 5.0.1
dev: true
/find-up@4.1.0:
resolution: {integrity: sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==}
@ -3741,6 +3757,7 @@ packages:
engines: {node: '>= 6'}
dependencies:
is-glob: 4.0.3
dev: true
/glob-parent@6.0.2:
resolution: {integrity: sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==}
@ -3969,9 +3986,6 @@ packages:
sharp: 0.32.6
dev: true
/immutable@4.3.4:
resolution: {integrity: sha512-fsXeu4J4i6WNWSikpI88v/PcVflZz+6kMhUfIwc5SY+poQRPnaf5V7qds6SUyUN3cVxEzuCab7QIoLOQ+DQ1wA==}
/import-fresh@3.3.0:
resolution: {integrity: sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==}
engines: {node: '>=6'}
@ -4046,6 +4060,7 @@ packages:
engines: {node: '>=8'}
dependencies:
binary-extensions: 2.2.0
dev: true
/is-boolean-object@1.1.2:
resolution: {integrity: sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==}
@ -4090,6 +4105,7 @@ packages:
/is-extglob@2.1.1:
resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==}
engines: {node: '>=0.10.0'}
dev: true
/is-fullwidth-code-point@3.0.0:
resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==}
@ -4105,6 +4121,7 @@ packages:
engines: {node: '>=0.10.0'}
dependencies:
is-extglob: 2.1.1
dev: true
/is-module@1.0.0:
resolution: {integrity: sha512-51ypPSPCoTEIN9dy5Oy+h4pShgJmPCygKfyRCISBI+JoWT/2oJvK8QPxmwv7b/p239jXrm9M1mlQbyKJ5A152g==}
@ -4125,6 +4142,7 @@ packages:
/is-number@7.0.0:
resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==}
engines: {node: '>=0.12.0'}
dev: true
/is-path-inside@3.0.3:
resolution: {integrity: sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==}
@ -4812,6 +4830,7 @@ packages:
/normalize-path@3.0.0:
resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==}
engines: {node: '>=0.10.0'}
dev: true
/npmlog@5.0.1:
resolution: {integrity: sha512-AqZtDUWOMKs1G/8lwylVjrdYgqA4d9nu8hc+0gzRxlDb1I10+FHBGMXs6aiQHFdCUUlqH99MUMuLfzWDNDtfxw==}
@ -5050,6 +5069,7 @@ packages:
/picomatch@2.3.1:
resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==}
engines: {node: '>=8.6'}
dev: true
/pify@4.0.1:
resolution: {integrity: sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==}
@ -5344,6 +5364,7 @@ packages:
engines: {node: '>=8.10.0'}
dependencies:
picomatch: 2.3.1
dev: true
/rechoir@0.6.2:
resolution: {integrity: sha512-HFM8rkZ+i3zrV+4LQjwQ0W+ez98pApMGM3HUrN04j3CqzPOzl9nmP15Y8YXNm8QHGv/eacOVEjqhmWpkRV0NAw==}
@ -5502,15 +5523,6 @@ packages:
rimraf: 2.7.1
dev: true
/sass@1.69.5:
resolution: {integrity: sha512-qg2+UCJibLr2LCVOt3OlPhr/dqVHWOa9XtZf2OjbLs/T4VPSJ00udtgJxH3neXZm+QqX8B+3cU7RaLqp1iVfcQ==}
engines: {node: '>=14.0.0'}
hasBin: true
dependencies:
chokidar: 3.5.3
immutable: 4.3.4
source-map-js: 1.0.2
/satori-html@0.3.2:
resolution: {integrity: sha512-wjTh14iqADFKDK80e51/98MplTGfxz2RmIzh0GqShlf4a67+BooLywF17TvJPD6phO0Hxm7Mf1N5LtRYvdkYRA==}
dependencies:
@ -5892,7 +5904,7 @@ packages:
engines: {node: '>= 0.4'}
dev: true
/svelte-check@3.6.2(postcss@8.4.32)(sass@1.69.5)(svelte@packages+svelte):
/svelte-check@3.6.2(svelte@packages+svelte):
resolution: {integrity: sha512-E6iFh4aUCGJLRz6QZXH3gcN/VFfkzwtruWSRmlKrLWQTiO6VzLsivR6q02WYLGNAGecV3EocqZuCDrC2uttZ0g==}
hasBin: true
peerDependencies:
@ -5905,7 +5917,7 @@ packages:
picocolors: 1.0.0
sade: 1.8.1
svelte: link:packages/svelte
svelte-preprocess: 5.1.1(postcss@8.4.32)(sass@1.69.5)(svelte@packages+svelte)(typescript@5.3.2)
svelte-preprocess: 5.1.1(svelte@packages+svelte)(typescript@5.3.2)
typescript: 5.3.2
transitivePeerDependencies:
- '@babel/core'
@ -5970,7 +5982,7 @@ packages:
svelte: link:packages/svelte
dev: true
/svelte-preprocess@5.1.1(postcss@8.4.32)(sass@1.69.5)(svelte@packages+svelte)(typescript@5.3.2):
/svelte-preprocess@5.1.1(svelte@packages+svelte)(typescript@5.3.2):
resolution: {integrity: sha512-p/Dp4hmrBW5mrCCq29lEMFpIJT2FZsRlouxEc5qpbOmXRbaFs7clLs8oKPwD3xCFyZfv1bIhvOzpQkhMEVQdMw==}
engines: {node: '>= 14.10.0'}
requiresBuild: true
@ -6011,8 +6023,6 @@ packages:
'@types/pug': 2.0.10
detect-indent: 6.1.0
magic-string: 0.27.0
postcss: 8.4.32
sass: 1.69.5
sorcery: 0.11.0
strip-indent: 3.0.0
svelte: link:packages/svelte
@ -6124,6 +6134,7 @@ packages:
engines: {node: '>=8.0'}
dependencies:
is-number: 7.0.0
dev: true
/token-types@4.2.1:
resolution: {integrity: sha512-6udB24Q737UD/SDsKAHI9FCRP7Bqc9D/MQUV02ORQg5iskjtLJlZJNdN4kKtcdtwCeWIwIHDGaUsTsCCAa8sFQ==}
@ -6339,7 +6350,7 @@ packages:
resolution: {integrity: sha512-YdBgM10+80wPLRHYAcJnhERx3WV/OfMvnvby2cpGXOiFqjno7xI/954dP9DUntHTtohB9EW2yCfgwYiBIuxkpA==}
engines: {node: '>=12.0.0'}
dependencies:
'@rollup/pluginutils': 5.1.0(rollup@3.28.0)
'@rollup/pluginutils': 5.1.0
imagetools-core: 6.0.2
transitivePeerDependencies:
- rollup
@ -6355,7 +6366,7 @@ packages:
mlly: 1.4.0
pathe: 1.1.1
picocolors: 1.0.0
vite: 4.5.0(@types/node@20.10.2)(lightningcss@1.22.1)(sass@1.69.5)
vite: 4.5.0(@types/node@20.10.2)(lightningcss@1.22.1)
transitivePeerDependencies:
- '@types/node'
- less
@ -6367,7 +6378,7 @@ packages:
- terser
dev: true
/vite@4.5.0(@types/node@20.10.2)(lightningcss@1.22.1)(sass@1.69.5):
/vite@4.5.0(@types/node@20.10.2)(lightningcss@1.22.1):
resolution: {integrity: sha512-ulr8rNLA6rkyFAlVWw2q5YJ91v098AFQ2R0PRFwPzREXOUJQPtFUG0t+/ZikhaOCDqFoDhN6/v8Sq0o4araFAw==}
engines: {node: ^14.18.0 || >=16.0.0}
hasBin: true
@ -6400,7 +6411,6 @@ packages:
lightningcss: 1.22.1
postcss: 8.4.32
rollup: 3.28.0
sass: 1.69.5
optionalDependencies:
fsevents: 2.3.3
@ -6412,7 +6422,7 @@ packages:
vite:
optional: true
dependencies:
vite: 4.5.0(@types/node@20.10.2)(lightningcss@1.22.1)(sass@1.69.5)
vite: 4.5.0(@types/node@20.10.2)(lightningcss@1.22.1)
/vitest@0.33.0(happy-dom@9.20.3)(jsdom@22.0.0)(playwright@1.35.1):
resolution: {integrity: sha512-1CxaugJ50xskkQ0e969R/hW47za4YXDUfWJDxip1hwbnhUjYolpfUn2AMOulqG/Dtd9WYAtkHmM/m3yKVrEejQ==}
@ -6469,7 +6479,7 @@ packages:
strip-literal: 1.0.1
tinybench: 2.5.0
tinypool: 0.6.0
vite: 4.5.0(@types/node@20.10.2)(lightningcss@1.22.1)(sass@1.69.5)
vite: 4.5.0(@types/node@20.10.2)(lightningcss@1.22.1)
vite-node: 0.33.0(@types/node@20.10.2)
why-is-node-running: 2.2.2
transitivePeerDependencies:

@ -42,7 +42,6 @@
"marked": "^11.0.0",
"prettier": "^3.1.0",
"prettier-plugin-svelte": "^3.1.2",
"sass": "^1.69.5",
"satori": "^0.10.11",
"satori-html": "^0.3.2",
"shelljs": "^0.8.5",

Loading…
Cancel
Save