Giter Site home page Giter Site logo

Comments (3)

milaninfy avatar milaninfy commented on September 13, 2024

for this package.json version hook runs fine.

{
  "name": "rep",
  "version": "1.0.3",
  "main": "index.js",
  "scripts": {
    "version": "echo \"testing version hook\""
  },
  "author": "",
  "license": "ISC",
  "keywords": [],
  "description": ""
}
~/workarea/rep $ npm version patch

> version
> echo "testing version hook"

testing version hook
v1.0.3
~/workarea/rep $ npm -v
10.8.2

from cli.

milaninfy avatar milaninfy commented on September 13, 2024

@func0der when you install a pacakge then scripts mentioned inside that pacakge's package.json file will execute, in your case it should run the scripts of license-checker when you install that package, but I believe that you are expecting that npm install license-checker will run the script of failing which it will not execute, as mentioned in my previous comment the version script is working fine. If you still think there is something I missed, please provide your test setup, complete re-production steps, logs etc.

from cli.

milaninfy avatar milaninfy commented on September 13, 2024

Closing. If this is still a problem please feel free to reopen this issue, or create a new issue w/ steps to reproduce.

from cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.