Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@eddeee888/gcg-server-config

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eddeee888/gcg-server-config

This library has the recommended default options used by the server preset `@eddeee888/gcg-typescript-resolver-files`.

latest
Source
npmnpm
Version
0.3.0
Version published
Maintainers
1
Created
Source

@eddeee888/gcg-server-config

This library has the recommended default options used by the server preset @eddeee888/gcg-typescript-resolver-files.

Installation

yarn add -D @eddeee888/gcg-server-config

Usage

defineConfig is typed with the assumption that GraphQL Code Generator's typescript and typescript-resolvers plugins are used.

import type { CodegenConfig } from '@graphql-codegen/cli';
import { defineConfig } from '@eddeee888/gcg-server-config';

const config: CodegenConfig = {
  schema: '**/schema.graphql',
  generates: {
    'src/schema': {
      plugins: ['typescript', 'typescript-resolvers'],
      config: defineConfig(),
    },
  },
};

export default config;

Keywords

plugins

FAQs

Package last updated on 30 Sep 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts