cpd 5.0.9 → 5.0.10

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.
Files changed (2) hide show
  1. package/README.md +17 -0
  2. package/package.json +8 -7
package/README.md CHANGED
@@ -36,6 +36,22 @@ cargo install jscpd
36
36
 
37
37
  Installs both `jscpd` and `cpd` binaries.
38
38
 
39
+ ### Nix
40
+
41
+ ```bash
42
+ # Run without installing
43
+ nix run github:kucherenko/jscpd -- /path/to/code
44
+
45
+ # Install permanently
46
+ nix profile install github:kucherenko/jscpd
47
+ ```
48
+
49
+ ### Homebrew
50
+
51
+ ```bash
52
+ brew install jscpd
53
+ ```
54
+
39
55
  ### From source
40
56
 
41
57
  ```bash
@@ -116,6 +132,7 @@ cargo test
116
132
 
117
133
  See [docs/rust.md](../docs/rust.md) for the full differences table.
118
134
 
135
+
119
136
  ## License
120
137
 
121
138
  MIT
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "cpd",
3
- "version": "5.0.9",
3
+ "version": "5.0.10",
4
4
  "description": "Copy/paste detector — fast Rust-based CLI for code duplication detection",
5
+ "homepage": "https://jscpd.dev",
5
6
  "bin": {
6
7
  "cpd": "./run-cpd.js"
7
8
  },
@@ -10,12 +11,12 @@
10
11
  "platform-map.js"
11
12
  ],
12
13
  "optionalDependencies": {
13
- "cpd-linux-x64-gnu": "5.0.9",
14
- "cpd-linux-arm64-gnu": "5.0.9",
15
- "cpd-linux-x64-musl": "5.0.9",
16
- "cpd-darwin-arm64": "5.0.9",
17
- "cpd-darwin-x64": "5.0.9",
18
- "cpd-windows-x64-msvc": "5.0.9"
14
+ "cpd-linux-x64-gnu": "5.0.10",
15
+ "cpd-linux-arm64-gnu": "5.0.10",
16
+ "cpd-linux-x64-musl": "5.0.10",
17
+ "cpd-darwin-arm64": "5.0.10",
18
+ "cpd-darwin-x64": "5.0.10",
19
+ "cpd-windows-x64-msvc": "5.0.10"
19
20
  },
20
21
  "repository": {
21
22
  "type": "git",