@bglocation/tune-context 2.3.1 → 2.5.0

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.
@@ -32,9 +32,6 @@ function main() {
32
32
  );
33
33
  }
34
34
 
35
- if (
36
- process.argv[1] &&
37
- process.argv[1].endsWith('session-start-reinject.mjs')
38
- ) {
35
+ if (process.argv[1]?.endsWith('session-start-reinject.mjs')) {
39
36
  main();
40
37
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bglocation/tune-context",
3
- "version": "2.3.1",
3
+ "version": "2.5.0",
4
4
  "description": "Context-efficiency configurator for Claude Code — token-saving doctrine packaged as skills, plus a tune-context configurator that scaffolds a lean CLAUDE.md, doctrine skills, subagents, settings, hooks and MCP wiring.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -37,12 +37,17 @@
37
37
  ],
38
38
  "scripts": {
39
39
  "test": "node --test",
40
+ "lint": "biome lint .",
41
+ "lint:fix": "biome lint --write .",
40
42
  "verify:pack": "node scripts/verify-pack.mjs",
41
43
  "verify:plugin": "node scripts/verify-plugin.mjs",
42
44
  "smoke:init": "node scripts/smoke-init.mjs",
43
- "prepublishOnly": "npm test && npm run verify:pack && npm run verify:plugin && npm run smoke:init"
45
+ "prepublishOnly": "npm run lint && npm test && npm run verify:pack && npm run verify:plugin && npm run smoke:init"
44
46
  },
45
47
  "publishConfig": {
46
48
  "access": "public"
49
+ },
50
+ "devDependencies": {
51
+ "@biomejs/biome": "^2.5.6"
47
52
  }
48
53
  }