remove node

This commit is contained in:
philipp 2023-06-20 00:03:02 +02:00
parent 7a6635adf5
commit bafff0bed8
3 changed files with 21 additions and 5 deletions

View File

@ -8,7 +8,8 @@
"name": "rot-app", "name": "rot-app",
"version": "0.0.1", "version": "0.0.1",
"dependencies": { "dependencies": {
"@sveltejs/adapter-node": "^1.2.4" "@sveltejs/adapter-node": "^1.2.4",
"@sveltejs/adapter-static": "^2.0.2"
}, },
"devDependencies": { "devDependencies": {
"@fontsource/fira-mono": "^4.5.10", "@fontsource/fira-mono": "^4.5.10",
@ -752,6 +753,14 @@
"@sveltejs/kit": "^1.0.0" "@sveltejs/kit": "^1.0.0"
} }
}, },
"node_modules/@sveltejs/adapter-static": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/@sveltejs/adapter-static/-/adapter-static-2.0.2.tgz",
"integrity": "sha512-9wYtf6s6ew7DHUHMrt55YpD1FgV7oWql2IGsW5BXquLxqcY9vjrqCFo0TzzDpo+ZPZkW/v77k0eOP6tsAb8HmQ==",
"peerDependencies": {
"@sveltejs/kit": "^1.5.0"
}
},
"node_modules/@sveltejs/kit": { "node_modules/@sveltejs/kit": {
"version": "1.20.2", "version": "1.20.2",
"resolved": "https://registry.npmjs.org/@sveltejs/kit/-/kit-1.20.2.tgz", "resolved": "https://registry.npmjs.org/@sveltejs/kit/-/kit-1.20.2.tgz",
@ -4410,6 +4419,12 @@
"rollup": "^3.7.0" "rollup": "^3.7.0"
} }
}, },
"@sveltejs/adapter-static": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/@sveltejs/adapter-static/-/adapter-static-2.0.2.tgz",
"integrity": "sha512-9wYtf6s6ew7DHUHMrt55YpD1FgV7oWql2IGsW5BXquLxqcY9vjrqCFo0TzzDpo+ZPZkW/v77k0eOP6tsAb8HmQ==",
"requires": {}
},
"@sveltejs/kit": { "@sveltejs/kit": {
"version": "1.20.2", "version": "1.20.2",
"resolved": "https://registry.npmjs.org/@sveltejs/kit/-/kit-1.20.2.tgz", "resolved": "https://registry.npmjs.org/@sveltejs/kit/-/kit-1.20.2.tgz",

View File

@ -16,7 +16,6 @@
"@fontsource/fira-mono": "^4.5.10", "@fontsource/fira-mono": "^4.5.10",
"@neoconfetti/svelte": "^1.0.0", "@neoconfetti/svelte": "^1.0.0",
"@playwright/test": "^1.28.1", "@playwright/test": "^1.28.1",
"@sveltejs/adapter-auto": "^2.0.0",
"@sveltejs/kit": "^1.5.0", "@sveltejs/kit": "^1.5.0",
"@types/cookie": "^0.5.1", "@types/cookie": "^0.5.1",
"@typescript-eslint/eslint-plugin": "^5.45.0", "@typescript-eslint/eslint-plugin": "^5.45.0",
@ -38,6 +37,6 @@
}, },
"type": "module", "type": "module",
"dependencies": { "dependencies": {
"@sveltejs/adapter-node": "^1.2.4" "@sveltejs/adapter-static": "^2.0.2"
} }
} }

View File

@ -1,4 +1,4 @@
import adapter from '@sveltejs/adapter-node'; import adapter from '@sveltejs/adapter-static';
import { vitePreprocess } from '@sveltejs/kit/vite'; import { vitePreprocess } from '@sveltejs/kit/vite';
/** @type {import('@sveltejs/kit').Config} */ /** @type {import('@sveltejs/kit').Config} */
@ -11,7 +11,9 @@ const config = {
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list. // adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
// If your environment is not supported or you settled on a specific environment, switch out the adapter. // If your environment is not supported or you settled on a specific environment, switch out the adapter.
// See https://kit.svelte.dev/docs/adapters for more information about adapters. // See https://kit.svelte.dev/docs/adapters for more information about adapters.
adapter: adapter() adapter: adapter({
fallback: 'app.html',
})
} }
}; };