Skip to content

Commit

Permalink
Run vocdoni installation in Rakefile instead of in heroku callback
Browse files Browse the repository at this point in the history
  • Loading branch information
fblupi committed Nov 14, 2024
1 parent 0a8300d commit b6dc02c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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\"",
Expand Down

0 comments on commit b6dc02c

Please sign in to comment.