Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps(*): upgrade vue/vite packages #229

Merged
merged 3 commits into from
May 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 16 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
"marked": "^5.1.0",
"monaco-editor": "0.21.3",
"pinia": "^2.1.6",
"vue": "^3.3.13",
"vue-router": "^4.2.2"
"vue": "^3.4.27",
"vue-router": "^4.3.2"
},
"devDependencies": {
"@kong/design-tokens": "^1.12.11",
Expand All @@ -59,8 +59,8 @@
"@types/node": "^20.3.1",
"@typescript-eslint/eslint-plugin": "^6.13.0",
"@typescript-eslint/parser": "^6.13.0",
"@vitejs/plugin-vue": "^4.1.0",
"@vue/tsconfig": "^0.4.0",
"@vitejs/plugin-vue": "^5.0.4",
"@vue/tsconfig": "^0.5.1",
"autoprefixer": "^10.4.14",
"bmp-js": "^0.1.0",
"dotenv": "^16.0.1",
Expand All @@ -71,8 +71,8 @@
"eslint-plugin-n": "^16.3.1",
"eslint-plugin-playwright": "^0.18.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-vue": "^9.18.1",
"eslint-plugin-vuejs-accessibility": "^2.2.0",
"eslint-plugin-vue": "^9.25.0",
"eslint-plugin-vuejs-accessibility": "^2.3.0",
"husky": "^8.0.3",
"lint-staged": "^13.2.2",
"lodash-es": "^4.17.21",
Expand All @@ -84,10 +84,15 @@
"stylelint-config-recommended-scss": "^12.0.0",
"stylelint-config-recommended-vue": "^1.5.0",
"typescript": "^5.3.2",
"vite": "^4.3.9",
"vite-plugin-html": "^3.2.0",
"vite": "^5.2.11",
"vite-plugin-html": "^3.2.2",
"vite-plugin-monaco-editor": "^1.1.0",
"vue-eslint-parser": "^9.3.2",
"vue-tsc": "^1.8.22"
}
"vue-eslint-parser": "^9.4.2",
"vue-tsc": "^2.0.16"
},
"browserslist": [
"> 1%",
"last 2 versions",
"not IE <= 11"
]
}
2 changes: 2 additions & 0 deletions src/pages/data-plane-nodes/List.vue
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,8 @@ const getNodeLogLevel = async (id: string) => {
appearance: 'danger',
message: t('entities.dp-nodes.error.get.log.level.fail', { id: target?.hostname ?? id }),
})

throw err
}
}

Expand Down
4 changes: 4 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ export default defineConfig({
},
port: 8080,
},
preview: {
port: 8080,
},
css: {
preprocessorOptions: {
scss: {
Expand All @@ -59,6 +62,7 @@ export default defineConfig({
},
postcss: {
plugins: [
// @ts-expect-error vite and autoprefixer are using different versions of PostCSS, where the Plugin type is not compatible
autoprefixer,
],
},
Expand Down
Loading
Loading