GitShow/kentcdodds/cloc
kentcdodds

cloc

An npm module for distributing cloc by Al Danial

by kentcdodds
Star on GitHubForkWebsitenpm

JavaScript

371 stars20 forks16 contributorsActive · 1mo agoSince 2015v2.11.0

Meet the team

See all 16 on GitHub →
kentcdodds
kentcdodds20 contributions
github-actions[bot]Bot
github-actions[bot]9 contributions
gengjiawen
gengjiawen4 contributions
so1ve
so1ve3 contributions
andrew
andrew1 contribution
karfau
karfau1 contribution
bconnorwhite
bconnorwhite1 contribution
CopilotBot
Copilot1 contribution

Languages

View on GitHub →
JavaScript100%

Commit activity

Last 12 weeks · 2 commits

Full graph →

Community health

1 of 6 standards met

Community profile →
28
✓README○License○Contributing○Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Active · 1 discussion · Last activity 1mo ago
See all on GitHub →
jjspace
Automate release notes, Describe version strategyOpenIssue

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)

jjspace · 1y ago

Recent fixes

View closed PRs →
Copilot
Fix npm publish failure for prerelease-tagged cloc versionsMergedPR

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.

Copilot · 1mo ago
ruguoba
docs: add Chinese READMEMergedPR

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.

ruguoba · 3mo ago
ruguoba
docs: add Chinese READMEMergedPR

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.

ruguoba · 3mo ago
Structured data for AI agents

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.

·@ofershap

Replace github.com with gitshow.dev