Skip to content

Commit

Permalink
chore: add releasing script
Browse files Browse the repository at this point in the history
jcfranco authored and manuelmhtr committed Oct 13, 2024
1 parent f7de3e9 commit ea3ec7c
Showing 3 changed files with 2,095 additions and 22 deletions.
8 changes: 8 additions & 0 deletions .release-it.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"plugins": {
"@release-it/conventional-changelog": {
"preset": "angular",
"infile": "CHANGELOG.md"
}
}
}
6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -22,6 +22,7 @@
"scripts": {
"build": "rollup -c && sh .fixTypes.sh",
"prepack": "yarn run build",
"release": "release-it",
"test:unit": "mocha",
"test:types": "dtslint types",
"test": "yarn run test:unit && yarn run test:types"
@@ -30,6 +31,9 @@
"type": "git",
"url": "git+https://github.com/manuelmhtr/countries-and-timezones.git"
},
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"engines": {
"node": ">=8.x",
"npm": ">=5.x"
@@ -56,6 +60,7 @@
"@babel/core": "^7.13.16",
"@babel/preset-env": "^7.13.15",
"@babel/register": "^7.15.3",
"@release-it/conventional-changelog": "^8.0.2",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^18.0.0",
"@rollup/plugin-json": "^4.1.0",
@@ -66,6 +71,7 @@
"eslint-plugin-import": "^2.24.0",
"mocha": "^8.3.2",
"proxyquire": "^2.1.3",
"release-it": "^17.6.0",
"rollup": "^2.45.2",
"rollup-plugin-dts": "^3.0.2",
"rollup-plugin-terser": "^7.0.2",
2,103 changes: 2,081 additions & 22 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit ea3ec7c

Please sign in to comment.