Skip to content

Consolidate CLI code duplicated from apify-core into apify-shared-js #1308

Description

@DaveHanns

Epic. Cross-repo: apify-core, apify-shared-js, apify-cli.

A lot of code is copied from apify-core into the CLI because apify-cli is public and cannot depend on apify-core's private packages. Move the significant shared pieces into apify-shared-js (public) and have the CLI and Core import them from there instead of copying, so the two stay in sync.

Directions:

  • Identify the copied code and decide what is worth sharing.
  • Move it into apify-shared-js (existing or a new package) and publish.
  • Replace the CLI's copies with imports from apify-shared-js.
  • Where it helps, have apify-core consume the shared version too, removing its own duplication.

Metadata

Metadata

Assignees

No one assigned

    Labels

    debtCode quality improvement or decrease of technical debt.enhancementNew feature or request.t-buildersIssues owned by the Builders team.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions