passive-docs-index 0.2.1 → 0.3.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "passive-docs-index",
3
- "version": "0.2.1",
3
+ "version": "0.3.0",
4
4
  "description": "Passive documentation indexing system for AI coding assistants - eliminates the decision point for documentation retrieval",
5
5
  "type": "module",
6
6
  "bin": {
@@ -20,10 +20,13 @@
20
20
  "scripts": {
21
21
  "dev": "bun run --watch src/cli.ts",
22
22
  "build": "bun run build:js && bun run build:types",
23
- "build:js": "bun build src/cli.ts --outfile dist/cli.js --target node --format esm && bun build src/index.ts --outfile dist/index.js --target node --format esm",
23
+ "build:js": "bun build src/cli.ts --outfile dist/cli.js --target node --format esm && bun build src/index.ts --outfile dist/index.js --target node --format esm && bun build src/lib/postinstall.ts --outfile dist/postinstall.js --target node --format esm",
24
+ "postinstall": "test -f ./dist/postinstall.js && node ./dist/postinstall.js || exit 0",
24
25
  "build:types": "tsc -p tsconfig.build.json",
25
26
  "typecheck": "tsc --noEmit",
26
- "test": "bun test --coverage && bun run scripts/check-coverage.ts",
27
+ "test:isolated": "echo 'No isolated tests configured'",
28
+ "test:main": "bun test --coverage tests/unit/lib tests/integration tests/coverage-loader.test.ts",
29
+ "test": "bun run test:isolated && bun run test:main && bun run scripts/check-coverage.ts",
27
30
  "prepublishOnly": "bun run build",
28
31
  "check": "ultracite check",
29
32
  "fix": "ultracite fix"
@@ -35,6 +38,7 @@
35
38
  "ora": "^8.2.0",
36
39
  "p-limit": "^6.2.0",
37
40
  "prompts": "^2.4.2",
41
+ "semver": "^7.7.4",
38
42
  "yaml": "^2.8.2",
39
43
  "zod": "^4.3.6"
40
44
  },
@@ -44,6 +48,7 @@
44
48
  "@changesets/cli": "^2.29.8",
45
49
  "@types/bun": "^1.3.9",
46
50
  "@types/prompts": "^2.4.9",
51
+ "@types/semver": "^7.7.1",
47
52
  "typescript": "^5.9.3",
48
53
  "ultracite": "^7.1.5"
49
54
  },