Skip to content

chore: add License section, slim publish tarball, switch repository URL to HTTPS - #7

Merged
isiddarta-godaddy merged 2 commits into
mainfrom
chore-readme-license-and-npmignore
Jun 1, 2026
Merged

isiddarta-godaddy merged 2 commits into
mainfrom
chore-readme-license-and-npmignore

Conversation

@dusenko-godaddy

@dusenko-godaddy dusenko-godaddy commented May 29, 2026 •

Copy link
Copy Markdown
Collaborator
  • README: add ## License section pointing to LICENSE.
  • package.json:
    • switch repository.url from SSH to HTTPS (npm convention; npm publish warns on SSH URLs).
    • add files allowlist (lib, CHANGELOG.md) so the published tarball excludes CI/governance files (.github/, .tartufo/, tartufo.toml, .jshintrc, .nvmrc, .npmrc, CODE_OF_CONDUCT.md, CONTRIBUTING.md, SECURITY.md). Allowlist > denylist (.npmignore) so future top-level files cannot accidentally leak into published versions.
  • CHANGELOG.md: log the above under [Unreleased].

npm pack --dry-run produces 24 files, identical to the prior .npmignore approach.

@dusenko-godaddy dusenko-godaddy self-assigned this Jun 1, 2026
Replace .npmignore with package.json files allowlist (lib + CHANGELOG.md).
Allowlist > denylist for npm publishing - future top-level files cannot
accidentally leak. Identical 24-file tarball.
@dusenko-godaddy dusenko-godaddy changed the title chore: add License section, .npmignore, switch repository URL to HTTPS chore: add License section, slim publish tarball, switch repository URL to HTTPS Jun 1, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR updates project metadata and packaging configuration to better align with npm conventions and to reduce the size/surface area of the published npm tarball, while documenting the changes in the changelog.

Changes:

  • Add a License section to the README pointing to the LICENSE file.
  • Configure package.json with a files allowlist (publish lib/ and CHANGELOG.md plus npm defaults) and switch repository.url from SSH to HTTPS.
  • Record the above in CHANGELOG.md under [Unreleased].

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
README.md Adds a ## License section linking to LICENSE.
package.json Adds a publish allowlist via files and switches repository.url to HTTPS.
CHANGELOG.md Documents the packaging and repository URL changes under [Unreleased].

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@isiddarta-godaddy
isiddarta-godaddy merged commit 94e3f32 into main Jun 1, 2026
1 check passed
@isiddarta-godaddy
isiddarta-godaddy deleted the chore-readme-license-and-npmignore branch June 1, 2026 15:23
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.

3 participants