Skip to content

Fix linking local RN SDK packages into the web-components repo #51

Open
RequestNetwork/web-components
#244
@MantisClone

Description

@MantisClone

Problem

Multiple RN devs have experienced difficulty linking local packages.

  • Link RN SDK packages into web-components
  • Link web-components into invoicing-template

Investigation required.

Bandaid Solution

Copy/paste the dist/ folder works, but it's prone to human error.

Theories

  • Linking pulls in extra directories that it shouldn't. Maybe there's a way to configure the npm link command to exclude a directory.
  • Linking multiple levels fails but single level works
  • web-components is monorepo so location to run link command depends on whether the dependency is specific to the package, or shared with multiple packages.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    🎫 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions