![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
contaazul-pinst
Advanced tools
pinst
lets you havepreinstall
andpostinstall
hooks that runs only in dev 🍺
Important if your project is using npm or pnpm, you can achieve the desired effect by setting a prepare
hook instead. ca-pinst
is mainly useful for Yarn 2+ since it doesn't support prepare
hook. See https://yarnpkg.com/advanced/lifecycle-scripts
// package.json
{
"scripts": {
"preinstall": "<some dev only command>",
"postinstall": "<some dev only command>",
"prepack": "ca-pinst --disable",
"postpack": "ca-pinst --enable"
}
}
On prepack
, (pre|post)install
will be renamed to _(pre|post)install
(disabled)
On postpack
, it will be renamed back to (pre|post)install
(enabled)
ca-pinst
accepts the following flags:
--enable, -e Enable postinstall hook
--disable, -d Disable postinstall hook
--silent, -s
By inverting commands, you can also use ca-pinst
to enable preinstall
and postinstall
for your users only and not yourself.
ca-pinst
also supports install
alias.
MIT - ContaAzul :cactus:
FAQs
Enable or disable npm postinstall hook
We found that contaazul-pinst demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.