Skip to content

Commit

Permalink
Update dependencies and pin prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
jakeboone02 committed Jun 11, 2024
1 parent 4592253 commit 03e3c2c
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 15 deletions.
Binary file modified bun.lockb
Binary file not shown.
5 changes: 2 additions & 3 deletions main.html
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,8 @@ <h4>Tests</h4>
if (optionsArr.length > 0) {
optionsStr = `, { ${optionsArr.join(', ')} }`;
}
document.getElementById(
'call'
).innerText = `formatQuantity(${input}${optionsStr})`;
document.getElementById('call').innerText =
`formatQuantity(${input}${optionsStr})`;
document.getElementById('result').innerText = JSON.stringify(
formatQuantity(input, options)
);
Expand Down
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,23 +47,23 @@
"scripts": {
"start": "bun --hot ./server.ts",
"build": "tsup",
"docs": "bunx typedoc",
"docs": "typedoc",
"test": "bun test",
"watch": "bun test --watch",
"publish:npm": "np",
"pretty-print": "prettier --write *.{mjs,ts,json} src/*.*"
"pretty-print": "prettier --write '*.{html,ts,json}' 'src/*.*'"
},
"devDependencies": {
"@types/node": "^20.11.2",
"@types/web": "^0.0.135",
"bun-types": "^1.0.22",
"np": "^9.2.0",
"open": "^10.0.3",
"prettier": "^3.2.2",
"tsup": "^8.0.1",
"typedoc": "^0.25.7",
"@types/bun": "^1.1.3",
"@types/node": "^20.14.2",
"@types/web": "^0.0.148",
"np": "^10.0.5",
"open": "^10.1.0",
"prettier": "3.3.2",
"tsup": "^8.1.0",
"typedoc": "^0.25.13",
"typedoc-plugin-katex": "^0.1.2",
"typescript": "^5.3.3"
"typescript": "^5.4.5"
},
"publishConfig": {
"registry": "https://registry.npmjs.org"
Expand Down
2 changes: 1 addition & 1 deletion umd.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
Expand Down

0 comments on commit 03e3c2c

Please sign in to comment.