Compare commits

...

2 Commits

Author SHA1 Message Date
c7fed4bac6 update shrimp 2025-11-05 15:24:34 -08:00
2d6af63d14 text tag... 2025-11-05 15:24:29 -08:00
2 changed files with 6 additions and 2 deletions

View File

@ -61,9 +61,9 @@
"hono": ["hono@4.10.4", "", {}, "sha512-YG/fo7zlU3KwrBL5vDpWKisLYiM+nVstBQqfr7gCPbSYURnNEP9BDxEMz8KfsDR9JX0lJWDRNc6nXX31v7ZEyg=="],
"reefvm": ["reefvm@git+https://git.nose.space/defunkt/reefvm#33ea94a2476f87f22408dce8b7beb3587070e01b", { "peerDependencies": { "typescript": "^5" } }, "33ea94a2476f87f22408dce8b7beb3587070e01b"],
"reefvm": ["reefvm@git+https://git.nose.space/defunkt/reefvm#bd1736b474b1f3d89c4095dbfa0ff8d858f91241", { "peerDependencies": { "typescript": "^5" } }, "bd1736b474b1f3d89c4095dbfa0ff8d858f91241"],
"shrimp": ["shrimp@git+https://git.nose.space/probablycorey/shrimp#1a3e041001358ce6b10078c46a6585e76633310f", { "dependencies": { "@codemirror/view": "^6.38.3", "@lezer/generator": "^1.8.0", "bun-plugin-tailwind": "^0.0.15", "codemirror": "^6.0.2", "hono": "^4.9.8", "reefvm": "git+https://git.nose.space/defunkt/reefvm", "tailwindcss": "^4.1.11" } }, "1a3e041001358ce6b10078c46a6585e76633310f"],
"shrimp": ["shrimp@git+https://git.nose.space/probablycorey/shrimp#f4a065beae7736c1aad99bef5e39c77f84678a7b", { "dependencies": { "@codemirror/view": "^6.38.3", "@lezer/generator": "^1.8.0", "bun-plugin-tailwind": "^0.0.15", "codemirror": "^6.0.2", "hono": "^4.9.8", "reefvm": "git+https://git.nose.space/defunkt/reefvm", "tailwindcss": "^4.1.11" } }, "f4a065beae7736c1aad99bef5e39c77f84678a7b"],
"style-mod": ["style-mod@4.1.3", "", {}, "sha512-i/n8VsZydrugj3Iuzll8+x/00GH2vnYsk1eomD8QiRrSAeW6ItbCQDtfXCeJHd0iwiNagqjQkvpvREEPtW3IoQ=="],

View File

@ -46,6 +46,10 @@ export const ribbitGlobals = {
tag: async (tagFn: Function, atDefaults = {}) =>
(atNamed = {}, ...args: any[]) => tagFn(Object.assign({}, atDefaults, atNamed), ...args),
nospace: () => NOSPACE_TOKEN,
text: (...args: string[]) => {
buffer.push(args.join(' '))
return TAG_TOKEN
}
}
for (const name of HTML5_TAGS) {