Skip to content

Commit

Permalink
Remove node_modules leaving only @vocdoni/sdk installed
Browse files Browse the repository at this point in the history
  • Loading branch information
fblupi committed Nov 14, 2024
1 parent b9be408 commit eeec5c0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,7 @@ end

Rake::Task["assets:precompile"].enhance do
FileUtils.remove_dir("node_modules", true)
system "mv package.json package.json.bkp && mv package-lock.json package-lock.json.bkp"
system "npm i @vocdoni/sdk@^0.8.0 --no-save"
system "mv package-lock.json.bkp package-lock.json && mv package.json.bkp package.json"
end

0 comments on commit eeec5c0

Please sign in to comment.