Skip to content

Commit

Permalink
Add gql.tada/lsp alias
Browse files Browse the repository at this point in the history
  • Loading branch information
kitten committed Feb 21, 2024
1 parent 694553e commit 57a7078
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ package-lock.json
.netlify/
/tsconfig.vitest-temp.json
/cli
/lsp
8 changes: 8 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"LICENSE.md",
"README.md",
"cli/",
"lsp/",
"bin/",
"dist/"
],
Expand All @@ -32,10 +33,17 @@
"require": "./dist/gql-tada-cli.js",
"source": "./src/cli/index.ts"
},
"./lsp": {
"types": "./dist/gql-tada-lsp.d.ts",
"import": "./dist/gql-tada-lsp.mjs",
"require": "./dist/gql-tada-lsp.js",
"source": "./src/lsp/index.ts"
},
"./package.json": "./package.json"
},
"dependencies": {
"@0no-co/graphql.web": "^1.0.4",
"@0no-co/graphqlsp": "^1.3.4",
"@gql.tada/cli-utils": "workspace:*"
},
"public": true,
Expand Down
15 changes: 11 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/lsp/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from '@0no-co/graphqlsp';

0 comments on commit 57a7078

Please sign in to comment.