ui: Update node version and node packages
This commit is contained in:
parent
41fb5a1cd0
commit
e2b47e744d
|
@ -75,7 +75,7 @@ steps:
|
||||||
CGO_ENABLED: 0
|
CGO_ENABLED: 0
|
||||||
|
|
||||||
- name: build frontend ui
|
- name: build frontend ui
|
||||||
image: node:16-alpine3.15
|
image: node:18-alpine3.15
|
||||||
commands:
|
commands:
|
||||||
- apk --no-cache add python2 build-base
|
- apk --no-cache add python2 build-base
|
||||||
- cd frontend/ui
|
- cd frontend/ui
|
||||||
|
@ -363,7 +363,7 @@ steps:
|
||||||
CGO_ENABLED: 0
|
CGO_ENABLED: 0
|
||||||
|
|
||||||
- name: build frontend ui
|
- name: build frontend ui
|
||||||
image: node:16-alpine3.15
|
image: node:18-alpine3.15
|
||||||
commands:
|
commands:
|
||||||
- apk --no-cache add python2 build-base
|
- apk --no-cache add python2 build-base
|
||||||
- cd frontend/ui
|
- cd frontend/ui
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM node:16-alpine3.15 as nodebuild
|
FROM node:18-alpine3.15 as nodebuild
|
||||||
|
|
||||||
WORKDIR /ui
|
WORKDIR /ui
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM node:16-alpine3.15 as nodebuild
|
FROM node:18-alpine3.15 as nodebuild
|
||||||
|
|
||||||
WORKDIR /ui
|
WORKDIR /ui
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -2,9 +2,9 @@
|
||||||
"name": "fic-frontend",
|
"name": "fic-frontend",
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "svelte-kit dev",
|
"dev": "vite dev",
|
||||||
"build": "svelte-kit build",
|
"build": "vite build",
|
||||||
"preview": "svelte-kit preview",
|
"preview": "vite preview",
|
||||||
"lint": "prettier --ignore-path .gitignore --check --plugin-search-dir=. . && eslint --ignore-path .gitignore .",
|
"lint": "prettier --ignore-path .gitignore --check --plugin-search-dir=. . && eslint --ignore-path .gitignore .",
|
||||||
"format": "prettier --ignore-path .gitignore --write --plugin-search-dir=. ."
|
"format": "prettier --ignore-path .gitignore --write --plugin-search-dir=. ."
|
||||||
},
|
},
|
||||||
|
@ -28,6 +28,7 @@
|
||||||
"bootstrap-icons": "^1.8.1",
|
"bootstrap-icons": "^1.8.1",
|
||||||
"bootswatch": "^5.1.3",
|
"bootswatch": "^5.1.3",
|
||||||
"hash-wasm": "^4.9.0",
|
"hash-wasm": "^4.9.0",
|
||||||
"seedrandom": "^3.0.5"
|
"seedrandom": "^3.0.5",
|
||||||
|
"vite": "^3.0.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
import { sveltekit } from '@sveltejs/kit/vite';
|
||||||
|
|
||||||
|
/** @type {import('vite').UserConfig} */
|
||||||
|
const config = {
|
||||||
|
plugins: [sveltekit()]
|
||||||
|
};
|
||||||
|
|
||||||
|
export default config;
|
Loading…
Reference in New Issue