Skip to content

Commit

Permalink
chore: replace ta-scripts with release-it (#4410)
Browse files Browse the repository at this point in the history
* chore: replace ta-scripts with release-it

* chore: bump Node versions on CI
  • Loading branch information
layershifter authored Dec 13, 2022
1 parent c88e684 commit c8aace9
Show file tree
Hide file tree
Showing 5 changed files with 1,607 additions and 303 deletions.
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

0 comments on commit c8aace9

Please sign in to comment.