Analyzes which files would be included when publishing a package.
Uses the files field from package.json, default inclusions,
and .npmignore rules.
Summary
Functions
Checks if a file is always excluded.
Checks if a file is always included regardless of files field.
Returns the list of always-included file patterns.
Lists all entry points (main, module, browser, types, exports).
Checks if package.json has a files whitelist.
Returns the main entry point.
Returns the files whitelist from package.json.
Functions
Checks if a file is always excluded.
Checks if a file is always included regardless of files field.
@spec default_includes() :: [String.t()]
Returns the list of always-included file patterns.
Lists all entry points (main, module, browser, types, exports).
Checks if package.json has a files whitelist.
Returns the main entry point.
Returns the files whitelist from package.json.