From 7372a0b03b52cfcc89cd156fc2b45f3c9bc9ad7b Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Sun, 4 Sep 2022 14:31:29 +0200 Subject: [PATCH] Add turbo and remove turbolinks and UJS --- package.json | 3 +-- yarn.lock | 9 ++------- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index 51d7b2f5..1b73bfc6 100644 --- a/package.json +++ b/package.json @@ -5,9 +5,9 @@ }, "dependencies": { "@babel/preset-typescript": "^7.18.6", + "@hotwired/turbo-rails": "^7.1.3", "@melloware/coloris": "^0.16.0", "@rails/request.js": "^0.0.6", - "@rails/ujs": "^6.1.6", "bootstrap": "^4.6.2", "cheet.js": "^0.3.3", "core-js": "^3.25.0", @@ -22,7 +22,6 @@ "regenerator-runtime": "^0.13.7", "sweetalert": "1.1.3", "toastify-js": "^1.12.0", - "turbolinks": "^5.2.0", "typescript": "^4.8.2" }, "devDependencies": { diff --git a/yarn.lock b/yarn.lock index 59ecac97..66d90fa5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1069,7 +1069,7 @@ resolved "https://registry.yarnpkg.com/@gar/promisify/-/promisify-1.1.2.tgz#30aa825f11d438671d585bd44e7fd564535fc210" integrity sha512-82cpyJyKRoQoRi+14ibCeGPu0CwypgtBAdBhq1WfvagpCZNKqwXbKwXllYSMG91DhmG4jt9gN8eP6lGOtozuaw== -"@hotwired/turbo-rails@^7.1.0": +"@hotwired/turbo-rails@^7.1.0", "@hotwired/turbo-rails@^7.1.3": version "7.1.3" resolved "https://registry.yarnpkg.com/@hotwired/turbo-rails/-/turbo-rails-7.1.3.tgz#a4e04ecb800a06e7f9aa6e298170fa4580b74216" integrity sha512-6qKgn75bMWKx0bJgmSfrdC73EJkGLoSWZPAssvcd3nE7ZpDZff6f67j5OQNjjpRgNB7OFruom6VWguGQGu1fQg== @@ -1198,7 +1198,7 @@ resolved "https://registry.yarnpkg.com/@rails/request.js/-/request.js-0.0.6.tgz#5f0347a9f363e50ec45118c7134080490cda81d8" integrity sha512-dfFWaQXitYJ4kxrgGJNhDNXX54/v10YgoJqBMVe6lhqs6a4N9WD7goZJEvwin82TtK8MqUNhwfyisgKwM6dMdg== -"@rails/ujs@^6.1.4-1", "@rails/ujs@^6.1.6": +"@rails/ujs@^6.1.4-1": version "6.1.6" resolved "https://registry.yarnpkg.com/@rails/ujs/-/ujs-6.1.6.tgz#de486ae0a663e1bed637a012cbb2739bfcfa2031" integrity sha512-2M4zlthYmOC6X/tcPcFd//sIL26a7JbCpGNl8uIrQf+pR1Z47uhYt9cOwVqJTJZPurdy2k+YY3Pn64pqruAPEA== @@ -7511,11 +7511,6 @@ tty-browserify@0.0.0: resolved "https://registry.yarnpkg.com/tty-browserify/-/tty-browserify-0.0.0.tgz#a157ba402da24e9bf957f9aa69d524eed42901a6" integrity sha1-oVe6QC2iTpv5V/mqadUk7tQpAaY= -turbolinks@^5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/turbolinks/-/turbolinks-5.2.0.tgz#e6877a55ea5c1cb3bb225f0a4ae303d6d32ff77c" - integrity sha512-pMiez3tyBo6uRHFNNZoYMmrES/IaGgMhQQM+VFF36keryjb5ms0XkVpmKHkfW/4Vy96qiGW3K9bz0tF5sK9bBw== - type-check@^0.4.0, type-check@~0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/type-check/-/type-check-0.4.0.tgz#07b8203bfa7056c0657050e3ccd2c37730bab8f1"