Skip to content

Commit a236c7f

Browse files
authored
Merge pull request #922 from constructive-io/devin/1774655458-drop-komoji-from-codegen
refactor(codegen): import toKebabCase from inflekt, drop komoji dep
2 parents baae875 + b618899 commit a236c7f

8 files changed

Lines changed: 2581 additions & 7401 deletions

File tree

graphql/codegen/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,9 @@
6666
"gql-ast": "workspace:^",
6767
"graphile-schema": "workspace:^",
6868
"graphql": "16.13.0",
69-
"inflekt": "^0.6.0",
69+
"inflekt": "^0.7.0",
7070
"inquirerer": "^4.7.0",
7171
"jiti": "^2.6.1",
72-
"komoji": "^0.9.0",
7372
"oxfmt": "^0.42.0",
7473
"pg-cache": "workspace:^",
7574
"pg-env": "workspace:^",

graphql/codegen/src/core/codegen/cli/command-map-generator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as t from '@babel/types';
2-
import { toKebabCase } from 'komoji';
2+
import { toKebabCase } from 'inflekt';
33

44
import { generateCode } from '../babel-ast';
55
import { getGeneratedFileHeader, getTableNames } from '../utils';

graphql/codegen/src/core/codegen/cli/custom-command-generator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as t from '@babel/types';
2-
import { toKebabCase } from 'komoji';
2+
import { toKebabCase } from 'inflekt';
33

44
import { generateCode } from '../babel-ast';
55
import { getGeneratedFileHeader, ucFirst } from '../utils';

graphql/codegen/src/core/codegen/cli/docs-generator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { toKebabCase } from 'komoji';
1+
import { toKebabCase } from 'inflekt';
22

33
import type { Table, Operation, TypeRegistry } from '../../../types/schema';
44
import {

graphql/codegen/src/core/codegen/cli/table-command-generator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as t from '@babel/types';
2-
import { toKebabCase } from 'komoji';
2+
import { toKebabCase } from 'inflekt';
33

44
import { generateCode } from '../babel-ast';
55
import {

graphql/codegen/src/core/codegen/hooks-docs-generator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { toKebabCase } from 'komoji';
1+
import { toKebabCase } from 'inflekt';
22

33
import type { Operation, Table, TypeRegistry } from '../../types/schema';
44
import {

graphql/codegen/src/core/codegen/orm/docs-generator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { toKebabCase } from 'komoji';
1+
import { toKebabCase } from 'inflekt';
22

33
import type { Operation, Table, TypeRegistry } from '../../../types/schema';
44
import {

0 commit comments

Comments
 (0)