Skip to content

Commit

Permalink
deps: using adapter-node, more clear deps
Browse files Browse the repository at this point in the history
  • Loading branch information
PleahMaCaka committed Oct 24, 2023
1 parent 9618dcc commit 84515db
Show file tree
Hide file tree
Showing 3 changed files with 170 additions and 22 deletions.
18 changes: 10 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,27 @@
},
"devDependencies": {
"@fontsource/fira-mono": "^5.0.8",
"@iconify/svelte": "^3.1.4",
"@neoconfetti/svelte": "^1.0.0",
"@sveltejs/adapter-auto": "^2.1.0",
"@sveltejs/adapter-node": "^1.3.1",
"@sveltejs/kit": "^1.27.0",
"@types/cookie": "^0.5.3",
"svelte": "^4.2.2",
"svelte-check": "^3.5.2",
"tslib": "^2.6.2",
"typescript": "^5.2.2",
"vite": "^4.5.0",
"@iconify/svelte": "^3.1.4",
"@sveltejs/vite-plugin-svelte": "^2.4.6",
"@tiptap/core": "^2.1.12",
"@tiptap/extension-placeholder": "^2.1.12",
"@tiptap/pm": "^2.1.12",
"@tiptap/starter-kit": "^2.1.12",
"@types/cookie": "^0.5.3",
"autoprefixer": "^10.4.16",
"postcss": "^8.4.31",
"postcss-import": "^15.1.0",
"postcss-nesting": "^12.0.1",
"svelte": "^4.2.2",
"svelte-check": "^3.5.2",
"svelte-tiptap": "^1.1.2",
"tailwindcss": "^3.3.3"
"tailwindcss": "^3.3.3",
"tslib": "^2.6.2",
"typescript": "^5.2.2",
"vite": "^4.5.0"
}
}
151 changes: 151 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 9 additions & 14 deletions svelte.config.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,13 @@
import adapter from "@sveltejs/adapter-auto";
import { vitePreprocess } from "@sveltejs/kit/vite";
import adapter from "@sveltejs/adapter-node"
import { vitePreprocess } from "@sveltejs/vite-plugin-svelte"

/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
// for more information about preprocessors
preprocess: vitePreprocess(),
preprocess: vitePreprocess(),
kit: {
adapter: adapter(),
},
}

kit: {
// 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.
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
adapter: adapter(),
},
};

export default config;
// noinspection JSUnusedGlobalSymbols
export default config

0 comments on commit 84515db

Please sign in to comment.