Skip to content

Commit

Permalink
Remove BOWER stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Pablo Alonso Garcia committed Nov 14, 2017
1 parent b6db13f commit b184601
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 108 deletions.
2 changes: 0 additions & 2 deletions .eslintignore
Expand Up @@ -5,5 +5,3 @@
/grunt
/themes
/vendor
/cartodb.js-bower

2 changes: 0 additions & 2 deletions .gitignore
Expand Up @@ -5,8 +5,6 @@
.tmp
.vscode
*.swp
bower_components
cartodb.js-bower/
dist
docs
Gemfile.lock
Expand Down
10 changes: 1 addition & 9 deletions README.md
Expand Up @@ -36,13 +36,6 @@ This library allows to embed visualizations created with CARTO in your map or we
cartodb.createLayer(map, layerUrl).addTo(map);
```

### Usage with Bower

You can install **cartodb.js** with [bower](http://bower.io/) by running

```sh
bower install cartodb.js
```

## ~Documentation
You can find the documentation online [here](http://docs.carto.com/cartodb-platform/cartodb-js.html) and the [source](https://github.com/CartoDB/cartodb.js/blob/develop/doc/API.md) inside this repository.
Expand All @@ -61,9 +54,8 @@ You can find the documentation online [here](http://docs.carto.com/cartodb-platf
Build CartoDB.js library:

- Install [node.js](http://nodejs.org/download/), from 0.10 version
- Install grunt & bower: `npm install -g grunt-cli bower`
- Install grunt: `npm install -g grunt-cli`
- Install node dependencies: `npm install`
- Install bower dependencies: `bower install`
- Install [ruby](https://www.ruby-lang.org/en/installation/) and [bundler](https://github.com/bundler/bundler)
- Install ruby dependencies: `bundle install` (necessary for compass gem)
- Start the server: `grunt build`
Expand Down
6 changes: 0 additions & 6 deletions RELEASING.md
Expand Up @@ -51,12 +51,6 @@ git push --all
git push --tags
```

- Publish to the [cartodb.js bower repo](https://github.com/CartoDB/cartodb.js-bower)

```
./bower.sh
```

- If possible, don't forget to change CartoDB.js docs.

- Done. Celebrate! :)
Expand Down
20 changes: 0 additions & 20 deletions bower.json

This file was deleted.

52 changes: 0 additions & 52 deletions bower.sh

This file was deleted.

18 changes: 1 addition & 17 deletions grunt/tasks/replace.js
Expand Up @@ -110,23 +110,7 @@ module.exports = {
src: ['RELEASING.md'],
dest: ''
}]
},

bower: {
options: {
patterns: [{
match: '/"version": "<%= config.version.bugfixing %>"/g',
replacement: '"version": "<%= grunt.config(\'bump.version\') %>"',
expression: true
}]
},
files: [{
expand: true,
flatten: true,
src: ['bower.json'],
dest: ''
}]
},
}
}
}
}

0 comments on commit b184601

Please sign in to comment.