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

publishConfig.directory package.json configuration breaks publishing #61

Open
tunnckoCore opened this issue Jun 18, 2019 · 0 comments
Open
Labels
bug Something isn't working

Comments

@tunnckoCore
Copy link

tunnckoCore commented Jun 18, 2019

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.

@FredKSchott FredKSchott changed the title Exclude publishConfig.directory from the created pkg/package.json publishConfig.directory package.json configuration breaks publishing Sep 11, 2019
@FredKSchott FredKSchott added the bug Something isn't working label Oct 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants