From 8a59f92d031963e23ecc84b75feecf43eb4dd146 Mon Sep 17 00:00:00 2001 From: "netop://ウィビ" Date: Fri, 24 Apr 2026 11:33:25 -0700 Subject: Initial commit: @eol/graphiql v0.3 Svelte 5 GraphiQL alternative for JSR. Covers: - HTTP fetcher with injectable fetch; SSE/WS stubs - Session store with tabs, auto-titling, persistence, rename - Operation detection via graphql parse(); Toolbar picker - CodeMirror 6 editor via cm6-graphql with theme prop - Light theme preset (hand-rolled EditorView.theme) - Doc explorer with breadcrumb nav and type guards - History panel with 100-entry cap, favorite pinning - Deno tests for operations, storage, and history eviction --- deno.json | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 deno.json (limited to 'deno.json') diff --git a/deno.json b/deno.json new file mode 100644 index 0000000..61efce7 --- /dev/null +++ b/deno.json @@ -0,0 +1,29 @@ +{ + "compilerOptions": { + "lib": ["deno.window", "dom", "dom.iterable"], + "strict": true + }, + "exports": "./source/library/index.ts", + "imports": { + "@codemirror/autocomplete": "npm:@codemirror/autocomplete@^6.18.0", + "@codemirror/commands": "npm:@codemirror/commands@^6.7.0", + "@codemirror/lang-json": "npm:@codemirror/lang-json@^6.0.1", + "@codemirror/language": "npm:@codemirror/language@^6.10.0", + "@codemirror/state": "npm:@codemirror/state@^6.4.0", + "@codemirror/theme-one-dark": "npm:@codemirror/theme-one-dark@^6.1.0", + "@codemirror/view": "npm:@codemirror/view@^6.34.0", + "@lezer/highlight": "npm:@lezer/highlight@^1.2.0", + "cm6-graphql": "npm:cm6-graphql@^0.2.1", + "codemirror": "npm:codemirror@^6.0.1", + "graphql": "npm:graphql@^16.8.0" + }, + "name": "@eol/graphiql", + "publish": { + "include": ["source/library/**/*", "README.md", "LICENSE"] + }, + "tasks": { + "check": "deno check source/library/**/*.ts", + "test": "deno test --allow-env --location=http://localhost/ tests/" + }, + "version": "0.1.0" +} -- cgit v1.2.3