Skip to content

Commit

Permalink
convert examples from Turbolinks to Turbo (#606)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienpoly authored Nov 22, 2022
1 parent 273f5a7 commit fbca2f3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
4 changes: 1 addition & 3 deletions examples/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import { Application } from "@hotwired/stimulus"
import Turbolinks from "turbolinks"

Turbolinks.start()
import "@hotwired/turbo"

const application = Application.start()

Expand Down
2 changes: 1 addition & 1 deletion examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-transform-runtime": "^7.14.5",
"@babel/preset-env": "^7.5.5",
"@hotwired/turbo": "^7.2.4",
"babel-loader": "^8.0.6",
"ejs": "^3.1.7",
"express": "^4.16.3",
"turbolinks": "^5.2.0",
"webpack": "^4.39.1",
"webpack-dev-middleware": "^3.7.0"
},
Expand Down
10 changes: 5 additions & 5 deletions examples/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -880,6 +880,11 @@
"@babel/helper-validator-identifier" "^7.14.5"
to-fast-properties "^2.0.0"

"@hotwired/turbo@^7.2.4":
version "7.2.4"
resolved "https://registry.yarnpkg.com/@hotwired/turbo/-/turbo-7.2.4.tgz#0d35541be32cfae3b4f78c6ab9138f5b21f28a21"
integrity sha512-c3xlOroHp/cCZHDOuLp6uzQYEbvXBUVaal0puXoGJ9M8L/KHwZ3hQozD4dVeSN9msHWLxxtmPT1TlCN7gFhj4w==

"@types/json-schema@^7.0.5":
version "7.0.8"
resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.8.tgz#edf1bf1dbf4e04413ca8e5b17b3b7d7d54b59818"
Expand Down Expand Up @@ -3813,11 +3818,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-is@~1.6.17, type-is@~1.6.18:
version "1.6.18"
resolved "https://registry.yarnpkg.com/type-is/-/type-is-1.6.18.tgz#4e552cd05df09467dcbc4ef739de89f2cf37c131"
Expand Down

0 comments on commit fbca2f3

Please sign in to comment.