
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
untracked is a universal way for ingnoring unnecessary common files (such as README.md, LICENSE.md, Makefile, Gruntfile, Gulpfile, karma.conf.js, etc) to fit your bundle and create smallest production ready bunddle possible.
Just run the command
npx untracked
The files to ignore will be detected automagically ✨.
You need to write the output as .slugignore.
For doing that you can run the command directly
npx untracked > .slugignore
Also, you can declare it as heroku-prebuild at scripts in your package.json:
{
"scripts": {
"heroku-prebuild": "npx untracked > .slugignore"
}
}
Just you need to write the output at .vercelignore file.
npx untracked > .vercelignore
Yarn supports remove unnecessary files via .yarnclean.
yarn install --production
npx untracked > .yarnclean
yarn autoclean --force
Just you need to write the output at .dockerignore file.
npx untracked > .dockerignore
Sometimes you need to declare an extra file to include/ignore in the bundle.
That's could be achieve just declaring a untracked field into your package.json:
{
"untracked": {
"whitelist": [
"bin"
],
"blacklist": [
"bench",
"node_modules/@ffprobe-installer/darwin-x64",
"node_modules/@ffprobe-installer/linux-ia32",
"node_modules/@ffprobe-installer/win32-ia32",
"node_modules/@ffprobe-installer/win32-x64",
"node_modules/puppeteer/.local-chromium",
"scripts"
]
}
}
If you need to declare this files programatically, you can use any of the cosmiconfig supported ways for loading the configuration.
untracked create a list of common files to ignore using gitignore pattern format.
This makes it compatible with any builder process that supports ignore files based on this pattern declaration.
Under the hood, untracked supports file name variations for files such as
docs, LICENSE, README, etc).Makefile, Gruntfile, Gulpfile, karma.conf.js,etc).*.map, *.d.ts, *.flow, etc).It creates the properly gitpattern for ignoring any of these files.
untracked © Kiko Beats, released under the MIT License.
Authored and maintained by Kiko Beats with help from contributors.
kikobeats.com · GitHub @Kiko Beats · X @Kikobeats
FAQs
Universal way for ignoring unnecessary common files to fit your bundle
The npm package untracked receives a total of 360 weekly downloads. As such, untracked popularity was classified as not popular.
We found that untracked demonstrated a healthy version release cadence and project activity because the last version was released less than 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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.