nexus

v1.1.0-next.22
Scalable, strongly typed GraphQL schema development
graphql schema types typescript

build

yarn -s clean && tsc -p tsconfig.cjs.json && tsc -p tsconfig.esm.json

clean

rm -rf dist*

deploy-site

yarn && yarn build

dev

tsc -p tsconfig.cjs.json -w

dev:examples

yarn -s link-examples && yarn dev

dev:test

jest --watch

examples

yarn link-examples && yarn gulp run-examples

format

prettier --write 'src/**/*.ts' 'tests/**/*.ts' 'examples/*/src/**.ts'

format:ci

prettier --check 'src/**/*.ts' 'tests/**/*.ts' 'examples/*/src/**.ts'

link-examples

yarn && yarn gulp link-examples

lint

tslint -p tsconfig.json

prepublish

yarn clean && yarn build

postpublish

yarn upgrade-deps || echo 'Oops...'

release:pr

dripip pr

release:preview

dripip preview

release:stable

dripip stable

pretest

yarn patch-package

test

yarn test:types && jest --testTimeout 10000

test:ci

yarn test:types && jest --maxWorkers 2 --coverage --testTimeout 10000

test:debug

node --inspect-brk $(yarn bin)/jest -i --watch

test:types

tsc -p tsconfig.spec.types.json

ts-ast-reader

cd examples/ts-ast-reader && yarn start

unlink-examples

yarn && yarn gulp unlink-examples

upgrade-deps

yarn && yarn gulp upgrade-deps

Metadata

  • MIT
  • Whatever
  • Tim Griesser
  • released 6/23/2021

Downloads