├── .gitignore ├── script ├── release └── build └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | package-lock.json -------------------------------------------------------------------------------- /script/release: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | npm install --only=dev 4 | npm run build 5 | 6 | count=$(cat count) 7 | rm count 8 | 9 | git add package.json 10 | git config user.email "os@stefanbuck.com" 11 | git config user.name "Stefan Buck" 12 | git commit -m "Now with $count dependencies" 13 | npm version minor -m "bump minor to %s" 14 | npm publish 15 | git push origin master --follow-tags 16 | -------------------------------------------------------------------------------- /script/build: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | const fs = require('fs') 4 | const path = require('path') 5 | const allPackages = require('all-the-package-names') 6 | const pkgFilename = path.join(__dirname, '../package.json') 7 | const pkg = require(pkgFilename) 8 | 9 | pkg.dependencies = {} 10 | 11 | allPackages.forEach(name => { 12 | pkg.dependencies[name] = 'latest' 13 | }) 14 | 15 | fs.writeFileSync(pkgFilename, JSON.stringify(pkg, null, 2)) 16 | fs.writeFileSync('count', allPackages.length) 17 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # all-packages 2 | 3 | This is the ultimate package if you want to download all package on npm at once. Use it with caution! 4 | 5 | ## Installation 6 | 7 | npm prevent publish of packages with that many dependcies :cry: 8 | 9 | 10 | 11 | If you really want to install this package, you can still go the manual way 12 | 13 | ``` 14 | git git@github.com:stefanbuck/all-packages.git 15 | cd all-packages 16 | npm install 17 | ``` 18 | 19 | ## Dependencies 20 | 21 | A lot 22 | 23 | ## License 24 | 25 | MIT --------------------------------------------------------------------------------