@commandkit/devtools 1.2.0-rc.12 → 1.2.0-rc.13
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/{COPYING.md → LICENSE.md} +3 -3
- package/package.json +5 -5
- package/ui/assets/{commands-Dy6fqGmM.js → commands-BS6YdHp4.js} +1 -1
- package/ui/assets/{events-DIQuR4Um.js → events-DNXuwGLg.js} +1 -1
- package/ui/assets/{feature-flags-B9XalKPh.js → feature-flags-De1WH-ON.js} +1 -1
- package/ui/assets/{guilds-BOAt_8tz.js → guilds-TRnuAzbR.js} +1 -1
- package/ui/assets/{index-Bv2YiXWR.js → index-C5uW_O5F.js} +15 -15
- package/ui/assets/index-Dqabizwh.css +1 -0
- package/ui/assets/{index-VMCFJZI0.js → index-f6ugmZee.js} +1 -1
- package/ui/assets/{plugins-Doc5SAc7.js → plugins-DXMOuAio.js} +1 -1
- package/ui/index.html +2 -2
- package/ui/assets/index-DLLfXyhV.css +0 -1
|
@@ -639,8 +639,8 @@ attach them to the start of each source file to most effectively state
|
|
|
639
639
|
the exclusion of warranty; and each file should have at least the
|
|
640
640
|
"copyright" line and a pointer to where the full notice is found.
|
|
641
641
|
|
|
642
|
-
|
|
643
|
-
Copyright (C)
|
|
642
|
+
CommandKit is a discord.js metaframework
|
|
643
|
+
Copyright (C) 2026 Neplex
|
|
644
644
|
|
|
645
645
|
This program is free software: you can redistribute it and/or modify
|
|
646
646
|
it under the terms of the GNU General Public License as published by
|
|
@@ -661,7 +661,7 @@ mail.
|
|
|
661
661
|
If the program does terminal interaction, make it output a short
|
|
662
662
|
notice like this when it starts in an interactive mode:
|
|
663
663
|
|
|
664
|
-
|
|
664
|
+
CommandKit Copyright (C) 2026 Neplex
|
|
665
665
|
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
|
666
666
|
This is free software, and you are welcome to redistribute it
|
|
667
667
|
under certain conditions; type `show c' for details.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commandkit/devtools",
|
|
3
3
|
"description": "CommandKit devtools",
|
|
4
|
-
"version": "1.2.0-rc.
|
|
4
|
+
"version": "1.2.0-rc.13",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"license": "GPL-3.0-only",
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
"@types/jsonwebtoken": "^9.0.9",
|
|
10
10
|
"@types/cors": "^2.8.18",
|
|
11
11
|
"@types/express": "^5.0.1",
|
|
12
|
-
"discord.js": "^14.
|
|
13
|
-
"typescript": "^5.
|
|
14
|
-
"commandkit": "1.2.0-rc.
|
|
15
|
-
"tsconfig": "0.0.0-rc.
|
|
12
|
+
"discord.js": "^14.24.0",
|
|
13
|
+
"typescript": "^5.9.3",
|
|
14
|
+
"commandkit": "1.2.0-rc.13",
|
|
15
|
+
"tsconfig": "0.0.0-rc.13"
|
|
16
16
|
},
|
|
17
17
|
"files": [
|
|
18
18
|
"dist",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{i,r as p,u as N,a as g,j as e,B as c,k as v,C as f}from"./index-
|
|
1
|
+
import{i,r as p,u as N,a as g,j as e,B as c,k as v,C as f}from"./index-C5uW_O5F.js";/**
|
|
2
2
|
* @license lucide-react v0.545.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{u as x,a as p,r as o,j as e,L as u,B as c}from"./index-
|
|
1
|
+
import{u as x,a as p,r as o,j as e,L as u,B as c}from"./index-C5uW_O5F.js";function f(){const i=x(),{data:r,isLoading:m,isError:l}=p({queryKey:["events"],queryFn:async()=>await i.events.fetch()}),n=o.useMemo(()=>crypto.randomUUID(),[]),d=o.useMemo(()=>{if(!r)return[];const s={};return r.forEach(a=>{const t=a.namespace||n;s[t]||(s[t]=[]),s[t].push(a)}),Object.entries(s).map(([a,t])=>({namespace:a,events:t}))},[r,n]);return m||!r?e.jsx(u,{}):l?e.jsx("div",{className:"h-screen grid place-items-center",children:e.jsx("h1",{className:"text-2xl text-red-500",children:"An error occurred while fetching events data."})}):e.jsx("div",{className:"p-4",children:d.map(s=>e.jsxs("div",{className:"mb-6",children:[e.jsx("h1",{className:"text-2xl font-bold capitalize",children:s.namespace===n?"Default":s.namespace}),e.jsx("div",{className:"grid grid-cols-3 gap-4 py-4",children:s.events.map(a=>e.jsxs("div",{className:"border p-4 rounded",children:[e.jsx("h2",{className:"text-lg font-semibold",children:a.name}),e.jsx("p",{className:"text-muted-foreground text-xs mt-2 font-medium font-mono break-all",children:a.metadata.path}),e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsxs(c,{variant:"outline",className:"text-xs text-gray-500 mt-2 font-mono",children:["Namespace: ",a.namespace||"discord.js"]}),e.jsxs(c,{variant:"outline",className:"text-xs text-gray-500 mt-2 font-mono break-all",children:["Once: ",a.onceListeners]}),e.jsxs(c,{variant:"outline",className:"text-xs text-gray-500 mt-2 font-mono break-all",children:["Regular: ",a.regularListeners]})]})]},`${a.name}-${s.namespace}`))})]},s.namespace))})}export{f as component};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{u as i,a as d,j as e,L as o,B as c}from"./index-
|
|
1
|
+
import{u as i,a as d,j as e,L as o,B as c}from"./index-C5uW_O5F.js";function u(){const r=i(),{data:t,isLoading:a,isError:n}=d({queryKey:["feature-flags"],queryFn:async()=>await r.getFeatureFlags()});return a||!t?e.jsx(o,{}):n?e.jsx("div",{className:"h-screen grid place-items-center",children:e.jsx("h1",{className:"text-2xl text-red-500",children:"An error occurred while fetching plugins data."})}):e.jsxs("div",{className:"p-4",children:[e.jsxs("div",{children:[e.jsx("h1",{className:"text-2xl font-bold ",children:"Feature Flags"}),e.jsx("p",{className:"text-muted-foreground",children:"The below is a list of active feature flags in your project"})]}),e.jsx("div",{className:"grid grid-cols-3 gap-4 py-4",children:t.flags.map(s=>e.jsxs("div",{className:"border p-4 rounded",children:[e.jsx("h2",{className:"text-lg font-semibold",children:s.key}),e.jsx("p",{className:"text-muted-foreground text-xs mt-2 font-medium",children:s.description||`${s.key} feature flag`}),s.hasIdentify&&e.jsx(c,{variant:"outline",className:"text-sm text-gray-500 mt-2 font-mono",children:"identify"})]},s.key))})]})}export{u as component};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{u as t,a as d,j as e,L as i,C as l,b as o,A as x,c as m,d as h,e as j,f as u,h as p}from"./index-
|
|
1
|
+
import{u as t,a as d,j as e,L as i,C as l,b as o,A as x,c as m,d as h,e as j,f as u,h as p}from"./index-C5uW_O5F.js";function f(){const a=t(),{data:r,isLoading:n,isError:c}=d({queryKey:["guilds"],queryFn:async()=>await a.guilds.fetch()});return n||!r?e.jsx(i,{}):c?e.jsx("div",{className:"h-screen grid place-items-center",children:e.jsx("h1",{className:"text-2xl text-red-500",children:"An error occurred while fetching guilds data."})}):e.jsxs("div",{className:"grid grid-cols-3 gap-4 p-4",children:[e.jsx("h1",{className:"text-2xl font-bold col-span-3",children:"Guilds"}),r.map(s=>e.jsxs(l,{className:"border py-4 rounded",children:[e.jsx(o,{children:e.jsxs(x,{className:"h-12 w-12 rounded-lg",children:[e.jsx(m,{src:s.iconURL,alt:s.name}),e.jsx(h,{className:"rounded-lg",children:s.nameAcronym})]})}),e.jsxs(j,{children:[e.jsx(u,{children:s.name}),e.jsx(p,{children:s.description||`${s.name} server`})]})]},s.id))]})}export{f as component};
|