Skip to content

Commit

Permalink
add quotes to dep names with punctuation
Browse files Browse the repository at this point in the history
  • Loading branch information
JoviDeCroock committed Apr 5, 2024
1 parent a105921 commit d05d787
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions packages/cli-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@
"json5": "^2.2.3",
"rollup": "^4.9.4",
"sade": "^1.8.1",
"semiver": "^1.1.0",
"type-fest": "^4.10.2",
"typescript": "^5.3.3"
},
"dependencies": {
"@gql.tada/internal": "workspace:*",
"graphql": "^16.8.1",
"semiver": "^1.1.0"
"graphql": "^16.8.1"
},
"peerDependencies": {
"typescript": "^5.0.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import semiver from 'semiver';
import type { TsConfigJson } from 'type-fest';
import { resolveTypeScriptRootDir } from '@gql.tada/internal';

import { getGraphQLSPConfig } from './lsp';
import { getGraphQLSPConfig } from '../lsp';
import { existsSync } from 'node:fs';

const MINIMUM_VERSIONS = {
Expand Down Expand Up @@ -49,7 +49,7 @@ export async function executeTadaDoctor() {
return;
}

const gqlspVersion = deps.find((x) => x[0] === '@0no-co/graphqlsp');
const gqlspVersion = deps.find((x) => x[0] === "'@0no-co/graphqlsp'");
if (!gqlspVersion) {
console.error('Failed to find a "@0no-co/graphqlsp" installation, try installing one.');
return;
Expand All @@ -60,7 +60,7 @@ export async function executeTadaDoctor() {
return;
}

const gqlTadaVersion = deps.find((x) => x[0] === 'gql.tada');
const gqlTadaVersion = deps.find((x) => x[0] === "'gql.tada'");
if (!gqlTadaVersion) {
console.error('Failed to find a "gql.tada" installation, try installing one.');
return;
Expand Down
2 changes: 1 addition & 1 deletion packages/cli-utils/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { resolveTypeScriptRootDir, load } from '@gql.tada/internal';

import { getGraphQLSPConfig } from './lsp';
import { ensureTadaIntrospection } from './tada';
import { executeTadaDoctor } from './doctor';
import { executeTadaDoctor } from './commands/doctor';

interface GenerateSchemaOptions {
headers?: Record<string, string>;
Expand Down
20 changes: 10 additions & 10 deletions pnpm-lock.yaml

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

0 comments on commit d05d787

Please sign in to comment.