From b78c26ae4478c90cf11167ccce5fb776bb03f690 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Wed, 14 Sep 2022 21:41:10 +0200 Subject: [PATCH] Version 0.5.1. Upgrade to KVision 5.15.1 --- build.gradle | 2 +- .../tech/stonks/kvizard/generator/TreeGenerator.kt | 1 - src/main/resources/META-INF/plugin.xml | 5 +++++ .../fileTemplates/internal/webpack_jquery.js.ft | 9 --------- 4 files changed, 6 insertions(+), 11 deletions(-) delete mode 100644 src/main/resources/fileTemplates/internal/webpack_jquery.js.ft diff --git a/build.gradle b/build.gradle index 92052da..0a24a92 100644 --- a/build.gradle +++ b/build.gradle @@ -5,7 +5,7 @@ plugins { } group 'tech.stonks' -version '0.5.0' +version '0.5.1' repositories { mavenCentral() diff --git a/src/main/kotlin/tech/stonks/kvizard/generator/TreeGenerator.kt b/src/main/kotlin/tech/stonks/kvizard/generator/TreeGenerator.kt index 1e37994..6c36677 100644 --- a/src/main/kotlin/tech/stonks/kvizard/generator/TreeGenerator.kt +++ b/src/main/kotlin/tech/stonks/kvizard/generator/TreeGenerator.kt @@ -47,7 +47,6 @@ abstract class TreeGenerator( "css.js", "file.js", "handlebars.js", - "jquery.js", "moment.js" ), private val webpackCustomFiles: Array = arrayOf( diff --git a/src/main/resources/META-INF/plugin.xml b/src/main/resources/META-INF/plugin.xml index 6455683..69a11ce 100644 --- a/src/main/resources/META-INF/plugin.xml +++ b/src/main/resources/META-INF/plugin.xml @@ -4,6 +4,11 @@ KVision Project Wizard Stonks.tech + <i>Version 0.5.1:</i> + <ul> + <li>Upgrade to KVision 5.15.1</li> + </ul> + <i>Version 0.5.0:</i> <ul> <li>Upgrade to KVision 5.15.0</li> diff --git a/src/main/resources/fileTemplates/internal/webpack_jquery.js.ft b/src/main/resources/fileTemplates/internal/webpack_jquery.js.ft deleted file mode 100644 index e6c6b21..0000000 --- a/src/main/resources/fileTemplates/internal/webpack_jquery.js.ft +++ /dev/null @@ -1,9 +0,0 @@ -;(function() { - const webpack = require('webpack') - - config.plugins.push(new webpack.ProvidePlugin({ - $: "jquery", - jQuery: "jquery", - "window.jQuery": "jquery" - })); -})();