Skip to content

simple-markdown is not listed as a dependency/peer dependency #1787

Closed

Description

@joelpierre

Describe the bug
Peer dependency for simple-markdown not specified in any package.json.

Dev environment info (please complete/provide the following information):

  • Package version - v5.2.0
  • react-native
  • Device/Emulator (android/ios) and OS version - BOTH

To Reproduce
Run a dev build or standard build

Expected behavior
You should list it as a peer dependency so we know to install it and what version

Screenshots

Screenshot 2022-11-08 at 10 49 40

Activity

  1. madsroskar commented on Nov 8, 2022

    @madsroskar
    Contributor

    simple-markdown is a dependency of react-native-markdown-package, which in turn is a dependency of stream-chat-react-native-core, and should be available through your package manager when that is resolved. Are you able to make a minimal reproduction of this issue? When I set up a simple app using the SDK, I'm not able to reproduce an issue of simple-markdown not being available.

  2. joelpierre commented on Nov 8, 2022

    @joelpierre
    Author

    Yeah I noticed that too. So was surprised it wasn't "auto" resolved. We are however using a mono repo with yarn workspaces with an installConfig.hoistingLimit set to dependencies. Theoretically it should install all of your modules packages regardless of this setting however it is missing.

    Our fix for now is just to add that as a dependency for us. However with that being said, if you use the package directly in your core package I think you should reference it in your package.json?

    I can't get to minimal reproduction for now 😅

  3. changed the title [-]`simple-markdown` is not listed as a peer dependency[/-] [+]`simple-markdown` is not listed as a dependency/peer dependency[/+] on Nov 8, 2022
  4. vishalnarkhede commented on Nov 14, 2022

    @vishalnarkhede
    Contributor

    @joelpierre Since it's not a blocker for you are the moment, I am going to move it to a discussion for anyone to add more suggestions to this problem.

  5. locked and limited conversation to collaborators on Nov 14, 2022
  6. converted this issue into a discussion #1803 on Nov 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions