@cedarjs/cli-storybook-vite 0.15.0 → 0.15.1-next.23

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 CHANGED
@@ -1,9 +1,10 @@
1
1
  # CLI Packages - Storybook Vite
2
2
 
3
- This CLI package is intended to be used with the [Storybook Framework package](../../storybook/README.md). We are still finalizing usage details.
4
- For now, get started as follows:
3
+ This CLI package is intended to be used with the [Storybook Framework package](../../storybook/README.md).
4
+ Get started as follows:
5
5
 
6
- - Run `yarn rw sb` from your project. This will:
7
- - Add the necessary config files, if they don't already exist: `web/.storybook/{main.ts + preview-body.html}`.
6
+ - Run `yarn cedar storybook` from your project. This will:
7
+ - Add the necessary config files, if they don't already exist:
8
+ `web/.storybook/{main.ts + preview-body.html}`.
8
9
  - Create the Mock Service Worker, which is needed for all Cell mocking.
9
10
  - Run Storybook.
@@ -6,13 +6,9 @@ const cedarProjectPaths = getPaths()
6
6
 
7
7
  const config: StorybookConfig = {
8
8
  framework: 'storybook-framework-cedarjs',
9
-
10
9
  stories: [
11
- `${importStatementPath(
12
- cedarProjectPaths.web.src
13
- )}/**/*.stories.@(js|jsx|ts|tsx|mdx)`,
10
+ `${importStatementPath(cedarProjectPaths.web.src)}/**/*.@(mdx|stories.@(js|jsx|ts|tsx))`,
14
11
  ],
15
-
16
12
  addons: ['@storybook/addon-essentials'],
17
13
  }
18
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedarjs/cli-storybook-vite",
3
- "version": "0.15.0",
3
+ "version": "0.15.1-next.23+0753a9ca2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/cedarjs/cedar.git",
@@ -22,14 +22,14 @@
22
22
  "test:unit": "vitest run"
23
23
  },
24
24
  "dependencies": {
25
- "@cedarjs/cli-helpers": "0.15.0",
26
- "@cedarjs/project-config": "0.15.0",
27
- "@cedarjs/telemetry": "0.15.0",
25
+ "@cedarjs/cli-helpers": "0.15.1-next.23+0753a9ca2",
26
+ "@cedarjs/project-config": "0.15.1-next.23+0753a9ca2",
27
+ "@cedarjs/telemetry": "0.15.1-next.23+0753a9ca2",
28
28
  "ansis": "4.1.0",
29
29
  "execa": "5.1.1",
30
30
  "semver": "7.6.3",
31
31
  "storybook": "7.6.20",
32
- "storybook-framework-cedarjs": "0.15.0",
32
+ "storybook-framework-cedarjs": "0.15.1-next.23+0753a9ca2",
33
33
  "termi-link": "1.1.0",
34
34
  "vitest": "3.2.4",
35
35
  "yargs": "17.7.2"
@@ -44,5 +44,5 @@
44
44
  "publishConfig": {
45
45
  "access": "public"
46
46
  },
47
- "gitHead": "57e0d8a87aae7d3aa3bb3160240618d3bee2f634"
47
+ "gitHead": "0753a9ca25ba21702aed57f7f5e8b49db9957984"
48
48
  }