Last 12 weeks · 2 commits
1 of 6 standards met
I was going through updating dependencies for our library and was very confused when I saw npm had installed (even for ) but wanted . Even looking at the npm releases page it was unclear why the npm version "went backward" and why the suffix was added. It wasn't until some digging and found https://github.com/kentcdodds/cloc/issues/26 and https://github.com/kentcdodds/cloc/issues/30 that I understood. 1. Please automatically generate releases on Github so it's clear these releases were intentional when looking at Github. Right now it still shows as the "latest" The release notes could be as simple as "Updated to cloc version ###. See the changelog here" This is also important for identifying breaking changes or new features. Right now this is completely hidden from users of the package without knowing to jump over to the other repository. 2. Add a section to the readme explaining the version strategy. It should be clear to users why the versions look the way they do and that the major/minor should _match_ the main versions. (little confusing that they use but this package is but that's minor)
The workflow's publish job fails on every run because the package version carries a suffix (e.g. ), which npm treats as a semver prerelease. npm rejects publishing a prerelease to the default dist-tag without an explicit : Change — added to the publish step so the prerelease version publishes under the dist-tag (matching current registry state, where → ). This preserves the existing versioning scheme rather than altering the version format, keeping the bump script's behavior unchanged.
This PR adds a Chinese (Simplified) translation of the README file to help Chinese-speaking developers understand and use this package more easily. Summary by CodeRabbit Documentation** Added comprehensive Chinese documentation covering installation requirements (Perl, Node/npm), installation methods (npx and local/global), usage guidance with examples and diff usage, a table of common options (help/version/exclude/include/output/quiet), an examples section, MIT license notice, and attribution links.
This PR adds a Chinese (Simplified) translation of the README file to help Chinese-speaking developers. Summary by CodeRabbit Documentation** Added comprehensive Chinese language documentation covering project overview, installation requirements, detailed usage instructions, complete command-line parameters and options, version update procedures, and license information.
Repository: kentcdodds/cloc. Description: An npm module for distributing cloc by Al Danial Stars: 371, Forks: 20. Primary language: JavaScript. Languages: JavaScript (100%). Homepage: https://github.com/AlDanial/cloc Latest release: v2.11.0 (3y ago). Open PRs: 0, open issues: 1. Last activity: 1mo ago. Community health: 28%. Top contributors: kentcdodds, github-actions[bot], gengjiawen, so1ve, andrew, karfau, bconnorwhite, Copilot, montogeek, jxn-30 and others.