@spawnite/devtools 0.1.0-beta.15

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/fonts.css ADDED
@@ -0,0 +1,62 @@
1
+ /* The devtools' faces as woff2 alone, which every browser the platform
2
+ serves reads. Fontsource's own sheets add a woff beside each, a file a
3
+ game's build copies and no page fetches. Outside src, so the library
4
+ build leaves it to the game's, which copies each font as a file. */
5
+ @font-face {
6
+ font-family: "IBM Plex Sans";
7
+ font-style: normal;
8
+ font-display: swap;
9
+ font-weight: 400;
10
+ src: url("@fontsource/ibm-plex-sans/files/ibm-plex-sans-latin-400-normal.woff2")
11
+ format("woff2");
12
+ }
13
+ @font-face {
14
+ font-family: "IBM Plex Sans";
15
+ font-style: normal;
16
+ font-display: swap;
17
+ font-weight: 500;
18
+ src: url("@fontsource/ibm-plex-sans/files/ibm-plex-sans-latin-500-normal.woff2")
19
+ format("woff2");
20
+ }
21
+ @font-face {
22
+ font-family: "IBM Plex Sans";
23
+ font-style: normal;
24
+ font-display: swap;
25
+ font-weight: 600;
26
+ src: url("@fontsource/ibm-plex-sans/files/ibm-plex-sans-latin-600-normal.woff2")
27
+ format("woff2");
28
+ }
29
+ @font-face {
30
+ font-family: "IBM Plex Mono";
31
+ font-style: normal;
32
+ font-display: swap;
33
+ font-weight: 400;
34
+ src: url("@fontsource/ibm-plex-mono/files/ibm-plex-mono-latin-400-normal.woff2")
35
+ format("woff2");
36
+ }
37
+ @font-face {
38
+ font-family: "IBM Plex Mono";
39
+ font-style: normal;
40
+ font-display: swap;
41
+ font-weight: 500;
42
+ src: url("@fontsource/ibm-plex-mono/files/ibm-plex-mono-latin-500-normal.woff2")
43
+ format("woff2");
44
+ }
45
+ @font-face {
46
+ font-family: "IBM Plex Mono";
47
+ font-style: normal;
48
+ font-display: swap;
49
+ font-weight: 600;
50
+ src: url("@fontsource/ibm-plex-mono/files/ibm-plex-mono-latin-600-normal.woff2")
51
+ format("woff2");
52
+ }
53
+ /* The wordmark's face, from ui's package, which keeps its licence beside
54
+ it. Archivo keeps its width axis, which the wordmark widens. */
55
+ @font-face {
56
+ font-family: "Archivo";
57
+ font-style: normal;
58
+ font-display: swap;
59
+ font-weight: 100 900;
60
+ font-stretch: 62% 125%;
61
+ src: url("@spawnite/ui/fonts/archivo/Archivo.woff2") format("woff2");
62
+ }
package/package.json ADDED
@@ -0,0 +1,54 @@
1
+ {
2
+ "name": "@spawnite/devtools",
3
+ "description": "The debugger overlay a game mounts in development.",
4
+ "version": "0.1.0-beta.15",
5
+ "license": "SEE LICENSE IN LICENSE.md",
6
+ "homepage": "https://wiki.spawnite.com",
7
+ "publishConfig": {
8
+ "registry": "https://registry.npmjs.org",
9
+ "access": "public"
10
+ },
11
+ "files": [
12
+ "dist",
13
+ "fonts.css",
14
+ "LICENSE.md",
15
+ "!dist/*.tsbuildinfo",
16
+ "!dist/types",
17
+ "!dist/**/*.map"
18
+ ],
19
+ "type": "module",
20
+ "main": "./dist/index.js",
21
+ "module": "./dist/index.js",
22
+ "types": "./dist/index.d.ts",
23
+ "exports": {
24
+ "./package.json": "./package.json",
25
+ ".": {
26
+ "types": "./dist/index.d.ts",
27
+ "import": "./dist/index.js",
28
+ "default": "./dist/index.js"
29
+ },
30
+ "./styles.css": {
31
+ "default": "./dist/styles.css"
32
+ }
33
+ },
34
+ "sideEffects": true,
35
+ "peerDependencies": {
36
+ "react": "^19.0.0",
37
+ "react-dom": "^19.0.0",
38
+ "@spawnite/engine": "^0.1.0-beta.15",
39
+ "@spawnite/schema": "^0.1.0-beta.15",
40
+ "@spawnite/ui": "^0.1.0-beta.15"
41
+ },
42
+ "dependencies": {
43
+ "@fontsource/ibm-plex-mono": "5.3.0",
44
+ "@fontsource/ibm-plex-sans": "5.3.0",
45
+ "clsx": "2.1.1",
46
+ "lucide-react": "1.47.0",
47
+ "mermaid": "12.0.0",
48
+ "motion": "13.4.2",
49
+ "react-markdown": "10.1.0",
50
+ "remark-gfm": "4.0.1",
51
+ "tailwind-merge": "3.7.0",
52
+ "zustand": "5.0.15"
53
+ }
54
+ }