Skip to content

Commit

Permalink
feat: updated init to the new chimp version, not tested yet
Browse files Browse the repository at this point in the history
  • Loading branch information
lgandecki committed Aug 21, 2023
1 parent d0e4862 commit 895e50c
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions src/commands/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,28 +69,17 @@ const addProjectDependencies = async (projectMainPath: string, modulesPath: stri
debug('adding dev dependencies');
// TODO figure out remaining dependencies
addDevDependenciesWithMatchingVersions([
'@graphql-codegen/add',
'@graphql-codegen/cli',
'@graphql-codegen/typescript',
'@graphql-codegen/typescript-mongodb',
'@graphql-codegen/typescript-operations',
'@graphql-codegen/typescript-resolvers',
'@graphql-tools/graphql-file-loader',
'@graphql-tools/load',
'@graphql-tools/merge',
'@types/jest',
'chimp-graphql-codegen-plugin',
'jest',
'prettier',
'shelljs',
'typescript',
'ts-jest',
'testdouble',
'testdouble-jest',
]);
debug('adding dependencies');
// TODO shelljs? ?
addDependenciesWithMatchingVersions(['@apollo/federation', 'lodash', 'graphql-tag', 'tsconfig-paths']);
addDependenciesWithMatchingVersions(['@apollo/subgraph', 'lodash', 'graphql-tag', 'tsconfig-paths']);

packageJsonFile.dependencies.graphql = scaffoldPackageJsonFile.dependencies.graphql;

Expand Down

0 comments on commit 895e50c

Please sign in to comment.