This commit is contained in:
nelle 2024-09-11 05:36:12 -06:00
parent 5b6ffae251
commit addfaad779
3 changed files with 64 additions and 7 deletions

View file

@ -17,5 +17,9 @@
"astro-compressor": "^0.4.1",
"astro-font": "^0.0.81"
},
"packageManager": "pnpm@9.4.0+sha512.f549b8a52c9d2b8536762f99c0722205efc5af913e77835dbccc3b0b0b2ca9e7dc8022b78062c17291c48e88749c70ce88eb5a74f1fa8c4bf5e18bb46c8bd83a"
"packageManager": "pnpm@9.4.0+sha512.f549b8a52c9d2b8536762f99c0722205efc5af913e77835dbccc3b0b0b2ca9e7dc8022b78062c17291c48e88749c70ce88eb5a74f1fa8c4bf5e18bb46c8bd83a",
"devDependencies": {
"prettier": "^3.3.3",
"prettier-plugin-astro": "^0.14.1"
}
}

View file

@ -10,7 +10,7 @@ importers:
dependencies:
'@astrojs/check':
specifier: ^0.9.1
version: 0.9.1(typescript@5.5.4)
version: 0.9.1(prettier-plugin-astro@0.14.1)(prettier@3.3.3)(typescript@5.5.4)
'@astrojs/mdx':
specifier: ^3.1.3
version: 3.1.3(astro@4.13.1(typescript@5.5.4))
@ -26,6 +26,13 @@ importers:
astro-font:
specifier: ^0.0.81
version: 0.0.81
devDependencies:
prettier:
specifier: ^3.3.3
version: 3.3.3
prettier-plugin-astro:
specifier: ^0.14.1
version: 0.14.1
packages:
@ -1520,6 +1527,15 @@ packages:
resolution: {integrity: sha512-gYBeFTZLu055D8Vv3cSPox/0iTPtkzxpLroSYYA7WXgRi31WCJ51Uyl8ZiPeUUjyvs2MBzK+S8v9JVUgHU/Sqw==}
engines: {node: '>=18.12'}
prettier-plugin-astro@0.14.1:
resolution: {integrity: sha512-RiBETaaP9veVstE4vUwSIcdATj6dKmXljouXc/DDNwBSPTp8FRkLGDSGFClKsAFeeg+13SB0Z1JZvbD76bigJw==}
engines: {node: ^14.15.0 || >=16.0.0}
prettier@3.3.3:
resolution: {integrity: sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==}
engines: {node: '>=14'}
hasBin: true
prismjs@1.29.0:
resolution: {integrity: sha512-Kx/1w86q/epKcmte75LNrEoT+lX8pBpavuAbvJWRXar7Hz8jrtF+e3vY751p0R8H9HdArwaCTNDDzHg/ScJK1Q==}
engines: {node: '>=6'}
@ -1604,6 +1620,12 @@ packages:
run-parallel@1.2.0:
resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==}
s.color@0.0.15:
resolution: {integrity: sha512-AUNrbEUHeKY8XsYr/DYpl+qk5+aM+DChopnWOPEzn8YKzOhv4l2zH6LzZms3tOZP3wwdOyc0RmTciyi46HLIuA==}
sass-formatter@0.7.9:
resolution: {integrity: sha512-CWZ8XiSim+fJVG0cFLStwDvft1VI7uvXdCNJYXhDvowiv+DsbD1nXLiQ4zrE5UBvj5DWZJ93cwN0NX5PMsr1Pw==}
section-matter@1.0.0:
resolution: {integrity: sha512-vfD3pmTzGpufjScBh50YHKzEu2lxBWhVEHsNGoEXmCmn2hKGfeNLYMzCJpe8cD7gqX7TJluOVpBkAequ6dgMmA==}
engines: {node: '>=4'}
@ -1707,6 +1729,9 @@ packages:
style-to-object@1.0.6:
resolution: {integrity: sha512-khxq+Qm3xEyZfKd/y9L3oIWQimxuc4STrQKtQn8aSDRHb8mFgpukgX1hdzfrMEW6JCjyJ8p89x+IUMVnCBI1PA==}
suf-log@2.5.3:
resolution: {integrity: sha512-KvC8OPjzdNOe+xQ4XWJV2whQA0aM1kGVczMQ8+dStAO6KfEB140JEVQ9dE76ONZ0/Ylf67ni4tILPJB41U0eow==}
supports-color@5.5.0:
resolution: {integrity: sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==}
engines: {node: '>=4'}
@ -1985,9 +2010,9 @@ snapshots:
'@jridgewell/gen-mapping': 0.3.5
'@jridgewell/trace-mapping': 0.3.25
'@astrojs/check@0.9.1(typescript@5.5.4)':
'@astrojs/check@0.9.1(prettier-plugin-astro@0.14.1)(prettier@3.3.3)(typescript@5.5.4)':
dependencies:
'@astrojs/language-server': 2.13.1(typescript@5.5.4)
'@astrojs/language-server': 2.13.1(prettier-plugin-astro@0.14.1)(prettier@3.3.3)(typescript@5.5.4)
chokidar: 3.6.0
fast-glob: 3.3.2
kleur: 4.1.5
@ -2001,7 +2026,7 @@ snapshots:
'@astrojs/internal-helpers@0.4.1': {}
'@astrojs/language-server@2.13.1(typescript@5.5.4)':
'@astrojs/language-server@2.13.1(prettier-plugin-astro@0.14.1)(prettier@3.3.3)(typescript@5.5.4)':
dependencies:
'@astrojs/compiler': 2.10.1
'@jridgewell/sourcemap-codec': 1.5.0
@ -2015,11 +2040,14 @@ snapshots:
volar-service-css: 0.0.59(@volar/language-service@2.4.0-alpha.18)
volar-service-emmet: 0.0.59(@volar/language-service@2.4.0-alpha.18)
volar-service-html: 0.0.59(@volar/language-service@2.4.0-alpha.18)
volar-service-prettier: 0.0.59(@volar/language-service@2.4.0-alpha.18)
volar-service-prettier: 0.0.59(@volar/language-service@2.4.0-alpha.18)(prettier@3.3.3)
volar-service-typescript: 0.0.59(@volar/language-service@2.4.0-alpha.18)
volar-service-typescript-twoslash-queries: 0.0.59(@volar/language-service@2.4.0-alpha.18)
vscode-html-languageservice: 5.3.0
vscode-uri: 3.0.8
optionalDependencies:
prettier: 3.3.3
prettier-plugin-astro: 0.14.1
transitivePeerDependencies:
- typescript
@ -3880,6 +3908,14 @@ snapshots:
find-yarn-workspace-root2: 1.2.16
which-pm: 3.0.0
prettier-plugin-astro@0.14.1:
dependencies:
'@astrojs/compiler': 2.10.1
prettier: 3.3.3
sass-formatter: 0.7.9
prettier@3.3.3: {}
prismjs@1.29.0: {}
prompts@2.4.2:
@ -4030,6 +4066,12 @@ snapshots:
dependencies:
queue-microtask: 1.2.3
s.color@0.0.15: {}
sass-formatter@0.7.9:
dependencies:
suf-log: 2.5.3
section-matter@1.0.0:
dependencies:
extend-shallow: 2.0.1
@ -4145,6 +4187,10 @@ snapshots:
dependencies:
inline-style-parser: 0.2.3
suf-log@2.5.3:
dependencies:
s.color: 0.0.15
supports-color@5.5.0:
dependencies:
has-flag: 3.0.0
@ -4291,11 +4337,12 @@ snapshots:
optionalDependencies:
'@volar/language-service': 2.4.0-alpha.18
volar-service-prettier@0.0.59(@volar/language-service@2.4.0-alpha.18):
volar-service-prettier@0.0.59(@volar/language-service@2.4.0-alpha.18)(prettier@3.3.3):
dependencies:
vscode-uri: 3.0.8
optionalDependencies:
'@volar/language-service': 2.4.0-alpha.18
prettier: 3.3.3
volar-service-typescript-twoslash-queries@0.0.59(@volar/language-service@2.4.0-alpha.18):
dependencies:

View file

@ -29,6 +29,12 @@ const msgPFX = "message: ";
const attachPFX = "attachment: ";
const clickPFX = "click-action: ";
document.addEventListener("keydown", (event) => {
if (event.ctrlKey && event.key == "Enter") {
ntfyClick
}
});
// Random placeholder
function getPlaceholder() {
placeholderSelector = Math.floor(Math.random() * 8) + 1;