@nx/storybook 22.1.0-beta.6 → 22.1.0-beta.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/migrations.json CHANGED
@@ -14,11 +14,11 @@
14
14
  },
15
15
  "update-22-1-0-migrate-storybook-v10": {
16
16
  "cli": "nx",
17
- "version": "22.1.0-beta.3",
17
+ "version": "22.1.0-beta.8",
18
18
  "requires": {
19
- "storybook": ">=10.0.0"
19
+ "storybook": ">=9.0.0 <10.0.0"
20
20
  },
21
- "description": "Update workspce to use Storybok v10",
21
+ "description": "Update workspace to use Storybook v10",
22
22
  "implementation": "./src/migrations/update-22-1-0/migrate-to-storybook-10"
23
23
  }
24
24
  },
@@ -635,9 +635,7 @@
635
635
  }
636
636
  },
637
637
  "22.1.0": {
638
- "version": "22.1.0-beta.6",
639
- "x-prompt": "Do you want to update Storybook to version 10?",
640
- "implementation": "./src/migrations/update-21-2-0/migrate-to-storybook-10",
638
+ "version": "22.1.0-beta.8",
641
639
  "requires": {
642
640
  "storybook": ">=9.0.0 <10.0.0"
643
641
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/storybook",
3
- "version": "22.1.0-beta.6",
3
+ "version": "22.1.0-beta.8",
4
4
  "private": false,
5
5
  "description": "The Nx Plugin for Storybook contains executors and generators for allowing your workspace to use the powerful Storybook integration testing & documenting capabilities.",
6
6
  "repository": {
@@ -33,16 +33,17 @@
33
33
  "migrations": "./migrations.json"
34
34
  },
35
35
  "dependencies": {
36
- "@nx/devkit": "22.1.0-beta.6",
36
+ "@nx/devkit": "22.1.0-beta.8",
37
37
  "@phenomnomnominal/tsquery": "~5.0.1",
38
38
  "semver": "^7.6.3",
39
39
  "tslib": "^2.3.0",
40
- "@nx/cypress": "22.1.0-beta.6",
41
- "@nx/js": "22.1.0-beta.6",
42
- "@nx/eslint": "22.1.0-beta.6"
40
+ "@nx/cypress": "22.1.0-beta.8",
41
+ "@nx/js": "22.1.0-beta.8",
42
+ "@nx/eslint": "22.1.0-beta.8"
43
43
  },
44
44
  "devDependencies": {
45
- "nx": "22.1.0-beta.6"
45
+ "nx": "22.1.0-beta.8",
46
+ "storybook": "9.0.6"
46
47
  },
47
48
  "peerDependencies": {
48
49
  "storybook": ">=7.0.0 <11.0.0"
@@ -23,9 +23,9 @@ async function migrateToStorybook10(tree) {
23
23
  return;
24
24
  }
25
25
  const contents = (0, fs_1.readFileSync)(pathToAiInstructions);
26
- tree.write('MIGRATE_STORYBOOK_10.md', contents);
26
+ tree.write('ai-migrations/MIGRATE_STORYBOOK_10.md', contents);
27
27
  return [
28
28
  `Storybook 10 requires Storybook Configs to use ESM.`,
29
- `We created 'MIGRATE_STORYBOOK_10.md' with instructions for an AI Agent to convert CJS Storybook Configs to ESM in your workspace.`,
29
+ `We created 'ai-migrations/MIGRATE_STORYBOOK_10.md' with instructions for an AI Agent to convert CJS Storybook Configs to ESM in your workspace.`,
30
30
  ];
31
31
  }