Skip to content

Commit

Permalink
chore(bower): dropped support for bower
Browse files Browse the repository at this point in the history
since bower itself recommends migrating away

BREAKING CHANGE: Bower is no longer supported
  • Loading branch information
travi committed Feb 15, 2020
1 parent adfe690 commit 63435ce
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 39 deletions.
34 changes: 0 additions & 34 deletions bower.json

This file was deleted.

5 changes: 1 addition & 4 deletions howto_release.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,10 @@ To release version x.y.z:
- bump version of peer dependency *AND* devDependency for traverson in package.json to latest
- bump version in package.json to x.y.z
- bump version in package-lock.json to x.y.z
- bump version in bower.json to x.y.z
- npm install
- `npm run build` (to create a fresh browser build, also make sure all tests pass etc.)
- First release? Then `bower register package-name git://github.com/user/repo.git`
- `git commit -am"release x.y.z" && git push`
- `npm publish`
- `git checkout -b release-x.y.z` (to create the release branch, required for bower)
- `git add -f browser/dist/traverson-hal.*` (to add the build artifacts to the release branch)
- `git commit -m"add build artifacts for release"`
- `git push origin release-x.y.z`
Expand All @@ -23,7 +20,7 @@ To release version x.y.z:
- empty description
- add all four JS files from browser/dist as "binaries" to the release
- Publish release
- Why not just create a tag from the branch via git? Because we want to add the build artifacts to the GitHub relase as attachments (for users neither using npm or bower). This is only possible if the release was created via GitHub's web interface. Normal git tags show up as releases there too, but you can't add attachments or edit the release afterwards. Releases created via the web interface create a git tag automatically, however.
- Why not just create a tag from the branch via git? Because we want to add the build artifacts to the GitHub relase as attachments (for users not using npm). This is only possible if the release was created via GitHub's web interface. Normal git tags show up as releases there too, but you can't add attachments or edit the release afterwards. Releases created via the web interface create a git tag automatically, however.
- `git checkout master`
- `git branch -D release-x.y.z`
- `git push origin :release-x.y.z`
1 change: 0 additions & 1 deletion readme.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ Installation
### Browser

* If you are using npm and [Browserify](http://browserify.org/): Just `npm install traverson traverson-hal --save` and include `traverson` and `traverson-hal` via `require` (see below), then browserify your module as usual - browserify will include Traverson and its dependencies for you .
* If you are using [Bower](http://bower.io): `bower install traverson traverson-hal--save`
* Otherwise you can grab a download from the [latest release](https://github.com/traverson/traverson-hal/releases/latest). None of files includes Traverson itself, so you will also have to download a Traverson release.
* `traverson-hal.min.js`: Minified build with UMD. This build can be used with an AMD loader like RequireJS or with a script tag (in which case it will register `TraversonJsonHalAdapter` in the global scope). **If in doubt, use this build.**
* `traverson-hal.js`: Non-minified build with UMD. Same as above, just larger :-)
Expand Down

0 comments on commit 63435ce

Please sign in to comment.