Skip to content

Commit 2f38ac7

Browse files
committed
add sha as an npm command and update for release
1 parent 2925d2c commit 2f38ac7

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@
3333
"test": "npm run lint && npm run types-check && mocha-chrome test/index.html",
3434
"type-declarations": "tsc --project ./jsconfig.json",
3535
"ws-tests": "cd ./test/ws-sse && node ./server.js",
36-
"www": "bash ./scripts/www.sh"
36+
"www": "bash ./scripts/www.sh",
37+
"sha": "bash ./scripts/sha.sh"
3738
},
3839
"repository": {
3940
"type": "git",

www/content/docs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,13 +121,13 @@ The fastest way to get going with htmx is to load it via a CDN. You can simply a
121121
your head tag and get going:
122122

123123
```html
124-
<script src="https://unpkg.com/[email protected]" integrity="sha384-Kuy3zzgrd0iLfD2M/Bid8+jwLls454XKE9xFQE7OPj4VIwd1vlTS/4oNMxjpTtOw" crossorigin="anonymous"></script>
124+
<script src="https://unpkg.com/[email protected]" integrity="sha384-QWGpdj554B4ETpJJC9z+ZHJcA/i59TyjxEPXiiUgN2WmTyV5OEZWCD6gQhgkdpB/" crossorigin="anonymous"></script>
125125
```
126126

127127
An unminified version is also available for debugging as well:
128128

129129
```html
130-
<script src="https://unpkg.com/[email protected]/dist/htmx.js" integrity="sha384-ELJB0CrwJPIruxvwhqogOAeh84D/QrihzCpaCO63RB/OlBPyezKvFpceNNOra4PG" crossorigin="anonymous"></script>
130+
<script src="https://unpkg.com/[email protected]/dist/htmx.js" integrity="sha384-gpIh5aLQ0qmX8kZdyhsd6jA24uKLkqIr1WAGtantR4KsS97l/NRBvh8/8OYGThAf" crossorigin="anonymous"></script>
131131
```
132132

133133
While the CDN approach is extremely simple, you may want to consider

0 commit comments

Comments
 (0)