mirror of
https://github.com/pnpm/pnpm.git
synced 2026-03-27 11:31:45 -04:00
Add n/prefer-node-protocol rule and autofix all bare builtin imports to use the node: prefix. Simplify the simple-import-sort builtins pattern to just ^node: since all imports now use the prefix.
@pnpm/fs.packlist
Get a list of the files to add from a directory into an npm package
Installation
pnpm add @pnpm/fs.packlist
Usage
const { packlist } = require('@pnpm/fs.packlist')
const files = packlist('/package-dir')
License
MIT © Zoltan Kochan