Skip to content

Commit c43bbd4

Browse files
Include puzzle shell over npm package instead of cdn and use newest version
1 parent de8b008 commit c43bbd4

File tree

4 files changed

+63
-2
lines changed

4 files changed

+63
-2
lines changed

app/javascript/application.js

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
import "@hotwired/turbo-rails"
2+
import "@puzzleitc/puzzle-shell"
23
import "./controllers"

app/views/layouts/application.html.haml

-2
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@
1010
= csrf_meta_tags
1111
= csp_meta_tag
1212
= stylesheet_link_tag "application", "data-turbo-track": "reload"
13-
= stylesheet_link_tag "https://unpkg.com/@puzzleitc/puzzle-shell/dist/style.css"
1413
= javascript_include_tag "application", "data-turbo-track": "reload", type: "module"
15-
= javascript_include_tag "https://unpkg.com/@puzzleitc/puzzle-shell/dist/bundle.js", type: "module"
1614
= favicon_link_tag "favicon.png"
1715
%body#dropdown-wormhole.d-flex.justify-content-center{"data-controller": "skills-empty-space"}
1816
%div.content{"data-skills-empty-space-target": "container"}

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"@hotwired/stimulus": "^3.2.2",
66
"@hotwired/turbo-rails": "^8.0.12",
77
"@popperjs/core": "^2.11.8",
8+
"@puzzleitc/puzzle-shell": "^5.1.0",
89
"autoprefixer": "^10.4.17",
910
"bootstrap": "^5.3.2",
1011
"bootstrap-icons": "^1.11.3",

yarn.lock

+61
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,16 @@
127127
resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.25.0.tgz#c8e119a30a7c8d60b9d2e22d2073722dde3b710b"
128128
integrity sha512-ZENoHJBxA20C2zFzh6AI4fT6RraMzjYw4xKWemRTRmRVtN9c5DcH9r/f2ihEkMjOW5eGgrwCslG/+Y/3bL+DHQ==
129129

130+
"@fontsource/[email protected]":
131+
version "5.2.5"
132+
resolved "https://registry.yarnpkg.com/@fontsource/roboto-mono/-/roboto-mono-5.2.5.tgz#3919f877a90d35621879066ee7082c8df6118990"
133+
integrity sha512-P1wrUBMFWfr+tuUIY10MzdRTBcl9f011CbZV1fXqcCk40Xmtn91l1V1daVuQ+JPctYEVYazabvaK+sUEThgnyw==
134+
135+
"@fontsource/[email protected]":
136+
version "5.2.5"
137+
resolved "https://registry.yarnpkg.com/@fontsource/roboto/-/roboto-5.2.5.tgz#b2d869075277e2cba31694951a2d355a8965d763"
138+
integrity sha512-70r2UZ0raqLn5W+sPeKhqlf8wGvUXFWlofaDlcbt/S3d06+17gXKr3VNqDODB0I1ASme3dGT5OJj9NABt7OTZQ==
139+
130140
"@hotwired/stimulus@^3.2.2":
131141
version "3.2.2"
132142
resolved "https://registry.yarnpkg.com/@hotwired/stimulus/-/stimulus-3.2.2.tgz#071aab59c600fed95b97939e605ff261a4251608"
@@ -145,6 +155,18 @@
145155
resolved "https://registry.yarnpkg.com/@hotwired/turbo/-/turbo-8.0.12.tgz#50aa8345d7f62402680c6d2d9814660761837001"
146156
integrity sha512-l3BiQRkD7qrnQv6ms6sqPLczvwbQpXt5iAVwjDvX0iumrz6yEonQkNAzNjeDX25/OJMFDTxpHjkJZHGpM9ikWw==
147157

158+
"@lit-labs/ssr-dom-shim@^1.2.0":
159+
version "1.3.0"
160+
resolved "https://registry.yarnpkg.com/@lit-labs/ssr-dom-shim/-/ssr-dom-shim-1.3.0.tgz#a28799c463177d1a0b0e5cefdc173da5ac859eb4"
161+
integrity sha512-nQIWonJ6eFAvUUrSlwyHDm/aE8PBDu5kRpL0vHMg6K8fK3Diq1xdPjTnsJSwxABhaZ+5eBi1btQB5ShUTKo4nQ==
162+
163+
"@lit/reactive-element@^2.1.0":
164+
version "2.1.0"
165+
resolved "https://registry.yarnpkg.com/@lit/reactive-element/-/reactive-element-2.1.0.tgz#177148214488068ae209669040b7ce0f4dcc0d36"
166+
integrity sha512-L2qyoZSQClcBmq0qajBVbhYEcG6iK0XfLn66ifLe/RfC0/ihpc+pl0Wdn8bJ8o+hj38cG0fGXRgSS20MuXn7qA==
167+
dependencies:
168+
"@lit-labs/ssr-dom-shim" "^1.2.0"
169+
148170
"@nodelib/[email protected]":
149171
version "2.1.5"
150172
resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5"
@@ -171,6 +193,15 @@
171193
resolved "https://registry.yarnpkg.com/@popperjs/core/-/core-2.11.8.tgz#6b79032e760a0899cd4204710beede972a3a185f"
172194
integrity sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==
173195

196+
"@puzzleitc/puzzle-shell@^5.1.0":
197+
version "5.1.0"
198+
resolved "https://registry.yarnpkg.com/@puzzleitc/puzzle-shell/-/puzzle-shell-5.1.0.tgz#0f036d519bf6bbae929c52c72c74e15c5c134009"
199+
integrity sha512-MB3FQehMT3ZbhrfR6CGZL4ziTiA7P1rJnlRwEdmsMxugfrAFUVKXmXuWFUA+iuQaU8AFDvKvG58iopaUCzmKrg==
200+
dependencies:
201+
"@fontsource/roboto" "5.2.5"
202+
"@fontsource/roboto-mono" "5.2.5"
203+
lit "3.3.0"
204+
174205
"@rails/actioncable@^7.0":
175206
version "7.2.201"
176207
resolved "https://registry.yarnpkg.com/@rails/actioncable/-/actioncable-7.2.201.tgz#bfb3da01b3e2462f5a18f372c52dedd7de76037f"
@@ -181,6 +212,11 @@
181212
resolved "https://registry.yarnpkg.com/@sindresorhus/merge-streams/-/merge-streams-2.3.0.tgz#719df7fb41766bc143369eaa0dd56d8dc87c9958"
182213
integrity sha512-LtoMMhxAlorcGhmFYI+LhPgbPZCkgP6ra1YL604EeF6U98pLlQ3iWIGMdWSC+vWmPBWBNgmDBAhnAobLROJmwg==
183214

215+
"@types/trusted-types@^2.0.2":
216+
version "2.0.7"
217+
resolved "https://registry.yarnpkg.com/@types/trusted-types/-/trusted-types-2.0.7.tgz#baccb07a970b91707df3a3e8ba6896c57ead2d11"
218+
integrity sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==
219+
184220
ansi-regex@^5.0.1:
185221
version "5.0.1"
186222
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304"
@@ -515,6 +551,31 @@ lilconfig@^3.1.1:
515551
resolved "https://registry.yarnpkg.com/lilconfig/-/lilconfig-3.1.3.tgz#a1bcfd6257f9585bf5ae14ceeebb7b559025e4c4"
516552
integrity sha512-/vlFKAoH5Cgt3Ie+JLhRbwOsCQePABiU3tJ1egGvyQ+33R/vcwM2Zl2QR/LzjsBeItPt3oSVXapn+m4nQDvpzw==
517553

554+
lit-element@^4.2.0:
555+
version "4.2.0"
556+
resolved "https://registry.yarnpkg.com/lit-element/-/lit-element-4.2.0.tgz#75dcf9e5fae3e3b5fd3f02a5d297c582d0bb0ba3"
557+
integrity sha512-MGrXJVAI5x+Bfth/pU9Kst1iWID6GHDLEzFEnyULB/sFiRLgkd8NPK/PeeXxktA3T6EIIaq8U3KcbTU5XFcP2Q==
558+
dependencies:
559+
"@lit-labs/ssr-dom-shim" "^1.2.0"
560+
"@lit/reactive-element" "^2.1.0"
561+
lit-html "^3.3.0"
562+
563+
lit-html@^3.3.0:
564+
version "3.3.0"
565+
resolved "https://registry.yarnpkg.com/lit-html/-/lit-html-3.3.0.tgz#f66c734a6c69dbb12abf9a718fa5d3dfb46d0b7c"
566+
integrity sha512-RHoswrFAxY2d8Cf2mm4OZ1DgzCoBKUKSPvA1fhtSELxUERq2aQQ2h05pO9j81gS1o7RIRJ+CePLogfyahwmynw==
567+
dependencies:
568+
"@types/trusted-types" "^2.0.2"
569+
570+
571+
version "3.3.0"
572+
resolved "https://registry.yarnpkg.com/lit/-/lit-3.3.0.tgz#b3037ea94676fb89c3dde9951914efefd0441f17"
573+
integrity sha512-DGVsqsOIHBww2DqnuZzW7QsuCdahp50ojuDaBPC7jUDRpYoH0z7kHBBYZewRzer75FwtrkmkKk7iOAwSaWdBmw==
574+
dependencies:
575+
"@lit/reactive-element" "^2.1.0"
576+
lit-element "^4.2.0"
577+
lit-html "^3.3.0"
578+
518579
merge2@^1.3.0:
519580
version "1.4.1"
520581
resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae"

0 commit comments

Comments
 (0)