From 98268e5926d5975893054f92ac120ba166673e10 Mon Sep 17 00:00:00 2001 From: Robert Drobota Date: Mon, 8 Feb 2021 16:26:34 +0200 Subject: [PATCH 1/4] Client configurations outdated(vue.config.js) #372 - updated outdated package alias from @core to @ui according to Release notes from 4.4.0: 'the @core alias has been renamed to @ui, so update all usages ... --- client/vue.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/vue.config.js b/client/vue.config.js index 29a9b82dc..98cae40bd 100644 --- a/client/vue.config.js +++ b/client/vue.config.js @@ -37,7 +37,7 @@ module.exports = { devtool: inProduction ? 'hidden-source-map' : 'source-map', resolve: { alias: { - '@core': `${__dirname}/node_modules/@enso-ui/ui/src`, + '@ui': `${__dirname}/node_modules/@enso-ui/ui/src`, '@root': `${__dirname}/src/js`, '@pages': `${__dirname}/src/js/pages`, '@store': `${__dirname}/src/js/store`, From ea52ff534bc576029d5d2c9cce79bde7660b6051 Mon Sep 17 00:00:00 2001 From: Robert Drobota Date: Wed, 10 Mar 2021 17:16:13 +0200 Subject: [PATCH 2/4] New version of copy-webpack-plugin needs patterns - according to https://webpack.js.org/plugins/copy-webpack-plugin/ CopyPlugin needs a "patterns" property and folder is deprecated. --- client/vue.config.js | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/client/vue.config.js b/client/vue.config.js index 98cae40bd..1ab044428 100644 --- a/client/vue.config.js +++ b/client/vue.config.js @@ -51,12 +51,17 @@ module.exports = { release: process.env.SENTRY_RELEASE, ignore: ['vendor'], }), - new CopyPlugin([{ - from: '../resources/images', - to: 'images', - force: true, - folder: true, - }]), + new CopyPlugin( + { + patterns: [ + { + from: '../resources/images', + to: 'images', + force: true, + }, + ], + }, + ), ].filter(p => p), }, chainWebpack: config => { From 3b4ade6e57ad4483ebc898c5e3e80a85e59ed569 Mon Sep 17 00:00:00 2001 From: Robert Drobota Date: Wed, 3 Nov 2021 10:53:15 +0200 Subject: [PATCH 3/4] Small updates on documentation - typo on "with with" - updated versions on which Laravel Enso is crafted. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 26a2ea69b..d4c133283 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,7 @@ The support services are provided by a team of 4 members. ### Thanks -Built with with ❤️, crafted on Laravel 5.6.x, Bulma 0.6.x, Vuejs 2.5.x and: +Built with ❤️, crafted on Laravel 8.x, Bulma 0.9.x, Vuejs 2.6.x and: [Vue Router](https://router.vuejs.org/en), [Vuex](https://vuex.vuejs.org/en/), [Axios](https://github.com/axios/axios), [Font awesome 5](https://fontawesome.com), [Animate.css](https://daneden.github.io/animate.css/), From c40141859a13a364da0f06739d04ccd3c33933e3 Mon Sep 17 00:00:00 2001 From: Robert Drobota Date: Wed, 3 Nov 2021 10:56:26 +0200 Subject: [PATCH 4/4] Revert local changes - revert local fork changes that are not needed. --- client/vue.config.js | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/client/vue.config.js b/client/vue.config.js index a7c6ec1f2..fd67cdc67 100644 --- a/client/vue.config.js +++ b/client/vue.config.js @@ -38,7 +38,7 @@ module.exports = { devtool: inProduction ? 'hidden-source-map' : 'source-map', resolve: { alias: { - '@ui': `${__dirname}/node_modules/@enso-ui/ui/src`, + '@core': `${__dirname}/node_modules/@enso-ui/ui/src`, '@root': `${__dirname}/src/js`, '@pages': `${__dirname}/src/js/pages`, '@store': `${__dirname}/src/js/store`, @@ -55,17 +55,12 @@ module.exports = { release: process.env.SENTRY_RELEASE, ignore: ['vendor'], }), - new CopyPlugin( - { - patterns: [ - { - from: '../resources/images', - to: 'images', - force: true, - }, - ], - }, - ), + new CopyPlugin([{ + from: '../resources/images', + to: 'images', + force: true, + folder: true, + }]), ].filter(p => p), }, chainWebpack: config => {