├── .circleci └── config.yml ├── .eslintignore ├── .eslintrc.json ├── .gitignore ├── .prettierignore ├── .vscode └── settings.json ├── README.md ├── package.json ├── packages ├── graphql-codegen-relay-optimizer-plugin │ ├── .eslintrc.json │ ├── .npmignore │ ├── LICENSE │ ├── README.md │ ├── jest.config.js │ ├── package.json │ ├── src │ │ ├── __tests__ │ │ │ └── index.spec.ts │ │ ├── index.ts │ │ └── tyes.d.ts │ └── tsconfig.json └── todo-app-example │ ├── .eslintrc.json │ ├── .gitignore │ ├── README.md │ ├── codegen.yml │ ├── package.json │ ├── public │ ├── favicon.ico │ ├── index.html │ └── manifest.json │ ├── server │ ├── .babelrc │ ├── README.md │ ├── data │ │ ├── database.js │ │ ├── schema.graphql │ │ └── schema │ │ │ ├── index.js │ │ │ ├── mutations │ │ │ ├── AddTodoMutation.js │ │ │ ├── ChangeTodoStatusMutation.js │ │ │ ├── MarkAllTodosMutation.js │ │ │ ├── RemoveCompletedTodosMutation.js │ │ │ ├── RemoveTodoMutation.js │ │ │ └── RenameTodoMutation.js │ │ │ ├── nodes.js │ │ │ └── queries │ │ │ └── UserQuery.js │ └── server.js │ ├── src │ ├── App.tsx │ ├── Option.ts │ ├── TodoApp.query.graphql │ ├── components │ │ ├── Todo.tsx │ │ ├── TodoApp.tsx │ │ ├── TodoApp_user.fragment.graphql │ │ ├── TodoList.tsx │ │ ├── TodoListFooter.tsx │ │ ├── TodoListFooter_user.fragment.graphql │ │ ├── TodoList_user.fragment.graphql │ │ ├── TodoTextInput.tsx │ │ ├── Todo_todo.fragment.graphql │ │ └── Todo_user.fragment.graphql │ ├── generated-types.tsx │ ├── index.tsx │ ├── mutations │ │ ├── AddTodoMutation.mutation.graphql │ │ ├── AddTodoMutation.ts │ │ ├── ChangeTodoStatusMutation.mutation.graphql │ │ ├── ChangeTodoStatusMutation.ts │ │ ├── MarkAllTodosMutation.mutation.graphql │ │ ├── MarkAllTodosMutation.ts │ │ ├── RemoveCompletedTodosMutation.mutation.graphql │ │ ├── RemoveCompletedTodosMutation.ts │ │ ├── RemoveTodoMutation.mutation.graphql │ │ ├── RemoveTodoMutation.ts │ │ ├── RenameTodoMutation.mutation.graphql │ │ └── RenameTodoMutation.ts │ └── react-app-env.d.ts │ └── tsconfig.json ├── renovate.json └── yarn.lock /.circleci/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/.circleci/config.yml -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | dist -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules 3 | *.log 4 | build 5 | dist 6 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | packages/todo-app-example/server/**/* 2 | dist 3 | node_modules 4 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/package.json -------------------------------------------------------------------------------- /packages/graphql-codegen-relay-optimizer-plugin/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/graphql-codegen-relay-optimizer-plugin/.eslintrc.json -------------------------------------------------------------------------------- /packages/graphql-codegen-relay-optimizer-plugin/.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | node_modules 3 | __tests__ 4 | !dist 5 | example 6 | -------------------------------------------------------------------------------- /packages/graphql-codegen-relay-optimizer-plugin/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/graphql-codegen-relay-optimizer-plugin/LICENSE -------------------------------------------------------------------------------- /packages/graphql-codegen-relay-optimizer-plugin/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/graphql-codegen-relay-optimizer-plugin/README.md -------------------------------------------------------------------------------- /packages/graphql-codegen-relay-optimizer-plugin/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/graphql-codegen-relay-optimizer-plugin/jest.config.js -------------------------------------------------------------------------------- /packages/graphql-codegen-relay-optimizer-plugin/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/graphql-codegen-relay-optimizer-plugin/package.json -------------------------------------------------------------------------------- /packages/graphql-codegen-relay-optimizer-plugin/src/__tests__/index.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/graphql-codegen-relay-optimizer-plugin/src/__tests__/index.spec.ts -------------------------------------------------------------------------------- /packages/graphql-codegen-relay-optimizer-plugin/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/graphql-codegen-relay-optimizer-plugin/src/index.ts -------------------------------------------------------------------------------- /packages/graphql-codegen-relay-optimizer-plugin/src/tyes.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/graphql-codegen-relay-optimizer-plugin/src/tyes.d.ts -------------------------------------------------------------------------------- /packages/graphql-codegen-relay-optimizer-plugin/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/graphql-codegen-relay-optimizer-plugin/tsconfig.json -------------------------------------------------------------------------------- /packages/todo-app-example/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "react-app" 3 | } 4 | -------------------------------------------------------------------------------- /packages/todo-app-example/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/todo-app-example/.gitignore -------------------------------------------------------------------------------- /packages/todo-app-example/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/todo-app-example/README.md -------------------------------------------------------------------------------- /packages/todo-app-example/codegen.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/todo-app-example/codegen.yml -------------------------------------------------------------------------------- /packages/todo-app-example/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/todo-app-example/package.json -------------------------------------------------------------------------------- /packages/todo-app-example/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/todo-app-example/public/favicon.ico -------------------------------------------------------------------------------- /packages/todo-app-example/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/todo-app-example/public/index.html -------------------------------------------------------------------------------- /packages/todo-app-example/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/todo-app-example/public/manifest.json -------------------------------------------------------------------------------- /packages/todo-app-example/server/.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/todo-app-example/server/.babelrc -------------------------------------------------------------------------------- /packages/todo-app-example/server/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/todo-app-example/server/README.md -------------------------------------------------------------------------------- /packages/todo-app-example/server/data/database.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/todo-app-example/server/data/database.js -------------------------------------------------------------------------------- /packages/todo-app-example/server/data/schema.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/todo-app-example/server/data/schema.graphql -------------------------------------------------------------------------------- /packages/todo-app-example/server/data/schema/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/todo-app-example/server/data/schema/index.js -------------------------------------------------------------------------------- /packages/todo-app-example/server/data/schema/mutations/AddTodoMutation.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/todo-app-example/server/data/schema/mutations/AddTodoMutation.js -------------------------------------------------------------------------------- /packages/todo-app-example/server/data/schema/mutations/ChangeTodoStatusMutation.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/todo-app-example/server/data/schema/mutations/ChangeTodoStatusMutation.js -------------------------------------------------------------------------------- /packages/todo-app-example/server/data/schema/mutations/MarkAllTodosMutation.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/todo-app-example/server/data/schema/mutations/MarkAllTodosMutation.js -------------------------------------------------------------------------------- /packages/todo-app-example/server/data/schema/mutations/RemoveCompletedTodosMutation.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/todo-app-example/server/data/schema/mutations/RemoveCompletedTodosMutation.js -------------------------------------------------------------------------------- /packages/todo-app-example/server/data/schema/mutations/RemoveTodoMutation.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/todo-app-example/server/data/schema/mutations/RemoveTodoMutation.js -------------------------------------------------------------------------------- /packages/todo-app-example/server/data/schema/mutations/RenameTodoMutation.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/todo-app-example/server/data/schema/mutations/RenameTodoMutation.js -------------------------------------------------------------------------------- /packages/todo-app-example/server/data/schema/nodes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/todo-app-example/server/data/schema/nodes.js -------------------------------------------------------------------------------- /packages/todo-app-example/server/data/schema/queries/UserQuery.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/todo-app-example/server/data/schema/queries/UserQuery.js -------------------------------------------------------------------------------- /packages/todo-app-example/server/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/todo-app-example/server/server.js -------------------------------------------------------------------------------- /packages/todo-app-example/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/todo-app-example/src/App.tsx -------------------------------------------------------------------------------- /packages/todo-app-example/src/Option.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/todo-app-example/src/Option.ts -------------------------------------------------------------------------------- /packages/todo-app-example/src/TodoApp.query.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/todo-app-example/src/TodoApp.query.graphql -------------------------------------------------------------------------------- /packages/todo-app-example/src/components/Todo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/todo-app-example/src/components/Todo.tsx -------------------------------------------------------------------------------- /packages/todo-app-example/src/components/TodoApp.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/todo-app-example/src/components/TodoApp.tsx -------------------------------------------------------------------------------- /packages/todo-app-example/src/components/TodoApp_user.fragment.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/todo-app-example/src/components/TodoApp_user.fragment.graphql -------------------------------------------------------------------------------- /packages/todo-app-example/src/components/TodoList.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/todo-app-example/src/components/TodoList.tsx -------------------------------------------------------------------------------- /packages/todo-app-example/src/components/TodoListFooter.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/todo-app-example/src/components/TodoListFooter.tsx -------------------------------------------------------------------------------- /packages/todo-app-example/src/components/TodoListFooter_user.fragment.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/todo-app-example/src/components/TodoListFooter_user.fragment.graphql -------------------------------------------------------------------------------- /packages/todo-app-example/src/components/TodoList_user.fragment.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/todo-app-example/src/components/TodoList_user.fragment.graphql -------------------------------------------------------------------------------- /packages/todo-app-example/src/components/TodoTextInput.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/todo-app-example/src/components/TodoTextInput.tsx -------------------------------------------------------------------------------- /packages/todo-app-example/src/components/Todo_todo.fragment.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/todo-app-example/src/components/Todo_todo.fragment.graphql -------------------------------------------------------------------------------- /packages/todo-app-example/src/components/Todo_user.fragment.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/todo-app-example/src/components/Todo_user.fragment.graphql -------------------------------------------------------------------------------- /packages/todo-app-example/src/generated-types.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/todo-app-example/src/generated-types.tsx -------------------------------------------------------------------------------- /packages/todo-app-example/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/todo-app-example/src/index.tsx -------------------------------------------------------------------------------- /packages/todo-app-example/src/mutations/AddTodoMutation.mutation.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/todo-app-example/src/mutations/AddTodoMutation.mutation.graphql -------------------------------------------------------------------------------- /packages/todo-app-example/src/mutations/AddTodoMutation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/todo-app-example/src/mutations/AddTodoMutation.ts -------------------------------------------------------------------------------- /packages/todo-app-example/src/mutations/ChangeTodoStatusMutation.mutation.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/todo-app-example/src/mutations/ChangeTodoStatusMutation.mutation.graphql -------------------------------------------------------------------------------- /packages/todo-app-example/src/mutations/ChangeTodoStatusMutation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/todo-app-example/src/mutations/ChangeTodoStatusMutation.ts -------------------------------------------------------------------------------- /packages/todo-app-example/src/mutations/MarkAllTodosMutation.mutation.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/todo-app-example/src/mutations/MarkAllTodosMutation.mutation.graphql -------------------------------------------------------------------------------- /packages/todo-app-example/src/mutations/MarkAllTodosMutation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/todo-app-example/src/mutations/MarkAllTodosMutation.ts -------------------------------------------------------------------------------- /packages/todo-app-example/src/mutations/RemoveCompletedTodosMutation.mutation.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/todo-app-example/src/mutations/RemoveCompletedTodosMutation.mutation.graphql -------------------------------------------------------------------------------- /packages/todo-app-example/src/mutations/RemoveCompletedTodosMutation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/todo-app-example/src/mutations/RemoveCompletedTodosMutation.ts -------------------------------------------------------------------------------- /packages/todo-app-example/src/mutations/RemoveTodoMutation.mutation.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/todo-app-example/src/mutations/RemoveTodoMutation.mutation.graphql -------------------------------------------------------------------------------- /packages/todo-app-example/src/mutations/RemoveTodoMutation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/todo-app-example/src/mutations/RemoveTodoMutation.ts -------------------------------------------------------------------------------- /packages/todo-app-example/src/mutations/RenameTodoMutation.mutation.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/todo-app-example/src/mutations/RenameTodoMutation.mutation.graphql -------------------------------------------------------------------------------- /packages/todo-app-example/src/mutations/RenameTodoMutation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/todo-app-example/src/mutations/RenameTodoMutation.ts -------------------------------------------------------------------------------- /packages/todo-app-example/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /packages/todo-app-example/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/packages/todo-app-example/tsconfig.json -------------------------------------------------------------------------------- /renovate.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/renovate.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n1ru4l/graphql-codegen-relay-plugins/HEAD/yarn.lock --------------------------------------------------------------------------------