Skip to content

chore: replace ta-scripts with release-it #4410

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ general:

docker_defaults: &docker_defaults
docker:
- image: circleci/node:12-browsers
- image: circleci/node:16-browsers
working_directory: ~/project/semantic-ui-react

environment:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/size-limit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

- uses: actions/setup-node@v1
with:
node-version: 12.x
node-version: 16.x

- name: Cache node_modules
uses: actions/cache@v1
Expand Down
9 changes: 9 additions & 0 deletions .release-it.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"github": {
"release": false
},
"npm": {
"publishArgs": "--registry=https://registry.npmjs.org",
"skipChecks": true
}
}
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@
"prettier:fix": "prettier --write \"**/*.{js,jsx,ts,tsx}\"",
"prerelease": "yarn lint && yarn tsd:test && yarn test && cross-env NODE_ENV=production yarn build",
"postrelease": "yarn deploy:docs",
"release:major": "yarn prerelease && ta-script npm/release major && yarn postrelease",
"release:minor": "yarn prerelease && ta-script npm/release minor && yarn postrelease",
"release:patch": "yarn prerelease && ta-script npm/release patch && yarn postrelease",
"release": "release-it",
"prestart": "yarn satisfied --fix yarn",
"start": "cross-env NODE_ENV=development gulp --series start:docs",
"satisfied": "satisfied --ignore \"webpack|react|react-dom\" --skip-invalid",
Expand Down Expand Up @@ -166,6 +164,7 @@
"react-static-routes": "^1.0.0",
"react-test-renderer": "^17.0.0",
"react-universal-component": "^3.0.3",
"release-it": "^15.5.1",
"rimraf": "^3.0.2",
"satisfied": "^1.1.2",
"semantic-ui-css": "^2.4.1",
Expand All @@ -174,7 +173,6 @@
"sinon-chai": "^3.5.0",
"size-limit": "^4.5.5",
"start-server-and-test": "^1.11.5",
"ta-scripts": "^2.5.2",
"terser-webpack-plugin": "^3.0.8",
"terser-webpack-plugin-legacy": "^1.2.3",
"through2": "^3.0.1",
Expand Down
Loading