From 3d9a138b553b0784df94ceeddf93845eb0f41c3f Mon Sep 17 00:00:00 2001 From: quentinchampenois <26109239+Quentinchampenois@users.noreply.github.com> Date: Fri, 24 Nov 2023 17:40:24 +0100 Subject: [PATCH] fix: Decidim version to 0.27 and update Rakefile --- Gemfile | 4 ++-- Gemfile.lock | 4 ++-- Rakefile | 3 +++ 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Gemfile b/Gemfile index 8db7554..9c063cd 100644 --- a/Gemfile +++ b/Gemfile @@ -4,7 +4,7 @@ source "https://rubygems.org" ruby RUBY_VERSION -gem "decidim" +gem "decidim", "~> 0.27.0" gem "decidim-cleaner", path: "." gem "bootsnap", "~> 1.4" @@ -12,7 +12,7 @@ gem "puma", ">= 4.3" group :development, :test do gem "byebug", "~> 11.0", platform: :mri - gem "decidim-dev" + gem "decidim-dev", "~> 0.27.0" gem "rubocop-faker" end diff --git a/Gemfile.lock b/Gemfile.lock index 651a1d6..8c3b1cd 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -801,9 +801,9 @@ PLATFORMS DEPENDENCIES bootsnap (~> 1.4) byebug (~> 11.0) - decidim + decidim (~> 0.27.0) decidim-cleaner! - decidim-dev + decidim-dev (~> 0.27.0) faker (~> 2.14) letter_opener_web (~> 2.0) listen (~> 3.1) diff --git a/Rakefile b/Rakefile index 9f1894c..759e8db 100644 --- a/Rakefile +++ b/Rakefile @@ -6,6 +6,9 @@ def install_module(path) Dir.chdir(path) do system("bundle exec rake decidim_cleaner:install:migrations") system("bundle exec rake db:migrate") + system("npm install --save-dev @babel/plugin-proposal-private-methods") + system("npm install --save-dev @babel/plugin-proposal-private-property-in-object") + system("bundle exec rake assets:precompile") end end