mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-24 08:02:18 +02:00
Update frontend dependencies (#1655)
Also fixes bug that wrong message is displayed when updating user
This commit is contained in:
parent
ed78ba78fc
commit
4d5c59556e
8
web/components.d.ts
vendored
8
web/components.d.ts
vendored
@ -1,5 +1,7 @@
|
|||||||
// generated by unplugin-vue-components
|
/* eslint-disable */
|
||||||
// We suggest you to commit this file into source control
|
/* prettier-ignore */
|
||||||
|
// @ts-nocheck
|
||||||
|
// Generated by unplugin-vue-components
|
||||||
// Read more: https://github.com/vuejs/core/pull/3399
|
// Read more: https://github.com/vuejs/core/pull/3399
|
||||||
import '@vue/runtime-core'
|
import '@vue/runtime-core'
|
||||||
|
|
||||||
@ -57,10 +59,10 @@ declare module '@vue/runtime-core' {
|
|||||||
IMdiGestureTap: typeof import('~icons/mdi/gesture-tap')['default']
|
IMdiGestureTap: typeof import('~icons/mdi/gesture-tap')['default']
|
||||||
IMdiGithub: typeof import('~icons/mdi/github')['default']
|
IMdiGithub: typeof import('~icons/mdi/github')['default']
|
||||||
IMdiLoading: typeof import('~icons/mdi/loading')['default']
|
IMdiLoading: typeof import('~icons/mdi/loading')['default']
|
||||||
|
IMdiSync: typeof import('~icons/mdi/sync')['default']
|
||||||
IMdiSourceBranch: typeof import('~icons/mdi/source-branch')['default']
|
IMdiSourceBranch: typeof import('~icons/mdi/source-branch')['default']
|
||||||
IMdisourceCommit: typeof import('~icons/mdi/source-commit')['default']
|
IMdisourceCommit: typeof import('~icons/mdi/source-commit')['default']
|
||||||
IMdiSourcePull: typeof import('~icons/mdi/source-pull')['default']
|
IMdiSourcePull: typeof import('~icons/mdi/source-pull')['default']
|
||||||
IMdiSync: typeof import('~icons/mdi/sync')['default']
|
|
||||||
IMdiTagOutline: typeof import('~icons/mdi/tag-outline')['default']
|
IMdiTagOutline: typeof import('~icons/mdi/tag-outline')['default']
|
||||||
InputField: typeof import('./src/components/form/InputField.vue')['default']
|
InputField: typeof import('./src/components/form/InputField.vue')['default']
|
||||||
IPhGitlabLogoSimpleFill: typeof import('~icons/ph/gitlab-logo-simple-fill')['default']
|
IPhGitlabLogoSimpleFill: typeof import('~icons/ph/gitlab-logo-simple-fill')['default']
|
||||||
|
@ -17,55 +17,55 @@
|
|||||||
"test": "echo 'No tests configured' && exit 0"
|
"test": "echo 'No tests configured' && exit 0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@intlify/vite-plugin-vue-i18n": "^6.0.3",
|
"@intlify/unplugin-vue-i18n": "^0.9.2",
|
||||||
"@kyvg/vue3-notification": "^2.4.1",
|
"@kyvg/vue3-notification": "^2.9.0",
|
||||||
"@vueuse/core": "^9.3.1",
|
"@vueuse/core": "^9.13.0",
|
||||||
"ansi_up": "^5.1.0",
|
"ansi_up": "^5.1.0",
|
||||||
"dayjs": "^1.11.5",
|
"dayjs": "^1.11.7",
|
||||||
"floating-vue": "^2.0.0-beta.20",
|
"floating-vue": "2.0.0-beta.20",
|
||||||
"fuse.js": "^6.6.2",
|
"fuse.js": "^6.6.2",
|
||||||
"humanize-duration": "^3.27.3",
|
"humanize-duration": "^3.28.0",
|
||||||
"javascript-time-ago": "^2.5.7",
|
"javascript-time-ago": "^2.5.9",
|
||||||
"lodash": "^4.17.21",
|
"lodash": "^4.17.21",
|
||||||
"node-emoji": "^1.11.0",
|
"node-emoji": "^1.11.0",
|
||||||
"pinia": "^2.0.23",
|
"pinia": "^2.0.33",
|
||||||
"prismjs": "^1.29.0",
|
"prismjs": "^1.29.0",
|
||||||
"vue": "^3.2.41",
|
"vue": "^3.2.47",
|
||||||
"vue-i18n": "^9.2.2",
|
"vue-i18n": "^9.2.2",
|
||||||
"vue-router": "^4.1.5"
|
"vue-router": "^4.1.6"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@iconify/json": "^2.1.123",
|
"@iconify/json": "^2.2.36",
|
||||||
"@types/humanize-duration": "^3.27.1",
|
"@types/humanize-duration": "^3.27.1",
|
||||||
"@types/javascript-time-ago": "^2.0.3",
|
"@types/javascript-time-ago": "^2.0.3",
|
||||||
"@types/lodash": "^4.14.186",
|
"@types/lodash": "^4.14.191",
|
||||||
"@types/node": "^18.11.2",
|
"@types/node": "^18.15.3",
|
||||||
"@types/node-emoji": "^1.8.2",
|
"@types/node-emoji": "^1.8.2",
|
||||||
"@types/prismjs": "^1.26.0",
|
"@types/prismjs": "^1.26.0",
|
||||||
"@typescript-eslint/eslint-plugin": "^5.40.1",
|
"@typescript-eslint/eslint-plugin": "^5.55.0",
|
||||||
"@typescript-eslint/parser": "^5.40.1",
|
"@typescript-eslint/parser": "^5.55.0",
|
||||||
"@vitejs/plugin-vue": "^3.1.2",
|
"@vitejs/plugin-vue": "^4.1.0",
|
||||||
"@vue/compiler-sfc": "^3.2.41",
|
"@vue/compiler-sfc": "^3.2.47",
|
||||||
"eslint": "^8.25.0",
|
"eslint": "^8.36.0",
|
||||||
"eslint-config-airbnb-base": "^15.0.0",
|
"eslint-config-airbnb-base": "^15.0.0",
|
||||||
"eslint-config-airbnb-typescript": "^17.0.0",
|
"eslint-config-airbnb-typescript": "^17.0.0",
|
||||||
"eslint-config-prettier": "^8.5.0",
|
"eslint-config-prettier": "^8.7.0",
|
||||||
"eslint-plugin-import": "^2.26.0",
|
"eslint-plugin-import": "^2.27.5",
|
||||||
"eslint-plugin-prettier": "^4.2.1",
|
"eslint-plugin-prettier": "^4.2.1",
|
||||||
"eslint-plugin-promise": "^6.1.0",
|
"eslint-plugin-promise": "^6.1.1",
|
||||||
"eslint-plugin-simple-import-sort": "^8.0.0",
|
"eslint-plugin-simple-import-sort": "^10.0.0",
|
||||||
"eslint-plugin-vue": "^9.6.0",
|
"eslint-plugin-vue": "^9.9.0",
|
||||||
"eslint-plugin-vue-scoped-css": "^2.2.0",
|
"eslint-plugin-vue-scoped-css": "^2.4.0",
|
||||||
"prettier": "^2.7.1",
|
"prettier": "^2.8.4",
|
||||||
"typescript": "4.8.3",
|
"typescript": "5.0.2",
|
||||||
"unplugin-icons": "^0.14.12",
|
"unplugin-icons": "^0.15.3",
|
||||||
"unplugin-vue-components": "^0.22.8",
|
"unplugin-vue-components": "^0.24.1",
|
||||||
"vite": "^3.1.8",
|
"vite": "^4.2.0",
|
||||||
"vite-plugin-prismjs": "^0.0.8",
|
"vite-plugin-prismjs": "^0.0.8",
|
||||||
"vite-plugin-windicss": "^1.8.8",
|
"vite-plugin-windicss": "^1.8.10",
|
||||||
"vite-svg-loader": "^3.6.0",
|
"vite-svg-loader": "^4.0.0",
|
||||||
"vue-eslint-parser": "^9.1.0",
|
"vue-eslint-parser": "^9.1.0",
|
||||||
"vue-tsc": "^0.40.13",
|
"vue-tsc": "^1.2.0",
|
||||||
"windicss": "^3.5.6"
|
"windicss": "^3.5.6"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
1547
web/pnpm-lock.yaml
1547
web/pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
@ -118,14 +118,18 @@ const { doSubmit: saveUser, isLoading: isSaving } = useAsyncAction(async () => {
|
|||||||
|
|
||||||
if (isEditingUser.value) {
|
if (isEditingUser.value) {
|
||||||
await apiClient.updateUser(selectedUser.value);
|
await apiClient.updateUser(selectedUser.value);
|
||||||
|
notifications.notify({
|
||||||
|
title: t('admin.settings.users.saved'),
|
||||||
|
type: 'success',
|
||||||
|
});
|
||||||
selectedUser.value = undefined;
|
selectedUser.value = undefined;
|
||||||
} else {
|
} else {
|
||||||
selectedUser.value = await apiClient.createUser(selectedUser.value);
|
selectedUser.value = await apiClient.createUser(selectedUser.value);
|
||||||
}
|
|
||||||
notifications.notify({
|
notifications.notify({
|
||||||
title: t(isEditingUser.value ? 'admin.settings.users.saved' : 'admin.settings.users.created'),
|
title: t('admin.settings.users.created'),
|
||||||
type: 'success',
|
type: 'success',
|
||||||
});
|
});
|
||||||
|
}
|
||||||
await loadUsers();
|
await loadUsers();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* eslint-disable import/no-extraneous-dependencies */
|
/* eslint-disable import/no-extraneous-dependencies */
|
||||||
import vueI18n from '@intlify/vite-plugin-vue-i18n';
|
import VueI18nPlugin from '@intlify/unplugin-vue-i18n/vite';
|
||||||
import vue from '@vitejs/plugin-vue';
|
import vue from '@vitejs/plugin-vue';
|
||||||
import { readdirSync } from 'fs';
|
import { readdirSync } from 'fs';
|
||||||
import path from 'path';
|
import path from 'path';
|
||||||
@ -28,7 +28,7 @@ function woodpeckerInfoPlugin() {
|
|||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
plugins: [
|
plugins: [
|
||||||
vue(),
|
vue(),
|
||||||
vueI18n({
|
VueI18nPlugin({
|
||||||
include: path.resolve(__dirname, 'src/assets/locales/**'),
|
include: path.resolve(__dirname, 'src/assets/locales/**'),
|
||||||
}),
|
}),
|
||||||
(() => {
|
(() => {
|
||||||
|
Loading…
Reference in New Issue
Block a user