-
-
Notifications
You must be signed in to change notification settings - Fork 83
Add inbox command using Optique #410
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
Conversation
Co-authored-by: Hong Minhee (洪 民憙) <[email protected]>
The docs for this pull request have been published: |
Co-authored-by: Hong Minhee (洪 民憙) <[email protected]>
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.
In order to make it runnable on Node.js, we need to get rid of Deno.serve()
from packages/cli/src/tempserver.ts and utilize srvx instead.
packages/cli/src/inbox.tsx
Outdated
} from "@fedify/fedify"; | ||
import { getLogger } from "@logtape/logtape"; | ||
import * as colors from "@std/fmt/colors"; | ||
import { parse } from "@std/semver"; |
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.
We probably don't need @std/semver here; you can use parseSemVer()
from @fedify/fedify/nodeinfo
IIRC.
The latest push to this pull request has been published to JSR and npm as a pre-release:
|
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 overall
Summary
Add inbox command with Optique
Related Issue
inbox
command using Optique #396Changes
Benefits
Interfaces for the command option and option validations are removed.
Checklist
deno taskt test-all
on your machine?Additional Notes
Removed redundant inbox.test.ts. The tests within were for option combinations that the Optique parser now handles.