Skip to content

chore(lib): remove or replace private @visa/scripts dependency #3

@bhaskarpraveen

Description

@bhaskarpraveen

chore(lib): remove or replace private @visa/scripts dependency

What

The libs/nova-react package (and the root package.json) declares a prepare step that runs:

npx @visa/scripts package -c -o ./dist

and lists @visa/scripts as a devDependency. However, @visa/scripts is not published to the public npm registry, causing a 404 on install:

npm ERR! 404 Not Found - GET https://registry.npmjs.org/@visa%2fscripts - Not Found

Why

  • Downstream users and CI cannot bootstrap or build the library.
  • Reliance on a private/internal package prevents the public open-source workflow from working.

Proposed Fix

Choose one of the following:

  1. Publish @visa/scripts publicly if it’s generic and reusable.
  2. Remove or replace the prepare step with a public alternative (e.g. a simple Node script or standard Rollup/Rocket packaging plugin) so the repo no longer depends on a private package.

Verify that after the change, pnpm install, pnpm dev, and pnpm test:coverage all succeed without access to private registries.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions