@mattfillipe/tobby 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.
@@ -0,0 +1,27 @@
1
+ ; Query from: https://raw.githubusercontent.com/nvim-treesitter/nvim-treesitter/refs/heads/master/queries/markdown/injections.scm
2
+ (fenced_code_block
3
+ (info_string
4
+ (language) @_lang)
5
+ (code_fence_content) @injection.content
6
+ (#set-lang-from-info-string! @_lang))
7
+
8
+ ((html_block) @injection.content
9
+ (#set! injection.language "html")
10
+ (#set! injection.combined)
11
+ (#set! injection.include-children))
12
+
13
+ ((minus_metadata) @injection.content
14
+ (#set! injection.language "yaml")
15
+ (#offset! @injection.content 1 0 -1 0)
16
+ (#set! injection.include-children))
17
+
18
+ ((plus_metadata) @injection.content
19
+ (#set! injection.language "toml")
20
+ (#offset! @injection.content 1 0 -1 0)
21
+ (#set! injection.include-children))
22
+
23
+ ([
24
+ (inline)
25
+ (pipe_table_cell)
26
+ ] @injection.content
27
+ (#set! injection.language "markdown_inline"))
package/package.json ADDED
@@ -0,0 +1,60 @@
1
+ {
2
+ "name": "@mattfillipe/tobby",
3
+ "version": "0.1.0",
4
+ "description": "The Terminal Obby — a modern IRC client for the terminal",
5
+ "type": "module",
6
+ "bin": {
7
+ "tobby": "bin/tobby.js"
8
+ },
9
+ "files": [
10
+ "dist",
11
+ "bin",
12
+ "README.md"
13
+ ],
14
+ "scripts": {
15
+ "dev": "bun run src/index.tsx",
16
+ "start": "bun run dist/index.js",
17
+ "build": "bun build src/index.tsx --outdir dist --target bun",
18
+ "test": "vitest",
19
+ "test:coverage": "vitest --coverage",
20
+ "test:ui": "vitest --ui",
21
+ "lint": "eslint src tests && prettier --check 'src/**/*.{ts,tsx}' 'tests/**/*.{ts,tsx}'",
22
+ "lint:fix": "eslint src tests --fix && prettier --write 'src/**/*.{ts,tsx}' 'tests/**/*.{ts,tsx}'",
23
+ "format": "prettier --write 'src/**/*.{ts,tsx}' 'tests/**/*.{ts,tsx}'",
24
+ "typecheck": "bash -c 'tsc --noEmit 2>&1 | grep -E \"^(src/|tests/)\" > /tmp/tsc-out.txt; if [ -s /tmp/tsc-out.txt ]; then cat /tmp/tsc-out.txt; exit 1; fi'",
25
+ "prepare": "husky",
26
+ "db:clear": "bun run scripts/clear-database.ts"
27
+ },
28
+ "devDependencies": {
29
+ "@tauri-apps/api": "^2.9.1",
30
+ "@types/bun": "latest",
31
+ "@types/react": "^19.2.10",
32
+ "@types/uuid": "^11.0.0",
33
+ "@typescript-eslint/eslint-plugin": "^8.54.0",
34
+ "@typescript-eslint/parser": "^8.54.0",
35
+ "@vitest/coverage-v8": "^4.0.18",
36
+ "@vitest/ui": "^4.0.18",
37
+ "eslint": "^9.39.2",
38
+ "eslint-config-prettier": "^10.1.8",
39
+ "eslint-plugin-react": "^7.37.5",
40
+ "eslint-plugin-react-hooks": "^7.0.1",
41
+ "husky": "^9.1.7",
42
+ "lint-staged": "^16.2.7",
43
+ "prettier": "^3.8.1",
44
+ "vitest": "^4.0.18"
45
+ },
46
+ "peerDependencies": {
47
+ "typescript": "^5"
48
+ },
49
+ "dependencies": {
50
+ "@opentui/core": "^0.1.75",
51
+ "@opentui/react": "^0.1.75",
52
+ "clipboardy": "^5.3.0",
53
+ "emojilib": "^4.0.2",
54
+ "fuse.js": "^7.1.0",
55
+ "highlight.js": "^11.11.1",
56
+ "react": "^19.2.4",
57
+ "uuid": "^13.0.0",
58
+ "zustand": "^5.0.11"
59
+ }
60
+ }