Skip to content
This repository was archived by the owner on May 8, 2023. It is now read-only.

Commit ea55cad

Browse files
committed
s/react-cosmos/react-cosmos-classic
1 parent dabeb1b commit ea55cad

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -110,21 +110,21 @@ _Have a question or idea to share? See you on [Slack](https://join-react-cosmos.
110110
Install via npm
111111

112112
```bash
113-
npm install --save-dev react-cosmos
113+
npm install --save-dev react-cosmos-classic
114114
```
115115

116116
or Yarn
117117

118118
```bash
119-
yarn add --dev react-cosmos
119+
yarn add --dev react-cosmos-classic
120120
```
121121

122122
Add package.json scripts
123123

124124
```diff
125125
"scripts": {
126-
+ "cosmos": "cosmos",
127-
+ "cosmos:export": "cosmos-export"
126+
+ "cosmos": "cosmos-classic",
127+
+ "cosmos:export": "cosmos-classic-export"
128128
}
129129
```
130130

@@ -152,7 +152,7 @@ If something's wrong
152152
- Extend existing [webpack config](#custom-webpack-config)
153153
- See [popular integrations](#integration-with-popular-tools) (e.g. CRA or Next.js)
154154
- Extend your [config](#config)
155-
- Be kind and [report what went wrong](https://github.com/react-cosmos/react-cosmos/issues)
155+
- Be kind and [report what went wrong](https://github.com/react-cosmos/react-cosmos-classic/issues)
156156
157157
### Fixtures
158158
@@ -897,7 +897,7 @@ _What proxy would you create to improve DX?_
897897

898898
#### Create React App
899899

900-
Add `react-cosmos` to dev dependencies and create `cosmos.config.js`.
900+
Add `react-cosmos-classic` to dev dependencies and create `cosmos.config.js`.
901901

902902
```js
903903
// cosmos.config.js
@@ -917,7 +917,7 @@ If you are using the `NODE_PATH` environment variable for absolute imports, make
917917
```js
918918
// package.json
919919
"scripts": {
920-
"cosmos": "NODE_PATH=./src cosmos"
920+
"cosmos": "NODE_PATH=./src cosmos-classic"
921921
}
922922
```
923923

@@ -953,7 +953,7 @@ The solution is to put an empty `.nojekyll` file in your `/public/` folder. This
953953

954954
#### Next.js
955955

956-
Add `react-cosmos` to dev dependencies and create `cosmos.config.js`.
956+
Add `react-cosmos-classic` to dev dependencies and create `cosmos.config.js`.
957957

958958
> Next.js apps run on both client & server, so compilation is done via Babel plugins instead of webpack loaders. This means we can rely on Cosmos' default webpack config.
959959
@@ -980,7 +980,7 @@ _Next.js + Cosmos example: [Illustrated Algorithms](https://github.com/skidding/
980980

981981
#### React Boilerplate
982982

983-
Add `react-cosmos` to dev dependencies and create `cosmos.config.js`.
983+
Add `react-cosmos-classic` to dev dependencies and create `cosmos.config.js`.
984984

985985
```js
986986
// cosmos.config.js
@@ -993,7 +993,7 @@ module.exports = {
993993

994994
#### React Redux Starter Kit
995995

996-
Add `react-cosmos` to dev dependencies and create `cosmos.config.js`.
996+
Add `react-cosmos-classic` to dev dependencies and create `cosmos.config.js`.
997997

998998
```js
999999
// cosmos.config.js
@@ -1151,7 +1151,7 @@ Add this script and run `npm run cosmos:export` or `yarn cosmos:export`.
11511151

11521152
```diff
11531153
"scripts": {
1154-
+ "cosmos:export": "cosmos-export"
1154+
+ "cosmos:export": "cosmos-classic-export"
11551155
}
11561156
```
11571157

0 commit comments

Comments
 (0)