From 0e3b611523484ae82fe26c3805d52b093878eeed Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Tue, 4 Apr 2023 13:27:03 +0200 Subject: [PATCH 1/7] Merge pull request #21913 from storybookjs/norebrt/remove-pnp-template Build: remove pnp sandbox template From 7c09ef39a1663e980e4a49c2cf64b0de4461c756 Mon Sep 17 00:00:00 2001 From: jonniebigodes Date: Thu, 6 Apr 2023 15:08:28 +0100 Subject: [PATCH 2/7] Merge pull request #21973 from storybookjs/chore_docs_update_install_instructions Chore: (Docs) Standardize install instructions in documentation --- code/frameworks/angular/README.md | 4 ++-- code/frameworks/ember/README.md | 2 +- code/frameworks/html-webpack5/README.md | 2 +- code/frameworks/preact-webpack5/README.md | 2 +- code/frameworks/react-webpack5/README.md | 2 +- code/frameworks/server-webpack5/README.md | 2 +- code/frameworks/svelte-webpack5/README.md | 2 +- code/frameworks/vue-vite/README.md | 2 +- code/frameworks/vue-webpack5/README.md | 2 +- code/frameworks/vue3-vite/README.md | 2 +- code/frameworks/vue3-webpack5/README.md | 2 +- code/frameworks/web-components-webpack5/README.md | 2 +- docs/addons/writing-addons.md | 2 +- docs/builders/overview.md | 4 ++-- docs/builders/vite.md | 2 +- docs/get-started/installation-problems/angular.mdx | 4 ++-- docs/get-started/installation-problems/ember.mdx | 4 ++-- docs/get-started/installation-problems/html.mdx | 2 +- docs/get-started/installation-problems/preact.mdx | 4 ++-- docs/get-started/installation-problems/qwik.mdx | 4 ++-- docs/get-started/installation-problems/react.mdx | 4 ++-- docs/get-started/installation-problems/svelte.mdx | 4 ++-- docs/get-started/installation-problems/vue.mdx | 6 +++--- docs/get-started/installation-problems/web-components.mdx | 2 +- docs/snippets/common/init-command.npx.js.mdx | 2 +- docs/snippets/common/init-command.pnpm.js.mdx | 2 +- 26 files changed, 36 insertions(+), 36 deletions(-) diff --git a/code/frameworks/angular/README.md b/code/frameworks/angular/README.md index 623d18c47441..3158060f3f9a 100644 --- a/code/frameworks/angular/README.md +++ b/code/frameworks/angular/README.md @@ -27,12 +27,12 @@ So you can develop UI components in isolation without worrying about app specifi ```sh cd my-angular-app -npx storybook init +npx storybook@latest init ``` ## Setup Storybook for your Angular projects -Storybook supports Angular multi-project workspace. You can setup Storybook for each project in the workspace. When running `npx storybook init` you will be asked for which project Storybook should be set up. Essentially, during initialization, the `.storybook` folder will be created and the `angular.json` will be edited to add the Storybook configuration for the selected project. The configuration looks approximately like this: +Storybook supports Angular multi-project workspace. You can setup Storybook for each project in the workspace. When running `npx storybook@latest init` you will be asked for which project Storybook should be set up. Essentially, during initialization, the `.storybook` folder will be created and the `angular.json` will be edited to add the Storybook configuration for the selected project. The configuration looks approximately like this: ```json // angular.json diff --git a/code/frameworks/ember/README.md b/code/frameworks/ember/README.md index 7f623c163d45..f1ed9be67304 100644 --- a/code/frameworks/ember/README.md +++ b/code/frameworks/ember/README.md @@ -12,7 +12,7 @@ So you can develop UI components in isolation without worrying about app specifi ```sh cd my-ember-app -npx storybook init +npx storybook@latest init ``` For more information visit: [storybook.js.org](https://storybook.js.org) diff --git a/code/frameworks/html-webpack5/README.md b/code/frameworks/html-webpack5/README.md index d18efbcb9829..5814bced713b 100644 --- a/code/frameworks/html-webpack5/README.md +++ b/code/frameworks/html-webpack5/README.md @@ -14,7 +14,7 @@ So you can develop UI components in isolation without worrying about app specifi ```sh cd my-app -npx storybook init -t html +npx storybook@latest init -t html ``` For more information visit: [storybook.js.org](https://storybook.js.org) diff --git a/code/frameworks/preact-webpack5/README.md b/code/frameworks/preact-webpack5/README.md index 60b338b400b2..0402d392c40b 100644 --- a/code/frameworks/preact-webpack5/README.md +++ b/code/frameworks/preact-webpack5/README.md @@ -12,7 +12,7 @@ So you can develop UI components in isolation without worrying about app specifi ```sh cd my-preact-app -npx storybook init +npx storybook@latest init ``` For more information visit: [storybook.js.org](https://storybook.js.org) diff --git a/code/frameworks/react-webpack5/README.md b/code/frameworks/react-webpack5/README.md index 6aee8981736d..68e2ff7255c4 100644 --- a/code/frameworks/react-webpack5/README.md +++ b/code/frameworks/react-webpack5/README.md @@ -12,7 +12,7 @@ So you can develop UI components in isolation without worrying about app specifi ```sh cd my-react-app -npx storybook init +npx storybook@latest init ``` For more information visit: [storybook.js.org](https://storybook.js.org) diff --git a/code/frameworks/server-webpack5/README.md b/code/frameworks/server-webpack5/README.md index e8178180cc9b..0afe86f1fef0 100644 --- a/code/frameworks/server-webpack5/README.md +++ b/code/frameworks/server-webpack5/README.md @@ -14,7 +14,7 @@ So you can develop UI components in isolation without worrying about app specifi ```sh cd my-app -npx storybook init -t server +npx storybook@latest init -t server ``` To configure the server that Storybook will connect to, export a global parameter `parameters.server.url` in `.storybook/preview.js`: diff --git a/code/frameworks/svelte-webpack5/README.md b/code/frameworks/svelte-webpack5/README.md index 2c1279392720..6a6202a960e3 100644 --- a/code/frameworks/svelte-webpack5/README.md +++ b/code/frameworks/svelte-webpack5/README.md @@ -12,7 +12,7 @@ So you can develop UI components in isolation without worrying about app specifi ```sh cd my-svelte-app -npx storybook init +npx storybook@latest init ``` For more information visit: [storybook.js.org](https://storybook.js.org) diff --git a/code/frameworks/vue-vite/README.md b/code/frameworks/vue-vite/README.md index 1d4c9cb9addb..f19ebc711b42 100644 --- a/code/frameworks/vue-vite/README.md +++ b/code/frameworks/vue-vite/README.md @@ -12,7 +12,7 @@ So you can develop UI components in isolation without worrying about app specifi ```sh cd my-vue-app -npx storybook init +npx storybook@latest init ``` For more information visit: [storybook.js.org](https://storybook.js.org) diff --git a/code/frameworks/vue-webpack5/README.md b/code/frameworks/vue-webpack5/README.md index 38ea1a0f762f..9af5a6d0512f 100644 --- a/code/frameworks/vue-webpack5/README.md +++ b/code/frameworks/vue-webpack5/README.md @@ -12,7 +12,7 @@ So you can develop UI components in isolation without worrying about app specifi ```sh cd my-vue-app -npx storybook init +npx storybook@latest init ``` For more information visit: [storybook.js.org](https://storybook.js.org) diff --git a/code/frameworks/vue3-vite/README.md b/code/frameworks/vue3-vite/README.md index 645c1aa64549..1eadfa5c7b7a 100644 --- a/code/frameworks/vue3-vite/README.md +++ b/code/frameworks/vue3-vite/README.md @@ -12,7 +12,7 @@ So you can develop UI components in isolation without worrying about app specifi ```sh cd my-vue3-app -npx storybook init +npx storybook@latest init ``` For more information visit: [storybook.js.org](https://storybook.js.org) diff --git a/code/frameworks/vue3-webpack5/README.md b/code/frameworks/vue3-webpack5/README.md index 7c2d6e699548..3795b03d961f 100644 --- a/code/frameworks/vue3-webpack5/README.md +++ b/code/frameworks/vue3-webpack5/README.md @@ -12,7 +12,7 @@ So you can develop UI components in isolation without worrying about app specifi ```sh cd my-vue3-app -npx storybook init +npx storybook@latest init ``` For more information visit: [storybook.js.org](https://storybook.js.org) diff --git a/code/frameworks/web-components-webpack5/README.md b/code/frameworks/web-components-webpack5/README.md index d06f383fc9a9..4562b5dc35ee 100644 --- a/code/frameworks/web-components-webpack5/README.md +++ b/code/frameworks/web-components-webpack5/README.md @@ -14,7 +14,7 @@ So you can develop UI components in isolation without worrying about app specifi ```sh cd my-app -npx storybook init -t web_components +npx storybook@latest init -t web_components ``` For more information visit: [storybook.js.org](https://storybook.js.org) diff --git a/docs/addons/writing-addons.md b/docs/addons/writing-addons.md index bdd9da935227..d4a0f1dce2d0 100644 --- a/docs/addons/writing-addons.md +++ b/docs/addons/writing-addons.md @@ -66,7 +66,7 @@ We'll need to add the necessary dependencies and make some adjustments. Run the Initialize a local Storybook instance to allow you to test your addon. ```shell -npx storybook init +npx storybook@latest init ```
diff --git a/docs/builders/overview.md b/docs/builders/overview.md index ccc4fed1ba11..f0dbee77eeea 100644 --- a/docs/builders/overview.md +++ b/docs/builders/overview.md @@ -8,12 +8,12 @@ Storybook, at its core, is powered by builders such as Webpack and Vite. These b ## CLI basics -Before diving into setting up Storybook's builders, let's look at how the CLI configures them. When you initialize Storybook (via `npx storybook init`), the CLI automatically detects which builder to use based on your application. For example, if you're working with Vite, it will install the Vite builder. If you're working with Webpack, it installs the Webpack 5 builder by default. +Before diving into setting up Storybook's builders, let's look at how the CLI configures them. When you initialize Storybook (via `npx storybook@latest init`), the CLI automatically detects which builder to use based on your application. For example, if you're working with Vite, it will install the Vite builder. If you're working with Webpack, it installs the Webpack 5 builder by default. Additionally, you can also provide a flag to Storybook's CLI and specify the builder you want to use: ```shell -npx storybook init --builder +npx storybook@latest init --builder ``` ## Manual setup diff --git a/docs/builders/vite.md b/docs/builders/vite.md index 625b161700e7..bdc3798bbdbe 100644 --- a/docs/builders/vite.md +++ b/docs/builders/vite.md @@ -9,7 +9,7 @@ Storybook Vite builder bundles your components and stories with [Vite](https://v ## Setup -If you ran `npx storybook init` to include Storybook in your Vite application, the builder is already installed and configured for you. If you want, you can also opt into it manually. +If you ran `npx storybook@latest init` to include Storybook in your Vite application, the builder is already installed and configured for you. If you want, you can also opt into it manually. Run the following command to install the builder. diff --git a/docs/get-started/installation-problems/angular.mdx b/docs/get-started/installation-problems/angular.mdx index d462a65a4892..96b96b440a7b 100644 --- a/docs/get-started/installation-problems/angular.mdx +++ b/docs/get-started/installation-problems/angular.mdx @@ -1,13 +1,13 @@ - Add the `--type angular` flag to the installation command to set up Storybook manually: ```shell - npx storybook init --type angular + npx storybook@latest init --type angular ``` - Storybook's CLI provides support for [Yarn](https://yarnpkg.com/), [npm](https://www.npmjs.com/), and [pnpm](https://pnpm.io/) package managers. If you have Yarn installed in your environment but prefer to use another as your default package manager add the `--package-manager` flag to your installation command. For example: ```shell - npx storybook init --package-manager=npm + npx storybook@latest init --package-manager=npm ``` - Storybook supports Webpack 5 out of the box. If you're upgrading from a previous version, run the following command to enable it: diff --git a/docs/get-started/installation-problems/ember.mdx b/docs/get-started/installation-problems/ember.mdx index b477a3f3e622..a396c27891bd 100644 --- a/docs/get-started/installation-problems/ember.mdx +++ b/docs/get-started/installation-problems/ember.mdx @@ -1,7 +1,7 @@ - Add the `--type ember` flag to the installation command to set up Storybook manually: ```shell - npx storybook init --type ember + npx storybook@latest init --type ember ``` - During the install process, if you get the following warning message: @@ -17,7 +17,7 @@ Update the [`@storybook/ember-cli-storybook`](https://www.npmjs.com/package/@sto - Storybook's CLI provides support for [Yarn](https://yarnpkg.com/), [npm](https://www.npmjs.com/), and [pnpm](https://pnpm.io/) package managers. If you have Yarn installed in your environment but prefer to use another as your default package manager add the `--package-manager` flag to your installation command. For example: ```shell - npx storybook init --package-manager=npm + npx storybook@latest init --package-manager=npm ``` - For other installation issues, check the [Ember README](https://github.com/storybookjs/storybook/tree/next/code/frameworks/ember) for additional instructions. diff --git a/docs/get-started/installation-problems/html.mdx b/docs/get-started/installation-problems/html.mdx index 709dcf824364..f43b72620b10 100644 --- a/docs/get-started/installation-problems/html.mdx +++ b/docs/get-started/installation-problems/html.mdx @@ -1,7 +1,7 @@ - Add the `--type html` flag to the installation command to set up Storybook manually: ```shell - npx storybook init --type html +npx storybook@latest init --type html ``` - For other installation issues, check the React README files for additional instructions: diff --git a/docs/get-started/installation-problems/preact.mdx b/docs/get-started/installation-problems/preact.mdx index ab781154c1e9..24837b2c1ebd 100644 --- a/docs/get-started/installation-problems/preact.mdx +++ b/docs/get-started/installation-problems/preact.mdx @@ -1,13 +1,13 @@ - Add the `--type preact` flag to the installation command to set up Storybook manually: ```shell - npx storybook init --type preact + npx storybook@latest init --type preact ``` - Storybook's CLI provides support for [Yarn](https://yarnpkg.com/), [npm](https://www.npmjs.com/), and [pnpm](https://pnpm.io/) package managers. If you have Yarn installed in your environment but prefer to use another as your default package manager add the `--package-manager` flag to your installation command. For example: ```shell - npx storybook init --package-manager=npm + npx storybook@latest init --package-manager=npm ``` - For other installation issues, check the [Preact README](https://github.com/storybookjs/storybook/tree/next/code/frameworks/preact-webpack5) for additional instructions. diff --git a/docs/get-started/installation-problems/qwik.mdx b/docs/get-started/installation-problems/qwik.mdx index 7a342d897b20..c6bd50a043b4 100644 --- a/docs/get-started/installation-problems/qwik.mdx +++ b/docs/get-started/installation-problems/qwik.mdx @@ -1,11 +1,11 @@ - Add the `--type qwik` flag to the installation command to set up Storybook manually: ```shell - npx storybook init --type qwik + npx storybook@latest init --type qwik ``` - Storybook's CLI provides support for [Yarn](https://yarnpkg.com/), [npm](https://www.npmjs.com/), and [pnpm](https://pnpm.io/) package managers. If you have Yarn installed in your environment but prefer to use another as your default package manager add the `--package-manager` flag to your installation command. For example: ```shell - npx storybook init --package-manager=npm + npx storybook@latest init --package-manager=npm ``` diff --git a/docs/get-started/installation-problems/react.mdx b/docs/get-started/installation-problems/react.mdx index 677bd6830f96..30b4643208c5 100644 --- a/docs/get-started/installation-problems/react.mdx +++ b/docs/get-started/installation-problems/react.mdx @@ -1,13 +1,13 @@ - Add the `--type react` flag to the installation command to set up Storybook manually: ```shell - npx storybook init --type react + npx storybook@latest init --type react ``` - Storybook's CLI provides support for [Yarn](https://yarnpkg.com/), [npm](https://www.npmjs.com/), and [pnpm](https://pnpm.io/) package managers. If you have Yarn installed in your environment but prefer to use another as your default package manager add the `--package-manager` flag to your installation command. For example: ```shell - npx storybook init --package-manager=npm + npx storybook@latest init --package-manager=npm ``` - Storybook supports Webpack 5 out of the box. If you're upgrading from a previous version, run the following command to enable it: diff --git a/docs/get-started/installation-problems/svelte.mdx b/docs/get-started/installation-problems/svelte.mdx index 28c60ce77dd7..d0bfd5284d68 100644 --- a/docs/get-started/installation-problems/svelte.mdx +++ b/docs/get-started/installation-problems/svelte.mdx @@ -1,13 +1,13 @@ - Add the `--type svelte` flag to the installation command to set up Storybook manually: ```shell - npx storybook init --type svelte + npx storybook@latest init --type svelte ``` - Storybook's CLI provides support for [Yarn](https://yarnpkg.com/), [npm](https://www.npmjs.com/), and [pnpm](https://pnpm.io/) package managers. If you have Yarn installed in your environment but prefer to use another as your default package manager add the `--package-manager` flag to your installation command. For example: ```shell - npx storybook init --package-manager=npm + npx storybook@latest init --package-manager=npm ``` ### Svelte Native diff --git a/docs/get-started/installation-problems/vue.mdx b/docs/get-started/installation-problems/vue.mdx index ec6d98d4bbbf..84f464a5680e 100644 --- a/docs/get-started/installation-problems/vue.mdx +++ b/docs/get-started/installation-problems/vue.mdx @@ -2,16 +2,16 @@ ```shell # For Vue 2 projects - npx storybook init --type vue + npx storybook@latest init --type vue # For Vue 3 projects - npx storybook init --type vue3 + npx storybook@latest init --type vue3 ``` - Storybook's CLI provides support for [Yarn](https://yarnpkg.com/), [npm](https://www.npmjs.com/), and [pnpm](https://pnpm.io/) package managers. If you have Yarn installed in your environment but prefer to use another as your default package manager add the `--package-manager` flag to your installation command. For example: ```shell - npx storybook init --package-manager=npm + npx storybook@latest init --package-manager=npm ``` - For other installation issues, check the Vue README files for additional instructions: diff --git a/docs/get-started/installation-problems/web-components.mdx b/docs/get-started/installation-problems/web-components.mdx index 4a212340616a..1a25db5eadec 100644 --- a/docs/get-started/installation-problems/web-components.mdx +++ b/docs/get-started/installation-problems/web-components.mdx @@ -1,7 +1,7 @@ - Add the `--type web_components` flag to the installation command to set up Storybook manually: ```shell - npx storybook init --type web_components + npx storybook@latest init --type web_components ``` - For other installation issues, check the Web Components README files for additional instructions: diff --git a/docs/snippets/common/init-command.npx.js.mdx b/docs/snippets/common/init-command.npx.js.mdx index 97177a2cfd64..af75533f78c8 100644 --- a/docs/snippets/common/init-command.npx.js.mdx +++ b/docs/snippets/common/init-command.npx.js.mdx @@ -1,3 +1,3 @@ ```shell -npx storybook init +npx storybook@latest init ``` diff --git a/docs/snippets/common/init-command.pnpm.js.mdx b/docs/snippets/common/init-command.pnpm.js.mdx index ea6bc0bf1bcc..f515170706cf 100644 --- a/docs/snippets/common/init-command.pnpm.js.mdx +++ b/docs/snippets/common/init-command.pnpm.js.mdx @@ -1,3 +1,3 @@ ```shell -pnpm dlx storybook init +pnpm dlx storybook@latest init ``` From 9c8db7de50c2f18b3c774a2691e239dbd2b9fa9e Mon Sep 17 00:00:00 2001 From: jonniebigodes Date: Thu, 6 Apr 2023 15:22:09 +0100 Subject: [PATCH 3/7] Merge pull request #21976 from storybookjs/chore_issue_template_tweak Chore (Documentation) Fix issue template to feature correct command --- .github/ISSUE_TEMPLATE/bug_report.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index a7422347a2be..9bace756884b 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -30,7 +30,7 @@ body: id: system attributes: label: System - description: Please paste the results of `npx sb@next info` here. + description: Please paste the results of `npx storybook@latest info` here. render: shell - type: textarea id: context From 557374add09329813fcf8da0dc8ec2a276b90578 Mon Sep 17 00:00:00 2001 From: jonniebigodes Date: Thu, 6 Apr 2023 20:55:41 +0100 Subject: [PATCH 4/7] Merge pull request #21985 from storybookjs/benmccann-patch-1 docs: fix broken link in readme --- code/addons/docs/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/addons/docs/README.md b/code/addons/docs/README.md index 96cb01bc5a18..02c97503b313 100644 --- a/code/addons/docs/README.md +++ b/code/addons/docs/README.md @@ -110,7 +110,7 @@ export default { }; ``` -If using in conjunction with the [storyshots add-on](https://github.com/storybookjs/storybook/blob/next/code/addons/storyshots/storyshots-core/README.md), you will need to +If using in conjunction with the [storyshots add-on](https://github.com/storybookjs/storybook/blob/next/code/addons/storyshots-core/README.md), you will need to configure Jest to transform MDX stories into something Storyshots can understand: Add the following to your Jest configuration: From 57eb8a6883d13108a26da76b30ceb5cb7b00fb5f Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Mon, 10 Apr 2023 23:45:39 +0800 Subject: [PATCH 5/7] Merge pull request #22013 from storybookjs/shilman/fix-vite-react-docgen React-vite: Fix perf regression by pinning vite-plugin-react-docgen-ts --- code/frameworks/react-vite/package.json | 2 +- code/yarn.lock | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/code/frameworks/react-vite/package.json b/code/frameworks/react-vite/package.json index b0fa0475a1ea..7ceba86b46b6 100644 --- a/code/frameworks/react-vite/package.json +++ b/code/frameworks/react-vite/package.json @@ -48,7 +48,7 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@joshwooding/vite-plugin-react-docgen-typescript": "^0.2.1", + "@joshwooding/vite-plugin-react-docgen-typescript": "0.2.1", "@rollup/pluginutils": "^4.2.0", "@storybook/builder-vite": "7.0.2", "@storybook/react": "7.0.2", diff --git a/code/yarn.lock b/code/yarn.lock index fea16564414e..b121189fe1a6 100644 --- a/code/yarn.lock +++ b/code/yarn.lock @@ -3559,7 +3559,7 @@ __metadata: languageName: node linkType: hard -"@joshwooding/vite-plugin-react-docgen-typescript@npm:^0.2.1": +"@joshwooding/vite-plugin-react-docgen-typescript@npm:0.2.1": version: 0.2.1 resolution: "@joshwooding/vite-plugin-react-docgen-typescript@npm:0.2.1" dependencies: @@ -6928,7 +6928,7 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/react-vite@workspace:frameworks/react-vite" dependencies: - "@joshwooding/vite-plugin-react-docgen-typescript": ^0.2.1 + "@joshwooding/vite-plugin-react-docgen-typescript": 0.2.1 "@rollup/pluginutils": ^4.2.0 "@storybook/builder-vite": 7.0.2 "@storybook/react": 7.0.2 From 897aa5254d95f3a7e442b8039f8057956fb7575a Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Mon, 10 Apr 2023 23:49:26 +0800 Subject: [PATCH 6/7] Merge pull request #22006 from storybookjs/shilman/21982-fix-packagemgr-typo CLI: Fix JsPackageManager typo --- code/lib/cli/src/js-package-manager/JsPackageManager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/lib/cli/src/js-package-manager/JsPackageManager.ts b/code/lib/cli/src/js-package-manager/JsPackageManager.ts index c50028929fee..4900ba2fe88e 100644 --- a/code/lib/cli/src/js-package-manager/JsPackageManager.ts +++ b/code/lib/cli/src/js-package-manager/JsPackageManager.ts @@ -115,7 +115,7 @@ export abstract class JsPackageManager { delete packageJsonToWrite.devDependencies; } if ( - packageJsonToWrite.dependencies && + packageJsonToWrite.peerDependencies && Object.keys(packageJsonToWrite.peerDependencies).length === 0 ) { delete packageJsonToWrite.peerDependencies; From 4d70f84881baa9f2f53121a546d3e6a82fd55550 Mon Sep 17 00:00:00 2001 From: jonniebigodes Date: Fri, 30 Dec 2022 15:11:17 +0000 Subject: [PATCH 7/7] Merge pull request #19400 from sriram-km/sri-ram-contribution Improved README.md