diff --git a/.github/RELEASE.md b/.github/RELEASE.md index bfa5ba8c..d7b8e124 100644 --- a/.github/RELEASE.md +++ b/.github/RELEASE.md @@ -2,7 +2,7 @@ ## 1. Create Release Notes 1. [Draft a new release on Github](https://github.com/prisma/graphqlgen/releases/new) -2. `npm install -g git-release-notes` +2. `yarn global add git-release-notes` 3. Get the release notes from executing `.github/make-release-notes.sh` 4. Separate them like [here](https://github.com/prisma/graphqlgen/releases/tag/0.5.0) by Features and Fixes and add them to the draft 5. Get feedback for the draft diff --git a/docs/package.json b/docs/package.json index d4031345..a3d966eb 100644 --- a/docs/package.json +++ b/docs/package.json @@ -1,8 +1,8 @@ { "scripts": { "prepare": "gitbook install && cp -a node_modules/highlight.js/. ~/.gitbook/versions/3.2.3/node_modules/highlight.js/", - "build": "npm run prepare && gitbook build && mv _book tmp && mkdir _book && mv tmp _book/graphqlgen", - "start": "npm run prepare && gitbook serve" + "build": "yarn prepare && gitbook build && mv _book tmp && mkdir _book && mv tmp _book/graphqlgen", + "start": "yarn prepare && gitbook serve" }, "devDependencies": { "gitbook-cli": "2.3.2" diff --git a/packages/create-graphqlgen/package.json b/packages/create-graphqlgen/package.json index 28cdeff2..e1b94e61 100644 --- a/packages/create-graphqlgen/package.json +++ b/packages/create-graphqlgen/package.json @@ -3,7 +3,7 @@ "version": "0.6.0-rc3", "main": "dist/index.js", "scripts": { - "prepare": "npm run build", + "prepare": "yarn build", "clean": "rimraf dist", "build": "yarn clean && tsc --declaration", "build:watch": "yarn clean && tsc --declaration --watch", diff --git a/packages/graphqlgen-json-schema/package.json b/packages/graphqlgen-json-schema/package.json index d79f4261..71453b06 100644 --- a/packages/graphqlgen-json-schema/package.json +++ b/packages/graphqlgen-json-schema/package.json @@ -7,9 +7,9 @@ "dist" ], "scripts": { - "prepare": "npm run build", + "prepare": "yarn build", "build": "rm -rf dist && tsc -d; cp src/schema.json dist", - "test": "npm run build", + "test": "yarn build", "t": "jest" }, "devDependencies": { diff --git a/packages/graphqlgen/package.json b/packages/graphqlgen/package.json index 544280a6..1f5944c9 100644 --- a/packages/graphqlgen/package.json +++ b/packages/graphqlgen/package.json @@ -14,15 +14,15 @@ }, "scripts": { "clean": "rm -rf ./src/tests/**/tmp && rm -rf ./src/tests/**/generated", - "prepublish": "rm -rf example/node_modules && npm test && npm run build", + "prepublish": "rm -rf example/node_modules && yarn test && yarn build", "benchmarks": "ts-node benchmarks", - "build": "npm run clean && npm run lint && tsc --declaration", + "build": "yarn clean && yarn lint && tsc --declaration", "watch": "tsc -w", "lint": "tslint --project tsconfig.json {src,test}/**/*.ts", "test": "jest", "check:types": "yarn tsc --noEmit", "test:watch": "jest --watch", - "test:ci": "npm run lint && jest --maxWorkers 4", + "test:ci": "yarn lint && jest --maxWorkers 4", "gen": "ts-node --files src/index.ts" }, "repository": {