@analogjs/storybook-angular 2.7.1 → 2.7.2-beta.2

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/README.md +1 -19
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -208,25 +208,7 @@ export default config;
208
208
 
209
209
  ### With Nx
210
210
 
211
- For Nx workspaces, import and use the `nxViteTsPaths` plugin from the `@nx/vite` package. Add the plugin to the `plugins` array in the `.storybook/main.ts`.
212
-
213
- ```ts
214
- import { nxViteTsPaths } from '@nx/vite/plugins/nx-tsconfig-paths.plugin';
215
- import { UserConfig, mergeConfig } from 'vite';
216
-
217
- import type { StorybookConfig } from '@analogjs/storybook-angular';
218
-
219
- const config: StorybookConfig = {
220
- // ... other config, addons, etc.
221
- async viteFinal(config: UserConfig) {
222
- return mergeConfig(config, {
223
- plugins: [nxViteTsPaths()],
224
- });
225
- },
226
- };
227
-
228
- export default config;
229
- ```
211
+ Nx workspaces use the same `vite-tsconfig-paths` plugin in the `.storybook/main.ts`. The `nxViteTsPaths` plugin from `@nx/vite` is deprecated and is removed in Nx 24, so replace it with `viteTsConfigPaths()`.
230
212
 
231
213
  ## Using File Replacements
232
214
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@analogjs/storybook-angular",
3
- "version": "2.7.1",
3
+ "version": "2.7.2-beta.2",
4
4
  "description": "Storybook Integration for Angular & Vite",
5
5
  "type": "module",
6
6
  "keywords": [