htmx-router
Advanced tools
Comparing version 1.0.0-alpha.0 to 1.0.0-alpha.1
@@ -8,3 +8,3 @@ #!/usr/bin/env node | ||
const config = await ReadConfig(); | ||
console.log("Building router"); | ||
console.info("Building router"); | ||
const routes = relative(config.router.output, config.router.folder).replaceAll("\\", "/").slice(1); | ||
@@ -57,4 +57,4 @@ await writeFile(config.router.output, `/*------------------------------------------ | ||
if (config.client) { | ||
console.log("Building client islands"); | ||
console.info("Building client islands"); | ||
await GenerateClient(config.client, true); | ||
} |
@@ -39,3 +39,3 @@ import { QuickHash } from "../util/hash.js"; | ||
throw new Error("Client manifest missing"); | ||
console.log("hydrating..."); | ||
console.info("hydrating..."); | ||
for (const [funcName, element, json] of mountRequests) { | ||
@@ -62,3 +62,2 @@ const func = global.CLIENT[funcName]; | ||
const hash = QuickHash(script); | ||
console.log(CutString(ClientMounter.toString(), "{")[1]); | ||
export function _resolve(fragments) { | ||
@@ -65,0 +64,0 @@ if (!fragments[2]) |
@@ -14,3 +14,3 @@ import { watch } from "fs"; | ||
const rebuild = () => { | ||
console.log("Building client"); | ||
console.info("Building client"); | ||
GenerateClient(client).catch(console.error); | ||
@@ -17,0 +17,0 @@ }; |
{ | ||
"name": "htmx-router", | ||
"version": "1.0.0-alpha.0", | ||
"version": "1.0.0-alpha.1", | ||
"description": "A simple SSR framework with dynamic+client islands", | ||
@@ -24,2 +24,3 @@ "main": "./bin/index.js", | ||
"dependencies": { | ||
"es-module-lexer": "^1.5.4", | ||
"vite": "^6.0.1" | ||
@@ -29,3 +30,2 @@ }, | ||
"@types/node": "^20.4.5", | ||
"es-module-lexer": "^1.5.4", | ||
"ts-node": "^10.9.1", | ||
@@ -32,0 +32,0 @@ "tsc-alias": "^1.8.10", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
4
0
46751
2
1107
+ Addedes-module-lexer@^1.5.4
+ Addedes-module-lexer@1.6.0(transitive)
+ Addedpostcss@8.5.2(transitive)
- Removedpostcss@8.5.1(transitive)