Skip to content

Conversation

sij411
Copy link
Contributor

@sij411 sij411 commented Sep 7, 2025

Summary

Add inbox command with Optique

Related Issue

Changes

  • Added inbox command and related scripts

Benefits

Interfaces for the command option and option validations are removed.

Checklist

  • Did you add a changelog entry to the CHANGES.md?
  • Did you write some relevant docs about this change (if it's a new feature)?
  • Did you write a regression test to reproduce the bug (if it's a bug fix)?
  • Did you write some tests for this change (if it's a new feature)?
  • Did you run 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.

@issues-auto-labeler issues-auto-labeler bot added component/cli CLI tools related component/inbox Inbox related examples Example code related labels Sep 7, 2025
@sij411 sij411 changed the title Add inbox command using Optique Update pnpm-lock Sep 7, 2025
@sij411 sij411 changed the title Update pnpm-lock Add inbox command using Optique Sep 7, 2025
Co-authored-by: Hong Minhee (洪 民憙) <[email protected]>
Copy link
Contributor

github-actions bot commented Sep 7, 2025

The docs for this pull request have been published:

https://7361984f.fedify.pages.dev

@sij411 sij411 marked this pull request as ready for review September 7, 2025 05:29
Copy link
Member

@dahlia dahlia left a 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.

} from "@fedify/fedify";
import { getLogger } from "@logtape/logtape";
import * as colors from "@std/fmt/colors";
import { parse } from "@std/semver";
Copy link
Member

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.

Copy link
Contributor

github-actions bot commented Sep 7, 2025

The latest push to this pull request has been published to JSR and npm as a pre-release:

Package Version JSR npm
@fedify/fedify 2.0.0-pr.410.1558+bbac33bb JSR npm
@fedify/cli 2.0.0-pr.410.1558+bbac33bb JSR
@fedify/amqp 2.0.0-pr.410.1558+bbac33bb JSR npm
@fedify/cfworkers 2.0.0-pr.410.1558+bbac33bb JSR npm
@fedify/denokv 2.0.0-pr.410.1558+bbac33bb JSR
@fedify/elysia 2.0.0-pr.410.1558+bbac33bb npm
@fedify/express 2.0.0-pr.410.1558+bbac33bb JSR npm
@fedify/h3 2.0.0-pr.410.1558+bbac33bb JSR npm
@fedify/hono 2.0.0-pr.410.1558+bbac33bb JSR npm
@fedify/nestjs 2.0.0-pr.410.1558+bbac33bb npm
@fedify/next 2.0.0-pr.410.1558+bbac33bb npm
@fedify/postgres 2.0.0-pr.410.1558+bbac33bb JSR npm
@fedify/redis 2.0.0-pr.410.1558+bbac33bb JSR npm
@fedify/sqlite 2.0.0-pr.410.1558+bbac33bb JSR npm
@fedify/sveltekit 2.0.0-pr.410.1558+bbac33bb JSR npm
@fedify/testing 2.0.0-pr.410.1558+bbac33bb JSR npm

Copy link
Contributor

@notJoon notJoon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good overall

@dahlia dahlia merged commit 4bb2705 into fedify-dev:next Sep 9, 2025
10 checks passed
@dahlia dahlia added this to the Fedify 2.0 milestone Sep 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/cli CLI tools related component/inbox Inbox related examples Example code related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants