Closed
Conversation
…ugin, tests, and doc updates
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR replaces the Ruby
devcentergem with@heroku-cli/heroku-cli-plugin-devcenter, a Node 20+ oclif plugin that implementsheroku devcenter:open|pull|push|previewusing TypeScript, HTTP calls to Dev Center, local markdown/YAML handling,~/.netrcauth, and a local preview server.bin/devcenter.src/→dist/build, ESLint (oclif config), CI (multi-OS/Node), Dependabot, components inventory, and updated README/CONTRIBUTING..c8rc.jsonandc8 --all --check-coveragewith heroku/cli (80% gates onsrc/**/*.ts).runCommandhelper, plus nock/supertest/unit tests.DEVCENTER_CLI_CWD/DEVCENTER_CLI_TEST(andDEVCENTER_CLI_TEST_CONFIRMfor pull) so tests stay isolated and non-interactive.Breaking change: users must switch from the gem/
devcenterbinary toheroku devcenter:*via the npm plugin.Type of Change
Breaking Changes (major semver update)
!after your change type to denote a change that breaks current behaviorFeature Additions (minor semver update)
Patch Updates (patch semver update)
Testing
setup
First
heroku login. Then run help commandsthis will open the page in your browser
these should create the .md files in the location you run from and open the preview locally
This will send an update to the article, not publish if in drafts.
Screenshots (if applicable)
Related Issues
GUS work item: W-20867948