git-coco 0.48.0 → 0.50.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": "git-coco",
3
- "version": "0.48.0",
3
+ "version": "0.50.0",
4
4
  "description": "zero-effort git commits with coco.",
5
5
  "author": "gfargo <ghfargo@gmail.com>",
6
6
  "license": "MIT",
@@ -30,6 +30,7 @@
30
30
  "dev": "tsx watch src/index.ts",
31
31
  "prebuild": "npm run build:schema && npm run build:info",
32
32
  "build": "rollup -c",
33
+ "postbuild": "node bin/copyTreeSitterWasm.mjs",
33
34
  "build:schema": "tsx bin/generateSchema.ts",
34
35
  "build:info": "tsx bin/generateBuildInfo.ts",
35
36
  "build:watch": "rollup -c -w",
@@ -40,9 +41,11 @@
40
41
  "test:publish": "npm run lint && npm run build && npm run test:cli && npm pack --dry-run",
41
42
  "test:cli": "tsx bin/smokeCli.ts",
42
43
  "bench": "tsx bin/benchmark.ts",
43
- "pretest:jest": "npm run build:info",
44
- "test:jest": "jest",
45
- "test:jest:watch": "jest --watch",
44
+ "scenario": "tsx bin/scenario.ts",
45
+ "eval:structural-extract": "tsx bin/structuralExtractEval.ts",
46
+ "pretest:jest": "npm run build:info && node bin/copyTreeSitterWasm.mjs",
47
+ "test:jest": "cross-env NODE_OPTIONS=--experimental-vm-modules jest",
48
+ "test:jest:watch": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --watch",
46
49
  "release": "release-it",
47
50
  "release:dry-run": "release-it --ci --dry-run --no-git --no-github.release --no-github.publish --no-npm.publish",
48
51
  "wiki:clone": "tsx bin/wiki.ts clone",
@@ -70,6 +73,7 @@
70
73
  "@types/yargs": "^17.0.33",
71
74
  "@typescript-eslint/eslint-plugin": "^7.13.1",
72
75
  "@typescript-eslint/parser": "^7.13.1",
76
+ "cross-env": "^10.1.0",
73
77
  "eslint": "^8.54.0",
74
78
  "ink-testing-library": "4.0.0",
75
79
  "jest": "^30.0.5",
@@ -81,6 +85,7 @@
81
85
  "rollup-plugin-preserve-shebangs": "^0.2.0",
82
86
  "rollup-plugin-typescript2": "^0.37.0",
83
87
  "rollup-plugin-visualizer": "^7.0.1",
88
+ "tree-sitter-typescript": "^0.23.2",
84
89
  "ts-jest": "^29.1.0",
85
90
  "ts-json-schema-generator": "^2.9.0",
86
91
  "ts-node": "^10.9.1",
@@ -109,6 +114,7 @@
109
114
  "react-devtools-core": "7.0.1",
110
115
  "simple-git": "3.36.0",
111
116
  "tiktoken": "^1.0.21",
117
+ "web-tree-sitter": "^0.26.8",
112
118
  "yargs": "17.7.2"
113
119
  },
114
120
  "resolutions": {