@d3lm/pr-stats 0.2.0 → 0.2.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 (3) hide show
  1. package/README.md +8 -6
  2. package/dist/tui-app.mjs +673 -276
  3. package/package.json +29 -21
package/package.json CHANGED
@@ -1,14 +1,13 @@
1
1
  {
2
2
  "name": "@d3lm/pr-stats",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "GitHub PR stats in an interactive terminal UI, via the gh CLI or an access token",
5
5
  "type": "module",
6
6
  "author": "Dominic Elm",
7
7
  "license": "MIT",
8
8
  "repository": {
9
9
  "type": "git",
10
- "url": "git+https://github.com/d3lm/scripts.git",
11
- "directory": "packages/pr-stats"
10
+ "url": "git+https://github.com/d3lm/pr-stats.git"
12
11
  },
13
12
  "keywords": [
14
13
  "github",
@@ -30,28 +29,37 @@
30
29
  "publishConfig": {
31
30
  "access": "public"
32
31
  },
33
- "devDependencies": {
34
- "@types/asciichart": "^1.5.8",
35
- "@types/bun": "^1.4.0",
36
- "@types/node": "^26.3.0",
37
- "@types/react": "^19.2.18",
38
- "esbuild": "^0.28.2",
39
- "typescript": "^7.0.2"
32
+ "scripts": {
33
+ "build": "pnpm build:app && pnpm build:bin",
34
+ "build:app": "esbuild src/tui/main.tsx --bundle --platform=node --format=esm --target=esnext --jsx=automatic --jsx-import-source=@opentui/react --external:@opentui/core --external:@opentui/react --external:react --outfile=dist/tui-app.mjs",
35
+ "build:bin": "esbuild src/tui/launch.ts --platform=node --format=esm --target=node20 --outfile=dist/tui.mjs",
36
+ "tui": "bun src/tui/main.tsx",
37
+ "tui:node": "pnpm build && node dist/tui.mjs",
38
+ "check": "tsc --noEmit",
39
+ "lint": "oxlint src && eslint --cache src",
40
+ "test": "bun test",
41
+ "prepublishOnly": "pnpm build"
40
42
  },
41
43
  "dependencies": {
44
+ "@d3lm/lint-preset": "^1.1.7",
42
45
  "@opentui/core": "^0.5.8",
43
46
  "@opentui/react": "^0.5.8",
44
47
  "asciichart": "^1.5.25",
45
- "react": "^19.2.8"
48
+ "chalk": "^6.0.0",
49
+ "eslint": "^10.8.1",
50
+ "eslint-plugin-react-hooks": "^7.1.1",
51
+ "oxlint": "^1.79.0",
52
+ "prettier": "^3.9.6",
53
+ "react": "^19.2.8",
54
+ "typescript": "~6.0.3"
46
55
  },
47
- "scripts": {
48
- "build": "pnpm build:app && pnpm build:bin",
49
- "build:app": "esbuild tui/main.tsx --bundle --platform=node --format=esm --target=esnext --jsx=automatic --jsx-import-source=@opentui/react --external:@opentui/core --external:@opentui/react --external:react --outfile=dist/tui-app.mjs",
50
- "build:bin": "esbuild tui/launch.ts --platform=node --format=esm --target=node20 --outfile=dist/tui.mjs",
51
- "tui": "bun tui/main.tsx",
52
- "tui:node": "pnpm build && node dist/tui.mjs",
53
- "check": "tsc --noEmit",
54
- "lint": "oxlint . && eslint --cache .",
55
- "test": "bun test"
56
+ "devDependencies": {
57
+ "@types/asciichart": "^1.5.8",
58
+ "@types/bun": "^1.4.0",
59
+ "@types/node": "^26.3.0",
60
+ "@types/react": "^19.2.18",
61
+ "esbuild": "^0.28.2",
62
+ "oxlint-tsgolint": "^7.0.2001",
63
+ "typescript": "^6.0.3"
56
64
  }
57
- }
65
+ }