All Projects → Kikobeats → untracked

Kikobeats / untracked

Licence: MIT license
Universal way for ignoring unnecessary common files to fit your bundle

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to untracked

Idea Gitignore
.ignore support plugin for IntelliJ IDEA
Stars: ✭ 1,147 (+4311.54%)
Mutual labels:  gitignore
devpreferences
These are my own preferences while doing development.
Stars: ✭ 18 (-30.77%)
Mutual labels:  gitignore
gitignore.nix
Nix functions for filtering local git sources
Stars: ✭ 175 (+573.08%)
Mutual labels:  gitignore
Gitignore It
📃 A CLI to generate .gitignore files
Stars: ✭ 132 (+407.69%)
Mutual labels:  gitignore
Gitignore
A collection of useful .gitignore templates
Stars: ✭ 127,388 (+489853.85%)
Mutual labels:  gitignore
Git-for-bio-scientists
Presentation about digital lab journalling with Git
Stars: ✭ 30 (+15.38%)
Mutual labels:  gitignore
Gitignore parser
A spec-compliant gitignore parser for Python 3.5+
Stars: ✭ 57 (+119.23%)
Mutual labels:  gitignore
ignore-sync
a CLI tool to build and sync .*ignore files across files and repositories
Stars: ✭ 15 (-42.31%)
Mutual labels:  gitignore
vscode-ignore-gitignore
[unmaintained] Add files from .gitignore to your VS Code ignored files.
Stars: ✭ 17 (-34.62%)
Mutual labels:  gitignore
GIG
[Unmaintained] A cli 💻 tool to generate gitignore files for your projects. Written in python 🐍
Stars: ✭ 16 (-38.46%)
Mutual labels:  gitignore
Bliss
Ignorance is bliss! Ignore your .gitignore
Stars: ✭ 131 (+403.85%)
Mutual labels:  gitignore
Ue4 Gitignore
A git setup example with git-lfs for Unreal Engine 4 projects.
Stars: ✭ 150 (+476.92%)
Mutual labels:  gitignore
docker-system-prune
Docker system prune automatically
Stars: ✭ 20 (-23.08%)
Mutual labels:  prune
Gibo
Easy access to gitignore boilerplates
Stars: ✭ 1,687 (+6388.46%)
Mutual labels:  gitignore
eslint-config-with-prettier
Eslint config with prettier
Stars: ✭ 39 (+50%)
Mutual labels:  gitignore
Blindfold
🔎 Gitignore file generator written in rust
Stars: ✭ 60 (+130.77%)
Mutual labels:  gitignore
dotfiles
/home/yous
Stars: ✭ 43 (+65.38%)
Mutual labels:  gitignore
vscode-R
R Extension for Visual Studio Code
Stars: ✭ 788 (+2930.77%)
Mutual labels:  gitignore
gig
Generate .gitignore files from your terminal (mostly) offline!
Stars: ✭ 63 (+142.31%)
Mutual labels:  gitignore
Dynamic Model Pruning with Feedback
Implement of Dynamic Model Pruning with Feedback with pytorch
Stars: ✭ 25 (-3.85%)
Mutual labels:  prune

untracked

Last version Build Status NPM Status






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.

Usage

Just run the command

npx untracked

The files to ignore will be detected automagically .

Using with Up

You need to write the output as .upignore.

For doing that you can run the command directly

npx untracked > .upignore

Also, you can declare it as build hook in your up.json:

{
  "hooks": {
  "build": [
    "npx untracked > .upignore"
  ],
  "clean": [
    "rm -f .upignore"
  ]
}

Using with Heroku

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"
  }
}

Using with ZEIT Now

Just you need to write the output at .nowignore file.

npx untracked > .nowignore

Using with Yarn

Yarn supports remove unnecessary files via .yarnclean.

yarn install --production
npx untracked > .yarnclean
yarn autoclean --force

Using with Docker

Just you need to write the output at .dockerignore file.

npx untracked > .dockerignore

Additional Files

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.

How It Works™

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

  • Documentation (docs, LICENSE, README, etc).
  • Toolings configuration (Makefile, Gruntfile, Gulpfile, karma.conf.js,etc).
  • Assets (*.map, *.d.ts, *.flow, etc).

It creates the properly gitpattern for ignoring any of these files.

Related

  • lambda-prune – Cleanup old AWS Lambda functions.
  • node-prune – Remove unnecessary files from node_modules (.md, .ts, ...).
  • lambdapack – Package your AWS Lambda efficiently.

License

untracked © Kiko Beats, released under the MIT License.
Authored and maintained by Kiko Beats with help from contributors.

kikobeats.com · GitHub @Kiko Beats · Twitter @Kikobeats

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].