Skip to content

Improve package.json with extra fields#10

Merged
jamielinux merged 1 commit intomainfrom
jnguyen/repo
Feb 5, 2026
Merged

Improve package.json with extra fields#10
jamielinux merged 1 commit intomainfrom
jnguyen/repo

Conversation

@jamielinux
Copy link
Member

Add "repository" which is required for Trusted Publishing, but also useful for having a link to the repository on npmjs.com.

Add "files" (replacing .npmignore) which will remove these from our published tarball:

  • .github/
  • .prettierrc
  • example/
  • src/
  • test/
  • tsconfig.json

Add "publishConfig" to be explicit, and prevents problems if we forget --access public in CI.

Add "repository" which is required for Trusted Publishing, but
also useful for having a link to the repository on npmjs.com.

Add "files" (replacing .npmignore) which will remove these from
our published tarball:

- .github/
- .prettierrc
- example/
- src/
- test/
- tsconfig.json

Add "publishConfig" to be explicit, and prevents problems if we forget
`--access public` in CI.
@jamielinux jamielinux requested a review from gzuidhof February 4, 2026 12:03
@jamielinux jamielinux self-assigned this Feb 4, 2026
Copy link
Contributor

@gzuidhof gzuidhof left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@jamielinux jamielinux merged commit ab9167e into main Feb 5, 2026
1 check passed
@jamielinux jamielinux deleted the jnguyen/repo branch February 5, 2026 13:54
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.

2 participants