epiq 0.1.6 → 0.1.9

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 (2) hide show
  1. package/dist/cli.js +16 -476
  2. package/package.json +14 -20
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "epiq",
3
- "version": "0.1.6",
3
+ "version": "0.1.9",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "description": "EPIQ - CLI based issue tracker",
@@ -8,21 +8,24 @@
8
8
  "epiq": "dist/cli.js"
9
9
  },
10
10
  "engines": {
11
- "node": ">=16"
11
+ "node": ">=18"
12
12
  },
13
13
  "scripts": {
14
- "clean": "node -e \"import('node:fs').then(fs => fs.rmSync('dist', { recursive: true, force: true }))\"",
15
- "build": "pnpm clean && esbuild source/cli.tsx --bundle --platform=node --format=esm --target=node16 --minify --outfile=dist/cli.js --banner:js='#!/usr/bin/env node'",
14
+ "build": "tsc --noEmit",
15
+ "build:npm": "rm -rf ./dist && esbuild source/cli.tsx --bundle --packages=external --platform=node --format=esm --target=node18 --minify --outfile=dist/cli.js --banner:js='#!/usr/bin/env node'",
16
+ "build:sea:bundle": "rm -rf ./dist && esbuild source/cli.tsx --bundle --platform=node --format=cjs --target=node18 --minify --outfile=dist/sea.cjs",
17
+ "build:sea": "node --build-sea sea-config.json",
18
+ "build:publish": "pnpm build:npm",
19
+ "build:binary": "pnpm build:sea:bundle && pnpm build:sea",
16
20
  "dev": "tsc --watch --noEmit",
17
21
  "dev:start": "IS_LOCAL=true tsx source/cli.tsx",
18
- "start": "node dist/cli.js",
19
- "start:debug": "IS_LOCAL=true node dist/cli.js",
22
+ "start": "IS_LOCAL=true tsx source/cli.tsx",
20
23
  "test": "prettier --check \"**/*.{ts,tsx}\" && vitest run",
21
- "prepack": "pnpm build",
22
- "pack:check": "rm -f epiq-*.tgz && npm pack --json",
23
- "publish:tarball": "FILE=$(ls -t epiq-*.tgz | head -n 1) && echo \"Publishing $FILE\" && npm publish \"$FILE\"",
24
+ "prepack": "pnpm build:publish",
25
+ "pack:check": "rm -f epiq-*.tgz && npm pack && FILE=$(ls -t epiq-*.tgz | head -n 1) && echo \"$FILE\" && tar -tf \"$FILE\"",
24
26
  "publish:dry": "rm -f epiq-*.tgz && npm pack && FILE=$(ls -t epiq-*.tgz | head -n 1) && npm publish --dry-run \"$FILE\"",
25
- "release": "pnpm build && pnpm test && pnpm pack:check && pnpm publish:tarball"
27
+ "publish:tarball": "FILE=$(ls -t epiq-*.tgz | head -n 1) && echo \"Publishing $FILE\" && npm publish \"$FILE\"",
28
+ "release": "pnpm test && pnpm pack:check && pnpm publish:tarball"
26
29
  },
27
30
  "files": [
28
31
  "dist"
@@ -33,7 +36,7 @@
33
36
  "marked-terminal": "^7.3.0",
34
37
  "meow": "^14.1.0",
35
38
  "react": "^19.2.4",
36
- "react-devtools-core": "^7.0.1",
39
+ "string-width": "^8.2.0",
37
40
  "ulid": "^3.0.2"
38
41
  },
39
42
  "devDependencies": {
@@ -54,15 +57,6 @@
54
57
  "vitest": "^4.1.0",
55
58
  "xo": "^0.53.1"
56
59
  },
57
- "ava": {
58
- "extensions": {
59
- "ts": "module",
60
- "tsx": "module"
61
- },
62
- "nodeArguments": [
63
- "--loader=ts-node/esm"
64
- ]
65
- },
66
60
  "xo": {
67
61
  "extends": "xo-react",
68
62
  "prettier": true,