diff --git a/.changeset/pre.json b/.changeset/pre.json index a06c4782..fbe31c97 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -12,6 +12,7 @@ "changesets": [ "early-readers-rule", "famous-adults-push", + "neat-moles-brush", "rude-kiwis-approve" ] } diff --git a/docs/package-lock.json b/docs/package-lock.json index ea62dd32..cfad79fa 100644 --- a/docs/package-lock.json +++ b/docs/package-lock.json @@ -11,11 +11,11 @@ "@hono/node-server": "^1.2.0", "highlight.js": "^11.9.0", "hono": "^3.8.3", - "hwy": "0.4.2-beta.1" + "hwy": "0.4.2-beta.3" }, "devDependencies": { - "@hwy-js/build": "0.4.2-beta.1", - "@hwy-js/dev": "0.4.2-beta.1", + "@hwy-js/build": "0.4.2-beta.3", + "@hwy-js/dev": "0.4.2-beta.3", "@types/node": "^20.8.7", "@types/nprogress": "^0.2.2", "htmx.org": "^1.9.6", @@ -400,9 +400,9 @@ } }, "node_modules/@hwy-js/build": { - "version": "0.4.2-beta.1", - "resolved": "https://registry.npmjs.org/@hwy-js/build/-/build-0.4.2-beta.1.tgz", - "integrity": "sha512-Trti+N0SOtfI9AH6tq3kR9daPty2uMQGMgMn+15839J4V+qL8UrsHuVjLhdYqNiC2IoLJ47eBZ/k6Gs+P9+wug==", + "version": "0.4.2-beta.3", + "resolved": "https://registry.npmjs.org/@hwy-js/build/-/build-0.4.2-beta.3.tgz", + "integrity": "sha512-EM3w1P4Ic+umNgPOyngTey4NTpln5jfzsXfc4b+2GzM5sshyKk3uEoQe5wJkAj5WmdUrN3UV9fe/YtBsMguexg==", "dev": true, "dependencies": { "chokidar": "^3.5.3", @@ -417,9 +417,9 @@ } }, "node_modules/@hwy-js/dev": { - "version": "0.4.2-beta.1", - "resolved": "https://registry.npmjs.org/@hwy-js/dev/-/dev-0.4.2-beta.1.tgz", - "integrity": "sha512-No3fmol9/1u0t8uc58hbgpxHtVG3ORqPTFKfARAVVpWvASmKs8X/4vhlFYUlC03aJ3X4NG24SOiu75ehM8caxQ==", + "version": "0.4.2-beta.3", + "resolved": "https://registry.npmjs.org/@hwy-js/dev/-/dev-0.4.2-beta.3.tgz", + "integrity": "sha512-cSxJ/IVCvwyqMgLXALlA+IKbCkYqdu0eBP0OVt7cVG6v07h0VaAg8Os+2WudC8z5RgPF8GWLItkQ9eyvztGsVQ==", "dev": true, "dependencies": { "picocolors": "^1.0.0" @@ -830,9 +830,9 @@ "dev": true }, "node_modules/hwy": { - "version": "0.4.2-beta.1", - "resolved": "https://registry.npmjs.org/hwy/-/hwy-0.4.2-beta.1.tgz", - "integrity": "sha512-eKuYvtlkVbcOGEiJJCNH0yUdPUvFMHVyJNFkEzxRpYkMxj0viB6TmwQvamMRvzPPw/jaWQKW00bzTnbh/u4DXA==" + "version": "0.4.2-beta.3", + "resolved": "https://registry.npmjs.org/hwy/-/hwy-0.4.2-beta.3.tgz", + "integrity": "sha512-ebOi8MCuzDOR6emoPC0WMgGCViNr1mcImURwOFjsFt0QPpi61JCAN/SuHUVfZr45TW4R7LBsqxbxRfxIvaz7aA==" }, "node_modules/inflight": { "version": "1.0.6", diff --git a/docs/package.json b/docs/package.json index 5f3844e7..202cd985 100644 --- a/docs/package.json +++ b/docs/package.json @@ -13,11 +13,11 @@ "@hono/node-server": "^1.2.0", "highlight.js": "^11.9.0", "hono": "^3.8.3", - "hwy": "0.4.2-beta.1" + "hwy": "0.4.2-beta.3" }, "devDependencies": { - "@hwy-js/build": "0.4.2-beta.1", - "@hwy-js/dev": "0.4.2-beta.1", + "@hwy-js/build": "0.4.2-beta.3", + "@hwy-js/dev": "0.4.2-beta.3", "@types/node": "^20.8.7", "@types/nprogress": "^0.2.2", "htmx.org": "^1.9.6", diff --git a/packages/build/CHANGELOG.md b/packages/build/CHANGELOG.md index 2184b45c..fef56bf8 100644 --- a/packages/build/CHANGELOG.md +++ b/packages/build/CHANGELOG.md @@ -1,5 +1,11 @@ # @hwy-js/build +## 0.4.2-beta.3 + +### Patch Changes + +- Update types + ## 0.4.2-beta.2 ### Patch Changes diff --git a/packages/build/package.json b/packages/build/package.json index f362f1da..68430576 100644 --- a/packages/build/package.json +++ b/packages/build/package.json @@ -1,6 +1,6 @@ { "name": "@hwy-js/build", - "version": "0.4.2-beta.2", + "version": "0.4.2-beta.3", "author": { "name": "Samuel J. Cook" }, diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index b8279837..84408d90 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,11 @@ # hwy +## 0.4.2-beta.3 + +### Patch Changes + +- Update types + ## 0.4.2-beta.2 ### Patch Changes diff --git a/packages/core/package.json b/packages/core/package.json index 38c4be99..09c6ab5c 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "hwy", - "version": "0.4.2-beta.2", + "version": "0.4.2-beta.3", "author": { "name": "Samuel J. Cook" }, diff --git a/packages/core/src/router/get-matching-path-data.ts b/packages/core/src/router/get-matching-path-data.ts index af406279..1cced1f4 100644 --- a/packages/core/src/router/get-matching-path-data.ts +++ b/packages/core/src/router/get-matching-path-data.ts @@ -60,20 +60,20 @@ function fully_decorate_paths({ throw e; } }, - loader: async (loader_args: DataFunctionArgs) => { + loader: async (loaderArgs: DataFunctionArgs) => { try { const imported = await get_imported(); - return imported.loader ? imported.loader(loader_args) : undefined; + return imported.loader ? imported.loader(loaderArgs) : undefined; } catch (e) { if (e instanceof Response) return e; console.error(e); throw e; } }, - action: async (action_args: DataFunctionArgs) => { + action: async (actionArgs: DataFunctionArgs) => { try { const imported = await get_imported(); - return imported.action ? imported.action(action_args) : undefined; + return imported.action ? imported.action(actionArgs) : undefined; } catch (e) { if (e instanceof Response) return e; console.error(e); diff --git a/packages/create-hwy/CHANGELOG.md b/packages/create-hwy/CHANGELOG.md index e5c867f6..5adcd685 100644 --- a/packages/create-hwy/CHANGELOG.md +++ b/packages/create-hwy/CHANGELOG.md @@ -1,5 +1,11 @@ # create-hwy +## 0.4.2-beta.3 + +### Patch Changes + +- Update types + ## 0.4.2-beta.2 ### Patch Changes diff --git a/packages/create-hwy/package.json b/packages/create-hwy/package.json index 785332a2..ccad5cda 100644 --- a/packages/create-hwy/package.json +++ b/packages/create-hwy/package.json @@ -1,6 +1,6 @@ { "name": "create-hwy", - "version": "0.4.2-beta.2", + "version": "0.4.2-beta.3", "author": { "name": "Samuel J. Cook" }, diff --git a/packages/dev/CHANGELOG.md b/packages/dev/CHANGELOG.md index 05f85103..80594b80 100644 --- a/packages/dev/CHANGELOG.md +++ b/packages/dev/CHANGELOG.md @@ -1,5 +1,11 @@ # @hwy-js/dev +## 0.4.2-beta.3 + +### Patch Changes + +- Update types + ## 0.4.2-beta.2 ### Patch Changes diff --git a/packages/dev/package.json b/packages/dev/package.json index 8e51fb9d..547c41d5 100644 --- a/packages/dev/package.json +++ b/packages/dev/package.json @@ -1,6 +1,6 @@ { "name": "@hwy-js/dev", - "version": "0.4.2-beta.2", + "version": "0.4.2-beta.3", "author": { "name": "Samuel J. Cook" },