@devasign/verify 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.
Files changed (2) hide show
  1. package/dist/cli.js +2 -4
  2. package/package.json +2 -2
package/dist/cli.js CHANGED
@@ -7631,7 +7631,7 @@ import { appendFileSync, existsSync as existsSync5, writeFileSync as writeFileSy
7631
7631
  import path7 from "node:path";
7632
7632
 
7633
7633
  // src/types.ts
7634
- var CLI_VERSION = "1.0.0";
7634
+ var CLI_VERSION = "1.0.1";
7635
7635
 
7636
7636
  // src/api.ts
7637
7637
  var ApiError = class extends Error {
@@ -8509,9 +8509,7 @@ async function main(argv = process.argv.slice(2)) {
8509
8509
  return 0;
8510
8510
  }
8511
8511
  }
8512
- if (import.meta.url === `file://${process.argv[1]}` || process.argv[1]?.endsWith("/dist/cli.js") || process.argv[1]?.endsWith("/src/cli.ts")) {
8513
- main().then((code) => process.exit(code));
8514
- }
8512
+ main().then((code) => process.exit(code));
8515
8513
  export {
8516
8514
  main
8517
8515
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devasign/verify",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Runs DevAsign's generated acceptance tests inside your CI and reports per-criterion evidence.",
5
5
  "license": "GPL-3.0-or-later",
6
6
  "type": "module",
@@ -15,7 +15,7 @@
15
15
  "node": ">=20"
16
16
  },
17
17
  "scripts": {
18
- "build": "esbuild src/cli.ts --bundle --platform=node --target=node20 --format=esm --outfile=dist/cli.js --external:tsx --external:@playwright/test --banner:js=\"#!/usr/bin/env node\nimport { createRequire as __cr } from 'node:module'; const require = __cr(import.meta.url);\"",
18
+ "build": "esbuild src/cli.ts --bundle --platform=node --target=node20 --format=esm --outfile=dist/cli.js --external:tsx --external:@playwright/test --banner:js=\"#!/usr/bin/env node\nimport { createRequire as __cr } from 'node:module'; const require = __cr(import.meta.url);\" && chmod +x dist/cli.js",
19
19
  "typecheck": "tsc -p tsconfig.json --noEmit",
20
20
  "test": "node --import tsx/esm --test 'src/**/*.test.ts'",
21
21
  "test:e2e": "node --import tsx/esm --test test/e2e.test.ts",