Skip to content

Commit 193a132

Browse files
committed
release: v0.19.3-pre.3
Improve error handling with Hono HttpException in adapters.
1 parent 42f9656 commit 193a132

File tree

20 files changed

+2864
-2916
lines changed

20 files changed

+2864
-2916
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,5 +80,6 @@ jobs:
8080
uses: softprops/action-gh-release@v2
8181
with:
8282
body_path: release-message.txt
83+
make_latest: false
8384
env:
8485
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.oxlintrc.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@
3434
"no-undefined": "allow",
3535
"no-unsafe-type-assertion": "allow",
3636
"only-throw-error": "allow",
37-
"return-await": "allow"
37+
"return-await": "allow",
38+
"switch-exhaustiveness-check": "warn",
39+
"strict-boolean-expressions": "allow",
40+
"typescript/strict-boolean-expressions": "allow"
3841
}
3942
}

apps/website/.oxlintrc.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
"builtin": true,
66
"node": true
77
},
8-
"rules": {},
8+
"rules": {
9+
"tsconfig-error": "warn",
10+
"typescript/tsconfig-error": "warn"
11+
},
912
"overrides": []
1013
}

apps/website/package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
"openapi": "cp ../../packages/core/dist/openapi.json ./static/openapi.json"
1919
},
2020
"dependencies": {
21-
"@docusaurus/core": "3.9.1",
22-
"@docusaurus/preset-classic": "3.9.1",
21+
"@docusaurus/core": "3.9.2",
22+
"@docusaurus/preset-classic": "3.9.2",
2323
"@easyops-cn/docusaurus-search-local": "^0.52.1",
2424
"@mdx-js/react": "^3.0.0",
2525
"clsx": "^2.0.0",
@@ -28,14 +28,14 @@
2828
"react-dom": "^19.0.0"
2929
},
3030
"devDependencies": {
31-
"@docusaurus/faster": "^3.9.1",
32-
"@docusaurus/module-type-aliases": "3.9.1",
33-
"@docusaurus/tsconfig": "3.9.1",
34-
"@docusaurus/types": "3.9.1",
35-
"@storybooker/core": "workspace:^",
31+
"@docusaurus/faster": "^3.9.2",
32+
"@docusaurus/module-type-aliases": "3.9.2",
33+
"@docusaurus/tsconfig": "3.9.2",
34+
"@docusaurus/types": "3.9.2",
35+
"@storybooker/core": "workspace:*",
3636
"@types/react": "^19.0.0",
37-
"oxlint": "^1.24.0",
38-
"oxlint-tsgolint": "^0.3.0",
37+
"oxlint": "^1.31.0",
38+
"oxlint-tsgolint": "^0.8.0",
3939
"prettier": "^3.6.2",
4040
"typescript": "^5.9.2"
4141
},

apps/website/tsconfig.json

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,23 @@
11
{
22
// This file is not used in compilation. It is here just for a nice editor experience.
3-
"extends": "@docusaurus/tsconfig",
3+
// "extends": "@docusaurus/tsconfig",
4+
"$schema": "https://json.schemastore.org/tsconfig",
5+
"display": "Docusaurus",
6+
"docs": "https://docusaurus.io/docs/typescript-support",
47
"compilerOptions": {
5-
"baseUrl": ".",
8+
"allowJs": true,
9+
"esModuleInterop": true,
10+
"jsx": "preserve",
11+
"target": "ES2022",
12+
"lib": ["ES2022", "DOM"],
13+
"moduleResolution": "bundler",
14+
"module": "esnext",
15+
"noEmit": true,
16+
// "baseUrl": ".",
17+
"paths": {
18+
"@site/*": ["./*"]
19+
},
20+
"skipLibCheck": true,
621
"strictNullChecks": true
722
},
823
"exclude": [".docusaurus", "build"]

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
},
3333
"devDependencies": {
3434
"@ianvs/prettier-plugin-sort-imports": "^4.4.1",
35-
"@octokit/request": "^10.0.7",
3635
"prettier": "^3.6.2",
3736
"turbo": "^2.5.6"
3837
},

packages/aws/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@storybooker/aws",
3-
"version": "0.19.3-pre.2",
3+
"version": "0.19.3-pre.3",
44
"type": "module",
55
"description": "StoryBooker Adapter for interacting with AWS services.",
66
"author": {
@@ -63,15 +63,15 @@
6363
"lint:fix": "yarn lint --fix"
6464
},
6565
"dependencies": {
66-
"@storybooker/core": "workspace:"
66+
"@storybooker/core": "workspace:*"
6767
},
6868
"devDependencies": {
6969
"@aws-sdk/client-dynamodb": "^3.895.0",
7070
"@aws-sdk/client-s3": "^3.895.0",
7171
"@types/node": "^22.0.0",
7272
"@typescript/native-preview": "^7.0.0-dev.20251024.1",
73-
"oxlint": "^1.24.0",
74-
"oxlint-tsgolint": "^0.3.0",
73+
"oxlint": "^1.31.0",
74+
"oxlint-tsgolint": "^0.8.0",
7575
"prettier": "^3.6.2",
7676
"tsdown": "^0.15.9"
7777
},

packages/azure/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@storybooker/azure",
3-
"version": "0.19.3-pre.2",
3+
"version": "0.19.3-pre.3",
44
"type": "module",
55
"description": "StoryBooker Adapter for interacting with Azure services.",
66
"author": {
@@ -76,8 +76,8 @@
7676
"start": "func start"
7777
},
7878
"dependencies": {
79-
"@storybooker/core": "workspace:",
80-
"@storybooker/ui": "workspace:"
79+
"@storybooker/core": "workspace:*",
80+
"@storybooker/ui": "workspace:*"
8181
},
8282
"devDependencies": {
8383
"@azure/cosmos": "^4.5.1",
@@ -86,8 +86,8 @@
8686
"@azure/storage-blob": "^12.0.0",
8787
"@types/node": "^22.0.0",
8888
"@typescript/native-preview": "^7.0.0-dev.20251024.1",
89-
"oxlint": "^1.24.0",
90-
"oxlint-tsgolint": "^0.3.0",
89+
"oxlint": "^1.31.0",
90+
"oxlint-tsgolint": "^0.8.0",
9191
"prettier": "^3.6.2",
9292
"tsdown": "^0.15.9"
9393
},

packages/cli/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "storybooker",
3-
"version": "0.19.3-pre.2",
3+
"version": "0.19.3-pre.3",
44
"type": "module",
55
"bin": "./dist/index.js",
66
"description": "Storybooker CLI for uploading builds and files.",
@@ -41,8 +41,8 @@
4141
"@types/yargs": "^17.0.33",
4242
"@typescript/native-preview": "^7.0.0-dev.20251024.1",
4343
"openapi-typescript": "^7.9.1",
44-
"oxlint": "^1.24.0",
45-
"oxlint-tsgolint": "^0.3.0",
44+
"oxlint": "^1.31.0",
45+
"oxlint-tsgolint": "^0.8.0",
4646
"prettier": "^3.6.2",
4747
"tsdown": "^0.15.9",
4848
"typescript": "^5.9.2"

packages/cli/src/commands/create.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,10 @@ export const createCommandModule: CommandModule = {
8585
throw new Error(z.prettifyError(result.error));
8686
}
8787

88-
const cwd = result.data.cwd ? path.resolve(result.data.cwd) : process.cwd();
88+
const cwd =
89+
result.data.cwd !== undefined && result.data.cwd !== ""
90+
? path.resolve(result.data.cwd)
91+
: process.cwd();
8992
if (cwd && !fs.existsSync(cwd)) {
9093
throw new Error(`Path provided to CWD does not exists: '${cwd}'`);
9194
}

0 commit comments

Comments
 (0)