Skip to content
This repository has been archived by the owner on Dec 8, 2021. It is now read-only.

Commit

Permalink
refactor: use yarn consistently
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonkuhrt committed Feb 6, 2019
1 parent 3b5baab commit 21a7ed2
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions docs/package.json
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion packages/create-graphqlgen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions packages/graphqlgen-json-schema/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
6 changes: 3 additions & 3 deletions packages/graphqlgen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit 21a7ed2

Please sign in to comment.