-
Notifications
You must be signed in to change notification settings - Fork 27
Make @markdoc/markdoc a peer dependency #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,18 +14,19 @@ | |
"test": "jest" | ||
}, | ||
"dependencies": { | ||
"@markdoc/markdoc": "0.1.1", | ||
"js-yaml": "^4.1.0" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.16.12", | ||
"@babel/plugin-transform-modules-commonjs": "^7.16.8", | ||
"@markdoc/markdoc": "^0.1.1", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. do we need it as a dev dependency if it is a peer dependency? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ^ if we want to be able to use it in our tests we do. |
||
"@types/jest": "^27.4.1", | ||
"jest": "^27.5.1", | ||
"ts-jest": "^27.1.3", | ||
"typescript": "4.6.2" | ||
}, | ||
"peerDependencies": { | ||
"@markdoc/markdoc": "^0.1.1", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we are still treating every version as unstable until v1.0.0 right? (thinking of the case where a change is made to core markdoc and the next js plugin breaks because we forget to up this dependency) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We still have a lock file, so it won't grab the new version unless we update the lockfile, right? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I thought There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. But I always forget the specifics of how this works There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah I think that is how it worked before lock files? |
||
"next": "*", | ||
"react": "*" | ||
}, | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
when should we just change these instructions to be
?
I guess when this is not in beta anymore?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
^ Once that command works 🙂