diff --git a/package.json b/package.json index f3dbef35..b47fe2c1 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@rbxts/commander", "version": "1.0.0", - "description": "Type-safe command framework for Roblox", + "description": "A flexible command framework built for roblox-ts", "private": true, "main": "out/init.lua", "scripts": { @@ -9,34 +9,30 @@ "watch": "rbxtsc -w --type=game -p test -i test/include", "serve": "rojo serve test" }, - "keywords": [ - "roblox", - "typescript", - "command" - ], + "keywords": ["roblox-ts", "rbxts", "command"], "author": "paradoxuum", "license": "MIT", "types": "out/index.d.ts", "repository": { "type": "git", - "url": "https://github.com/paradoxuum/commander" + "url": "https://github.com/paradoxuum/commander.git" }, - "files": [ - "out", - "!**/*.tsbuildinfo" - ], + "bugs": { + "url": "https://github.com/paradoxuum/commander/issues" + }, + "files": ["out", "!**/*.tsbuildinfo"], "publishConfig": { "access": "public" }, "devDependencies": { "@biomejs/biome": "1.4.1", "@rbxts/compiler-types": "2.2.0-types.0", + "@rbxts/midori": "^0.1.3", "@rbxts/types": "^1.0.736", "roblox-ts": "^2.2.0", "typescript": "^5.3.2" }, "dependencies": { - "@rbxts/midori": "^0.1.3", "@rbxts/pretty-react-hooks": "^0.3.3", "@rbxts/react-reflex": "^0.2.0", "@rbxts/react-roblox": "^0.2.0", @@ -46,10 +42,7 @@ "@rbxts/roact": "npm:@rbxts/react-ts@^1.0.1", "@rbxts/rust-classes": "^0.12.0", "@rbxts/services": "^1.5.1", - "@rbxts/set-timeout": "^1.1.2", "@rbxts/sift": "^0.0.8", - "@rbxts/t": "^3.1.0", - "@rbxts/testez": "0.4.2-ts.0", - "@rbxts/ui-labs": "^1.0.2" + "@rbxts/t": "^3.1.0" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 649eb0d8..853fe81f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -5,9 +5,6 @@ settings: excludeLinksFromLockfile: false dependencies: - '@rbxts/midori': - specifier: ^0.1.3 - version: 0.1.3 '@rbxts/pretty-react-hooks': specifier: ^0.3.3 version: 0.3.3(@rbxts/flipper@2.0.1)(@rbxts/react-roblox@0.2.0)(@rbxts/react-ts@1.0.1) @@ -35,21 +32,12 @@ dependencies: '@rbxts/services': specifier: ^1.5.1 version: 1.5.1 - '@rbxts/set-timeout': - specifier: ^1.1.2 - version: 1.1.2 '@rbxts/sift': specifier: ^0.0.8 version: 0.0.8 '@rbxts/t': specifier: ^3.1.0 version: 3.1.0 - '@rbxts/testez': - specifier: 0.4.2-ts.0 - version: 0.4.2-ts.0 - '@rbxts/ui-labs': - specifier: ^1.0.2 - version: 1.0.2 devDependencies: '@biomejs/biome': @@ -58,6 +46,9 @@ devDependencies: '@rbxts/compiler-types': specifier: 2.2.0-types.0 version: 2.2.0-types.0 + '@rbxts/midori': + specifier: ^0.1.3 + version: 0.1.3 '@rbxts/types': specifier: ^1.0.736 version: 1.0.736 @@ -152,7 +143,7 @@ packages: /@rbxts/midori@0.1.3: resolution: {integrity: sha512-GT3P4ETL2k3SuCx7hw6CnSWthti5NpJ74GN3WEhFTNIjcHHbb7DzH8OxVdrD54BlSDQ2O8PAZ0ArTW6MeXge6Q==} - dev: false + dev: true /@rbxts/pretty-react-hooks@0.3.3(@rbxts/flipper@2.0.1)(@rbxts/react-roblox@0.2.0)(@rbxts/react-ts@1.0.1): resolution: {integrity: sha512-vcphO7E7pPl/3qmaVquKwnDvAhaPy62wwP0MIUskddpMH3++wk3bZvZq/nXGxlwV+fqQyvhl59yTHBNzik1A8g==} @@ -247,10 +238,6 @@ packages: '@rbxts/shared-internal': 0.2.1 dev: false - /@rbxts/roact@1.4.4-ts.0: - resolution: {integrity: sha512-gn9mBoGG/Clzgv2kyOvLNVd9dh5t6z+jukC3ITv2HnfPqvf/sMbz/VMaBoiB7t5umuiIe0LjW0ctZrkrS+uTOA==} - dev: false - /@rbxts/rust-classes@0.12.0: resolution: {integrity: sha512-Ibk532/9tHswqU9AdJlLGDjb3fD+tisI0WzTvzsbFcndcdRfEmpBqXC0JZ+4+lIfSERJmL4zRXZQNN//nJ4rmw==} dev: false @@ -286,21 +273,10 @@ packages: resolution: {integrity: sha512-ba/wfKYtAL6JWVhZNbhMnBZtzgGaTxttvfzxxpEcHDy0Qeaq0DF2Odo/zJ32Ajw961EMYkAMTnPXLLrLB/r+mw==} dev: false - /@rbxts/testez@0.4.2-ts.0: - resolution: {integrity: sha512-8Q+OG9ddTD2P3aARCuRKpPqUBvuifgSnHvQMZ6jBMqUzxhIysnb0l4c3vnnaQnvdyZ1OW9tKxcdEHMGTb67uOw==} - dev: false - /@rbxts/types@1.0.736: resolution: {integrity: sha512-IJUpRztNnB7rFUV9G/tffRhTyU6f3PmaxnOrQtuYZfXPZ1D1yYgef5YdJdON7hVZx1ulKP9dAakYofYbSGh2iQ==} dev: true - /@rbxts/ui-labs@1.0.2: - resolution: {integrity: sha512-PED8QJTBQFIXzJBDE0Vz6CKGn3+0X3rHzQAlAQjFX/JZxaK2M/UMkZ0GZiH3SQqhPnrcPxi+qXyBPnpqxDaZ1Q==} - dependencies: - '@rbxts/roact': 1.4.4-ts.0 - '@rbxts/t': 3.1.0 - dev: false - /@roblox-ts/luau-ast@1.0.10: resolution: {integrity: sha512-Yts0q76OPDosqFpFO9VbLIyRilWnXjN0cHMc6ljlMqPfJjZ5ubrsbLKEVSOFbVP3WaKWSujwee6dgrAJOgig+w==} dev: true diff --git a/src/client/interface/stories/Terminal.story.tsx b/src/client/interface/stories/Terminal.story.tsx deleted file mode 100644 index 022d5646..00000000 --- a/src/client/interface/stories/Terminal.story.tsx +++ /dev/null @@ -1,40 +0,0 @@ -import Roact from "@rbxts/roact"; -import { DEFAULT_OPTIONS } from "../../options"; -import { HistoryEntry } from "../../types"; -import Terminal from "../components/terminal/Terminal"; -import { RootProvider } from "../providers/rootProvider"; -import { story } from "../util/story"; - -export = story({ - summary: "Terminal UI", - story: () => { - const history: HistoryEntry[] = []; - const historyEvent = new Instance("BindableEvent"); - - return ( - { - const entry: HistoryEntry = { - text: "Command executed.", - success: true, - sentAt: DateTime.now().UnixTimestamp, - }; - history.push(entry); - historyEvent.Fire(entry); - return entry; - }, - - commands: new Map(), - groups: new Map(), - history: history, - onHistoryUpdated: historyEvent.Event, - }} - getSuggestion={() => undefined} - > - - - ); - }, -}); diff --git a/src/client/interface/util/story.ts b/src/client/interface/util/story.ts deleted file mode 100644 index 758a33bf..00000000 --- a/src/client/interface/util/story.ts +++ /dev/null @@ -1,13 +0,0 @@ -import ReactRoblox from "@rbxts/react-roblox"; -import Roact from "@rbxts/roact"; -import { ReturnControls, WithControls } from "@rbxts/ui-labs"; - -export function story( - story: WithControls, -): WithControls { - return { - ...story, - react: Roact, - reactRoblox: ReactRoblox, - }; -}