hexojs / hexo-deployer-ftpsync

FTP deployer for Hexo
MIT License
23 stars 16 forks source link

chore: update `repository` key from a string to an object in `package.json` #150

Closed yoshinorin closed 6 months ago

yoshinorin commented 6 months ago

Why?

As is the title.

See: https://docs.npmjs.com/cli/v10/configuring-npm/package-json#repository

Log

Warning log when I run npm publish --dry-run.

$ npm publish --dry-run
npm WARN publish npm auto-corrected some errors in your package.json when publishing.  Please run "npm pkg fix" to address these errors.
npm WARN publish errors corrected:
npm WARN publish "repository" was changed from a string to an object
npm WARN publish "repository.url" was normalized to "git+https://github.com/hexojs/hexo-deployer-ftpsync.git"
npm notice

Thanks :)