Skip to content

Separate @fedify/init from @fedify/cli #482

@2chanhaeng

Description

@2chanhaeng

Summary

Separate fedify init from @fedify/cli and create @fedify/init. @fedify/cli must then re-import this to ensure fedify init and fedify test-init function correctly. Additionally, ensure it operates independently to simultaneously resolve #351.

Target Area

  • packages/cli/src/init
  • packages/init

Motivation

fedify init already has enough code to warrant being separated into its own package. With the addition of fedify test-init in #479, the code has grown even longer. Furthermore, the internal addition of the --test-mode argument has raised concerns that it could confuse users. Additionally, considering existing requests like #351, the idea arose to separate fedify init from @fedify/cli and create a new package called @fedify/init.

Risk Assessment

  • Increament of the time for CI/CD by sub-package addition.

Benefits

  • Separation of the concern and reduction the amount of code in @fedify/cli.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions