Skip to content

Commit

Permalink
beta.3
Browse files Browse the repository at this point in the history
  • Loading branch information
sjc5 committed Oct 23, 2023
1 parent cbdf306 commit ac0190b
Show file tree
Hide file tree
Showing 12 changed files with 48 additions and 23 deletions.
1 change: 1 addition & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"changesets": [
"early-readers-rule",
"famous-adults-push",
"neat-moles-brush",
"rude-kiwis-approve"
]
}
24 changes: 12 additions & 12 deletions docs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
6 changes: 6 additions & 0 deletions packages/build/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @hwy-js/build

## 0.4.2-beta.3

### Patch Changes

- Update types

## 0.4.2-beta.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/build/package.json
Original file line number Diff line number Diff line change
@@ -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"
},
Expand Down
6 changes: 6 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# hwy

## 0.4.2-beta.3

### Patch Changes

- Update types

## 0.4.2-beta.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hwy",
"version": "0.4.2-beta.2",
"version": "0.4.2-beta.3",
"author": {
"name": "Samuel J. Cook"
},
Expand Down
8 changes: 4 additions & 4 deletions packages/core/src/router/get-matching-path-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
6 changes: 6 additions & 0 deletions packages/create-hwy/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# create-hwy

## 0.4.2-beta.3

### Patch Changes

- Update types

## 0.4.2-beta.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/create-hwy/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-hwy",
"version": "0.4.2-beta.2",
"version": "0.4.2-beta.3",
"author": {
"name": "Samuel J. Cook"
},
Expand Down
6 changes: 6 additions & 0 deletions packages/dev/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @hwy-js/dev

## 0.4.2-beta.3

### Patch Changes

- Update types

## 0.4.2-beta.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/dev/package.json
Original file line number Diff line number Diff line change
@@ -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"
},
Expand Down

0 comments on commit ac0190b

Please sign in to comment.