Skip to content

Commit b1327f7

Browse files
committed
fix(storybook): Rename sb framework package
1 parent a72e75e commit b1327f7

File tree

15 files changed

+53
-24
lines changed

15 files changed

+53
-24
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Search and replace all instances of `@redwoodjs` in all files with `@cedarjs`.
2626
Pay attention to `yarn.lock`. If anything changed in there you probably have to
2727
do some manual editing. Also find all mentions of
2828
`storybook-framework-redwoodjs-vite` and replace with
29-
`storybook-framework-cedar`
29+
`storybook-framework-cedarjs`
3030

3131
Cedar doesn't have the equivalent of Redwood Studio yet. So Studio will not
3232
work for now. Let me know if that's something you use and need.

docs/docs/storybook.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ If this is your first time running Storybook:
3232
- The Redwood CLI will install Storybook, the framework package, and all related dependencies.
3333
- The Redwood CLI will create the following config files for you:
3434
- `web/.storybook/main.ts`
35-
- This is the primary [Storybook configuration file](https://storybook.js.org/docs/7/configure). Note that it references our framework package, [`storybook-framework-cedar`](https://www.npmjs.com/package/storybook-framework-cedar).
35+
- This is the primary [Storybook configuration file](https://storybook.js.org/docs/7/configure). Note that it references our framework package, [`storybook-framework-cedarjs`](https://www.npmjs.com/package/storybook-framework-cedarjs).
3636
- `web/.storybook/preview-body.html`
3737
- This is required to change the `id` of the root div to `redwood-app`, which is what the entry file used by Vite requires.
3838

docs/versioned_docs/version-0.0.1/storybook.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ If this is your first time running Storybook:
3232
- The Redwood CLI will install Storybook, the framework package, and all related dependencies.
3333
- The Redwood CLI will create the following config files for you:
3434
- `web/.storybook/main.ts`
35-
- This is the primary [Storybook configuration file](https://storybook.js.org/docs/7/configure). Note that it references our framework package, [`storybook-framework-cedar`](https://www.npmjs.com/package/storybook-framework-cedar).
35+
- This is the primary [Storybook configuration file](https://storybook.js.org/docs/7/configure). Note that it references our framework package, [`storybook-framework-cedarjs`](https://www.npmjs.com/package/storybook-framework-cedarjs).
3636
- `web/.storybook/preview-body.html`
3737
- This is required to change the `id` of the root div to `redwood-app`, which is what the entry file used by Vite requires.
3838

docs/versioned_docs/version-0.0.2/storybook.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ If this is your first time running Storybook:
3232
- The Redwood CLI will install Storybook, the framework package, and all related dependencies.
3333
- The Redwood CLI will create the following config files for you:
3434
- `web/.storybook/main.ts`
35-
- This is the primary [Storybook configuration file](https://storybook.js.org/docs/7/configure). Note that it references our framework package, [`storybook-framework-cedar`](https://www.npmjs.com/package/storybook-framework-cedar).
35+
- This is the primary [Storybook configuration file](https://storybook.js.org/docs/7/configure). Note that it references our framework package, [`storybook-framework-cedarjs`](https://www.npmjs.com/package/storybook-framework-cedarjs).
3636
- `web/.storybook/preview-body.html`
3737
- This is required to change the `id` of the root div to `redwood-app`, which is what the entry file used by Vite requires.
3838

docs/versioned_docs/version-0.0.3/storybook.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ If this is your first time running Storybook:
3232
- The Redwood CLI will install Storybook, the framework package, and all related dependencies.
3333
- The Redwood CLI will create the following config files for you:
3434
- `web/.storybook/main.ts`
35-
- This is the primary [Storybook configuration file](https://storybook.js.org/docs/7/configure). Note that it references our framework package, [`storybook-framework-cedar`](https://www.npmjs.com/package/storybook-framework-cedar).
35+
- This is the primary [Storybook configuration file](https://storybook.js.org/docs/7/configure). Note that it references our framework package, [`storybook-framework-cedarjs`](https://www.npmjs.com/package/storybook-framework-cedarjs).
3636
- `web/.storybook/preview-body.html`
3737
- This is required to change the `id` of the root div to `redwood-app`, which is what the entry file used by Vite requires.
3838

docs/versioned_docs/version-0.0.4/storybook.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ If this is your first time running Storybook:
3232
- The Redwood CLI will install Storybook, the framework package, and all related dependencies.
3333
- The Redwood CLI will create the following config files for you:
3434
- `web/.storybook/main.ts`
35-
- This is the primary [Storybook configuration file](https://storybook.js.org/docs/7/configure). Note that it references our framework package, [`storybook-framework-cedar`](https://www.npmjs.com/package/storybook-framework-cedar).
35+
- This is the primary [Storybook configuration file](https://storybook.js.org/docs/7/configure). Note that it references our framework package, [`storybook-framework-cedarjs`](https://www.npmjs.com/package/storybook-framework-cedarjs).
3636
- `web/.storybook/preview-body.html`
3737
- This is required to change the `id` of the root div to `redwood-app`, which is what the entry file used by Vite requires.
3838

docs/versioned_docs/version-8.0/storybook.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ If this is your first time running Storybook:
3232
- The Redwood CLI will install Storybook, the framework package, and all related dependencies.
3333
- The Redwood CLI will create the following config files for you:
3434
- `web/.storybook/main.ts`
35-
- This is the primary [Storybook configuration file](https://storybook.js.org/docs/7/configure). Note that it references our framework package, [`storybook-framework-cedar`](https://www.npmjs.com/package/storybook-framework-cedar).
35+
- This is the primary [Storybook configuration file](https://storybook.js.org/docs/7/configure). Note that it references our framework package, [`storybook-framework-cedarjs`](https://www.npmjs.com/package/storybook-framework-cedarjs).
3636
- `web/.storybook/preview-body.html`
3737
- This is required to change the `id` of the root div to `redwood-app`, which is what the entry file used by Vite requires.
3838

packages/cli-packages/storybook-vite/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"execa": "5.1.1",
3030
"semver": "7.6.3",
3131
"storybook": "7.6.20",
32-
"storybook-framework-cedar": "workspace:*",
32+
"storybook-framework-cedarjs": "workspace:*",
3333
"terminal-link": "2.1.1",
3434
"vitest": "2.1.9",
3535
"yargs": "17.7.2"

packages/cli-packages/storybook-vite/src/__tests__/storybookConfigFixtures.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ describe('storybook config file fixtures', () => {
88
console.log('mainTemplatePath', mainTemplatePath)
99
const mainTemplate = fs.readFileSync(mainTemplatePath, { encoding: 'utf8' })
1010
expect(mainTemplate).toMatchInlineSnapshot(`
11-
"import type { StorybookConfig } from 'storybook-framework-cedar'
11+
"import type { StorybookConfig } from 'storybook-framework-cedarjs'
1212
1313
import { getPaths, importStatementPath } from '@cedarjs/project-config'
1414
1515
const cedarProjectPaths = getPaths()
1616
1717
const config: StorybookConfig = {
18-
framework: 'storybook-framework-cedar',
18+
framework: 'storybook-framework-cedarjs',
1919
2020
stories: [
2121
\`\${importStatementPath(

packages/cli-packages/storybook-vite/src/commands/templates/main.ts.template

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
import type { StorybookConfig } from 'storybook-framework-cedar'
1+
import type { StorybookConfig } from 'storybook-framework-cedarjs'
22

33
import { getPaths, importStatementPath } from '@cedarjs/project-config'
44

55
const cedarProjectPaths = getPaths()
66

77
const config: StorybookConfig = {
8-
framework: 'storybook-framework-cedar',
8+
framework: 'storybook-framework-cedarjs',
99

1010
stories: [
1111
`${importStatementPath(

0 commit comments

Comments
 (0)