Skip to content

Commit

Permalink
build: use node 21 and replace semantic-release with release-it
Browse files Browse the repository at this point in the history
  • Loading branch information
nerdyman committed Oct 28, 2023
1 parent 9331c2e commit 41fa859
Show file tree
Hide file tree
Showing 4 changed files with 545 additions and 789 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20.6.1
21
8 changes: 2 additions & 6 deletions lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"build": "pnpm run check:types && NODE_ENV=production tsup",
"release": "pnpm run release:preflight && pnpm run release:publish",
"release:preflight": "cp ../README.md ../LICENSE . && pnpm run -w lint && pnpm run -w test && pnpm run build && pnpm run check",
"release:publish": "semantic-release",
"release:publish": "release-it",
"check": "concurrently -n \"package,types\" -c \"blue,magenta\" \"pnpm run check:package\" \"pnpm run check:types\"",
"check:package": "attw -P . --ignore-rules cjs-resolves-to-esm && publint",
"check:types": "tsc --noEmit"
Expand All @@ -76,11 +76,6 @@
"react-dom": ">=16.8"
},
"devDependencies": {
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^9.2.1",
"@semantic-release/npm": "^11.0.0",
"@semantic-release/release-notes-generator": "^12.0.0",
"@types/node": "^20.8.7",
"@types/react": "^18.2.31",
"@types/react-dom": "^18.2.14",
Expand All @@ -90,6 +85,7 @@
"publint": "^0.2.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"release-it": "^16.2.1",
"tslib": "~2.6.2",
"tsup": "^7.2.0",
"typescript": "^5.2.2"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"engines": {
"node": ">=16.9.0"
},
"packageManager": "pnpm@8.7.6",
"packageManager": "pnpm@8.10.0",
"scripts": {
"bootstrap": "corepack enable && pnpm install --frozen-lockfile",
"clean": "rm -rvf ./node_modules ./docs/*/node_modules ./lib/node_modules ./coverage ./docs/*/coverage ./docs/storybook/storybook-static",
Expand Down

0 comments on commit 41fa859

Please sign in to comment.