Skip to content

Commit

Permalink
revert stimulus-clipboard update
Browse files Browse the repository at this point in the history
  • Loading branch information
nick committed Aug 21, 2024
1 parent af9851a commit 2833fb2
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
3 changes: 1 addition & 2 deletions app/javascript/controllers/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,5 @@ eagerLoadControllersFrom("controllers", application)
// import { lazyLoadControllersFrom } from "@hotwired/stimulus-loading"
// lazyLoadControllersFrom("controllers", application)

import Clipboard from '@stimulus-components/clipboard'

import Clipboard from "stimulus-clipboard"
application.register('clipboard', Clipboard)
2 changes: 1 addition & 1 deletion config/importmap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
pin "@rails/actiontext", to: "actiontext.esm.js"
pin "marked" # @12.0.1
pin "highlight.js", to: "https://ga.jspm.io/npm:[email protected]/es/index.js"
pin "@stimulus-components/clipboard", to: "@stimulus-components--clipboard.js" # @5.0.0
pin "stimulus-clipboard" # @4.0.1
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"dependencies": {
"highlight.js": "^11.9.0",
"marked": "^12.0.1",
"stimulus-clipboard": "^4.0.1",
"tailwind-highlightjs": "^2.0.1"
}
}
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,11 @@ source-map@^0.6.1:
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263"
integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==

stimulus-clipboard@^4.0.1:
version "4.0.1"
resolved "https://registry.yarnpkg.com/stimulus-clipboard/-/stimulus-clipboard-4.0.1.tgz#acc9212b479fedc633ecdec8f191a28c1d826a6b"
integrity sha512-dem+ihC3Q8+gbyGINdd+dK+9d5vUTnOwoH+n3KcDJvbxrFcq9lV8mWjyhEaDquGxYy3MmqSdz9FHQbG88TBqGg==

sync-fetch@^0.3.0:
version "0.3.1"
resolved "https://registry.yarnpkg.com/sync-fetch/-/sync-fetch-0.3.1.tgz#62aa82c4b4d43afd6906bfd7b5f92056458509f0"
Expand Down

0 comments on commit 2833fb2

Please sign in to comment.