Skip to content

Remove nonexistent templates/ from package.json files list#1

Open
federicobartoli wants to merge 1 commit intoaddyosmani:mainfrom
federicobartoli:fix/remove-nonexistent-templates-from-files
Open

Remove nonexistent templates/ from package.json files list#1
federicobartoli wants to merge 1 commit intoaddyosmani:mainfrom
federicobartoli:fix/remove-nonexistent-templates-from-files

Conversation

@federicobartoli
Copy link
Copy Markdown

Summary

The "files" array in package.json lists "templates/", but that directory does not exist in the repository, and no source file references it (src/scaffolder.js keeps its templates inline as string literals). The entry only makes the published tarball manifest misleading.

This PR removes the stale entry. No runtime behavior changes.

Test plan

  • npm pack --dry-run still includes bin/ and src/ contents
  • src/scaffolder.js does not read from a templates/ path (verified via grep for templates across src/)

The templates/ directory does not exist in the repository and is not
referenced by any source file (scaffolder.js keeps templates inline),
so listing it in the "files" field only makes the published tarball
manifest misleading.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant