Socket
Book a DemoInstallSign in
Socket

@eddeee888/gcg-server-config

Package Overview
Dependencies
Maintainers
1
Versions
17
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`.

0.2.3
latest
Source
npmnpm
Version published
Weekly downloads
26K
2.5%
Maintainers
1
Weekly downloads
 
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 29 Jan 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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.