Skip to content

Commit

Permalink
Update release-it setup to each package vs monorepo (#55)
Browse files Browse the repository at this point in the history
* task: Update release-it setup to each package vs monorepo

* Specifying package name in tag format

* Moving top-level CHANGELOG.md to jest-sarif

* Adding Volta instructions
  • Loading branch information
scalvert authored Apr 29, 2022
1 parent 9986aac commit 44276c4
Show file tree
Hide file tree
Showing 7 changed files with 58 additions and 165 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ JavaScript code and supporting files for working with the 'Static Analysis Resul
| [@microsoft/sarif-builder][@microsoft/sarif-builder] | [![Version](https://img.shields.io/npm/v/@microsoft/sarif-builder.svg)](https://npmjs.org/package/@microsoft/sarif-builder) | A builder library for authoring [SARIF][sarif] logs. |
| [@microsoft/eslint-formatter-sarif][@microsoft/eslint-formatter-sarif] | [![Version](https://img.shields.io/npm/v/@microsoft/eslint-formatter-sarif.svg)](https://npmjs.org/package/@microsoft/eslint-formatter-sarif) | A formatter for ESLint that produces output in the [SARIF][sarif] logs. |

## Development

This project uses the Volta tool manager to manage the tool dependencies in this project. This allows us to maintain consistency when developing across contributors.

The tool manager is available at [volta.sh](https://volta.sh/). Contributors should ensure this is installed before working in this project.

## Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a
Expand Down
137 changes: 7 additions & 130 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 0 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,30 +35,12 @@
"prettier": "^2.2.1",
"release-it": "^14.14.2",
"release-it-lerna-changelog": "^3.1.0",
"release-it-yarn-workspaces": "^2.0.1",
"ts-jest": "^26.5.4",
"typescript": "^4.2.3"
},
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"release-it": {
"plugins": {
"release-it-lerna-changelog": {
"infile": "CHANGELOG.md",
"launchEditor": true
},
"release-it-yarn-workspaces": true
},
"git": {
"tagName": "v${version}"
},
"github": {
"release": true,
"tokenRef": "GITHUB_AUTH"
},
"npm": false
},
"volta": {
"node": "14.19.1",
"npm": "8.5.5"
Expand Down
15 changes: 15 additions & 0 deletions packages/eslint-formatter-sarif/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,20 @@
"devDependencies": {
"rewire": "^6.0.0",
"semver-regex": "^3.1.3"
},
"release-it": {
"plugins": {
"release-it-lerna-changelog": {
"infile": "CHANGELOG.md",
"launchEditor": true
}
},
"git": {
"tagName": "eslint-formatter-sarif@${version}"
},
"github": {
"release": true,
"tokenRef": "GITHUB_AUTH"
}
}
}
Loading

0 comments on commit 44276c4

Please sign in to comment.