
Security News
GitHub Actions Pricing Whiplash: Self-Hosted Actions Billing Change Postponed
GitHub postponed a new billing model for self-hosted Actions after developer pushback, but moved forward with hosted runner price cuts on January 1.
packagebind
Advanced tools
Lets say you have built an utility package and published on npm and in your application you are using that utility package. Now some change is required in the utility package. Would you cut a new release just to try if it works in application? Nah.
"I'll use npm link" you might be thinking but it has mulitple known issues.
And so we built packagebind.
There is an awesome babel plugin called module-resolver which lets you change the path of imports in your source-code.
Its used in babel.config.js like this
module.exports = {
plugins: [
["module-resolver", {
alias: {
"my-design-kit": "../my-design-kit/src", // local path to package source files,
}
}]
]
}
This in itself is good enough, HMR works but there is a problem. The my-design-kit package would probably have its own babel config and its own set of node_modules dependencies. Right now instead of using those things, the package is going to use the application's babel config and node_modules.
This is how we solve it.
Inside babel.config.js
const packagebind = require('packagebind');
const babelConfig = {
plugins: [
["module-resolver", {
alias: {
"my-design-kit": "../my-design-kit/src", // local path to package source files
}
}]
]
}
module.exports = packagebind(babelConfig);
FAQs
Connect packages to your application with HMR and babel config
The npm package packagebind receives a total of 12 weekly downloads. As such, packagebind popularity was classified as not popular.
We found that packagebind demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers 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
GitHub postponed a new billing model for self-hosted Actions after developer pushback, but moved forward with hosted runner price cuts on January 1.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.