Skip to content

Commit

Permalink
build: switch to yarn for everything
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarvis1010 committed Aug 25, 2021
1 parent 54cb19e commit 837082b
Show file tree
Hide file tree
Showing 21 changed files with 41 additions and 41 deletions.
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
. "$(dirname "$0")/_/husky.sh"

# npx lint-staged
npm run verify
yarn verify
4 changes: 2 additions & 2 deletions .storybook/pages/contributing.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ Before making a pull request
3. Set up your environment with `npm install` (not yarn at this time)
4. Check out a new branch and add your modification.
5. Add test cases for all your changes.
6. Use commitizen to do git commit by running `npm run cz` (be sure to stage your changes first).
7. This will run `npm run verify` automatically as a pre-commit hook. If anything fails, fix and follow step 6 again.
6. Use commitizen to do git commit by running `yarn cz` (be sure to stage your changes first).
7. This will run `yarn verify` automatically as a pre-commit hook. If anything fails, fix and follow step 6 again.
8. Update README.md and documentation under the `examples` folder in the corresponding package.
9. **DO NOT BUMP ANY VERSION NUMBERS OR UPDATE CHANGELOG**.
10. Send a pull request 🙏
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ Before making a pull request
3. Set up your environment with `npm install` (not yarn at this time)
4. Check out a new branch and add your modification.
5. Add test cases for all your changes.
6. Use commitizen to do git commit by running `npm run cz` (be sure to stage your changes first).
7. This will run `npm run verify` automatically as a pre-commit hook. If anything fails, fix and follow step 6 again.
6. Use commitizen to do git commit by running `yarn cz` (be sure to stage your changes first).
7. This will run `yarn verify` automatically as a pre-commit hook. If anything fails, fix and follow step 6 again.
8. Update README.md and documentation under the `examples` folder in the corresponding package.
9. **DO NOT BUMP ANY VERSION NUMBERS OR UPDATE CHANGELOG**.
10. Send a pull request 🙏
4 changes: 2 additions & 2 deletions packages/appboundary/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
"build": "microbundle build --jsx React.createElement",
"build:watch": "microbundle build --jsx React.createElement --watch",
"prettier": "prettier --ignore-path .gitignore \"**/*.+(js|jsx|ts|tsx|json)\"",
"fix-format": "npm run prettier -- --write",
"check-format": "npm run prettier -- --list-different",
"fix-format": "yarn prettier -- --write",
"check-format": "yarn prettier -- --list-different",
"check-types": "tsc --noEmit"
},
"bugs": {
Expand Down
4 changes: 2 additions & 2 deletions packages/center/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
"build": "microbundle build --jsx React.createElement",
"build:watch": "microbundle build --jsx React.createElement --watch",
"prettier": "prettier --ignore-path .gitignore \"**/*.+(js|jsx|ts|tsx|json)\"",
"fix-format": "npm run prettier -- --write",
"check-format": "npm run prettier -- --list-different",
"fix-format": "yarn prettier -- --write",
"check-format": "yarn prettier -- --list-different",
"check-types": "tsc --noEmit"
},
"bugs": {
Expand Down
4 changes: 2 additions & 2 deletions packages/columns/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
"build": "microbundle build --jsx React.createElement",
"build:watch": "microbundle build --jsx React.createElement --watch",
"prettier": "prettier --ignore-path .gitignore \"**/*.+(js|jsx|ts|tsx|json)\"",
"fix-format": "npm run prettier -- --write",
"check-format": "npm run prettier -- --list-different",
"fix-format": "yarn prettier -- --write",
"check-format": "yarn prettier -- --list-different",
"check-types": "tsc --noEmit"
},
"bugs": {
Expand Down
4 changes: 2 additions & 2 deletions packages/cover/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
"build": "microbundle build --jsx React.createElement",
"build:watch": "microbundle build --jsx React.createElement --watch",
"prettier": "prettier --ignore-path .gitignore \"**/*.+(js|jsx|ts|tsx|json)\"",
"fix-format": "npm run prettier -- --write",
"check-format": "npm run prettier -- --list-different",
"fix-format": "yarn prettier -- --write",
"check-format": "yarn prettier -- --list-different",
"check-types": "tsc --noEmit"
},
"bugs": {
Expand Down
4 changes: 2 additions & 2 deletions packages/css-reset/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
"build": "microbundle build --jsx React.createElement && node copyReset.js",
"build:watch": "microbundle build --jsx React.createElement --watch",
"prettier": "prettier --ignore-path .gitignore \"**/*.+(js|jsx|ts|tsx|json)\"",
"fix-format": "npm run prettier -- --write",
"check-format": "npm run prettier -- --list-different",
"fix-format": "yarn prettier -- --write",
"check-format": "yarn prettier -- --list-different",
"check-types": "tsc --noEmit"
},
"bugs": {
Expand Down
4 changes: 2 additions & 2 deletions packages/frame/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
"build": "microbundle build --jsx React.createElement",
"build:watch": "microbundle build --jsx React.createElement --watch",
"prettier": "prettier --ignore-path .gitignore \"**/*.+(js|jsx|ts|tsx|json)\"",
"fix-format": "npm run prettier -- --write",
"check-format": "npm run prettier -- --list-different",
"fix-format": "yarn prettier -- --write",
"check-format": "yarn prettier -- --list-different",
"check-types": "tsc --noEmit"
},
"bugs": {
Expand Down
4 changes: 2 additions & 2 deletions packages/grid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
"build": "microbundle build --jsx React.createElement",
"build:watch": "microbundle build --jsx React.createElement --watch",
"prettier": "prettier --ignore-path .gitignore \"**/*.+(js|jsx|ts|tsx|json)\"",
"fix-format": "npm run prettier -- --write",
"check-format": "npm run prettier -- --list-different",
"fix-format": "yarn prettier -- --write",
"check-format": "yarn prettier -- --list-different",
"check-types": "tsc --noEmit"
},
"bugs": {
Expand Down
4 changes: 2 additions & 2 deletions packages/inline-cluster/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
"build": "microbundle build --jsx React.createElement",
"build:watch": "microbundle build --jsx React.createElement --watch",
"prettier": "prettier --ignore-path .gitignore \"**/*.+(js|jsx|ts|tsx|json)\"",
"fix-format": "npm run prettier -- --write",
"check-format": "npm run prettier -- --list-different",
"fix-format": "yarn prettier -- --write",
"check-format": "yarn prettier -- --list-different",
"check-types": "tsc --noEmit"
},
"bugs": {
Expand Down
4 changes: 2 additions & 2 deletions packages/inline/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
"build": "microbundle build --jsx React.createElement",
"build:watch": "microbundle build --jsx React.createElement --watch",
"prettier": "prettier --ignore-path .gitignore \"**/*.+(js|jsx|ts|tsx|json)\"",
"fix-format": "npm run prettier -- --write",
"check-format": "npm run prettier -- --list-different",
"fix-format": "yarn prettier -- --write",
"check-format": "yarn prettier -- --list-different",
"check-types": "tsc --noEmit"
},
"bugs": {
Expand Down
4 changes: 2 additions & 2 deletions packages/masonry-grid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
"build": "microbundle build --jsx React.createElement",
"build:watch": "microbundle build --jsx React.createElement --watch",
"prettier": "prettier --ignore-path .gitignore \"**/*.+(js|jsx|ts|tsx|json)\"",
"fix-format": "npm run prettier -- --write",
"check-format": "npm run prettier -- --list-different",
"fix-format": "yarn prettier -- --write",
"check-format": "yarn prettier -- --list-different",
"check-types": "tsc --noEmit"
},
"bugs": {
Expand Down
4 changes: 2 additions & 2 deletions packages/padbox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
"build": "microbundle build --jsx React.createElement",
"build:watch": "microbundle build --jsx React.createElement --watch",
"prettier": "prettier --ignore-path .gitignore \"**/*.+(js|jsx|ts|tsx|json)\"",
"fix-format": "npm run prettier -- --write",
"check-format": "npm run prettier -- --list-different",
"fix-format": "yarn prettier -- --write",
"check-format": "yarn prettier -- --list-different",
"check-types": "tsc --noEmit"
},
"bugs": {
Expand Down
4 changes: 2 additions & 2 deletions packages/reel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
"build": "microbundle build --jsx React.createElement",
"build:watch": "microbundle build --jsx React.createElement --watch",
"prettier": "prettier --ignore-path .gitignore \"**/*.+(js|jsx|ts|tsx|json)\"",
"fix-format": "npm run prettier -- --write",
"check-format": "npm run prettier -- --list-different",
"fix-format": "yarn prettier -- --write",
"check-format": "yarn prettier -- --list-different",
"check-types": "tsc --noEmit"
},
"bugs": {
Expand Down
4 changes: 2 additions & 2 deletions packages/spacing-constants/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
"build": "microbundle build --jsx React.createElement",
"build:watch": "microbundle build --jsx React.createElement --watch",
"prettier": "prettier --ignore-path .gitignore \"**/*.+(js|jsx|ts|tsx|json)\"",
"fix-format": "npm run prettier -- --write",
"check-format": "npm run prettier -- --list-different",
"fix-format": "yarn prettier -- --write",
"check-format": "yarn prettier -- --list-different",
"check-types": "tsc --noEmit"
},
"bugs": {
Expand Down
4 changes: 2 additions & 2 deletions packages/split/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
"build": "microbundle build --jsx React.createElement",
"build:watch": "microbundle build --jsx React.createElement --watch",
"prettier": "prettier --ignore-path .gitignore \"**/*.+(js|jsx|ts|tsx|json)\"",
"fix-format": "npm run prettier -- --write",
"check-format": "npm run prettier -- --list-different",
"fix-format": "yarn prettier -- --write",
"check-format": "yarn prettier -- --list-different",
"check-types": "tsc --noEmit"
},
"bugs": {
Expand Down
4 changes: 2 additions & 2 deletions packages/type-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
"build": "microbundle build --jsx React.createElement",
"build:watch": "microbundle build --jsx React.createElement --watch",
"prettier": "prettier --ignore-path .gitignore \"**/*.+(js|jsx|ts|tsx|json)\"",
"fix-format": "npm run prettier -- --write",
"check-format": "npm run prettier -- --list-different",
"fix-format": "yarn prettier -- --write",
"check-format": "yarn prettier -- --list-different",
"check-types": "tsc --noEmit"
},
"bugs": {
Expand Down
4 changes: 2 additions & 2 deletions packages/use-container-query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
"build": "microbundle build --jsx React.createElement",
"build:watch": "microbundle build --jsx React.createElement --watch",
"prettier": "prettier --ignore-path .gitignore \"**/*.+(js|jsx|ts|tsx|json)\"",
"fix-format": "npm run prettier -- --write",
"check-format": "npm run prettier -- --list-different",
"fix-format": "yarn prettier -- --write",
"check-format": "yarn prettier -- --list-different",
"check-types": "tsc --noEmit"
},
"bugs": {
Expand Down
4 changes: 2 additions & 2 deletions packages/use-forwarded-ref/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
"build": "microbundle build --jsx React.createElement",
"build:watch": "microbundle build --jsx React.createElement --watch",
"prettier": "prettier --ignore-path .gitignore \"**/*.+(js|jsx|ts|tsx|json)\"",
"fix-format": "npm run prettier -- --write",
"check-format": "npm run prettier -- --list-different",
"fix-format": "yarn prettier -- --write",
"check-format": "yarn prettier -- --list-different",
"check-types": "tsc --noEmit"
},
"bugs": {
Expand Down
4 changes: 2 additions & 2 deletions packages/use-stateful-ref/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
"build": "microbundle build --jsx React.createElement",
"build:watch": "microbundle build --jsx React.createElement --watch",
"prettier": "prettier --ignore-path .gitignore \"**/*.+(js|jsx|ts|tsx|json)\"",
"fix-format": "npm run prettier -- --write",
"check-format": "npm run prettier -- --list-different",
"fix-format": "yarn prettier -- --write",
"check-format": "yarn prettier -- --list-different",
"check-types": "tsc --noEmit"
},
"bugs": {
Expand Down

0 comments on commit 837082b

Please sign in to comment.