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 Apr 26, 2024
1 parent a156a87 commit 3c6b227
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ package-lock.json
/tsconfig.vitest-temp.json
/cli
/internal
/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 @@ -38,10 +39,17 @@
"require": "./dist/gql-tada-internal.js",
"source": "./src/internal/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.5",
"@0no-co/graphqlsp": "^1.10.3",
"@gql.tada/cli-utils": "workspace:*",
"@gql.tada/internal": "workspace:*"
},
Expand Down
3 changes: 3 additions & 0 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 3c6b227

Please sign in to comment.