-
Notifications
You must be signed in to change notification settings - Fork 94
Open
Description
heya there.
I am just playing with a demo repo, and a demo package i used over the years.
i and many others have repository as object like so
"repository": {
"type": "git",
"url": "https://github.com/tunnckoCore/foo-bar-baz-qux.git"
},
and it did failed multiple times with - https://github.com/tunnckoCore/foo-bar-baz-qux/actions/workflows/ci.yml
Run bunx pkg-pr-new publish --bun --compact --packageManager="bun"
Resolving dependencies
Resolved, downloaded and extracted [222]
Saved lockfile
Error: pkg-pr-new cannot extract the repository link from the foo-bar-baz-qux manifest. --compact flag requires the link to be present.
Make sure to configure the 'repository' / 'repository.url' field in its package.json properly.
See https://docs.npmjs.com/cli/v10/configuring-npm/package-json#repository for details.
Make sure to configure the 'repository' / 'repository.url' field in its package.json properly.
See https://docs.npmjs.com/cli/v10/configuring-npm/package-json#repository for details.
at verifyCompactMode (/tmp/bunx-1001-pkg-pr-new@latest/node_modules/pkg-pr-new/dist/index.js:3709:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Object.run (/tmp/bunx-1001-pkg-pr-new@latest/node_modules/pkg-pr-new/dist/index.js:3357:15)
at async runCommand (/tmp/bunx-1001-pkg-pr-new@latest/node_modules/pkg-pr-new/dist/index.js:2939:16)
at async runCommand (/tmp/bunx-1001-pkg-pr-new@latest/node_modules/pkg-pr-new/dist/index.js:2930:11)
at async runMain (/tmp/bunx-1001-pkg-pr-new@latest/node_modules/pkg-pr-new/dist/index.js:3066:7)
Error: pkg-pr-new cannot extract the repository link from the foo-bar-baz-qux manifest. --compact flag requires the link to be present.
Make sure to configure the 'repository' / 'repository.url' field in its package.json properly.
See https://docs.npmjs.com/cli/v10/configuring-npm/package-json#repository for details.
until i switched to
"repository": "tunnckoCore/foo-bar-baz-qux"
then i switched again to repository object and it worked.
Maybe cache, maybe first try use?
Metadata
Metadata
Assignees
Labels
No labels