├── .gitignore ├── .npmignore ├── ARTICLE.md ├── DEMO.md ├── LICENSE ├── README.md ├── bin └── tsgc ├── jest.config.js ├── jest.transformer.typescript.js ├── package.json ├── prettier.config.js ├── src ├── @types │ └── jest.d.ts ├── __tests__ │ ├── 00-module.test.ts │ ├── 01-bookstore.test.ts │ ├── config │ │ └── setupAfterEnv.ts │ └── utils │ │ ├── gql.ts │ │ └── index.ts ├── buildSchemaFromCode.ts ├── compile.ts ├── demo │ ├── module.ts │ └── server.ts ├── getCompilerOptions.ts ├── index.ts ├── processFile.ts ├── tsgc.ts └── types.ts └── tsconfig.json /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | /dist 3 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | **/__tests__/** 2 | /src -------------------------------------------------------------------------------- /ARTICLE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xfaang/typescript-graphql/HEAD/ARTICLE.md -------------------------------------------------------------------------------- /DEMO.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xfaang/typescript-graphql/HEAD/DEMO.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xfaang/typescript-graphql/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xfaang/typescript-graphql/HEAD/README.md -------------------------------------------------------------------------------- /bin/tsgc: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | require("../dist/tsgc"); 3 | -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xfaang/typescript-graphql/HEAD/jest.config.js -------------------------------------------------------------------------------- /jest.transformer.typescript.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xfaang/typescript-graphql/HEAD/jest.transformer.typescript.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xfaang/typescript-graphql/HEAD/package.json -------------------------------------------------------------------------------- /prettier.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xfaang/typescript-graphql/HEAD/prettier.config.js -------------------------------------------------------------------------------- /src/@types/jest.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xfaang/typescript-graphql/HEAD/src/@types/jest.d.ts -------------------------------------------------------------------------------- /src/__tests__/00-module.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xfaang/typescript-graphql/HEAD/src/__tests__/00-module.test.ts -------------------------------------------------------------------------------- /src/__tests__/01-bookstore.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xfaang/typescript-graphql/HEAD/src/__tests__/01-bookstore.test.ts -------------------------------------------------------------------------------- /src/__tests__/config/setupAfterEnv.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xfaang/typescript-graphql/HEAD/src/__tests__/config/setupAfterEnv.ts -------------------------------------------------------------------------------- /src/__tests__/utils/gql.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xfaang/typescript-graphql/HEAD/src/__tests__/utils/gql.ts -------------------------------------------------------------------------------- /src/__tests__/utils/index.ts: -------------------------------------------------------------------------------- 1 | export * from './gql'; 2 | -------------------------------------------------------------------------------- /src/buildSchemaFromCode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xfaang/typescript-graphql/HEAD/src/buildSchemaFromCode.ts -------------------------------------------------------------------------------- /src/compile.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xfaang/typescript-graphql/HEAD/src/compile.ts -------------------------------------------------------------------------------- /src/demo/module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xfaang/typescript-graphql/HEAD/src/demo/module.ts -------------------------------------------------------------------------------- /src/demo/server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xfaang/typescript-graphql/HEAD/src/demo/server.ts -------------------------------------------------------------------------------- /src/getCompilerOptions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xfaang/typescript-graphql/HEAD/src/getCompilerOptions.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xfaang/typescript-graphql/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/processFile.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xfaang/typescript-graphql/HEAD/src/processFile.ts -------------------------------------------------------------------------------- /src/tsgc.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xfaang/typescript-graphql/HEAD/src/tsgc.ts -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xfaang/typescript-graphql/HEAD/src/types.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xfaang/typescript-graphql/HEAD/tsconfig.json --------------------------------------------------------------------------------