hyper-pm-web 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-web — optional (see packages/env for full monorepo env schema)
2
+
3
+ # HYPER_PM_WEB_HOST="127.0.0.1"
4
+ # HYPER_PM_WEB_PORT="3847"
5
+ # HYPER_PM_WEB_REPO=""
6
+ # HYPER_PM_WEB_TEMP_DIR=""
7
+ # HYPER_PM_WEB_TOKEN=""
8
+ # HYPER_PM_CLI_PATH=""
package/package.json ADDED
@@ -0,0 +1,44 @@
1
+ {
2
+ "name": "hyper-pm-web",
3
+ "version": "0.1.0",
4
+ "description": "Local web UI and HTTP API around the hyper-pm CLI",
5
+ "type": "module",
6
+ "engines": {
7
+ "node": ">=20"
8
+ },
9
+ "bin": {
10
+ "hyper-pm-web": "dist/server.mjs"
11
+ },
12
+ "files": [
13
+ "dist/server.mjs",
14
+ "public",
15
+ "README.md",
16
+ "env.example"
17
+ ],
18
+ "dependencies": {
19
+ "hyper-pm": "^0.1.0"
20
+ },
21
+ "devDependencies": {
22
+ "@types/node": "^20.19.9",
23
+ "@vitest/coverage-v8": "^4.0.18",
24
+ "esbuild": "^0.27.0",
25
+ "eslint": "^9.32.0",
26
+ "tsx": "^4.19.2",
27
+ "typescript": "^5.9.2",
28
+ "vitest": "^4.0.18",
29
+ "@workspace/env": "0.0.0",
30
+ "@workspace/typescript-config": "0.0.0",
31
+ "@workspace/hyper-pm-cli-runner": "0.0.0",
32
+ "@workspace/eslint-config": "0.0.0"
33
+ },
34
+ "scripts": {
35
+ "build:browser-audit": "esbuild src/audit-event-summary.ts --bundle --platform=browser --format=iife --global-name=HyperPmAuditSummary --outfile=public/audit-event-summary.js",
36
+ "build": "pnpm run build:browser-audit && rm -rf dist && esbuild src/main.ts --bundle --platform=node --format=esm --outfile=dist/server.mjs",
37
+ "check-types": "tsc --noEmit -p tsconfig.json",
38
+ "dev": "pnpm run build:browser-audit && tsx watch src/main.ts",
39
+ "lint": "eslint \"src/**/*.ts\"",
40
+ "start": "node dist/server.mjs",
41
+ "test": "vitest run",
42
+ "test:coverage": "vitest run --coverage"
43
+ }
44
+ }