packages: update outdated installation instructions

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2021-06-01 20:13:22 +02:00
parent 3aeccc94ba
commit e7c5e4b303
8 changed files with 27 additions and 52 deletions
+11
View File
@@ -0,0 +1,11 @@
---
'@backstage/cli': patch
'@backstage/core-app-api': patch
'@backstage/core-components': patch
'@backstage/core-plugin-api': patch
'@backstage/dev-utils': patch
'@backstage/test-utils': patch
'@backstage/theme': patch
---
Update installation instructions in README.
+1 -7
View File
@@ -4,13 +4,7 @@ This package provides a CLI for developing Backstage plugins and apps.
## Installation
Install the package via npm or Yarn:
```sh
npm install --save @backstage/cli
```
or
Install the package via Yarn:
```sh
yarn add @backstage/cli
+3 -8
View File
@@ -4,16 +4,11 @@ This package provides the core API used by Backstage apps.
## Installation
Install the package via Yarn or npm:
Install the package via Yarn:
```sh
$ yarn add @backstage/core-app-api
```
or
```sh
$ npm install --save @backstage/core-app-api
cd packages/app
yarn add @backstage/core-app-api
```
## Documentation
+3 -8
View File
@@ -4,16 +4,11 @@ This package provides the core components used by Backstage plugins and apps
## Installation
Install the package via Yarn or npm:
Install the package via Yarn:
```sh
$ yarn add @backstage/core-components
```
or
```sh
$ npm install --save @backstage/core-components
cd <package-dir> # if within a monorepo
yarn add @backstage/core-components
```
## Documentation
+3 -8
View File
@@ -4,16 +4,11 @@ This package provides the core API used by Backstage plugins.
## Installation
Install the package via Yarn or npm:
Install the package via Yarn:
```sh
$ yarn add @backstage/core-plugin-api
```
or
```sh
$ npm install --save @backstage/core-plugin-api
cd <package-dir> # if within a monorepo
yarn add @backstage/core-plugin-api
```
## Documentation
+2 -7
View File
@@ -6,15 +6,10 @@ This package provides utilities that help in developing plugins for Backstage, l
## Installation
Install the package via npm or Yarn:
```sh
npm install --save-dev @backstage/dev-utils
```
or
Install the package via Yarn:
```sh
cd plugins/<plugin> # if within a monorepo
yarn add -D @backstage/dev-utils
```
+2 -7
View File
@@ -4,15 +4,10 @@ This package provides utilities that can be used to test plugins and apps for Ba
## Installation
Install the package via npm or Yarn:
```sh
npm install --save-dev @backstage/test-utils
```
or
Install the package via Yarn:
```sh
cd <package-dir> # if within a monorepo
yarn add -D @backstage/test-utils
```
+2 -7
View File
@@ -4,15 +4,10 @@ This package provides the extended Material UI Theme(s) that power Backstage.
## Installation
Install the package via npm or Yarn:
```sh
npm install --save @backstage/theme
```
or
Install the package via Yarn:
```sh
cd <package-dir> # if within a monorepo
yarn add @backstage/theme
```