greenly 1.1.1 → 1.1.2

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 (3) hide show
  1. package/README.md +16 -1
  2. package/dist/cli.js +1 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  <h1>
2
- <img src="https://raw.githubusercontent.com/yusifaliyevpro/greenly/main/assets/greenly.svg" alt="" height="34" align="top" />
2
+ <img src="https://raw.githubusercontent.com/yusifaliyevpro/greenly/main/assets/greenly.svg" alt="" height="34" align="center" />
3
3
  greenly
4
4
  </h1>
5
5
 
@@ -112,6 +112,15 @@ steps with one:
112
112
  + run: pnpm check
113
113
  ```
114
114
 
115
+ ## Examples in the wild
116
+
117
+ Real `greenly.config.ts` files that mix the usual checks with project-specific ones:
118
+
119
+ - [**vscode-icons**](https://github.com/yusifaliyevpro/vscode-icons/blob/main/greenly.config.ts) - adds custom "Sorted Icons" (auto-fixed), "Icon Integrity", and "Version Check" steps, so the icon set and version bump are validated by the same command as everything else instead of a separate script nobody remembers to run.
120
+ - [**countries**](https://github.com/yusifaliyevpro/countries/blob/main/greenly.config.ts) - alongside typecheck / format / lint / test / build, a custom "Sorted data" check keeps the country dataset in order and auto-sorts it on failure, so a misordered entry can never slip into a PR.
121
+ - [**Azerbaijan GitHub Community / blog**](https://github.com/azerbaijan-git-community/blog/blob/main/greenly.config.ts) - a custom "Validate Posts" check runs on every contribution, so a malformed blog post is caught automatically instead of during review.
122
+ - [**Azerbaijan GitHub Community / showcase**](https://github.com/azerbaijan-git-community/showcase/blob/main/greenly.config.ts) - a custom "Validate projects" check verifies each submitted showcase entry, so contributor PRs are checked the same way locally and in CI.
123
+
115
124
  ## Config reference
116
125
 
117
126
  | Field | Type | Description |
@@ -178,6 +187,12 @@ greenly.config.json
178
187
 
179
188
  When stdout is **not a TTY** (CI, piped output), greenly is non-interactive by default, so it never prompts and nothing hangs. Use `--yes` there to auto-apply fixes.
180
189
 
190
+ ## Demo
191
+
192
+ Here is `pnpm check` running greenly on a real project ([**vscode-icons**](https://github.com/yusifaliyevpro/vscode-icons/blob/main/greenly.config.ts)):
193
+
194
+ ![greenly running pnpm check](https://raw.githubusercontent.com/yusifaliyevpro/greenly/main/assets/greenly-run.gif)
195
+
181
196
  ## License
182
197
 
183
198
  MIT © [Yusif Aliyev](https://yusifaliyevpro.com)
package/dist/cli.js CHANGED
@@ -8,7 +8,7 @@ import { promisify } from "node:util";
8
8
  import { cancel, confirm, intro, isCancel, log, multiselect, outro, select, spinner, text } from "@clack/prompts";
9
9
  //#region package.json
10
10
  var name = "greenly";
11
- var version = "1.1.1";
11
+ var version = "1.1.2";
12
12
  //#endregion
13
13
  //#region src/lib/args.ts
14
14
  function parseArgs(argv) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "greenly",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "Config-driven project check runner. Define your lint/format/typecheck/test steps in greenly.config.ts and run them with one command.",
5
5
  "keywords": [
6
6
  "check",