Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
kunalnagar committed Feb 10, 2024
1 parent 7a7fa6a commit 1d1e6b7
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,7 @@ jobs:
- run: |
echo "BASE: ${{ env.NX_BASE }}"
echo "HEAD: ${{ env.NX_HEAD }}"
- name: Create build
- name: Build affected packages
run: yarn nx affected -t build --base=${{ env.NX_BASE }} --head=${{ env.NX_HEAD }}
- name: Version affected packages
run: yarn nx affected -t version --base=${{ env.NX_BASE }} --head=${{ env.NX_HEAD }}
3 changes: 2 additions & 1 deletion packages/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
"access": "public"
},
"scripts": {
"build": "rimraf dist && tsc"
"build": "rimraf dist && tsc",
"version": "yarn nx release version"
},
"peerDependencies": {
"eslint": ">=7.x",
Expand Down
1 change: 1 addition & 0 deletions packages/jest-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
},
"scripts": {
"build": "rimraf dist && tsc",
"version": "yarn nx release version",
"lint": "eslint src/ --ext .ts,.tsx --max-warnings 0",
"lint:fix": "eslint --fix src/ --ext .ts,.tsx --max-warnings 0",
"test:watch": "jest --watch"
Expand Down
1 change: 1 addition & 0 deletions packages/rest-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
},
"scripts": {
"build": "rimraf dist && tsc",
"version": "yarn nx release version",
"lint": "eslint src/ --ext .ts,.tsx --max-warnings 0",
"test:watch": "jest --watch"
}
Expand Down
5 changes: 4 additions & 1 deletion packages/tsconfig/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,8 @@
"base.json",
"react-app.json",
"react-library.json"
]
],
"scripts": {
"version": "yarn nx release version"
}
}

0 comments on commit 1d1e6b7

Please sign in to comment.