cpd 5.2.0 → 5.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -1
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -28,6 +28,17 @@ cargo binstall jscpd
|
|
|
28
28
|
|
|
29
29
|
Installs both `jscpd` and `cpd` binaries.
|
|
30
30
|
|
|
31
|
+
### PyPI
|
|
32
|
+
|
|
33
|
+
Platform wheels carrying the same prebuilt binary, for Python toolchains and [pre-commit](../docs/ci-and-hooks.md#pre-commit-hook) hooks that should not need Node.js:
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
pip install jscpd # or: pipx install jscpd / uv tool install jscpd
|
|
37
|
+
uvx jscpd /path/to/code # run without installing
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
Installs both `jscpd` and `cpd` commands.
|
|
41
|
+
|
|
31
42
|
### Nix
|
|
32
43
|
|
|
33
44
|
```bash
|
|
@@ -127,7 +138,7 @@ Compared against other copy/paste detectors (jscpd-rs, Duplo, Fallow, Simian, PM
|
|
|
127
138
|
|
|
128
139
|
## Documentation
|
|
129
140
|
|
|
130
|
-
- **[docs/rust.md](../docs/rust.md)** — Full CLI reference, all options, reporters, baseline, summary, config file
|
|
141
|
+
- **[docs/rust.md](../docs/rust.md)** — Full CLI reference, all options, reporters, baseline, summary, complexity, dashboard, config file
|
|
131
142
|
- **[docs/ai-ready.md](../docs/ai-ready.md)** — AI reporter, agent skills, MCP server
|
|
132
143
|
- **[docs/api.md](../docs/api.md)** — Rust API
|
|
133
144
|
- **[docs/ci-and-hooks.md](../docs/ci-and-hooks.md)** — GitHub Action, Docker, pre-commit hooks
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cpd",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.3.0",
|
|
4
4
|
"description": "Copy/paste detector for programming source code — Rust engine, self-contained binary, installs the cpd command",
|
|
5
5
|
"homepage": "https://jscpd.dev",
|
|
6
6
|
"funding": "https://opencollective.com/jscpd",
|
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
"platform-map.js"
|
|
13
13
|
],
|
|
14
14
|
"optionalDependencies": {
|
|
15
|
-
"jscpd-linux-x64-gnu": "5.
|
|
16
|
-
"jscpd-linux-arm64-gnu": "5.
|
|
17
|
-
"jscpd-linux-x64-musl": "5.
|
|
18
|
-
"jscpd-linux-arm64-musl": "5.
|
|
19
|
-
"jscpd-darwin-arm64": "5.
|
|
20
|
-
"jscpd-darwin-x64": "5.
|
|
21
|
-
"jscpd-windows-x64-msvc": "5.
|
|
22
|
-
"jscpd-windows-arm64-msvc": "5.
|
|
15
|
+
"jscpd-linux-x64-gnu": "5.3.0",
|
|
16
|
+
"jscpd-linux-arm64-gnu": "5.3.0",
|
|
17
|
+
"jscpd-linux-x64-musl": "5.3.0",
|
|
18
|
+
"jscpd-linux-arm64-musl": "5.3.0",
|
|
19
|
+
"jscpd-darwin-arm64": "5.3.0",
|
|
20
|
+
"jscpd-darwin-x64": "5.3.0",
|
|
21
|
+
"jscpd-windows-x64-msvc": "5.3.0",
|
|
22
|
+
"jscpd-windows-arm64-msvc": "5.3.0"
|
|
23
23
|
},
|
|
24
24
|
"repository": {
|
|
25
25
|
"type": "git",
|