@storybook/angular 9.0.5 → 9.0.8

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/dist/preset.js CHANGED
@@ -8,14 +8,14 @@ exports.addons = [
8
8
  require.resolve('./server/framework-preset-angular-ivy'),
9
9
  ];
10
10
  const previewAnnotations = async (entries = [], options) => {
11
- const annotations = [...entries, require.resolve('./client/config')];
11
+ const annotations = [...entries, require.resolve('./client/config.mjs')];
12
12
  if (options.enableProdMode) {
13
- annotations.unshift(require.resolve('./client/preview-prod'));
13
+ annotations.unshift(require.resolve('./client/preview-prod.mjs'));
14
14
  }
15
15
  const docsConfig = await options.presets.apply('docs', {}, options);
16
16
  const docsEnabled = Object.keys(docsConfig).length > 0;
17
17
  if (docsEnabled) {
18
- annotations.push(require.resolve('./client/docs/config'));
18
+ annotations.push(require.resolve('./client/docs/config.mjs'));
19
19
  }
20
20
  return annotations;
21
21
  };
package/dist/preset.mjs CHANGED
@@ -5,14 +5,14 @@ export const addons = [
5
5
  require.resolve('./server/framework-preset-angular-ivy'),
6
6
  ];
7
7
  export const previewAnnotations = async (entries = [], options) => {
8
- const annotations = [...entries, require.resolve('./client/config')];
8
+ const annotations = [...entries, require.resolve('./client/config.mjs')];
9
9
  if (options.enableProdMode) {
10
- annotations.unshift(require.resolve('./client/preview-prod'));
10
+ annotations.unshift(require.resolve('./client/preview-prod.mjs'));
11
11
  }
12
12
  const docsConfig = await options.presets.apply('docs', {}, options);
13
13
  const docsEnabled = Object.keys(docsConfig).length > 0;
14
14
  if (docsEnabled) {
15
- annotations.push(require.resolve('./client/docs/config'));
15
+ annotations.push(require.resolve('./client/docs/config.mjs'));
16
16
  }
17
17
  return annotations;
18
18
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/angular",
3
- "version": "9.0.5",
3
+ "version": "9.0.8",
4
4
  "description": "Storybook for Angular: Develop Angular components in isolation with hot reloading.",
5
5
  "keywords": [
6
6
  "storybook",
@@ -52,8 +52,8 @@
52
52
  "prep": "rimraf dist && jiti ../../../scripts/prepare/tsc.ts"
53
53
  },
54
54
  "dependencies": {
55
- "@storybook/builder-webpack5": "9.0.5",
56
- "@storybook/core-webpack": "9.0.5",
55
+ "@storybook/builder-webpack5": "9.0.8",
56
+ "@storybook/core-webpack": "9.0.8",
57
57
  "@storybook/global": "^5.0.0",
58
58
  "@types/webpack-env": "^1.18.0",
59
59
  "fd-package-json": "^1.2.0",
@@ -96,7 +96,7 @@
96
96
  "@angular/platform-browser": ">=18.0.0 < 21.0.0",
97
97
  "@angular/platform-browser-dynamic": ">=18.0.0 < 21.0.0",
98
98
  "rxjs": "^6.5.3 || ^7.4.0",
99
- "storybook": "^9.0.5",
99
+ "storybook": "^9.0.8",
100
100
  "typescript": "^4.9.0 || ^5.0.0",
101
101
  "zone.js": ">=0.14.0"
102
102
  },