docs: improve jwt-auth package documentation#20
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Contributor
Author
|
Local validation exposed a real Node runtime issue in the example: Fixed in commit Please pull the branch again and rerun: git pull origin docs/jwt-auth-portfolio-polish
npm test
npm run test:coverage
node examples/express-refresh-auth/server.cjs |
Contributor
Author
|
Local validation passed after the CommonJS runtime import fixes. Validated commands: npm test
npm run test:coverage
node examples/express-refresh-auth/server.cjsResults:
GitHub Actions CI also completed successfully for the PR head commit. Merge is currently blocked only by required code owner review from |
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 improves the public documentation of
@devflow-modules/jwt-authas a reusable authentication package case for the DevFlow Labs portfolio.Changes
examples/express-refresh-auth/server.cjs.protectWithRolesexists in source/tests but should be verified/exported before documenting it as public package API.Validation
Documentation-only change plus example file. Runtime code was not modified.
Recommended local checks:
npm test npm run test:coverageRelated Portfolio Issue
Related to
devflow-modules/devflow#34.