Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Dependency Packages on publish #731

Open
ganeshsacharya opened this issue Feb 26, 2024 · 0 comments
Open

Issue with Dependency Packages on publish #731

ganeshsacharya opened this issue Feb 26, 2024 · 0 comments

Comments

@ganeshsacharya
Copy link

Description

Assume there is a npm package which can only work for another package(so as to say a helper package), also it has a postinstall script which checks the parent package for something. In such cases on command np the workflow fails as the postinstall will never succeed.

Steps to reproduce

  1. Go to @njs2/sql
  2. check its postinstall script which np will find and execute on Step 4 (Installing dependencies using npm)
  3. It will fail

Expected behavior

Why not have an option to not execute postinstall script or any script which is not really needed for np to go through?

Environment

np - 7.7.0
Node.js - any
npm - any
Git - any
OS - any

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant