@rbxts/toucan-debugger 1.0.1 → 1.0.3

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/README.md +31 -29
  2. package/package.json +40 -40
package/README.md CHANGED
@@ -1,29 +1,31 @@
1
- # @rbxts/toucan-debugger
2
-
3
- A visual debugger plugin for [Toucan](https://github.com/OverlineJunior/toucan).
4
-
5
- It is currently very early in development and cannot observe the server. It can however:
6
-
7
- - List every entity-like along its id and type icon;
8
- - Display `ChildOf` hierarchies;
9
- - Measure system runtimes (they're under schedules).
10
-
11
- ## Installation
12
-
13
- ```sh
14
- npm install @rbxts/toucan-debugger
15
- ```
16
-
17
- > [!IMPORTANT]
18
- > The version of Toucan your game uses must be the same as the one this debugger plugin uses. This package currently targets `@rbxts/toucan` `0.6.0`.
19
-
20
- ## Usage
21
-
22
- Pass the plugin to your scheduler before calling `run()`. It must be used on the client.
23
-
24
- ```ts
25
- import toucanDebugger, { themes } from "@rbxts/toucan-debugger";
26
-
27
- // Passing a theme is optional — defaults to black.
28
- scheduler().usePlugin(toucanDebugger, themes.black).run();
29
- ```
1
+ # @rbxts/toucan-debugger
2
+
3
+ A visual debugger plugin for [Toucan](https://github.com/OverlineJunior/toucan).
4
+
5
+ It is currently very early in development and cannot observe the server. It can however:
6
+
7
+ - List every entity-like along its id and type icon;
8
+ - Display `ChildOf` hierarchies;
9
+ - Measure system runtimes (they're under schedules).
10
+
11
+ <img src="assets/showcase.png" style="vertical-align: bottom;"/>
12
+
13
+ ## Installation
14
+
15
+ ```sh
16
+ npm install @rbxts/toucan-debugger
17
+ ```
18
+
19
+ > [!IMPORTANT]
20
+ > The version of Toucan your game uses must be the same as the one this debugger plugin uses. This package currently targets `@rbxts/toucan` `0.6.0`.
21
+
22
+ ## Usage
23
+
24
+ Pass the plugin to your scheduler before calling `run()`. It must be used on the client.
25
+
26
+ ```ts
27
+ import toucanDebugger, { themes } from "@rbxts/toucan-debugger";
28
+
29
+ // Passing a theme is optional — defaults to black.
30
+ scheduler().usePlugin(toucanDebugger, themes.black).run();
31
+ ```
package/package.json CHANGED
@@ -1,40 +1,40 @@
1
- {
2
- "name": "@rbxts/toucan-debugger",
3
- "version": "1.0.1",
4
- "description": "",
5
- "main": "out/init.lua",
6
- "scripts": {
7
- "setup": "bun i && bun i --cwd test && rokit install",
8
- "build": "rbxtsc",
9
- "dev": "concurrently -n \"LIB,TEST,ROJO\" -c \"blue,magenta,yellow\" \"rbxtsc -w\" \"rbxtsc -p test -w\" \"rojo serve test/default.project.json\"",
10
- "prepublishOnly": "npm run build",
11
- "lint": "biome check --write .",
12
- "format": "biome format --write .",
13
- "predev": "rbxtsc && rbxtsc -p test",
14
- "preinstall": "npx only-allow bun"
15
- },
16
- "keywords": [],
17
- "author": "",
18
- "license": "ISC",
19
- "type": "commonjs",
20
- "types": "out/index.d.ts",
21
- "files": [
22
- "out",
23
- "!**/*.tsbuildinfo"
24
- ],
25
- "publishConfig": {
26
- "access": "public"
27
- },
28
- "devDependencies": {
29
- "@biomejs/biome": "2.5.0",
30
- "@rbxts/compiler-types": "^3.0.0-types.0",
31
- "@rbxts/types": "^1.0.959",
32
- "concurrently": "^10.0.3",
33
- "roblox-ts": "^3.0.0",
34
- "typescript": "^5.9.3"
35
- },
36
- "dependencies": {
37
- "@rbxts/services": "^1.6.0",
38
- "@rbxts/toucan": "0.6.0"
39
- }
40
- }
1
+ {
2
+ "name": "@rbxts/toucan-debugger",
3
+ "version": "1.0.3",
4
+ "description": "",
5
+ "main": "out/init.lua",
6
+ "scripts": {
7
+ "setup": "bun i && bun i --cwd test && rokit install",
8
+ "build": "rbxtsc",
9
+ "dev": "concurrently -n \"LIB,TEST,ROJO\" -c \"blue,magenta,yellow\" \"rbxtsc -w\" \"rbxtsc -p test -w\" \"rojo serve test/default.project.json\"",
10
+ "prepublishOnly": "npm run build",
11
+ "lint": "biome check --write .",
12
+ "format": "biome format --write .",
13
+ "predev": "rbxtsc && rbxtsc -p test",
14
+ "preinstall": "npx only-allow bun"
15
+ },
16
+ "keywords": [],
17
+ "author": "",
18
+ "license": "ISC",
19
+ "type": "commonjs",
20
+ "types": "out/index.d.ts",
21
+ "files": [
22
+ "out",
23
+ "!**/*.tsbuildinfo"
24
+ ],
25
+ "publishConfig": {
26
+ "access": "public"
27
+ },
28
+ "devDependencies": {
29
+ "@biomejs/biome": "2.5.0",
30
+ "@rbxts/compiler-types": "^3.0.0-types.0",
31
+ "@rbxts/types": "^1.0.959",
32
+ "concurrently": "^10.0.3",
33
+ "roblox-ts": "^3.0.0",
34
+ "typescript": "^5.9.3"
35
+ },
36
+ "dependencies": {
37
+ "@rbxts/services": "^1.6.0",
38
+ "@rbxts/toucan": "0.7.0"
39
+ }
40
+ }