Skip to content

Commit

Permalink
➖ Remove release-it package and configs
Browse files Browse the repository at this point in the history
  • Loading branch information
chuckcarpenter committed Jul 2, 2024
1 parent 164f09d commit 57475ef
Show file tree
Hide file tree
Showing 4 changed files with 9,968 additions and 9,414 deletions.
10 changes: 0 additions & 10 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,3 @@ When reviewing merged PR's the labels to be used are:
## Release

Once the prep work is completed, the actual release is straight forward: you just need to merge the open [Plan Release](https://github.com/shepherd-pro/shepherd/pulls?q=is%3Apr+is%3Aopen+%22Prepare+Release%22+in%3Atitle) PR

## Manual Releases

If you need to do something like an alpha or a specific version or something that release-plan is having trouble with, you can manually invoke `release-it` instead. You will still need to ensure all PRs are correctly labeled to get the correct changelog generation, but once that is done you can release by running:

```
pnpm release-it
```

It will then prompt you to choose the version, confirm the changelog, publish to npm and GitHub etc and handle all the aspects of release for you.
32 changes: 0 additions & 32 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@
"devDependencies": {
"@babel/core": "^7.24.6",
"@babel/preset-env": "^7.24.3",
"@release-it-plugins/lerna-changelog": "^7.0.0",
"@release-it-plugins/workspaces": "^4.2.0",
"@typescript-eslint/eslint-plugin": "^7.5.0",
"@typescript-eslint/parser": "^7.5.0",
"autoprefixer": "^10.4.19",
Expand All @@ -44,7 +42,6 @@
"postcss": "^8.4.38",
"prettier": "3.1.1",
"prettier-plugin-svelte": "^3.2.2",
"release-it": "^17.3.0",
"release-plan": "^0.9.0",
"replace": "^1.2.2",
"shepherd.js": "workspace:*",
Expand All @@ -54,34 +51,5 @@
"packageManager": "pnpm@8.15.4",
"engines": {
"node": "18.* || >= 20"
},
"release-it": {
"hooks": {
"after:bump": "pnpm build"
},
"plugins": {
"@release-it-plugins/workspaces": {
"workspaces": [
"shepherd.js"
]
},
"@release-it-plugins/lerna-changelog": {
"infile": "CHANGELOG.md"
}
},
"git": {
"tagName": "v${version}"
},
"github": {
"release": true,
"tokenRef": "GITHUB_AUTH",
"assets": [
"shepherd.js/dist/**/*.css",
"shepherd.js/dist/**/*.js",
"shepherd.js/dist/**/*.ts",
"shepherd.js/dist/**/*.map"
]
},
"npm": false
}
}
15 changes: 1 addition & 14 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
"build": "vite build",
"prepack": "pnpm -F shepherd.js build && pnpm build",
"test:ci": "vitest --run",
"test:dev": "vitest",
"release": "release-it"
"test:dev": "vitest"
},
"dependencies": {
"@shepherdpro/pro-js": "workspace:*",
Expand All @@ -50,17 +49,5 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "^5.0.0"
},
"release-it": {
"git": {
"requireUpstream": false
},
"hooks": {
"after:bump": "pnpm build",
"after:release": "pnpm pack"
},
"npm": {
"publish": false
}
}
}
Loading

0 comments on commit 57475ef

Please sign in to comment.