-
Notifications
You must be signed in to change notification settings - Fork 170
feat: remove --lint, --preprocess, and --decorate options from the join command #1507
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
feat: remove --lint, --preprocess, and --decorate options from the join command #1507
Conversation
🦋 Changeset detectedLatest commit: 11e7ffc The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Coverage report
Show files with reduced coverage 🔻
Test suite run success721 tests passing in 101 suites. Report generated by 🧪jest coverage report action from 11e7ffc |
f2f3b6e
to
9bd6abf
Compare
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.
Looks good and locally seems to behave as I would expect. Thanks!
I don't reckon this PR completely resolves the original issue. |
Ah, yes. The join command should not do any preprocessing at all, for any reason. That functionality should be only in bundle. |
So in current changes we are skipping default one
|
Hmm. So, the decorators/preprocessors are getting explicitly suppressed in the code? That makes me think. Since One more thing. Redocly CLI actually runs preprocessors not only on the Anyway, if we are removing those options, I'd expect to have a document explaining how to switch from the current usage model to the new one. We have such one for the cc @lornajane |
My perspective is more about how the user sees the feature. It makes sense that |
Updated to add: let's signpost the decorators from the join command docs. |
|
01bb3ea
to
a83a744
Compare
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.
Looks good. Thanks!
"Signpost" literally a post with a sign on it!! But in documentation terms, it means to help users to find the direction, by adding information and a link about something to "signpost" them to another thing. In this instance, you can translate my request as "let's add some information and a link from the join documentation to the decorators documentation" |
1b47dcf
to
845c708
Compare
Added similar console notification messages as for bundle deprecated options. |
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.
Pushed a docs change, hope you don't mind. It looks good.
What/Why/How?
Remove options from the
join
command:Reference
Closes #1397
Testing
Screenshots (optional)
Check yourself
Security