gdx 0.4.0 → 0.4.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 (4) hide show
  1. package/README.md +310 -295
  2. package/dist/index.js +986 -795
  3. package/dist/index_old.js +1337 -0
  4. package/package.json +82 -76
package/package.json CHANGED
@@ -1,76 +1,82 @@
1
- {
2
- "name": "gdx",
3
- "version": "0.4.0",
4
- "description": "Git, but with better DX. The raw power of Git, aligned with human workflows.",
5
- "homepage": "https://github.com/Type-Delta/gdx#readme",
6
- "bugs": {
7
- "url": "https://github.com/Type-Delta/gdx/issues"
8
- },
9
- "repository": {
10
- "type": "git",
11
- "url": "git+https://github.com/Type-Delta/gdx.git"
12
- },
13
- "keywords": [
14
- "git",
15
- "dx",
16
- "cli-wrapper"
17
- ],
18
- "license": "MIT",
19
- "author": "Type-Delta",
20
- "type": "module",
21
- "main": "dist/index.js",
22
- "bin": {
23
- "gdx": "scripts/launcher.cjs"
24
- },
25
- "files": [
26
- "dist/",
27
- "scripts/postinstall.cjs",
28
- "scripts/launcher.cjs",
29
- "README.md",
30
- "LICENSE"
31
- ],
32
- "packageManager": "bun@1.3.5",
33
- "scripts": {
34
- "prepare-dev": "bun i && bun run transpile-esm",
35
- "start": "bun run src/index.ts",
36
- "start:profile": "bun --cpu-prof src/index.ts",
37
- "start:node": "tsx src/index.ts",
38
- "transpile-esm": "bunx tsc -p lib/tsconfig.json && bun run scripts/transform-tools.mjs",
39
- "check": "bun run ts-check && bun run lint && bun run build",
40
- "lint": "bun run ts-check && eslint src --ext .ts -c eslint.config.ts --fix",
41
- "build": "bun run transpile-esm && bun build ./src/index.ts --outfile=./bin/gdx --compile --bytecode --production --keep-names --external=@shikijs/cli",
42
- "ts-check": "bunx tsc --noEmit",
43
- "package:node": "bun run transpile-esm && bun build ./src/index.ts --outdir=./dist --target=node --external=keytar --external=cspell-lib --external=@shikijs/cli --format=esm --production --keep-names",
44
- "prepack": "bun run package:node",
45
- "postinstall": "node scripts/postinstall.cjs",
46
- "prettier": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\" \"./*.md\"",
47
- "dummy-editor": "bun ./scripts/dummyEditor.mjs"
48
- },
49
- "devDependencies": {
50
- "@babel/cli": "^7.28.0",
51
- "@babel/core": "^7.28.0",
52
- "@babel/preset-env": "^7.27.2",
53
- "@babel/preset-typescript": "^7.27.1",
54
- "@eslint/js": "^9.22.0",
55
- "@types/chai": "^5.2.3",
56
- "@typescript-eslint/eslint-plugin": "^8.13.0",
57
- "@typescript-eslint/parser": "^8.13.0",
58
- "bun-types": "latest",
59
- "chai": "^6.2.1",
60
- "dedent": "^1.7.0",
61
- "eslint": "^9.22.0",
62
- "execa": "^9.6.1",
63
- "jiti": "^2.6.1",
64
- "openai": "^6.14.0",
65
- "prettier": "^3.6.2",
66
- "smol-toml": "^1.5.2",
67
- "tsx": "^4.21.0",
68
- "typescript": "^5.8.3",
69
- "typescript-eslint": "^8.50.0"
70
- },
71
- "dependencies": {
72
- "@shikijs/cli": "^3.22.0",
73
- "cspell-lib": "9.4.0",
74
- "keytar": "^7.9.0"
75
- }
76
- }
1
+ {
2
+ "name": "gdx",
3
+ "version": "0.4.2",
4
+ "description": "Git, but with better DX. The raw power of Git, aligned with human workflows.",
5
+ "homepage": "https://github.com/Type-Delta/gdx#readme",
6
+ "bugs": {
7
+ "url": "https://github.com/Type-Delta/gdx/issues"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/Type-Delta/gdx.git"
12
+ },
13
+ "keywords": [
14
+ "git",
15
+ "dx",
16
+ "cli-wrapper"
17
+ ],
18
+ "license": "MIT",
19
+ "author": "Type-Delta",
20
+ "type": "module",
21
+ "main": "dist/index.js",
22
+ "bin": {
23
+ "gdx": "scripts/launcher.cjs"
24
+ },
25
+ "files": [
26
+ "dist/*.js",
27
+ "scripts/postinstall.cjs",
28
+ "scripts/launcher.cjs",
29
+ "README.md",
30
+ "LICENSE"
31
+ ],
32
+ "packageManager": "bun@1.3.10",
33
+ "scripts": {
34
+ "prepare-dev": "bun i && bun run transpile-esm",
35
+ "start": "bun run src/index.ts",
36
+ "start:profile": "bun --cpu-prof src/index.ts",
37
+ "start:node": "tsx src/index.ts",
38
+ "transpile-esm": "bunx tsc -p lib/tsconfig.json && bun run scripts/transform-tools.mjs",
39
+ "check": "bun run ts-check && bun run lint && bun run build",
40
+ "lint": "bun run ts-check && eslint src --ext .ts -c eslint.config.ts --fix",
41
+ "build": "bun run transpile-esm && bun build ./src/index.ts --outfile=./bin/gdx --compile --bytecode --production --keep-names",
42
+ "ts-check": "bunx tsc --noEmit",
43
+ "package:node": "bun run transpile-esm && bun build ./src/index.ts --outdir=./dist --target=node --external=keytar --external=cspell-lib --external=@shikijs/cli --external=yaml --format=esm --production --keep-names",
44
+ "prepack": "bun run package:node",
45
+ "postinstall": "node scripts/postinstall.cjs",
46
+ "prettier": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\" \"./*.md\"",
47
+ "dummy-editor": "bun ./scripts/dummyEditor.mjs",
48
+ "bench:litedent": "bun run ./test/benchmarks/litedent.bench.ts"
49
+ },
50
+ "devDependencies": {
51
+ "@babel/cli": "^7.28.6",
52
+ "@babel/core": "^7.29.0",
53
+ "@babel/preset-env": "^7.29.2",
54
+ "@babel/preset-typescript": "^7.28.5",
55
+ "@eslint/js": "^9.39.4",
56
+ "@types/chai": "^5.2.3",
57
+ "@typescript-eslint/eslint-plugin": "^8.57.1",
58
+ "@typescript-eslint/parser": "^8.57.1",
59
+ "banditypes": "^0.3.0",
60
+ "bun-types": "latest",
61
+ "chai": "^6.2.2",
62
+ "dedent": "^1.7.2",
63
+ "eslint": "^10.0.3",
64
+ "execa": "^9.6.1",
65
+ "jiti": "^2.6.1",
66
+ "openai": "^6.32.0",
67
+ "prettier": "^3.8.1",
68
+ "smol-toml": "^1.6.0",
69
+ "tinybench": "^6.0.0",
70
+ "tsx": "^4.21.0",
71
+ "typescript": "^5.9.3",
72
+ "typescript-eslint": "^8.57.1",
73
+ "unicode-animations": "^1.0.3"
74
+ },
75
+ "dependencies": {
76
+ "@shikijs/cli": "^4.0.2",
77
+ "cspell-lib": "9.4.0",
78
+ "diff": "^8.0.4",
79
+ "keytar": "^7.9.0",
80
+ "yaml": "^2.8.2"
81
+ }
82
+ }