mirror of https://github.com/ghostfolio/ghostfolio
35 changed files with 6831 additions and 6856 deletions
@ -0,0 +1,25 @@ |
|||
🩺 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 |
|||
|
@ -0,0 +1,104 @@ |
|||
{ |
|||
"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" |
|||
} |
|||
] |
|||
} |
File diff suppressed because it is too large
@ -0,0 +1,37 @@ |
|||
# 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…
Reference in new issue