build(deps): updated despendencies to latest

This commit is contained in:
Shariq Ansari 2023-11-03 15:00:51 +05:30
parent 412565fd1f
commit 61ff2cd2ec
6 changed files with 3518 additions and 1810 deletions

@ -1 +1 @@
Subproject commit 38eb500cb47d6cfc7124817e9c2acdcd560045f1 Subproject commit e0859c6165a5d54a999f94e7c1cf9647ecd2bf72

View File

@ -9,21 +9,23 @@
"serve": "vite preview" "serve": "vite preview"
}, },
"dependencies": { "dependencies": {
"@tiptap/vue-3": "^2.0.4",
"@twilio/voice-sdk": "^2.7.1", "@twilio/voice-sdk": "^2.7.1",
"@vitejs/plugin-vue": "^4.2.3",
"@vueuse/core": "^10.3.0", "@vueuse/core": "^10.3.0",
"@vueuse/integrations": "^10.3.0", "@vueuse/integrations": "^10.3.0",
"autoprefixer": "^10.4.14",
"feather-icons": "^4.28.0", "feather-icons": "^4.28.0",
"frappe-ui": "^0.1.12", "frappe-ui": "^0.1.14",
"pinia": "^2.0.33", "pinia": "^2.0.33",
"postcss": "^8.4.5",
"socket.io-client": "^4.7.2", "socket.io-client": "^4.7.2",
"sortablejs": "^1.15.0", "sortablejs": "^1.15.0",
"tailwindcss": "^3.3.3", "tailwindcss": "^3.3.3",
"vite": "^4.4.9", "vite": "^4.4.9",
"vue": "^3.3.4", "vue": "^3.3.4",
"vue-router": "^4.2.2" "vue-router": "^4.2.2"
},
"devDependencies": {
"@vitejs/plugin-vue": "^4.2.3",
"autoprefixer": "^10.4.14",
"postcss": "^8.4.5",
"vite": "^4.4.9"
} }
} }

View File

@ -5,23 +5,34 @@ import frappeui from 'frappe-ui/vite'
// https://vitejs.dev/config/ // https://vitejs.dev/config/
export default defineConfig({ export default defineConfig({
plugins: [frappeui(), vue({ plugins: [
script: { frappeui(),
defineModel: true, vue({
propsDestructure: true script: {
} defineModel: true,
})], propsDestructure: true,
},
}),
],
resolve: { resolve: {
alias: { alias: {
'@': path.resolve(__dirname, 'src'), '@': path.resolve(__dirname, 'src'),
}, },
}, },
build: { build: {
outDir: `../${path.basename(path.resolve('..'))}/public/frontend`, outDir: '../crm/public/frontend',
emptyOutDir: true, emptyOutDir: true,
commonjsOptions: {
include: [/tailwind.config.js/, /node_modules/],
},
sourcemap: true, sourcemap: true,
}, },
optimizeDeps: { optimizeDeps: {
include: ['frappe-ui > feather-icons', 'showdown', 'engine.io-client'], include: [
'feather-icons',
'showdown',
'tailwind.config.js',
'engine.io-client',
],
}, },
}) })

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{ {
"private": true, "private": true,
"aworkspaces": ["frappe-ui", "frontend"], "workspaces": ["frontend", "frappe-ui"],
"scripts": { "scripts": {
"postinstall": "cd frontend && yarn install", "postinstall": "cd frontend && yarn install",
"dev": "cd frontend && yarn dev", "dev": "cd frontend && yarn dev",

3490
yarn.lock

File diff suppressed because it is too large Load Diff