storybook-framework-cedarjs 1.0.0-canary.12783 → 1.0.0-canary.12785
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/index.d.ts +0 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -5
- package/dist/preset.d.ts +1 -1
- package/dist/preset.d.ts.map +1 -1
- package/dist/preset.js +9 -10
- package/dist/preview.d.ts +1 -1
- package/dist/preview.d.ts.map +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +10 -10
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Storybook for CedarJS
|
|
2
2
|
|
|
3
3
|
Storybook Framework package for CedarJS. Uses the `@storybook/builder-vite`
|
|
4
|
-
builder and `@storybook/react
|
|
4
|
+
builder and `@storybook/react` renderer.
|
|
5
5
|
|
|
6
6
|
Intended to be used alongside the
|
|
7
7
|
[CLI package](../cli-packages/storybook-vite/README.md), which handles the
|
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA"}
|
package/dist/index.js
CHANGED
package/dist/preset.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { PresetProperty } from 'storybook/
|
|
1
|
+
import type { PresetProperty } from '@storybook/types';
|
|
2
2
|
import type { StorybookConfig } from './types.js';
|
|
3
3
|
export declare const core: PresetProperty<'core'>;
|
|
4
4
|
export declare const previewAnnotations: StorybookConfig['previewAnnotations'];
|
package/dist/preset.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"preset.d.ts","sourceRoot":"","sources":["../src/preset.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"preset.d.ts","sourceRoot":"","sources":["../src/preset.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAUtD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AAWjD,eAAO,MAAM,IAAI,EAAE,cAAc,CAAC,MAAM,CAGvC,CAAA;AAED,eAAO,MAAM,kBAAkB,EAAE,eAAe,CAAC,oBAAoB,CAKpE,CAAA;AAID,eAAO,MAAM,SAAS,EAAE,eAAe,CAAC,WAAW,CA6BlD,CAAA"}
|
package/dist/preset.js
CHANGED
|
@@ -39,16 +39,15 @@ const viteFinal = async (config) => {
|
|
|
39
39
|
"~__REDWOOD__USER_WEB_SRC": cedarProjectPaths.web.src
|
|
40
40
|
}
|
|
41
41
|
},
|
|
42
|
-
|
|
43
|
-
//
|
|
44
|
-
//
|
|
45
|
-
//
|
|
46
|
-
//
|
|
47
|
-
//
|
|
48
|
-
//
|
|
49
|
-
//
|
|
50
|
-
|
|
51
|
-
preTransformRequests: false
|
|
42
|
+
optimizeDeps: {
|
|
43
|
+
// Without this, on first run, Vite throws: `The file does not exist at
|
|
44
|
+
// "{project path}/web/node_modules/.cache/sb-vite/deps/DocsRenderer-NNNQARDV-DEXCJJZJ.js?v=c640a8fa"
|
|
45
|
+
// which is in the optimize deps directory.`
|
|
46
|
+
// This refers to @storybook/addon-docs, which is included as part of @storybook/addon-essentials.
|
|
47
|
+
// the docs addon then includes itself here: https://github.com/storybookjs/storybook/blob/a496ec48c708eed753a5251d55fa07947a869e62/code/addons/docs/src/preset.ts#L198C3-L198C27
|
|
48
|
+
// which I believe gets included by the builder here: https://github.com/storybookjs/storybook/blob/a496ec48c708eed753a5251d55fa07947a869e62/code/builders/builder-vite/src/optimizeDeps.ts#L117
|
|
49
|
+
// TODO: Figure out why this error is being thrown so that this can be removed.
|
|
50
|
+
exclude: ["@storybook/addon-docs"]
|
|
52
51
|
}
|
|
53
52
|
});
|
|
54
53
|
};
|
package/dist/preview.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Addon_DecoratorFunction, Addon_Loader } from 'storybook/
|
|
1
|
+
import type { Addon_DecoratorFunction, Addon_Loader } from '@storybook/types';
|
|
2
2
|
declare const _default: {
|
|
3
3
|
decorators: Addon_DecoratorFunction<any>[];
|
|
4
4
|
loaders: Addon_Loader<any>[];
|
package/dist/preview.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"preview.d.ts","sourceRoot":"","sources":["../src/preview.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"preview.d.ts","sourceRoot":"","sources":["../src/preview.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,uBAAuB,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;;;;;AAY7E,wBAGC"}
|
package/dist/types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { default as docgenTypescript } from '@joshwooding/vite-plugin-react-docgen-typescript';
|
|
2
2
|
import type { StorybookConfigVite, BuilderOptions } from '@storybook/builder-vite';
|
|
3
|
-
import type { StorybookConfig as StorybookConfigBase, TypescriptOptions as TypescriptOptionsBase } from 'storybook/
|
|
3
|
+
import type { StorybookConfig as StorybookConfigBase, TypescriptOptions as TypescriptOptionsBase } from '@storybook/types';
|
|
4
4
|
type FrameworkName = 'storybook-framework-cedarjs';
|
|
5
5
|
type BuilderName = '@storybook/builder-vite';
|
|
6
6
|
export type FrameworkOptions = {
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO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AAG,cAAc,GAAG,KAAK,CAAA;IAC/D;;OAEG;IACH,4BAA4B,EAAE,UAAU,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAA;CAC/D,CAAA;AAED;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,IAAI,CAChC,mBAAmB,EACnB,MAAM,mBAAmB,GAAG,MAAM,wBAAwB,GAAG,YAAY,CAC1E,GACC,mBAAmB,GACnB,wBAAwB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAC,CAAA;CACxC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "storybook-framework-cedarjs",
|
|
3
|
-
"version": "1.0.0-canary.
|
|
3
|
+
"version": "1.0.0-canary.12785+e68d2243b",
|
|
4
4
|
"description": "Storybook for CedarJS",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Storybook",
|
|
@@ -52,19 +52,19 @@
|
|
|
52
52
|
"test:watch": "vitest watch"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@cedarjs/testing": "1.0.0-canary.
|
|
55
|
+
"@cedarjs/testing": "1.0.0-canary.12785",
|
|
56
56
|
"@joshwooding/vite-plugin-react-docgen-typescript": "0.6.2",
|
|
57
57
|
"@rollup/pluginutils": "5.1.4",
|
|
58
|
-
"@storybook/addon-
|
|
59
|
-
"@storybook/builder-vite": "
|
|
60
|
-
"@storybook/react
|
|
61
|
-
"empathic": "2.0.0",
|
|
58
|
+
"@storybook/addon-essentials": "8.6.14",
|
|
59
|
+
"@storybook/builder-vite": "8.6.14",
|
|
60
|
+
"@storybook/react": "8.6.14",
|
|
62
61
|
"magic-string": "0.30.18",
|
|
63
62
|
"react-docgen": "7.0.3",
|
|
64
63
|
"unplugin-auto-import": "19.3.0",
|
|
65
64
|
"vite-plugin-node-polyfills": "0.23.0"
|
|
66
65
|
},
|
|
67
66
|
"devDependencies": {
|
|
67
|
+
"@storybook/types": "8.6.14",
|
|
68
68
|
"@types/node": "20.19.17",
|
|
69
69
|
"tsx": "4.20.5",
|
|
70
70
|
"typescript": "5.9.2",
|
|
@@ -72,11 +72,11 @@
|
|
|
72
72
|
"vitest": "3.2.4"
|
|
73
73
|
},
|
|
74
74
|
"peerDependencies": {
|
|
75
|
-
"@cedarjs/project-config": "1.0.0-canary.
|
|
76
|
-
"@cedarjs/router": "1.0.0-canary.
|
|
75
|
+
"@cedarjs/project-config": "1.0.0-canary.12785",
|
|
76
|
+
"@cedarjs/router": "1.0.0-canary.12785",
|
|
77
77
|
"react": "19.0.0-rc-f2df5694-20240916",
|
|
78
78
|
"react-dom": "19.0.0-rc-f2df5694-20240916",
|
|
79
|
-
"storybook": "
|
|
79
|
+
"storybook": "8.6.14"
|
|
80
80
|
},
|
|
81
81
|
"engines": {
|
|
82
82
|
"node": "=24.x"
|
|
@@ -91,5 +91,5 @@
|
|
|
91
91
|
],
|
|
92
92
|
"platform": "node"
|
|
93
93
|
},
|
|
94
|
-
"gitHead": "
|
|
94
|
+
"gitHead": "e68d2243bc5bb9d01811a80eab02ac26f147d9ee"
|
|
95
95
|
}
|