graphql-schema-utilities
A CLI tool to merge schema files, and validate operations against the merged GraphQL Schema. With features like adding your own custom validation rules.
파일 탐색기
최종 버전 다운로드 (.zip)- PULL_REQUEST_TEMPLATE.md
- baseTypes.graphql
- directives.graphql
- extendedTypes.graphql
- printedDefault.graphql
- printedWithDirectives.graphql
- expectedOutput.graphql
- printedInputObject.graphql
- mutations.graphql
- queries.graphql
- subscriptions.graphql
- directiveWithObject.graphql
- directiveWithoutObject.graphql
- people.graphql
- species.graphql
- starship.graphql
- vehicle.graphql
- film.graphql
- planet.graphql
- rootQuery.graphql
- schema.graphql
- allFilms.graphql
- allFilms.graphql
- allPeople.graphql
- people.graphql
- species.graphql
- starship.graphql
- vehicle.graphql
- film.graphql
- planet.graphql
- rootQuery.graphql
- schema.graphql
- cli.test.ts
- index.test.ts
- printers.test.ts
- cli-launcher.ts
- cli.ts
- index.ts
- logger.ts
- printers.ts
- types.ts
- utilities.ts
- validate-schema.ts
- .commit-msg
- .gitignore
- CODE_OF_CONDUCT.md
- CONTRIBUTING.md
- LICENSE
- NOTICE
- package-lock.json
- package.json
- README.md
- tsconfig.json
- tslint.json
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/awslabs/graphql-schema-utilities
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd graphql-schema-utilities
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. 공식 설치 스크립트
쉬움 추천사전 준비물
- Node.js npm 명령어를 쓰려면 Node.js가 설치되어 있어야 합니다.
npm install -g graphql-schema-utilities
npm 레지스트리에 배포된 패키지를 전역으로 설치합니다. 소스 클론이 필요 없습니다.
설치 후 새 터미널을 열고, 프로그램의 버전 확인 명령(예: --version)으로 정상 설치됐는지 확인하세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
3. Node.js
쉬움사전 준비물
npm install -g graphql-schema-utilities
npm 레지스트리에 배포된 패키지를 전역으로 설치합니다. 소스 클론이 필요 없습니다.
npm install
package.json에 명시된 라이브러리들을 내려받아 설치합니다.
npm run build
배포용으로 코드를 최적화해서 빌드 파일을 생성합니다.
npm run test:watch
이 명령어를 터미널에 그대로 입력해 실행하세요.
명령어 실행 후 터미널에 나타나는 주소(보통 http://localhost:3000 형태)를 브라우저에서 열어보세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
// repository documentation
Was this content helpful?
(0 ratings)
