create-op-node 0.10.2 → 0.10.3

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 CHANGED
@@ -532,7 +532,7 @@ The CLI itself never holds any credentials beyond the scope of a single command
532
532
  - [`zod`](https://github.com/colinhacks/zod) for runtime validation
533
533
  - [`vitest`](https://vitest.dev) for tests
534
534
  - [`tsup`](https://tsup.egoist.dev) for the single-file ESM build
535
- - `oxlint` (fast, Rust-based) for pre-commit lint; ESLint v9 flat config for the full CI pass
535
+ - ESLint v9 flat config for linting: a base pass (`pnpm lint`) plus a separate SonarJS pass (`pnpm lint:sonar`) for cognitive-complexity and hot-spot rules, mirroring the `@opuspopuli/regions` setup
536
536
 
537
537
  ## Contributing
538
538
 
@@ -541,6 +541,7 @@ This is a young project against the still-stabilizing `opuspopuli-node` template
541
541
  ```bash
542
542
  pnpm install
543
543
  pnpm dev -- --help # run from source
544
+ pnpm lint # eslint base pass
544
545
  pnpm test # vitest
545
546
  pnpm build # tsup → dist/
546
547
  node dist/cli.js --help # test the built binary
package/dist/cli.js CHANGED
@@ -1143,7 +1143,7 @@ var TUNNEL_TOKEN_RE = /^[A-Za-z0-9_\-.=]+$/;
1143
1143
  var SAFE_PATH_RE = /^[A-Za-z0-9_\-./ ]+$/;
1144
1144
  var SAFE_LAUNCHCTL_VALUE_RE = /^[A-Za-z0-9+/=._-]+$/;
1145
1145
  var URL_SAFE_PASSWORD_RE = /^[A-Za-z0-9_-]+$/;
1146
- var SAFE_URL_RE = /^[A-Za-z0-9:/_.\-]+$/;
1146
+ var SAFE_URL_RE = /^[A-Za-z0-9:/_.-]+$/;
1147
1147
  var VERIFY_NETWORK_TIMEOUT_MS = 1e4;
1148
1148
  var BODY_PREVIEW_MAX = 200;
1149
1149
 
@@ -4452,7 +4452,7 @@ async function looksLikeRegionsRepo(dir) {
4452
4452
  }
4453
4453
 
4454
4454
  // src/cli.ts
4455
- var VERSION = "0.10.2";
4455
+ var VERSION = "0.10.3";
4456
4456
  var program = new Command();
4457
4457
  program.name("create-op-node").description(
4458
4458
  "Interactive bootstrap for an Opus Populi federation node.\nCloudflare infrastructure \u2192 Mac Studio \u2192 live public API."