From ebf7823ef97939c54b13190fa82fa096d2a785ae Mon Sep 17 00:00:00 2001 From: henning mueller Date: Mon, 6 Jul 2020 13:57:11 +0200 Subject: [PATCH] Install Svelte UJS from npm ... and no longer from local filesystem --- Gemfile.lock | 2 +- lib/svelte/rails/install_generator.rb | 2 +- lib/svelte/rails/version.rb | 2 +- package.json | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index f3ca1bc..6b1c274 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - svelte-rails (0.2.1) + svelte-rails (0.3.0) execjs railties (>= 5.2) diff --git a/lib/svelte/rails/install_generator.rb b/lib/svelte/rails/install_generator.rb index a2fbe41..ac913cc 100644 --- a/lib/svelte/rails/install_generator.rb +++ b/lib/svelte/rails/install_generator.rb @@ -38,7 +38,7 @@ def update_application_entry end def install_svelte_ujs - `yarn add ../svelte-rails` + `yarn add svelte_ujs_ng` end private diff --git a/lib/svelte/rails/version.rb b/lib/svelte/rails/version.rb index e93be67..9169c78 100644 --- a/lib/svelte/rails/version.rb +++ b/lib/svelte/rails/version.rb @@ -1,5 +1,5 @@ module Svelte module Rails - VERSION = '0.2.1' + VERSION = '0.3.0' end end diff --git a/package.json b/package.json index 730fb58..97ab502 100644 --- a/package.json +++ b/package.json @@ -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 ", "bugs": {