quick-gate 0.2.0 → 0.2.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/LICENSE CHANGED
@@ -175,7 +175,7 @@
175
175
 
176
176
  END OF TERMS AND CONDITIONS
177
177
 
178
- Copyright 2026 Hermes Labs (LPCI)
178
+ Copyright 2026 LPCI Innovations
179
179
 
180
180
  Licensed under the Apache License, Version 2.0 (the "License");
181
181
  you may not use this file except in compliance with the License.
package/README.md CHANGED
@@ -3,6 +3,7 @@
3
3
  [![npm version](https://img.shields.io/npm/v/quick-gate)](https://www.npmjs.com/package/quick-gate)
4
4
  [![License: Apache 2.0](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](LICENSE)
5
5
  [![Node.js >= 18](https://img.shields.io/badge/node-%3E%3D18-brightgreen)](https://nodejs.org)
6
+ [![CI](https://github.com/roli-lpci/quick-gate-js/actions/workflows/ci.yml/badge.svg)](https://github.com/roli-lpci/quick-gate-js/actions/workflows/ci.yml)
6
7
 
7
8
  Deterministic quality gate CLI for TypeScript and ESLint projects with bounded auto-repair and explicit escalation evidence. Works with Next.js, React, Vue, Svelte, Angular, or any Node.js project with TypeScript.
8
9
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quick-gate",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Deterministic quality gate CLI for TypeScript and ESLint projects with bounded auto-repair and escalation evidence",
5
5
  "type": "module",
6
6
  "bin": {
@@ -11,14 +11,14 @@
11
11
  "schemas/"
12
12
  ],
13
13
  "scripts": {
14
- "test": "node --test 'test/*.test.js'"
14
+ "test": "node --test test/*.test.js"
15
15
  },
16
16
  "engines": {
17
17
  "node": ">=18.0.0"
18
18
  },
19
19
  "license": "Apache-2.0",
20
- "author": "Hermes Labs <lpcisystems@gmail.com> (https://lpci.ai)",
21
- "homepage": "https://lpci.ai",
20
+ "author": "Hermes Labs <lpcisystems@gmail.com> (https://hermes-labs.ai)",
21
+ "homepage": "https://hermes-labs.ai",
22
22
  "repository": {
23
23
  "type": "git",
24
24
  "url": "git+https://github.com/roli-lpci/quick-gate-js.git"
package/src/cli.js CHANGED
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env node
2
+ import { createRequire } from 'node:module';
2
3
  import path from 'node:path';
3
4
  import { loadChangedFiles } from './fs-utils.js';
4
5
  import { executeRun } from './run-command.js';
@@ -6,6 +7,9 @@ import { executeSummarize } from './summarize-command.js';
6
7
  import { executeRepair } from './repair-command.js';
7
8
  import { checkEnvironment, hasOllama } from './env-check.js';
8
9
 
10
+ const require = createRequire(import.meta.url);
11
+ const { version } = require('../package.json');
12
+
9
13
  function parseArgs(argv) {
10
14
  const args = {};
11
15
  for (let i = 0; i < argv.length; i += 1) {
@@ -20,7 +24,7 @@ function parseArgs(argv) {
20
24
  }
21
25
 
22
26
  function usage() {
23
- console.log(`Quick Gate v0.2.0
27
+ console.log(`Quick Gate v${version}
24
28
 
25
29
  Commands:
26
30
  quick-gate run --mode canary|full --changed-files <path>