cngkit 1.0.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/LICENSE +7 -0
- package/README.md +32 -0
- package/dist/cli.cjs +24415 -0
- package/dist/cli.cjs.map +1 -0
- package/dist/cli.d.cts +1 -0
- package/package.json +52 -0
package/LICENSE
ADDED
package/README.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# cngkit
|
|
2
|
+
|
|
3
|
+
Opinionated Curly.ng CLI kit for repo sync and website tooling.
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
npx cngkit
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
The first MVP provides a real-time repository sync room:
|
|
10
|
+
|
|
11
|
+
- `cngkit share` starts a room from the current directory.
|
|
12
|
+
- `cngkit join <room-code>` joins another machine to that room.
|
|
13
|
+
- `cngkit login` opens Curly.ng login in a browser, or prints the URL in headless environments.
|
|
14
|
+
- `cngkit scrub [path]` scans a file or directory with TruffleHog and prints a redacted report.
|
|
15
|
+
- `cngkit scrub [path] --yes` rewrites detected secret values inline with `CNGKIT_SECRET` placeholders.
|
|
16
|
+
- `.git/` and files ignored by the repo's `.gitignore` are not synced.
|
|
17
|
+
- Later changes override earlier changes for the MVP conflict rule.
|
|
18
|
+
|
|
19
|
+
`scrub` requires the `trufflehog` binary on `PATH`. On macOS, install it with:
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
brew install trufflehog
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Inline masking is intentionally gated behind `--yes` because it rewrites files in place.
|
|
26
|
+
|
|
27
|
+
This package is mostly personal tooling for Curly.ng. It is intentionally opinionated,
|
|
28
|
+
small, and practical rather than a general synchronization platform.
|
|
29
|
+
|
|
30
|
+
## License
|
|
31
|
+
|
|
32
|
+
Beerware. If this helps you, support the workshop: https://curly.ng/donate
|