storybook-framework-cedarjs 1.0.0-canary.12737 → 1.0.0-canary.12739

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.
Files changed (2) hide show
  1. package/dist/preset.js +4 -4
  2. package/package.json +5 -5
package/dist/preset.js CHANGED
@@ -23,7 +23,7 @@ const previewAnnotations = (entries = []) => {
23
23
  const createdRequire = createRequire(import.meta.url);
24
24
  return [...entries, createdRequire.resolve("./preview.js")];
25
25
  };
26
- const redwoodProjectPaths = getPaths();
26
+ const cedarProjectPaths = getPaths();
27
27
  const viteFinal = async (config) => {
28
28
  const { plugins = [] } = config;
29
29
  plugins.unshift(reactDocgen());
@@ -31,12 +31,12 @@ const viteFinal = async (config) => {
31
31
  return mergeConfig(config, {
32
32
  // This is necessary as it otherwise just points to the `web` directory,
33
33
  // but it needs to point to `web/src`
34
- root: redwoodProjectPaths.web.src,
34
+ root: cedarProjectPaths.web.src,
35
35
  plugins: [mockRouter(), mockAuth(), autoImports],
36
36
  resolve: {
37
37
  alias: {
38
- "~__REDWOOD__USER_ROUTES_FOR_MOCK": redwoodProjectPaths.web.routes,
39
- "~__REDWOOD__USER_WEB_SRC": redwoodProjectPaths.web.src
38
+ "~__REDWOOD__USER_ROUTES_FOR_MOCK": cedarProjectPaths.web.routes,
39
+ "~__REDWOOD__USER_WEB_SRC": cedarProjectPaths.web.src
40
40
  }
41
41
  },
42
42
  optimizeDeps: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "storybook-framework-cedarjs",
3
- "version": "1.0.0-canary.12737+c7dafc412",
3
+ "version": "1.0.0-canary.12739+a290be3d1",
4
4
  "description": "Storybook for CedarJS",
5
5
  "keywords": [
6
6
  "Storybook",
@@ -52,7 +52,7 @@
52
52
  "test:watch": "vitest watch"
53
53
  },
54
54
  "dependencies": {
55
- "@cedarjs/testing": "1.0.0-canary.12737",
55
+ "@cedarjs/testing": "1.0.0-canary.12739",
56
56
  "@joshwooding/vite-plugin-react-docgen-typescript": "0.6.2",
57
57
  "@rollup/pluginutils": "5.1.4",
58
58
  "@storybook/addon-essentials": "8.6.14",
@@ -72,8 +72,8 @@
72
72
  "vitest": "3.2.4"
73
73
  },
74
74
  "peerDependencies": {
75
- "@cedarjs/project-config": "1.0.0-canary.12737",
76
- "@cedarjs/router": "1.0.0-canary.12737",
75
+ "@cedarjs/project-config": "1.0.0-canary.12739",
76
+ "@cedarjs/router": "1.0.0-canary.12739",
77
77
  "react": "19.0.0-rc-f2df5694-20240916",
78
78
  "react-dom": "19.0.0-rc-f2df5694-20240916",
79
79
  "storybook": "8.6.14"
@@ -91,5 +91,5 @@
91
91
  ],
92
92
  "platform": "node"
93
93
  },
94
- "gitHead": "c7dafc41243479b37152ef54e0ee6582ab812aeb"
94
+ "gitHead": "a290be3d1287535acee71623cdec431f1613886b"
95
95
  }