@storybook/ember 11.0.0-beta.3 → 11.0.0-beta.5

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
@@ -3,8 +3,6 @@
3
3
  Storybook for Ember is a UI development environment for your Ember components.
4
4
  With it, you can visualize different states of your UI components and develop them interactively.
5
5
 
6
- ![Storybook Screenshot](https://github.com/storybookjs/storybook/blob/main/media/storybook-intro.gif)
7
-
8
6
  Storybook runs outside of your app.
9
7
  So you can develop UI components in isolation without worrying about app specific dependencies and requirements.
10
8
 
@@ -1,15 +1,3 @@
1
- import CJS_COMPAT_NODE_URL_oelvam3588p from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_oelvam3588p from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_oelvam3588p from "node:module";
4
-
5
- var __filename = CJS_COMPAT_NODE_URL_oelvam3588p.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_oelvam3588p.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_oelvam3588p.createRequire(import.meta.url);
8
-
9
- // ------------------------------------------------------------
10
- // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
- // ------------------------------------------------------------
12
-
13
1
  // src/node/index.ts
14
2
  function defineMain(config) {
15
3
  return config;
package/dist/preset.js CHANGED
@@ -1,15 +1,3 @@
1
- import CJS_COMPAT_NODE_URL_oelvam3588p from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_oelvam3588p from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_oelvam3588p from "node:module";
4
-
5
- var __filename = CJS_COMPAT_NODE_URL_oelvam3588p.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_oelvam3588p.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_oelvam3588p.createRequire(import.meta.url);
8
-
9
- // ------------------------------------------------------------
10
- // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
- // ------------------------------------------------------------
12
-
13
1
  // src/preset.ts
14
2
  import { getProjectRoot, resolvePathInStorybookCache } from "storybook/internal/common";
15
3
  import { getVirtualModules } from "@storybook/builder-webpack5";
@@ -1,15 +1,3 @@
1
- import CJS_COMPAT_NODE_URL_oelvam3588p from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_oelvam3588p from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_oelvam3588p from "node:module";
4
-
5
- var __filename = CJS_COMPAT_NODE_URL_oelvam3588p.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_oelvam3588p.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_oelvam3588p.createRequire(import.meta.url);
8
-
9
- // ------------------------------------------------------------
10
- // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
- // ------------------------------------------------------------
12
-
13
1
  // src/server/framework-preset-babel-ember.ts
14
2
  import { precompile } from "ember-source/dist/ember-template-compiler.js";
15
3
 
@@ -53,7 +41,7 @@ var babel = (config, options) => {
53
41
  ...config,
54
42
  plugins: [...babelConfigPlugins, ...extraPlugins]
55
43
  };
56
- }, previewAnnotations = (entry = []) => [...entry, findDistFile(__dirname, "client/preview/config")];
44
+ }, previewAnnotations = (entry = []) => [...entry, findDistFile(import.meta.dirname, "client/preview/config")];
57
45
  export {
58
46
  babel,
59
47
  previewAnnotations
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/ember",
3
- "version": "11.0.0-beta.3",
3
+ "version": "11.0.0-beta.5",
4
4
  "description": "Storybook for Ember: Develop, document, and test UI components in isolation",
5
5
  "keywords": [
6
6
  "storybook",
@@ -48,7 +48,7 @@
48
48
  "!src/**/*"
49
49
  ],
50
50
  "dependencies": {
51
- "@storybook/builder-webpack5": "11.0.0-beta.3",
51
+ "@storybook/builder-webpack5": "11.0.0-beta.5",
52
52
  "@storybook/global": "^5.0.0",
53
53
  "babel-loader": "9.1.3",
54
54
  "empathic": "2.0.0"
@@ -64,7 +64,7 @@
64
64
  "ember-source": "~3.28.1 || >=4.0.0",
65
65
  "react": "^18.0.0 || ^19.0.0",
66
66
  "react-dom": "^18.0.0 || ^19.0.0",
67
- "storybook": "^11.0.0-beta.3"
67
+ "storybook": "^11.0.0-beta.5"
68
68
  },
69
69
  "publishConfig": {
70
70
  "access": "public"