Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
6a012d29
Commit
6a012d29
authored
Aug 05, 2024
by
Candido Sales Gomes
Browse files
migration to SvelteKit 2
parent
d3146d20
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
16 deletions
+21
-16
package.json
package.json
+20
-15
svelte.config.js
svelte.config.js
+1
-1
No files found.
package.json
View file @
6a012d29
...
...
@@ -20,30 +20,31 @@
"pyodide:fetch"
:
"node scripts/prepare-pyodide.js"
},
"devDependencies"
:
{
"
@sveltejs/adapter-auto
"
:
"
^2.0.0
"
,
"
@sveltejs/adapter-static
"
:
"
^2.0.3
"
,
"
@sveltejs/kit
"
:
"
^1.30.0
"
,
"
@tailwindcss/typography
"
:
"
^0.5.10
"
,
"
@sveltejs/adapter-auto
"
:
"
3.2.2
"
,
"
@sveltejs/adapter-static
"
:
"
^3.0.2
"
,
"
@sveltejs/kit
"
:
"
^2.5.20
"
,
"
@sveltejs/vite-plugin-svelte
"
:
"
^3.1.1
"
,
"
@tailwindcss/typography
"
:
"
^0.5.13
"
,
"
@types/bun
"
:
"
latest
"
,
"
@typescript-eslint/eslint-plugin
"
:
"
^6.17.0
"
,
"
@typescript-eslint/parser
"
:
"
^6.17.0
"
,
"
autoprefixer
"
:
"
^10.4.16
"
,
"
cypress
"
:
"
^13.8.1
"
,
"
eslint
"
:
"
^8.56.0
"
,
"
eslint-config-prettier
"
:
"
^
8.5
.0
"
,
"
eslint-plugin-cypress
"
:
"
^3.
0.2
"
,
"
eslint-plugin-svelte
"
:
"
^2.3
0
.0
"
,
"
eslint-config-prettier
"
:
"
^
9.1
.0
"
,
"
eslint-plugin-cypress
"
:
"
^3.
4.0
"
,
"
eslint-plugin-svelte
"
:
"
^2.
4
3.0
"
,
"
i18next-parser
"
:
"
^8.13.0
"
,
"
postcss
"
:
"
^8.4.31
"
,
"
prettier
"
:
"
^
2.8.0
"
,
"
prettier-plugin-svelte
"
:
"
^
2.10.1
"
,
"
svelte
"
:
"
^4.
0.5
"
,
"
svelte-check
"
:
"
^3.
4.3
"
,
"
prettier
"
:
"
^
3.3.3
"
,
"
prettier-plugin-svelte
"
:
"
^
3.2.6
"
,
"
svelte
"
:
"
^4.
2.18
"
,
"
svelte-check
"
:
"
^3.
8.5
"
,
"
svelte-confetti
"
:
"
^1.3.2
"
,
"
tailwindcss
"
:
"
^3.3.3
"
,
"
tslib
"
:
"
^2.4.1
"
,
"
typescript
"
:
"
^5.
0.0
"
,
"
vite
"
:
"
^
4.4.2
"
,
"
typescript
"
:
"
^5.
5.4
"
,
"
vite
"
:
"
^
5.3.5
"
,
"
vitest
"
:
"
^1.6.0
"
},
"type"
:
"module"
,
...
...
@@ -52,7 +53,7 @@
"
@codemirror/lang-python
"
:
"
^6.1.6
"
,
"
@codemirror/theme-one-dark
"
:
"
^6.1.2
"
,
"
@pyscript/core
"
:
"
^0.4.32
"
,
"
@sveltejs/adapter-node
"
:
"
^
1.3.1
"
,
"
@sveltejs/adapter-node
"
:
"
^
2.0.0
"
,
"
async
"
:
"
^3.2.5
"
,
"
bits-ui
"
:
"
^0.19.7
"
,
"
codemirror
"
:
"
^6.0.1
"
,
...
...
@@ -77,5 +78,9 @@
"
tippy.js
"
:
"
^6.3.7
"
,
"
turndown
"
:
"
^7.2.0
"
,
"
uuid
"
:
"
^9.0.1
"
},
"engines"
:
{
"node"
:
">=18.13.0 <=21.x.x"
,
"npm"
:
">=6.0.0"
}
}
\ No newline at end of file
svelte.config.js
View file @
6a012d29
import
adapter
from
'
@sveltejs/adapter-static
'
;
import
{
vitePreprocess
}
from
'
@sveltejs/
k
it
/vi
te
'
;
import
{
vitePreprocess
}
from
'
@sveltejs/
v
it
e-plugin-svel
te
'
;
/** @type {import('@sveltejs/kit').Config} */
const
config
=
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment