Skip to content

Commit

Permalink
ci(publish): dropped bower support
Browse files Browse the repository at this point in the history
BREAKING CHANGE: bower is being dropped as a supported platform
  • Loading branch information
travi committed Jun 15, 2019
1 parent 84ff178 commit 2915d6d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 38 deletions.
34 changes: 0 additions & 34 deletions bower.json

This file was deleted.

6 changes: 3 additions & 3 deletions howto_release.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ To release version x.y.z:

- Update release notes and/or change the next/unreleased bullet point in the release notes to the version number. Also add date to release notes.
- bump version in package.json to x.y.z
- bump version in bower.json to x.y.z
~~ - bump version in bower.json to x.y.z ~~
- Make sure you are using Node 10/npm 6.2.x
- Run npm install once to have the version package-lock.json updated
- Make sure there are no other changes in package-lock.json except for the main package's version being updated
- `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`
~~ - 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 checkout -b release-x.y.z` (to create the release branch, required for bower) ~~
- `git add -f browser/dist/traverson.*` (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 Down
1 change: 0 additions & 1 deletion user-guide.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ Installation
### Browser

* If you are using npm and [Browserify](http://browserify.org/): Just `npm install traverson --save` and `require('traverson')`, then browserify your module as usual - browserify will include Traverson and its dependencies for you and also use the shims defined in Traverson's package.json's `browser` property.
* If you are using [Bower](http://bower.io): `bower install traverson --save`
* Otherwise you can grab a download from the [latest release](https://github.com/traverson/traverson/releases/latest):
* `traverson.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 `traverson` in the global scope). **If in doubt, use this build.**
* `traverson.js`: Non-minified build with UMD. Same as above, just larger :-)
Expand Down

0 comments on commit 2915d6d

Please sign in to comment.