storybook-framework-cedarjs 1.0.0-canary.12741 → 1.0.0-canary.12742
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 +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -0
- package/dist/preset.d.ts +1 -1
- package/dist/preset.d.ts.map +1 -1
- package/dist/preset.js +10 -9
- 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` renderer.
|
|
4
|
+
builder and `@storybook/react-vite` 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,YAAY,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,OAAO,EAAE,eAAe,IAAI,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAEnE,cAAc,YAAY,CAAA"}
|
package/dist/index.js
CHANGED
package/dist/preset.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { PresetProperty } from '
|
|
1
|
+
import type { PresetProperty } from 'storybook/internal/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,0BAA0B,CAAA;AAU9D,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,CA8BlD,CAAA"}
|
package/dist/preset.js
CHANGED
|
@@ -39,15 +39,16 @@ 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
|
-
|
|
42
|
+
server: {
|
|
43
|
+
// CI was flaky. Sometimes the Storybook tests would pass, sometimes they
|
|
44
|
+
// wouldn't.
|
|
45
|
+
// If the dev server starts serving requests before optimization
|
|
46
|
+
// completes, it causes intermittent ESM/CJS loading errors, which locally
|
|
47
|
+
// shows up as an infinite loading spinner in the web browser, and an
|
|
48
|
+
// error in the browser console about missing exports.
|
|
49
|
+
// Disabling pre-transform ensures the server waits for optimization to
|
|
50
|
+
// complete before processing requests.
|
|
51
|
+
preTransformRequests: false
|
|
51
52
|
}
|
|
52
53
|
});
|
|
53
54
|
};
|
package/dist/preview.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Addon_DecoratorFunction, Addon_Loader } from '
|
|
1
|
+
import type { Addon_DecoratorFunction, Addon_Loader } from 'storybook/internal/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,EACV,uBAAuB,EACvB,YAAY,EACb,MAAM,0BAA0B,CAAA;;;;;AAYjC,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 '
|
|
3
|
+
import type { StorybookConfig as StorybookConfigBase, TypescriptOptions as TypescriptOptionsBase } from 'storybook/internal/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,IAAI,gBAAgB,EAAE,MAAM,kDAAkD,CAAA;AACnG,OAAO,KAAK,EACV,mBAAmB,EACnB,cAAc,EACf,MAAM,yBAAyB,CAAA;AAChC,OAAO,KAAK,EACV,eAAe,IA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,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.12742+2a16ec47e",
|
|
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.12742",
|
|
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": "
|
|
58
|
+
"@storybook/addon-docs": "9.1.16",
|
|
59
|
+
"@storybook/builder-vite": "9.1.16",
|
|
60
|
+
"@storybook/react-vite": "9.1.16",
|
|
61
|
+
"empathic": "2.0.0",
|
|
61
62
|
"magic-string": "0.30.18",
|
|
62
63
|
"react-docgen": "7.0.3",
|
|
63
64
|
"unplugin-auto-import": "19.3.0",
|
|
64
65
|
"vite-plugin-node-polyfills": "0.23.0"
|
|
65
66
|
},
|
|
66
67
|
"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.12742",
|
|
76
|
+
"@cedarjs/router": "1.0.0-canary.12742",
|
|
77
77
|
"react": "19.0.0-rc-f2df5694-20240916",
|
|
78
78
|
"react-dom": "19.0.0-rc-f2df5694-20240916",
|
|
79
|
-
"storybook": "
|
|
79
|
+
"storybook": "9.1.16"
|
|
80
80
|
},
|
|
81
81
|
"engines": {
|
|
82
82
|
"node": "=20.x"
|
|
@@ -91,5 +91,5 @@
|
|
|
91
91
|
],
|
|
92
92
|
"platform": "node"
|
|
93
93
|
},
|
|
94
|
-
"gitHead": "
|
|
94
|
+
"gitHead": "2a16ec47e50c00b137f5518741a0bda51703d826"
|
|
95
95
|
}
|