@binclusive/cli 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/LICENSE.md +46 -0
- package/README.md +91 -0
- package/dist/Menu-OSFE6ZQQ.js +2 -0
- package/dist/bin.js +352 -0
- package/dist/build-737TDK5H.js +2 -0
- package/dist/chunk-3MDNIFWR.js +38 -0
- package/dist/chunk-HPOSJQ4U.js +8 -0
- package/dist/chunk-PCQ2R3VR.js +2 -0
- package/dist/chunk-SNQ7SXG3.js +336 -0
- package/dist/chunk-VCKJNF7P.js +31 -0
- package/dist/devtools-RNURB4HU.js +2 -0
- package/dist/react-RAQ3DDSD.js +2 -0
- package/package.json +57 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { createRequire as __cjsCreateRequire } from 'node:module'; const require = __cjsCreateRequire(import.meta.url);
|
|
2
|
+
import{a as re}from"./chunk-3MDNIFWR.js";import{b as O}from"./chunk-PCQ2R3VR.js";var F=O(b=>{"use strict";var te=Symbol.for("react.transitional.element"),ne=Symbol.for("react.fragment");function I(u,a,c){var i=null;if(c!==void 0&&(i=""+c),a.key!==void 0&&(i=""+a.key),"key"in a){c={};for(var E in a)E!=="key"&&(c[E]=a[E])}else c=a;return a=c.ref,{$$typeof:te,type:u,key:i,ref:a!==void 0?a:null,props:c}}b.Fragment=ne;b.jsx=I;b.jsxs=I});var D=O(m=>{"use strict";process.env.NODE_ENV!=="production"&&(function(){function u(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===J?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case _:return"Fragment";case V:return"Profiler";case z:return"StrictMode";case B:return"Suspense";case H:return"SuspenseList";case Q:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case U:return"Portal";case X:return(e.displayName||"Context")+".Provider";case G:return(e._context.displayName||"Context")+".Consumer";case q:var r=e.render;return e=e.displayName,e||(e=r.displayName||r.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Z:return r=e.displayName||null,r!==null?r:u(e.type)||"Memo";case j:r=e._payload,e=e._init;try{return u(e(r))}catch{}}return null}function a(e){return""+e}function c(e){try{a(e);var r=!1}catch{r=!0}if(r){r=console;var t=r.error,n=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t.call(r,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",n),a(e)}}function i(e){if(e===_)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===j)return"<...>";try{var r=u(e);return r?"<"+r+">":"<...>"}catch{return"<...>"}}function E(){var e=T.A;return e===null?null:e.getOwner()}function S(){return Error("react-stack-top-frame")}function $(e){if(y.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function L(e,r){function t(){h||(h=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",r))}t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}function M(){var e=u(this.type);return N[e]||(N[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function W(e,r,t,n,l,s,R,k){return t=s.ref,e={$$typeof:g,type:e,key:r,props:s,_owner:l},(t!==void 0?t:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:M}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:R}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:k}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function P(e,r,t,n,l,s,R,k){var o=r.children;if(o!==void 0)if(n)if(K(o)){for(n=0;n<o.length;n++)w(o[n]);Object.freeze&&Object.freeze(o)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else w(o);if(y.call(r,"key")){o=u(e);var f=Object.keys(r).filter(function(ee){return ee!=="key"});n=0<f.length?"{key: someKey, "+f.join(": ..., ")+": ...}":"{key: someKey}",Y[o+n]||(f=0<f.length?"{"+f.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
3
|
+
let props = %s;
|
|
4
|
+
<%s {...props} />
|
|
5
|
+
React keys must be passed directly to JSX without using spread:
|
|
6
|
+
let props = %s;
|
|
7
|
+
<%s key={someKey} {...props} />`,n,o,f,o),Y[o+n]=!0)}if(o=null,t!==void 0&&(c(t),o=""+t),$(r)&&(c(r.key),o=""+r.key),"key"in r){t={};for(var p in r)p!=="key"&&(t[p]=r[p])}else t=r;return o&&L(t,typeof e=="function"?e.displayName||e.name||"Unknown":e),W(e,o,s,l,E(),t,R,k)}function w(e){typeof e=="object"&&e!==null&&e.$$typeof===g&&e._store&&(e._store.validated=1)}var d=re(),g=Symbol.for("react.transitional.element"),U=Symbol.for("react.portal"),_=Symbol.for("react.fragment"),z=Symbol.for("react.strict_mode"),V=Symbol.for("react.profiler");Symbol.for("react.provider");var G=Symbol.for("react.consumer"),X=Symbol.for("react.context"),q=Symbol.for("react.forward_ref"),B=Symbol.for("react.suspense"),H=Symbol.for("react.suspense_list"),Z=Symbol.for("react.memo"),j=Symbol.for("react.lazy"),Q=Symbol.for("react.activity"),J=Symbol.for("react.client.reference"),T=d.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,y=Object.prototype.hasOwnProperty,K=Array.isArray,v=console.createTask?console.createTask:function(){return null};d={react_stack_bottom_frame:function(e){return e()}};var h,N={},C=d.react_stack_bottom_frame.bind(d,S)(),x=v(i(S)),Y={};m.Fragment=_,m.jsx=function(e,r,t,n,l){var s=1e4>T.recentlyCreatedOwnerStacks++;return P(e,r,t,!1,n,l,s?Error("react-stack-top-frame"):C,s?v(i(e)):x)},m.jsxs=function(e,r,t,n,l){var s=1e4>T.recentlyCreatedOwnerStacks++;return P(e,r,t,!0,n,l,s?Error("react-stack-top-frame"):C,s?v(i(e)):x)}})()});var oe=O((se,A)=>{"use strict";process.env.NODE_ENV==="production"?A.exports=F():A.exports=D()});export{oe as a};
|
|
8
|
+
/*! Bundled license information:
|
|
9
|
+
|
|
10
|
+
react/cjs/react-jsx-runtime.production.js:
|
|
11
|
+
(**
|
|
12
|
+
* @license React
|
|
13
|
+
* react-jsx-runtime.production.js
|
|
14
|
+
*
|
|
15
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
16
|
+
*
|
|
17
|
+
* This source code is licensed under the MIT license found in the
|
|
18
|
+
* LICENSE file in the root directory of this source tree.
|
|
19
|
+
*)
|
|
20
|
+
|
|
21
|
+
react/cjs/react-jsx-runtime.development.js:
|
|
22
|
+
(**
|
|
23
|
+
* @license React
|
|
24
|
+
* react-jsx-runtime.development.js
|
|
25
|
+
*
|
|
26
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
27
|
+
*
|
|
28
|
+
* This source code is licensed under the MIT license found in the
|
|
29
|
+
* LICENSE file in the root directory of this source tree.
|
|
30
|
+
*)
|
|
31
|
+
*/
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { createRequire as __cjsCreateRequire } from 'node:module'; const require = __cjsCreateRequire(import.meta.url);
|
|
2
|
+
import{a as t}from"./chunk-HPOSJQ4U.js";import"./chunk-PCQ2R3VR.js";var e=global;e.WebSocket||=t;e.window||=global;e.self||=global;e.window.__REACT_DEVTOOLS_COMPONENT_FILTERS__=[{type:1,value:7,isEnabled:!0},{type:2,value:"InternalApp",isEnabled:!0,isValid:!0},{type:2,value:"InternalAppContext",isEnabled:!0,isValid:!0},{type:2,value:"InternalStdoutContext",isEnabled:!0,isValid:!0},{type:2,value:"InternalStderrContext",isEnabled:!0,isValid:!0},{type:2,value:"InternalStdinContext",isEnabled:!0,isValid:!0},{type:2,value:"InternalFocusContext",isEnabled:!0,isValid:!0}];import l from"react-devtools-core";l.initialize();l.connectToDevTools();
|
package/package.json
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@binclusive/cli",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Binclusive accessibility CLI — run audits and view violation tickets from your terminal.",
|
|
5
|
+
"license": "UNLICENSED",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"bin": {
|
|
8
|
+
"b8e": "./dist/bin.js",
|
|
9
|
+
"binclusive": "./dist/bin.js"
|
|
10
|
+
},
|
|
11
|
+
"files": [
|
|
12
|
+
"dist"
|
|
13
|
+
],
|
|
14
|
+
"engines": {
|
|
15
|
+
"node": ">=20"
|
|
16
|
+
},
|
|
17
|
+
"publishConfig": {
|
|
18
|
+
"access": "public"
|
|
19
|
+
},
|
|
20
|
+
"scripts": {
|
|
21
|
+
"relay": "relay-compiler",
|
|
22
|
+
"build": "pnpm relay && tsup",
|
|
23
|
+
"watch": "tsup --watch",
|
|
24
|
+
"dev": "node dist/bin.js",
|
|
25
|
+
"dev:local": "B8E_KONTROL_URL=http://localhost:5000/graphql B8E_PASAPORT_URL=http://localhost:3000 node dist/bin.js",
|
|
26
|
+
"typecheck": "tsc --noEmit",
|
|
27
|
+
"test": "vitest run",
|
|
28
|
+
"prepublishOnly": "pnpm build"
|
|
29
|
+
},
|
|
30
|
+
"optionalDependencies": {
|
|
31
|
+
"playwright": "^1.50.0"
|
|
32
|
+
},
|
|
33
|
+
"devDependencies": {
|
|
34
|
+
"@b8e/tea": "workspace:^",
|
|
35
|
+
"open": "^10.1.0",
|
|
36
|
+
"@b8e/tea-react": "workspace:^",
|
|
37
|
+
"@babel/core": "^7.24.0",
|
|
38
|
+
"@binclusive/tsconfig": "workspace:^",
|
|
39
|
+
"@types/react": "catalog:",
|
|
40
|
+
"@types/react-relay": "^18.2.0",
|
|
41
|
+
"@types/relay-runtime": "^18.2.0",
|
|
42
|
+
"@types/ws": "^8.5.0",
|
|
43
|
+
"babel-plugin-relay": "^18.2.0",
|
|
44
|
+
"ink": "^6.8.0",
|
|
45
|
+
"react": "catalog:",
|
|
46
|
+
"react-relay": "^18.2.0",
|
|
47
|
+
"relay-compiler": "^18.2.0",
|
|
48
|
+
"relay-runtime": "^18.2.0",
|
|
49
|
+
"tsup": "^8.0.0",
|
|
50
|
+
"tsx": "^4.0.0",
|
|
51
|
+
"typescript": "catalog:",
|
|
52
|
+
"vitest": "catalog:",
|
|
53
|
+
"ws": "^8.18.0",
|
|
54
|
+
"yaml": "^2.7.0",
|
|
55
|
+
"zod": "catalog:"
|
|
56
|
+
}
|
|
57
|
+
}
|