Thanks to visit codestin.com
Credit goes to Github.com

Skip to content
This repository was archived by the owner on Apr 21, 2022. It is now read-only.
This repository was archived by the owner on Apr 21, 2022. It is now read-only.

publishConfig.directory package.json configuration breaks publishing #61

@tunnckoCore

Description

@tunnckoCore

I'm not sure if this is npm official, or it's a lerna thing, but we can define publishConfig.directory to be used as --contents.

Before few days when I was playing with pika, I was using that field because pika creates pkg/ dir, so when I want to publish manually (without cd-ing to pkg dir) I need that field. But because pika copied that field too, my packages was broken, because in the pkg/ dir there's no another pkg dir.

So, basically, just when handling the manifest thing, delete the directory field from publishConfig.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions