diffmode 0.1.1 → 0.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 (2) hide show
  1. package/dist/bin.js +57 -1
  2. package/package.json +5 -2
package/dist/bin.js CHANGED
@@ -5942,8 +5942,64 @@ async function skillInstallCommand(opts = {}) {
5942
5942
  });
5943
5943
  }
5944
5944
 
5945
+ // package.json
5946
+ var package_default = {
5947
+ name: "diffmode",
5948
+ version: "0.1.2",
5949
+ description: "Agent-drivable CLI for the Diffmode growth pipeline",
5950
+ license: "Apache-2.0",
5951
+ repository: {
5952
+ type: "git",
5953
+ url: "git+https://github.com/agentic-builders/diffmode-cli.git"
5954
+ },
5955
+ homepage: "https://github.com/agentic-builders/diffmode-cli#readme",
5956
+ bugs: "https://github.com/agentic-builders/diffmode-cli/issues",
5957
+ engines: {
5958
+ node: ">=20"
5959
+ },
5960
+ bin: {
5961
+ diffmode: "dist/bin.js"
5962
+ },
5963
+ files: [
5964
+ "dist/",
5965
+ "skills/",
5966
+ "NOTICE",
5967
+ "LICENSE"
5968
+ ],
5969
+ scripts: {
5970
+ build: "esbuild src/bin.ts --bundle --platform=node --target=node20 --format=cjs --external:keytar --outfile=dist/bin.js --banner:js='#!/usr/bin/env node' && chmod +x dist/bin.js",
5971
+ dev: "tsx src/bin.ts",
5972
+ test: "vitest run",
5973
+ "test:watch": "vitest",
5974
+ lint: "eslint src --ext .ts",
5975
+ typecheck: "tsc --noEmit",
5976
+ "sync:companions": "tsx scripts/sync-companions.ts",
5977
+ verify: "npm run lint && npm run typecheck && npm run build && npm test",
5978
+ preversion: "npm run verify",
5979
+ prepublishOnly: "npm run verify",
5980
+ release: "bash scripts/release.sh"
5981
+ },
5982
+ dependencies: {
5983
+ commander: "^14.0.0"
5984
+ },
5985
+ optionalDependencies: {
5986
+ keytar: "^7.9.0"
5987
+ },
5988
+ devDependencies: {
5989
+ "@types/node": "^22.0.0",
5990
+ "@typescript-eslint/eslint-plugin": "^8.0.0",
5991
+ "@typescript-eslint/parser": "^8.0.0",
5992
+ esbuild: "^0.28.0",
5993
+ eslint: "^9.0.0",
5994
+ msw: "^2.14.0",
5995
+ tsx: "^4.22.0",
5996
+ typescript: "^6.0.0",
5997
+ vitest: "^4.1.0"
5998
+ }
5999
+ };
6000
+
5945
6001
  // src/bin.ts
5946
- var VERSION = "0.1.0";
6002
+ var VERSION = package_default.version;
5947
6003
  function resolveApiBase() {
5948
6004
  const fromEnv = process.env["DIFFMODE_API_BASE"];
5949
6005
  if (fromEnv && fromEnv.length > 0) return fromEnv;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "diffmode",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Agent-drivable CLI for the Diffmode growth pipeline",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -29,7 +29,10 @@
29
29
  "lint": "eslint src --ext .ts",
30
30
  "typecheck": "tsc --noEmit",
31
31
  "sync:companions": "tsx scripts/sync-companions.ts",
32
- "prepublishOnly": "npm run lint && npm run typecheck && npm test && npm run build"
32
+ "verify": "npm run lint && npm run typecheck && npm run build && npm test",
33
+ "preversion": "npm run verify",
34
+ "prepublishOnly": "npm run verify",
35
+ "release": "bash scripts/release.sh"
33
36
  },
34
37
  "dependencies": {
35
38
  "commander": "^14.0.0"