@binclusive/cli 0.1.0 → 0.1.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.
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@binclusive/cli",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Binclusive accessibility CLI — run audits and view violation tickets from your terminal.",
5
- "license": "UNLICENSED",
5
+ "license": "SEE LICENSE IN LICENSE.md",
6
6
  "type": "module",
7
7
  "bin": {
8
8
  "b8e": "./dist/bin.js",
@@ -25,6 +25,7 @@
25
25
  "dev:local": "B8E_KONTROL_URL=http://localhost:5000/graphql B8E_PASAPORT_URL=http://localhost:3000 node dist/bin.js",
26
26
  "typecheck": "tsc --noEmit",
27
27
  "test": "vitest run",
28
+ "upload-sourcemaps": "./scripts/upload-sourcemaps.sh",
28
29
  "prepublishOnly": "pnpm build"
29
30
  },
30
31
  "optionalDependencies": {
@@ -32,16 +33,17 @@
32
33
  },
33
34
  "devDependencies": {
34
35
  "@b8e/tea": "workspace:^",
35
- "open": "^10.1.0",
36
36
  "@b8e/tea-react": "workspace:^",
37
37
  "@babel/core": "^7.24.0",
38
38
  "@binclusive/tsconfig": "workspace:^",
39
+ "@sentry/cli": "^3.4.1",
39
40
  "@types/react": "catalog:",
40
41
  "@types/react-relay": "^18.2.0",
41
42
  "@types/relay-runtime": "^18.2.0",
42
43
  "@types/ws": "^8.5.0",
43
44
  "babel-plugin-relay": "^18.2.0",
44
45
  "ink": "^6.8.0",
46
+ "open": "^10.1.0",
45
47
  "react": "catalog:",
46
48
  "react-relay": "^18.2.0",
47
49
  "relay-compiler": "^18.2.0",
@@ -53,5 +55,9 @@
53
55
  "ws": "^8.18.0",
54
56
  "yaml": "^2.7.0",
55
57
  "zod": "catalog:"
58
+ },
59
+ "dependencies": {
60
+ "@sentry/node": "^10.56.0",
61
+ "@sentry/profiling-node": "^10.56.0"
56
62
  }
57
63
  }
@@ -1,2 +0,0 @@
1
- import { createRequire as __cjsCreateRequire } from 'node:module'; const require = __cjsCreateRequire(import.meta.url);
2
- import{a as x}from"./chunk-VCKJNF7P.js";import{a as u,b as e,l as p,m as f}from"./chunk-SNQ7SXG3.js";import{a as b}from"./chunk-3MDNIFWR.js";import{d as c}from"./chunk-PCQ2R3VR.js";var M=c(b(),1),i=c(x(),1),r=[{label:"Login",action:"login"},{label:"Run audit",action:"audit"},{label:"View tickets",action:"tickets"},{label:"Whoami",action:"whoami"},{label:"Quit",action:"quit"}];function g({onSelect:l}){let{exit:s}=f(),[n,m]=(0,M.useState)(0);return p((a,t)=>{if(t.upArrow&&m(o=>Math.max(0,o-1)),t.downArrow&&m(o=>Math.min(r.length-1,o+1)),t.return){let o=r[n];o&&(l(o.action),s())}t.escape&&(l("quit"),s())}),(0,i.jsxs)(u,{flexDirection:"column",children:[(0,i.jsx)(e,{bold:!0,children:"b8e \u2014 Binclusive CLI"}),(0,i.jsx)(e,{dimColor:!0,children:"Use \u2191/\u2193 to navigate, Enter to select, Esc to quit"}),(0,i.jsx)(u,{flexDirection:"column",marginTop:1,children:r.map((a,t)=>(0,i.jsxs)(e,{color:t===n?"cyan":void 0,children:[t===n?"\u203A ":" ",a.label]},a.action))})]})}export{g as Menu};