Skip to content

Fix repository URL protocol - #32

Open
pqmashiro-commits wants to merge 1 commit into
adascal:masterfrom
pqmashiro-commits:codex/repository-metadata-https
Open

Fix repository URL protocol#32
pqmashiro-commits wants to merge 1 commit into
adascal:masterfrom
pqmashiro-commits:codex/repository-metadata-https

Conversation

@pqmashiro-commits

Copy link
Copy Markdown

Switch the package metadata repository URL from the deprecated git:// protocol to git+https://.

This makes the repository field fetchable in environments where unauthenticated Git protocol access is blocked or discouraged, while preserving the same GitHub repository target.

Validation:

  • node -e "const pkg=require('./package.json'); if(pkg.repository.url!=='git+https://github.com/adascal/grunt-terser.git') process.exit(1); console.log(JSON.stringify({name:pkg.name,version:pkg.version,repository:pkg.repository},null,2));"
  • git diff --check
  • pnpm pack --dry-run --json

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