Skip to content

Resolve issues related with fedify init#563

Open
2chanhaeng wants to merge 16 commits intofedify-dev:mainfrom
2chanhaeng:init
Open

Resolve issues related with fedify init#563
2chanhaeng wants to merge 16 commits intofedify-dev:mainfrom
2chanhaeng:init

Conversation

@2chanhaeng
Copy link
Contributor

@2chanhaeng 2chanhaeng commented Feb 10, 2026

Summary

Resolve issues related with fedify init. This includes:

Related Issue

Reference the related issue(s) by number, e.g.:

Changes

There have been several accumulated issues related to fedify init. To avoid potential conflicts from separate pull requests addressing more than one issue, we have consolidated and resolved them in a single issue, #533.

  • Separated @fedify/init from @fedify/cli.
  • Created create-fedify-app using @fedify/init.
  • Added @fedify/lint and its related configurations and files when creating a project with @fedify/init.
  • When testing @fedify/lint with test-init, it now notifies the user if related local database servers like Redis are not running.

Benefits

  • Separating @fedify/init allows for the creation of additional packages or apps, such as create-fedify-app.
  • Users can now create a Fedify app directly via create-fedify-app without needing to install @fedify/cli.
  • Fedify apps created with fedify init and create-fedify-app are automatically linted, improving user convenience.
  • test-init now helps with error resolution by notifying the user if local database servers are not running.

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 task test-all on your machine?

Additional Notes

Include any other information, context, or considerations.

@issues-auto-labeler issues-auto-labeler bot added breaking change Breaking change component/build Build system and packaging component/cli CLI tools related component/lint Lint related (@fedify/lint) labels Feb 10, 2026
@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @2chanhaeng, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request significantly refactors the project initialization process for Fedify. By separating the core initialization logic into a dedicated @fedify/init package and introducing create-fedify-app, the project enhances flexibility and user experience. It also streamlines development by integrating linting into new projects and improving the test-init command with pre-checks for necessary database services, ensuring a smoother setup and testing workflow.

Highlights

  • Modularity and Reusability: The fedify init functionality has been extracted from @fedify/cli into a new, standalone package @fedify/init. This improves modularity and allows other tools to leverage Fedify's project initialization logic.
  • New Project Scaffolding Tool: A new standalone CLI tool, create-fedify-app, has been introduced. This allows users to create new Fedify projects using npx create-fedify-app (or equivalent for other package managers) without needing to install the full @fedify/cli globally.
  • Automatic Linting Integration: New Fedify projects created with fedify init or create-fedify-app now automatically include @fedify/lint and its configurations. Deno projects get a lint plugin in deno.json, while Node.js and Bun projects receive an eslint.config.ts.
  • Enhanced test-init Utility: The test-init task now includes checks for local database servers (like Redis or PostgreSQL) required by the project configuration. It notifies the user if these services are not running, aiding in error resolution during testing.
Changelog
  • .gitignore
    • Added 'plans/' to the ignore list.
  • .hongdown.toml
    • Excluded '/plans/' from processing.
  • AGENTS.md
    • Documented the new 'packages/init' and 'packages/create-fedify-app' directories.
  • CHANGES.md
    • Added a changelog entry for the creation of @fedify/init package, detailing its separation from @fedify/cli and new functionalities.
    • Added a changelog entry for the creation of create-fedify-app, highlighting its standalone nature and usage.
  • CONTRIBUTING.md
    • Added descriptions for the new packages/create-fedify-app and packages/init packages.
  • deno.json
    • Included 'packages/create-fedify-app' and 'packages/init' in the workspace configuration.
    • Updated the exclude path for templates from 'packages/cli/src/init/templates/' to 'packages/init/src/templates/'.
  • deno.lock
    • Removed the 'deprecated' flag from the 'tsscmp' dependency.
    • Added dependency entries for the new 'packages/create-fedify-app' package.
    • Added dependency entries for the new 'packages/init' package.
  • docs/cli.md
    • Added a tip about automatic @fedify/lint inclusion in projects created with fedify init.
    • Added a new section documenting the create-fedify-app command and its usage.
  • docs/install.md
    • Added an 'Alternative: Using create-fedify-app' section with installation instructions for various package managers.
  • packages/cli/deno.json
    • Removed the 'test-init' task and associated 'fmt', 'lint', and 'test' excludes.
  • packages/cli/package.json
    • Added @fedify/init as a workspace dependency.
  • packages/cli/src/init/mod.ts
    • Updated imports to directly use initCommand and runInit from @fedify/init.
  • packages/cli/tsdown.config.ts
    • Removed src/init/test/mod.ts from the entry points.
    • Removed the build:done hook responsible for copying templates, as this is now handled by @fedify/init.
  • packages/create-fedify-app/README.md
    • Added a new README file documenting the create-fedify-app package, its purpose, usage, and supported options.
  • packages/create-fedify-app/deno.json
    • Added a new Deno configuration file for the create-fedify-app package, defining its name, version, exports, imports, and publish/lint excludes.
  • packages/create-fedify-app/package.json
    • Added a new package.json file for create-fedify-app, including metadata, dependencies, and build scripts.
  • packages/create-fedify-app/src/mod.ts
    • Added the main source file for create-fedify-app, implementing its CLI logic by calling runInit from @fedify/init.
  • packages/create-fedify-app/tsdown.config.ts
    • Added a new tsdown configuration file for create-fedify-app, specifying entry points, platform, and external dependencies.
  • packages/fedify/README.md
    • Added create-fedify-app and @fedify/init to the list of packages with their respective JSR/npm links and descriptions.
  • packages/init/README.md
    • Added a new README file for the @fedify/init package, describing its role as a project initializer, supported options, installation, API, and testing instructions.
  • packages/init/deno.json
    • Added a new Deno configuration file for the @fedify/init package, defining its name, version, exports, imports, tasks, and various excludes for formatting, linting, and testing.
  • packages/init/package.json
    • Added a new package.json file for @fedify/init, including metadata, dependencies, and build/test scripts.
  • packages/init/src/action/configs.ts
    • Updated import paths for utility functions.
    • Added @fedify/lint plugin to Deno configuration for new projects.
    • Added 'dbaeumer.vscode-eslint' to recommended VS Code extensions.
    • Disabled the biome linter in the default biome.json configuration.
  • packages/init/src/action/const.ts
    • Adjusted the calculation of PACKAGES_PATH to reflect the new package structure.
  • packages/init/src/action/deps.ts
    • Updated import paths for utility functions.
  • packages/init/src/action/env.ts
    • Updated import paths for utility functions.
  • packages/init/src/action/install.ts
    • Updated import paths for utility functions.
  • packages/init/src/action/mod.ts
    • Updated import paths for utility functions.
    • Revised the JSDoc comments to accurately describe the runInit execution flow.
  • packages/init/src/action/notice.ts
    • Updated import paths for utility functions.
  • packages/init/src/action/patch.ts
    • Updated import paths for utility functions.
  • packages/init/src/action/precommand.ts
    • Updated import paths for utility functions.
  • packages/init/src/action/recommend.ts
    • Updated import paths for utility functions.
  • packages/init/src/action/set.ts
    • Updated import paths for utility functions.
  • packages/init/src/action/templates.ts
    • Updated import paths for utility functions.
  • packages/init/src/ask/dir.ts
    • Updated import paths for utility functions.
  • packages/init/src/ask/kv.ts
    • Updated import paths for utility functions.
  • packages/init/src/ask/mq.ts
    • Updated import paths for utility functions.
  • packages/init/src/ask/pm.ts
    • Updated import paths for utility functions.
    • Moved getLabel and whenHasLabel helper functions from lib.ts to this file.
  • packages/init/src/command.ts
    • Moved the debugOption definition to a local constant.
    • Introduced initOptions to define common initialization options.
    • Merged initOptions into initCommand for a more structured command definition.
  • packages/init/src/const.ts
    • Added DB_TO_CHECK constant to list databases that require availability checks during testing.
  • packages/init/src/json/biome.json
    • Disabled the linter in the default biome configuration.
  • packages/init/src/json/db-to-check.json
    • Added a new JSON file containing information about databases to check, including their names, default ports, and documentation links.
  • packages/init/src/lib.ts
    • Updated import paths for utility functions.
    • Removed when from @fxts/core imports.
    • Removed isNotFoundError and runSubCommand as they are now part of packages/init/src/utils.ts.
    • Removed getLabel and whenHasLabel as they were moved to packages/init/src/ask/pm.ts.
  • packages/init/src/mod.ts
    • Added a new module exporting runInit, initCommand, and initOptions for external consumption.
  • packages/init/src/templates/defaults/eslint.config.ts.tpl
    • Added a new template for eslint.config.ts that imports and uses @fedify/lint.
  • packages/init/src/test/action.ts
    • Updated import paths for utility functions.
    • Added a call to checkRequiredDbs to verify database server availability before running tests.
  • packages/init/src/test/create.ts
    • Updated import paths for utility functions.
    • Adjusted the current working directory (cwd) for runSubCommand to reflect the new package structure.
    • Changed the command executed for initialization tests from src/mod.ts to src/test/execute.ts.
  • packages/init/src/test/db.ts
    • Added a new module containing isPortOpen to check if a port is open and checkRequiredDbs to verify the availability of required database servers.
  • packages/init/src/test/execute.ts
    • Added a new executable script to run fedify init for testing purposes.
  • packages/init/src/test/lookup.ts
    • Updated import paths for utility functions.
  • packages/init/src/test/mod.ts
    • Removed the shebang line from the file.
  • packages/init/src/test/run.ts
    • Updated import paths for utility functions.
  • packages/init/src/test/types.ts
    • Added DbToCheckType to define types for databases that need to be checked.
  • packages/init/src/test/utils.ts
    • Updated import paths for utility functions.
    • Changed rmdir to rm for directory removal, aligning with modern Node.js API.
  • packages/init/src/types.ts
    • Updated import paths for utility functions.
  • packages/init/src/utils.ts
    • Added a new utility module consolidating various helper functions such as set, merge, replace, replaceAll, formatJson, notEmpty, isNotFoundError, CommandError, runSubCommand, getCwd, getOsType, exit, product, printMessage, and printErrorMessage.
  • packages/init/src/webframeworks.ts
    • Updated import paths for utility functions.
    • Introduced defaultDevDependencies and defaultDenoDependencies to standardize common development dependencies.
    • Integrated @fedify/lint and ESLint configuration into web framework templates for non-Deno projects.
    • Added a 'lint' script to package.json tasks for non-Deno projects.
  • packages/init/tsdown.config.ts
    • Added a new tsdown configuration file for @fedify/init, specifying entry points, platform, external dependencies, and a build:done hook to copy templates and JSON files.
  • pnpm-lock.yaml
    • Updated dependencies for @fedify/cli to include @fedify/init.
    • Added new dependency entries for packages/create-fedify-app and packages/init.
    • Adjusted dependency resolutions for ESLint-related packages.
  • pnpm-workspace.yaml
    • Added packages/create-fedify-app and packages/init to the list of workspace packages.
Activity
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This is a great pull request that significantly improves the project's structure by separating the init functionality into its own package, @fedify/init, and introducing create-fedify-app for easier project scaffolding. The addition of automatic linting setup with @fedify/lint in new projects is a valuable improvement for code quality. The new check for running database services in test-init is also a nice developer experience enhancement.

The code changes are well-organized and the refactoring is clean. I have one suggestion to improve the reliability of the port checking logic in the new test utility to avoid potential false positives. Other than that, the changes look solid. Well done!

@codecov
Copy link

codecov bot commented Feb 10, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

Files with missing lines Coverage Δ
packages/cli/src/utils.ts 13.33% <ø> (ø)
packages/init/src/action/utils.ts 48.48% <ø> (ø)
🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@issues-auto-labeler issues-auto-labeler bot added the component/testing Testing utilities (@fedify/testing) label Feb 10, 2026
@2chanhaeng
Copy link
Contributor Author

It seem to be many changes, but most of them occurred in commit 0947095, which moved files from packages/cli/src/init to packages/init/src for #482, so please check the files from that commit onwards.

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.

There are some conflicts; could you rebase your commits on the latest main?

@sij411
Copy link
Contributor

sij411 commented Feb 12, 2026

Just a reminder, there are multiple functions marked as export, but only used internally in general.

@dahlia dahlia requested a review from Copilot February 12, 2026 12:05
@dahlia
Copy link
Member

dahlia commented Feb 12, 2026

/gemini review

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This is a significant pull request that refactors the fedify init functionality into a new, modular @fedify/init package and introduces the @fedify/create package for easier project scaffolding. The changes are well-executed, including necessary updates to documentation, build configurations, and paths. I appreciate the addition of automatic linting setup for new projects and the developer-friendly check for running database servers in the test suite.

I've identified a high-severity issue with an unsafe regex that could corrupt generated JSON files, and a medium-severity issue with a fragile port-checking mechanism in the tests. My review includes suggestions to address these points. Overall, this is a great contribution that enhances the project's structure and usability.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR consolidates and fixes multiple fedify init / test-init issues by extracting the initializer into a standalone @fedify/init package, adding a lightweight project scaffolding CLI (@fedify/create), and updating generated projects to include @fedify/lint by default.

Changes:

  • Split initializer logic from @fedify/cli into new @fedify/init, and rewire CLI to consume it.
  • Add @fedify/create to support npm init @fedify / pnpm create @fedify flows.
  • Add linting defaults to generated projects and add DB-running notifications for test-init.

Reviewed changes

Copilot reviewed 58 out of 88 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
pnpm-workspace.yaml Add new workspace packages (create, init)
pnpm-lock.yaml Update lockfile for new packages/deps
deno.lock Add Deno lock entries for packages/init
deno.json Include packages/init and update template excludes
.github/workflows/main.yaml Adjust deno publish dry-run flags
.hongdown.toml Expand exclusion patterns
.gitignore Ignore plans/ directory
CHANGES.md Add changelog entries for @fedify/init / @fedify/create
AGENTS.md Document new package directories
CONTRIBUTING.md Mention packages/create / packages/init in package list
docs/install.md Document @fedify/create alternative flow
docs/cli.md Note @fedify/lint + @fedify/create tips
packages/fedify/README.md Add @fedify/create / @fedify/init to package list
packages/cli/package.json Add dependency on @fedify/init
packages/cli/deno.json Remove old init template excludes / task changes
packages/cli/tsdown.config.ts Remove init test entry + template copy hook
packages/cli/src/init/mod.ts Re-export init API from @fedify/init
packages/cli/scripts/pack.ts Update deno compile --include path for templates
packages/init/package.json New @fedify/init package manifest
packages/init/deno.json New Deno config/tasks for @fedify/init
packages/init/README.md New package documentation
packages/init/tsdown.config.ts Build config + copy templates/json into dist
packages/init/src/mod.ts Public exports for initializer API
packages/init/src/const.ts Add DB_TO_CHECK list
packages/init/src/command.ts Inline debug option + export initOptions
packages/init/src/lib.ts Adjust metadata/template resolution for new package
packages/init/src/types.ts Fix RequiredNotNull import location
packages/init/src/utils.ts Add shared utilities (spawn runner, printing, etc.)
packages/init/src/webframeworks.ts Add lint defaults + eslint config generation
packages/init/src/ask/mod.ts New prompt flow composition
packages/init/src/ask/dir.ts Update utils import path
packages/init/src/ask/kv.ts Update utils import path
packages/init/src/ask/mq.ts Update utils import path
packages/init/src/ask/pm.ts Move label-resolution logic locally
packages/init/src/ask/wf.ts New web framework prompt helper
packages/init/src/action/mod.ts Update utils import + doc comment refresh
packages/init/src/action/dir.ts New helper to create target dir
packages/init/src/action/utils.ts Add env stringify + join helpers
packages/init/src/action/configs.ts Add @fedify/lint config + vscode recommendations
packages/init/src/action/deps.ts Update utils import path
packages/init/src/action/env.ts Update utils import path
packages/init/src/action/install.ts Update utils import path
packages/init/src/action/notice.ts Update utils import path
packages/init/src/action/patch.ts Update utils import path
packages/init/src/action/precommand.ts Update utils import path
packages/init/src/action/recommend.ts Update utils import path
packages/init/src/action/set.ts Update utils import path
packages/init/src/action/templates.ts Update utils import path
packages/init/src/action/const.ts Fix PACKAGES_PATH resolution after extraction
packages/init/src/json/biome.json Disable Biome linter (formatter-only)
packages/init/src/json/db-to-check.json Add DB metadata for test-init checks
packages/init/src/json/kv.json New KV store descriptors
packages/init/src/json/mq.json New message queue descriptors
packages/init/src/json/pm.json New package manager descriptors
packages/init/src/json/rt.json New runtime descriptors
packages/init/src/json/vscode-settings.json New VS Code settings template
packages/init/src/json/vscode-settings-for-deno.json New Deno-specific VS Code settings
packages/init/src/templates/defaults/eslint.config.ts.tpl Add eslint config template for @fedify/lint
packages/init/src/templates/defaults/federation.ts.tpl Add federation template
packages/init/src/templates/defaults/logging.ts.tpl Add logging template
packages/init/src/templates/express/app.ts.tpl Add Express app template
packages/init/src/templates/express/index.ts.tpl Add Express entry template
packages/init/src/templates/hono/app.tsx.tpl Add Hono app template
packages/init/src/templates/hono/index/bun.ts.tpl Add Hono Bun entry template
packages/init/src/templates/hono/index/deno.ts.tpl Add Hono Deno entry template
packages/init/src/templates/hono/index/node.ts.tpl Add Hono Node entry template
packages/init/src/templates/elysia/index/bun.ts.tpl Add Elysia Bun entry template
packages/init/src/templates/elysia/index/deno.ts.tpl Add Elysia Deno entry template
packages/init/src/templates/elysia/index/node.ts.tpl Add Elysia Node entry template
packages/init/src/templates/next/middleware.ts.tpl Add Next.js middleware template
packages/init/src/templates/nitro/.env.test.tpl Add Nitro test env template
packages/init/src/templates/nitro/nitro.config.ts.tpl Add Nitro config template
packages/init/src/templates/nitro/server/error.ts.tpl Add Nitro error handler template
packages/init/src/templates/nitro/server/middleware/federation.ts.tpl Add Nitro federation middleware template
packages/init/src/test/mod.ts Adjust test-init runner entry
packages/init/src/test/action.ts Add DB check step + update utils import
packages/init/src/test/create.ts Update execution entrypoint + cwd handling
packages/init/src/test/db.ts New DB port-check notifications
packages/init/src/test/execute.ts New init command execution entrypoint
packages/init/src/test/fill.ts New helper to fill missing test-init options
packages/init/src/test/lookup.ts Update utils import path
packages/init/src/test/run.ts Update utils import path
packages/init/src/test/types.ts Add DbToCheckType type
packages/init/src/test/utils.ts Use rm() + update utils import path
packages/create/package.json New @fedify/create CLI package manifest
packages/create/README.md Add usage/docs for @fedify/create
packages/create/tsdown.config.ts Build config for @fedify/create
packages/create/src/mod.ts CLI entrypoint wrapping @fedify/init
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported
Comments suppressed due to low confidence (1)

packages/init/src/webframeworks.ts:24

  • defaultDenoDependencies/defaultDevDependencies are referenced while building the webFrameworks object, but they’re declared later in the module. Because const declarations aren’t hoisted, this will throw a ReferenceError during module initialization. Move the default*Dependencies declarations above webFrameworks (or inline them) so the module can load.

}

export type GeneratedType<T extends Generator> = T extends
Generator<unknown, infer R, unknown> ? R : never;
Copy link
Contributor

Choose a reason for hiding this comment

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

This looks like it extracts the yield type, but it actually extracts any due to Generator's default type parameters. Might want to double-check if that's intentional currently all the type safety here is coming from manual as casts, not the utility. Also It won't be the problem in runtime since it doesn't use stricter compiler. Just a bit worrying.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed at abfdbf0!
It was just a wrong code. How did I not notice this problem until now? 😂

@2chanhaeng 2chanhaeng requested review from dahlia and sij411 February 13, 2026 18:40
Comment on lines +17 to +21
"author": {
"name": "Hong Minhee",
"email": "hong@minhee.org",
"url": "https://hongminhee.org/"
},
Copy link
Member

Choose a reason for hiding this comment

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

Since @fedify/create is a new package created by you in this PR, the author field should credit you rather than me. Could you update it to your information?

The same applies to packages/init/package.json as well.

},
"test": {
"exclude": [
"src/init/test/**"
Copy link
Member

Choose a reason for hiding this comment

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

I think this exclude pattern should be updated?

- **Message queues**: Deno KV, Redis, PostgreSQL, AMQP

See the [`@fedify/init`] package or the [Fedify CLI docs] for details on
available options (`-r`, `-p`, `-w`, `-k`, `-q`, `--dry-run`).
Copy link
Member

Choose a reason for hiding this comment

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

What are -r and -q?

optional(or(noHydRun, noDryRun)),
),
{
brief: message`Test an initializing command .`,
Copy link
Member

Choose a reason for hiding this comment

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

There's an unnecessary space right after the period.

Copy link
Member

Choose a reason for hiding this comment

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

It would be great if it has its engines field.

Comment on lines +49 to +50
"@optique/core": "^0.9.0",
"@optique/run": "^0.9.0",
Copy link
Member

Choose a reason for hiding this comment

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

Since @optique/core and @optique/run are now used across three packages (@fedify/cli, @fedify/init, and @fedify/create), it would be nice to add them to the pnpm catalog in pnpm-workspace.yaml and use "catalog:" in each package.json—consistent with how es-toolkit, @logtape/logtape, etc. are already managed.

Comment on lines +11 to +12
"@optique/core": "jsr:@optique/core@^0.9.0",
"@optique/run": "jsr:@optique/run@^0.9.0",
Copy link
Member

Choose a reason for hiding this comment

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

Similarly on the Deno side, @optique/core and @optique/run in packages/init/deno.json imports could be moved to the root deno.json imports so they are managed at the workspace level—same as @fxts/core, @logtape/logtape, es-toolkit, etc. are already.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking change Breaking change component/build Build system and packaging component/cli CLI tools related component/lint Lint related (@fedify/lint) component/testing Testing utilities (@fedify/testing)

Projects

None yet

3 participants