hyper-pm 0.1.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/env.example ADDED
@@ -0,0 +1,8 @@
1
+ # hyper-pm CLI — optional integration (see @workspace/env)
2
+
3
+ GITHUB_REPO="owner/repo"
4
+ # Personal access token for GitHub API; leave empty if you use `gh auth login` instead
5
+ GITHUB_TOKEN=""
6
+ HYPER_PM_AI_API_KEY=""
7
+ # Optional: default audit actor for CLI mutations (overridden by --actor)
8
+ HYPER_PM_ACTOR=""
package/package.json ADDED
@@ -0,0 +1,45 @@
1
+ {
2
+ "name": "hyper-pm",
3
+ "version": "0.1.0",
4
+ "description": "Git-backed work-item CLI with optional GitHub sync",
5
+ "type": "module",
6
+ "engines": {
7
+ "node": ">=20"
8
+ },
9
+ "bin": {
10
+ "hyper-pm": "dist/main.cjs"
11
+ },
12
+ "main": "./dist/index.cjs",
13
+ "exports": {
14
+ ".": "./dist/index.cjs"
15
+ },
16
+ "files": [
17
+ "dist/main.cjs",
18
+ "dist/index.cjs",
19
+ "README.md",
20
+ "env.example"
21
+ ],
22
+ "dependencies": {},
23
+ "devDependencies": {
24
+ "@octokit/rest": "^22.0.1",
25
+ "@types/node": "^20.19.9",
26
+ "@vitest/coverage-v8": "^4.0.18",
27
+ "commander": "^14.0.2",
28
+ "esbuild": "^0.27.0",
29
+ "eslint": "^9.32.0",
30
+ "typescript": "^5.9.2",
31
+ "ulid": "^3.0.1",
32
+ "vitest": "^4.0.18",
33
+ "zod": "^3",
34
+ "@workspace/env": "0.0.0",
35
+ "@workspace/typescript-config": "0.0.0",
36
+ "@workspace/eslint-config": "0.0.0"
37
+ },
38
+ "scripts": {
39
+ "build": "rm -rf dist && esbuild src/main.ts --bundle --platform=node --format=cjs --outfile=dist/main.cjs && esbuild src/npm-publish-entry.ts --bundle --platform=node --format=cjs --outfile=dist/index.cjs --footer:js=\"module.exports={runCli,ExitCode,openDataBranchWorktree,runGit};\"",
40
+ "check-types": "tsc --noEmit -p tsconfig.json",
41
+ "lint": "eslint \"src/**/*.ts\"",
42
+ "test": "vitest run",
43
+ "test:coverage": "vitest run --coverage"
44
+ }
45
+ }