Skip to content

Commit 42fdb5a

Browse files
authored
peer dependency (#3)
1 parent 3bf0205 commit 42fdb5a

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The first thing you'll need to do is install `@markdoc/next.js` and add it to yo
1010

1111
1. From your project, run this command to install `@markdoc/next.js`:
1212
```sh
13-
npm install @markdoc/next.js
13+
npm install @markdoc/next.js @markdoc/markdoc
1414
```
1515
2. Open `next.config.js` and add the following code:
1616

package-lock.json

Lines changed: 4 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,19 @@
1414
"test": "jest"
1515
},
1616
"dependencies": {
17-
"@markdoc/markdoc": "0.1.1",
1817
"js-yaml": "^4.1.0"
1918
},
2019
"devDependencies": {
2120
"@babel/core": "^7.16.12",
2221
"@babel/plugin-transform-modules-commonjs": "^7.16.8",
22+
"@markdoc/markdoc": "^0.1.1",
2323
"@types/jest": "^27.4.1",
2424
"jest": "^27.5.1",
2525
"ts-jest": "^27.1.3",
2626
"typescript": "4.6.2"
2727
},
2828
"peerDependencies": {
29+
"@markdoc/markdoc": "^0.1.1",
2930
"next": "*",
3031
"react": "*"
3132
},

0 commit comments

Comments
 (0)