Browse Source

migration related files removed

pull/5221/head
Attila Cseh 21 hours ago
parent
commit
40f58321db
  1. 25
      doctor-storybook.log
  2. 104
      migrations.json
  3. 37
      storybook-migration-summary.md

25
doctor-storybook.log

@ -1,25 +0,0 @@
๐Ÿฉบ The doctor is checking the health of your Storybook..
โ•ญ Incompatible packages found โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ โ”‚
โ”‚ You are currently using Storybook 9.0.9 but you have packages which are incompatible with it: โ”‚
โ”‚ - @storybook/addon-docs@9.0.17 which depends on 9.0.17 โ”‚
โ”‚ Repo: https://github.com/storybookjs/storybook/tree/next/code/addons/docs โ”‚
โ”‚ โ”‚
โ”‚ โ”‚
โ”‚ Please consider updating your packages or contacting the maintainers for compatibility details. โ”‚
โ”‚ For more on Storybook 9 compatibility, see the linked GitHub issue: โ”‚
โ”‚ https://github.com/storybookjs/storybook/issues/30944 โ”‚
โ”‚ โ”‚
โ”‚ โ”‚
โ”‚ The version of storybook@9.0.9 is behind the following core packages: โ”‚
โ”‚ - @storybook/addon-docs@9.0.17 โ”‚
โ”‚ Upgrade Storybook with: โ”‚
โ”‚ npx storybook@latest upgrade โ”‚
โ”‚ โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
You can always recheck the health of your project by running:
npx storybook doctor
Full logs are available in /home/attila/projects/ghostfolio/doctor-storybook.log

104
migrations.json

@ -1,104 +0,0 @@
{
"migrations": [
{
"cli": "nx",
"version": "21.2.0-beta.3",
"requires": { "@angular/core": ">=20.0.0" },
"description": "Update the @angular/cli package version to ~20.0.0.",
"factory": "./src/migrations/update-21-2-0/update-angular-cli",
"package": "@nx/angular",
"name": "update-angular-cli-version-20-0-0"
},
{
"version": "21.2.0-beta.3",
"requires": { "@angular/core": ">=20.0.0" },
"description": "Migrate imports of `provideServerRendering` from `@angular/platform-server` to `@angular/ssr`.",
"factory": "./src/migrations/update-21-2-0/migrate-provide-server-rendering-import",
"package": "@nx/angular",
"name": "migrate-provide-server-rendering-import"
},
{
"version": "21.2.0-beta.3",
"requires": { "@angular/core": ">=20.0.0" },
"description": "Replace `provideServerRouting` and `provideServerRoutesConfig` with `provideServerRendering` using `withRoutes`.",
"factory": "./src/migrations/update-21-2-0/replace-provide-server-routing",
"package": "@nx/angular",
"name": "replace-provide-server-routing"
},
{
"version": "21.2.0-beta.3",
"requires": { "@angular/core": ">=20.0.0" },
"description": "Update the generator defaults to maintain the previous style guide behavior.",
"factory": "./src/migrations/update-21-2-0/set-generator-defaults-for-previous-style-guide",
"package": "@nx/angular",
"name": "set-generator-defaults-for-previous-style-guide"
},
{
"version": "21.2.0-beta.3",
"requires": { "@angular/core": ">=20.0.0" },
"description": "Update 'moduleResolution' to 'bundler' in TypeScript configurations. You can read more about this here: https://www.typescriptlang.org/tsconfig/#moduleResolution.",
"factory": "./src/migrations/update-21-2-0/update-module-resolution",
"package": "@nx/angular",
"name": "update-module-resolution"
},
{
"cli": "nx",
"version": "21.2.0-beta.3",
"description": "Update workspace to use Storybook v9",
"implementation": "./src/migrations/update-21-1-0/update-sb-9",
"package": "@nx/storybook",
"name": "update-21-2-0-migrate-storybook-v9"
},
{
"cli": "nx",
"version": "21.2.0-beta.3",
"description": "Remove deprecated Storybook addon dependencies",
"implementation": "./src/migrations/update-21-2-0/remove-addon-dependencies",
"package": "@nx/storybook",
"name": "update-21-2-0-remove-addon-dependencies"
},
{
"version": "20.0.0",
"description": "Replaces usages of the deprecated InjectFlags enum",
"factory": "./bundles/inject-flags.cjs#migrate",
"package": "@angular/core",
"name": "inject-flags"
},
{
"version": "20.0.0",
"description": "Replaces usages of the deprecated TestBed.get method with TestBed.inject",
"factory": "./bundles/test-bed-get.cjs#migrate",
"package": "@angular/core",
"name": "test-bed-get"
},
{
"version": "20.0.0",
"description": "Converts the entire application to block control flow syntax",
"factory": "./bundles/control-flow-migration.cjs#migrate",
"optional": true,
"package": "@angular/core",
"name": "control-flow-migration"
},
{
"version": "20.0.0",
"description": "Moves imports of `DOCUMENT` from `@angular/common` to `@angular/core`",
"factory": "./bundles/document-core.cjs#migrate",
"package": "@angular/core",
"name": "document-core"
},
{
"version": "20.0.0-0",
"description": "Updates Angular Material to v20",
"factory": "./ng-update/index_bundled#updateToV20",
"package": "@angular/material",
"name": "migration-v20"
},
{
"version": "20.0.0-0",
"description": "Updates the Angular CDK to v20",
"factory": "./ng-update/index#updateToV20",
"package": "@angular/cdk",
"name": "migration-v20"
}
]
}

37
storybook-migration-summary.md

@ -1,37 +0,0 @@
# Storybook 9 Migration Summary
## Upgrade Storybook packages
The following command was ran to upgrade the Storybook packages:
```bash
npx storybook@latest upgrade
```
## The Storybook automigration scripts were ran
The following commands ran successfully and your Storybook configuration was successfully migrated to the latest version 9:
- `npx storybook automigrate --config-dir libs/ui/.storybook`
Please make sure to check the results yourself and make sure that everything is working as expected.
Also, we may have missed something. Please make sure to check the logs of the Storybook CLI commands that were run, and look for
the `โŒ Failed trying to evaluate` message or `โŒ The migration failed to update` message. This will indicate if a command was
unsuccessful, and will help you run the migration again, manually.
## Next steps
You can make sure everything is working as expected by trying
to build or serve your Storybook as you normally would.
```bash
npx nx build-storybook project-name
```
```bash
npx nx storybook project-name
```
Please read the [Storybook 9.0.0 migration guide](https://github.com/storybookjs/storybook/blob/next/MIGRATION.md)
for more information.
Loadingโ€ฆ
Cancel
Save