Skip to content

Unable to fork into a separate package #6942

@fabioespinosa

Description

@fabioespinosa

Prerequisites

Describe the bug

I'm trying to fork this package into a separate one with a few modifications, but when I publish to npm I can't manage to have all the folders in the same structure as this package is published in npm 🤯

Can you please share the script you use to publish to a registry. I tried npm run publish but it doesn't recreate the folders per component with each having their own package.json like for example this one for Modal:

{
  "name": "react-bootstrap/Modal",
  "private": true,
  "main": "../cjs/Modal.js",
  "module": "../esm/Modal.js",
  "types": "../esm/Modal.d.ts"
}

Thanks!! 🙏

Expected behavior

No response

To Reproduce

No response

Reproducible Example

blank

Screenshots

No response

What operating system(s) are you seeing the problem on?

No response

What browser(s) are you seeing the problem on?

No response

What version of React-Bootstrap are you using?

latest

What version of Bootstrap are you using?

latest

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions