From b6dc02c75bf03c1148f3f57b78cc89ebd8dd44f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francisco=20Bol=C3=ADvar?= Date: Thu, 14 Nov 2024 13:32:41 +0100 Subject: [PATCH] Run vocdoni installation in Rakefile instead of in heroku callback --- Rakefile | 1 + package.json | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index bf012913f..e7863060b 100644 --- a/Rakefile +++ b/Rakefile @@ -119,4 +119,5 @@ end Rake::Task["assets:precompile"].enhance do FileUtils.remove_dir("node_modules", true) + system "npm install @vocdoni/sdk@^0.8.0" end diff --git a/package.json b/package.json index 4009de94f..248d8b807 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,6 @@ "extends @decidim/browserslist-config" ], "scripts": { - "heroku-cleanup": "npm install @vocdoni/sdk@^0.8.0", "lint": "eslint -c .eslintrc.json --ext .js app/packs/src", "lint-fix": "eslint -c .eslintrc.json --ext .js app/packs/src --fix", "stylelint": "stylelint \"{decidim-census_sms/,decidim-dataviz/,decidim-ephemeral_participation/,decidim-stats/,decidim-valid_auth/,}app/packs/stylesheets/**/*.scss\"",