Skip to content

Commit 7e4c0dd

Browse files
committed
Release v0.19.4
Export FS based adapters from @storybooker/core/adapter/fs
1 parent 5342a58 commit 7e4c0dd

File tree

19 files changed

+480
-461
lines changed

19 files changed

+480
-461
lines changed

apps/website/docs/core/bun.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import { createHonoRouter } from "@storybooker/core";
1616
import {
1717
LocalFileDatabase,
1818
LocalFileStorage,
19-
} from "@storybooker/core/adapters";
19+
} from "@storybooker/core/adapter/fs";
2020
import { createBasicUIAdapter } from "@storybooker/ui";
2121

2222
// Create StoryBooker router

apps/website/docs/core/deno.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import { createHonoRouter } from "jsr:@storybooker/core";
1818
import {
1919
LocalFileDatabase,
2020
LocalFileStorage,
21-
} from "jsr:@storybooker/core/adapters";
21+
} from "jsr:@storybooker/core/adapter/fs";
2222
import { createBasicUIAdapter } from "npm:@storybooker/ui";
2323

2424
// Create StoryBooker router

apps/website/docs/core/node.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import { createHonoRouter } from "@storybooker/core";
1919
import {
2020
LocalFileDatabase,
2121
LocalFileStorage,
22-
} from "@storybooker/core/adapters";
22+
} from "@storybooker/core/adapter/fs";
2323
import { createBasicUIAdapter } from "npm:@storybooker/ui";
2424

2525
// Create StoryBooker Hono router
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"label": "UI"
3+
}

packages/aws/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@storybooker/aws",
3-
"version": "0.19.3",
3+
"version": "0.19.4",
44
"type": "module",
55
"description": "StoryBooker Adapter for interacting with AWS services.",
66
"author": {

packages/azure/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@storybooker/azure",
3-
"version": "0.19.3",
3+
"version": "0.19.4",
44
"type": "module",
55
"description": "StoryBooker Adapter for interacting with Azure services.",
66
"author": {

packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "storybooker",
3-
"version": "0.19.3",
3+
"version": "0.19.4",
44
"type": "module",
55
"bin": "./dist/index.js",
66
"description": "Storybooker CLI for uploading builds and files.",

packages/core/README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ Core Docs: https://storybooker.js.org/docs/core
1212
```js
1313
import { serve } from "@hono/node-server";
1414
import { createHonoRouter } from "@storybooker/core";
15-
import { LocalFileDatabase, LocalFileStorage } from "@storybooker/core/adapter";
15+
import {
16+
LocalFileDatabase,
17+
LocalFileStorage,
18+
} from "@storybooker/core/adapter/fs";
1619
import { createBasicUIAdapter } from "@storybooker/ui";
1720

1821
const app = createHonoRouter({
@@ -33,7 +36,7 @@ import { createHonoRouter } from "jsr:@storybooker/core";
3336
import {
3437
LocalFileDatabase,
3538
LocalFileStorage,
36-
} from "jsr:@storybooker/core/adapter";
39+
} from "jsr:@storybooker/core/adapter/fs";
3740
import { createBasicUIAdapter } from "npm:@storybooker/ui";
3841

3942
const app = createHonoRouter({

packages/core/deno.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://raw.githubusercontent.com/denoland/deno/main/cli/schemas/config-file.v1.json",
33
"name": "@storybooker/core",
4-
"version": "0.19.3",
4+
"version": "0.19.4",
55
"license": "MIT",
66
"publish": {
77
"include": [
@@ -18,6 +18,7 @@
1818
"exports": {
1919
".": "./src/index.ts",
2020
"./adapter": "./src/adapters/index.ts",
21+
"./adapter/fs": "./src/adapters/_fs-adapters.ts",
2122
"./constants": "./src/utils/constants.ts",
2223
"./mimes": "./src/utils/mime-utils.ts",
2324
"./router": "./src/routers/_app-router.ts",

packages/core/package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@storybooker/core",
3-
"version": "0.19.3",
3+
"version": "0.19.4",
44
"type": "module",
55
"description": "Storybooker platform agnostic router core.",
66
"author": {
@@ -65,6 +65,10 @@
6565
"source": "./src/adapters/index.ts",
6666
"default": "./dist/adapter.js"
6767
},
68+
"./adapter/fs": {
69+
"source": "./src/adapters/_fs-adapters.ts",
70+
"default": "./dist/adapter/fs.js"
71+
},
6872
"./constants": {
6973
"source": "./src/utils/constants.ts",
7074
"default": "./dist/constants.js"
@@ -96,6 +100,7 @@
96100
"exports": {
97101
".": "./dist/index.js",
98102
"./adapter": "./dist/adapter.js",
103+
"./adapter/fs": "./dist/adapter/fs.js",
99104
"./constants": "./dist/constants.js",
100105
"./mimes": "./dist/mimes.js",
101106
"./router": "./dist/router.js",

0 commit comments

Comments
 (0)