Skip to content

Commit

Permalink
build: update dependencies
Browse files Browse the repository at this point in the history
removed vue and vue-resize patches
  • Loading branch information
rocka committed Jul 25, 2023
1 parent 9dcdf5d commit 5098dc1
Show file tree
Hide file tree
Showing 7 changed files with 53 additions and 267 deletions.
10 changes: 4 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,8 @@
"less": "^4.1.3",
"less-loader": "^11.1.3",
"mini-css-extract-plugin": "^2.7.6",
"patch-package": "^7.0.2",
"style-loader": "^3.3.3",
"vue-loader": "15.9.8",
"vue-template-compiler": "2.6.14",
"vue-loader": "^15.10.1",
"webpack": "^5.88.2",
"webpack-dev-server": "^4.15.1"
},
Expand All @@ -45,7 +43,7 @@
"dbus-next": "^0.10.2",
"debug": "^4.3.4",
"dexie": "^3.2.4",
"electron": "^25.3.0",
"electron": "^25.3.1",
"electron-fetch": "^1.9.1",
"entities": "^4.5.0",
"eventemitter3": "^5.0.1",
Expand All @@ -54,14 +52,14 @@
"material-design-icons-iconfont": "^6.7.0",
"muse-ui-message": "^0.2.1",
"muse-ui-toast": "^0.3.0",
"usocket": "https://registry.yarnpkg.com/@favware/skip-dependency/-/skip-dependency-1.2.1.tgz",
"v-distpicker": "^1.3.3",
"vue": "2.6.14",
"vue": "^2.7.14",
"vue-router": "^3.5.4",
"vue-virtual-scroller": "^1.1.2",
"vuex": "^3.6.2"
},
"resolutions": {
"vue-virtual-scroller/vue-resize": "^0.5.0",
"usocket": "https://registry.yarnpkg.com/@favware/skip-dependency/-/skip-dependency-1.2.1.tgz"
}
}
12 changes: 0 additions & 12 deletions patches/README.md

This file was deleted.

86 changes: 0 additions & 86 deletions patches/vue+2.6.14.patch

This file was deleted.

15 changes: 0 additions & 15 deletions patches/vue-resize+0.4.5.patch

This file was deleted.

4 changes: 1 addition & 3 deletions script/webpack.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

'use strict';

const cp = require('child_process');

// cleanup process.argv before patch-package
let argv = process.argv.slice(2);
if (argv.length === 0) {
Expand All @@ -13,7 +11,7 @@ if (argv.length === 0) {
}

// yeah! patch package!
cp.execSync('patch-package');
// require('child_process').execSync('patch-package');

process.env.NODE_ENV = 'production';

Expand Down
2 changes: 2 additions & 0 deletions src/renderer/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ import { initTheme, setTheme } from './util/theme';
import DblclickRipple from './util/dblclick-ripple';
import './style.css';
import './transition.css';
// because we upgraded vue-resize manually
import 'vue-resize/dist/vue-resize.css';
import 'vue-virtual-scroller/dist/vue-virtual-scroller.css';

Vue.use(Router);
Expand Down
Loading

0 comments on commit 5098dc1

Please sign in to comment.