Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Commit

Permalink
Install Svelte UJS from npm
Browse files Browse the repository at this point in the history
... and no longer from local filesystem
  • Loading branch information
nning committed Jul 6, 2020
1 parent 1619e42 commit ebf7823
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
svelte-rails (0.2.1)
svelte-rails (0.3.0)
execjs
railties (>= 5.2)

Expand Down
2 changes: 1 addition & 1 deletion lib/svelte/rails/install_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def update_application_entry
end

def install_svelte_ujs
`yarn add ../svelte-rails`
`yarn add svelte_ujs_ng`
end

private
Expand Down
2 changes: 1 addition & 1 deletion lib/svelte/rails/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Svelte
module Rails
VERSION = '0.2.1'
VERSION = '0.3.0'
end
end
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "svelte_ujs",
"name": "svelte_ujs_ng",
"version": "0.1.0",
"description": "Rails UJS for the svelte-rails gem",
"description": "Rails UJS for turbolinks and SSR of the svelte-rails gem",
"license": "MIT",
"author": "henning mueller <[email protected]>",
"bugs": {
Expand Down

0 comments on commit ebf7823

Please sign in to comment.