Skip to content

Commit

Permalink
chore: remove auto and use release-it instead
Browse files Browse the repository at this point in the history
  • Loading branch information
domoritz committed Feb 12, 2023
1 parent 6b776f4 commit e28c69b
Show file tree
Hide file tree
Showing 5 changed files with 1,775 additions and 840 deletions.
10 changes: 0 additions & 10 deletions .autorc.json

This file was deleted.

14 changes: 14 additions & 0 deletions .release-it.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"git": {
"commitMessage": "chore: release v${version}"
},
"github": {
"release": true
},
"hooks": {
"after:bump": "yarn build"
},
"plugins": {
"@release-it/conventional-changelog": {}
}
}
9 changes: 2 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,6 @@ console.log(cars);

Install dependencies with `yarn`.

## Release Process
## Release process

Publishing is handled by a 2-branch [pre-release process](https://intuit.github.io/auto/docs/generated/shipit#next-branch-default), configured in `publish.yml`. All changes should be based off the default `next` branch, and are published automatically.

- PRs made into the default branch that [would trigger a version bump](https://intuit.github.io/auto/docs/generated/conventional-commits) are auto-deployed to the `next` pre-release tag on NPM. The result can be installed with `npm install vega-datasets/@next`.
- When merging into `next`, please use the `squash and merge` strategy.
- To release a new stable version, open a PR from `next` into `stable` using this [compare link](https://github.com/vega/vega-datasets/compare/stable...next).
- When merging from `next` into `stable`, please use the `create a merge commit` strategy.
To make a release, run `npm run release`.
9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vega-datasets",
"version": "2.3.1",
"version": "2.5.3",
"description": "Common repository for example datasets used by Vega related projects.",
"license": "BSD-3-Clause",
"main": "build/vega-datasets.js",
Expand All @@ -22,19 +22,18 @@
"data"
],
"devDependencies": {
"@auto-it/conventional-commits": "^10.37.6",
"@auto-it/first-time-contributor": "^10.37.6",
"@babel/core": "^7.19.3",
"@babel/plugin-transform-runtime": "^7.19.1",
"@babel/preset-env": "^7.19.3",
"@babel/preset-typescript": "^7.18.6",
"@babel/runtime": "^7.19.0",
"@release-it/conventional-changelog": "^5.1.1",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.0.1",
"@types/d3-dsv": "^3.0.0",
"auto": "^10.37.6",
"d3-dsv": "^3.0.1",
"datalib": "^1.9.3",
"release-it": "^15.6.0",
"rollup": "^2.79.1",
"rollup-plugin-bundle-size": "^1.0.3",
"rollup-plugin-terser": "^7.0.2",
Expand All @@ -47,6 +46,6 @@
"build": "rollup -c",
"flights": "node scripts/flights.js",
"github": "python scripts/github.py",
"release": "yarn build && auto shipit"
"release": "release-it"
}
}
Loading

0 comments on commit e28c69b

Please sign in to comment.