preva-cli 1.0.0 → 1.0.1
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 +4 -4
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<div align="center">
|
|
2
|
-
<img src="assets/preva.webp" alt="preva logo" width="380" />
|
|
2
|
+
<img src="https://raw.githubusercontent.com/gozajpeg/preva/main/assets/preva.webp" alt="preva logo" width="380" />
|
|
3
3
|
<h1>preva</h1>
|
|
4
4
|
<p><strong>Same Git, just with a preview.</strong></p>
|
|
5
5
|
<p>Preva doesn't change how Git works. It just shows you what's happening before you stage, commit, or push, so you can catch mistakes before they leave your machine.</p>
|
|
@@ -38,7 +38,7 @@ preva add .
|
|
|
38
38
|
|
|
39
39
|
`preva` scans your repository changes and displays an interactive checklist:
|
|
40
40
|
|
|
41
|
-

|
|
41
|
+

|
|
42
42
|
|
|
43
43
|
- **Normal changes** start pre-checked so common staging stays fast.
|
|
44
44
|
- **Sensitive files** (patterns like `*.key`, `*.pem`, `.env*`, `credentials.json`, `*.p12`) start **unchecked** by default.
|
|
@@ -66,7 +66,7 @@ preva commit
|
|
|
66
66
|
|
|
67
67
|
`preva` reviews your staged changes, lets you select standard commit types, prompts for an optional scope, and previews the formatted message:
|
|
68
68
|
|
|
69
|
-

|
|
69
|
+

|
|
70
70
|
|
|
71
71
|
- **Standard Types**: Pre-fills the 11 standard types from Conventional Commits v1.0.0 and `@commitlint/config-conventional`.
|
|
72
72
|
- **Automatic Formatting**: Normalizes scopes to lowercase and auto-strips trailing periods so commits pass CI linters without friction.
|
|
@@ -88,7 +88,7 @@ preva push
|
|
|
88
88
|
|
|
89
89
|
`preva` inspects the unpushed commits and presents a clear summary:
|
|
90
90
|
|
|
91
|
-

|
|
91
|
+

|
|
92
92
|
|
|
93
93
|
- If flagged files are detected, the confirmation prompt defaults to **No (`[y/N]`)**.
|
|
94
94
|
- Pressing **n**, **Enter**, or **Ctrl+C** cleanly cancels the push without sending anything to the remote.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "preva-cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Same Git, just with a preview.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -31,12 +31,12 @@
|
|
|
31
31
|
"license": "MIT",
|
|
32
32
|
"repository": {
|
|
33
33
|
"type": "git",
|
|
34
|
-
"url": "https://github.com/gozajpeg/preva
|
|
34
|
+
"url": "git+https://github.com/gozajpeg/preva.git"
|
|
35
35
|
},
|
|
36
36
|
"bugs": {
|
|
37
|
-
"url": "https://github.com/gozajpeg/preva
|
|
37
|
+
"url": "https://github.com/gozajpeg/preva/issues"
|
|
38
38
|
},
|
|
39
|
-
"homepage": "https://github.com/gozajpeg/preva
|
|
39
|
+
"homepage": "https://github.com/gozajpeg/preva#readme",
|
|
40
40
|
"engines": {
|
|
41
41
|
"node": ">=18.0.0"
|
|
42
42
|
}
|