Skip to content

Commit f7a95f6

Browse files
committed
Prepare for 3.0.0-beta.1
1 parent 3dd43b1 commit f7a95f6

27 files changed

+346
-591
lines changed

.github/CONTRIBUTING.md

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,36 @@
1-
# Contributing
1+
# Contributing to js-data-firebase
22

3-
[Read the Contributing Guide](http://js-data.io/docs/contributing).
3+
[Read the general Contributing Guide](http://js-data.io/docs/contributing).
44

5-
## Support
5+
## Project structure
66

7-
[Find out how to Get Support](http://js-data.io/docs/support).
7+
* `dist/` - Contains final build files for distribution
8+
* `doc/` - Output folder for JSDocs
9+
* `src/` - Project source code
10+
* `test/` - Project tests
811

9-
## Community
12+
## Clone, build & test
1013

11-
[Explore the Community](http://js-data.io/docs/community).
14+
1. `clone [email protected]:js-data/js-data-firebase.git`
15+
1. `cd js-data-firebase`
16+
1. `npm install`
17+
1. `npm test` - Lint, build, and test
1218

13-
### Have write access?
14-
15-
To cut a release:
19+
## To cut a release
1620

1721
1. Checkout master
1822
1. Bump version in `package.json` appropriately
19-
1. Run `npm run release`
2023
1. Update `CHANGELOG.md` appropriately
21-
1. Commit and push changes, including the `dist/` folder
24+
1. Run `npm run release`
25+
1. Commit and push changes
26+
1. Checkout `release`, merge `master` into `release`
27+
1. Run `npm run release` again
28+
1. Commit and push changes
2229
1. Make a GitHub release
30+
- tag from `release` branch
2331
- set tag name to version
2432
- set release name to version
2533
- set release body to changelog entry for the version
26-
- attach the files in the `dist/` folder
2734
1. `npm publish .`
35+
36+
See also [Community & Support](http://js-data.io/docs/community).

.github/ISSUE_TEMPLATE.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
(delete this line) GitHub Issues are NOT for support questions.
2-
(delete this line) GitHub Issues ARE for bug reports, feature requests, and other issues.
3-
(delete this line) Find out how to Get Support here: http://js-data.io/docs/support.
1+
(delete this line) Find out how to get help here: http://js-data.io/docs/community.
42

5-
<your detailed, discussable, actionable, and helpful text goes here>
3+
<your detailed, actionable, and helpful text goes here>
64

75
Thanks!

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
Fixes #<issue_number_goes_here> (it's a good idea to open an issue first for discussion)
22

33
- [ ] - `npm test` succeeds
4-
- [ ] - Pull request has been squashed into 1 commit
5-
- [ ] - I did NOT commit changes to `dist/`
64
- [ ] - Code coverage does not decrease (if any source code was changed)
75
- [ ] - Appropriate JSDoc comments were updated in source code (if applicable)
86
- [ ] - Approprate changes to js-data.io docs have been suggested ("Suggest Edits" button)

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ npm-debug.log
1111
junit/
1212
dist/karma.start.js
1313
doc/
14-
typings/
14+
typings/
15+
.vscode

.vscode/launch.json

Lines changed: 0 additions & 37 deletions
This file was deleted.

.vscode/settings.json

Lines changed: 0 additions & 8 deletions
This file was deleted.

AUTHORS

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,5 @@
66
# # commits Name or Organization <email address>
77
# The email address is not required for organizations.
88
Jason Dobry <[email protected]>
9-
Jason Dobry <[email protected]>
109
Overall, Matthew <[email protected]>
1110
Tianxiang Chen <[email protected]>

CHANGELOG.md

Lines changed: 33 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,36 @@
1-
##### 3.0.0-alpha.1 - 05 May 2016
2-
- Alpha Version 3.0.0-alpha.1
1+
##### 3.0.0-beta.1 - 03 May 2016
2+
3+
Official v3 beta release
4+
5+
###### Breaking changes
6+
- Now depends on js-data v3
7+
- How you must now import in ES2015:
8+
9+
```js
10+
import FirebaseAdapter from 'js-data-firebase'
11+
const adapter = new FirebaseAdapter({ basePath: '<your-firebase-url>' })
12+
```
13+
or
14+
```js
15+
import {FirebaseAdapter, version} from 'js-data-firebase'
16+
console.log(version)
17+
const adapter = new FirebaseAdapter()
18+
```
19+
20+
- How you must now import in ES5:
21+
22+
```js
23+
var JSDataFirebase = require('js-data-firebase')
24+
var FirebaseAdapter = JSDataFirebase.FirebaseAdapter
25+
var adapter = new FirebaseAdapter({ basePath: '<your-firebase-url>' })
26+
```
27+
28+
- Moved some `dist` files to `release` to reduce noise
29+
30+
###### Other
31+
- Upgraded dependencies
32+
- Improved JSDoc comments
33+
- Now using js-data JSDoc template
334

435
##### 2.1.1 - 10 July 2015
536

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2014-2015 Jason Dobry
3+
Copyright (c) 2014-2016 js-data-firebase project authors
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 36 additions & 93 deletions
Original file line numberDiff line numberDiff line change
@@ -1,104 +1,47 @@
1-
<img src="https://raw.githubusercontent.com/js-data/js-data/master/js-data.png" alt="js-data logo" title="js-data" align="right" width="64" height="64" />
1+
<img src="https://raw.githubusercontent.com/js-data/js-data/master/js-data.png" alt="js-data logo" title="js-data" align="right" width="96" height="96" />
22

3-
## js-data-firebase [![bower version](https://img.shields.io/bower/v/js-data-firebase.svg?style=flat-square)](https://www.npmjs.org/package/js-data-firebase) [![npm version](https://img.shields.io/npm/v/js-data-firebase.svg?style=flat-square)](https://www.npmjs.org/package/js-data-firebase) [![Circle CI](https://img.shields.io/circleci/project/js-data/js-data-firebase/master.svg?style=flat-square)](https://circleci.com/gh/js-data/js-data-firebase/tree/master) [![npm downloads](https://img.shields.io/npm/dm/js-data-firebase.svg?style=flat-square)](https://www.npmjs.org/package/js-data-firebase) [![License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](https://github.com/js-data/js-data-firebase/blob/master/LICENSE)
3+
# js-data-firebase
44

5-
Firebase adapter for [js-data](http://www.js-data.io/).
6-
7-
### API Documentation
8-
[FirebaseAdapter](http://www.js-data.io/docs/firebaseadapter)
9-
10-
### Demos
11-
[js-data-firebase + Angular](https://js-data-firebase.firebaseapp.com/angular/)
12-
13-
[js-data-firebase + React](https://js-data-firebase.firebaseapp.com/react/)
14-
15-
[js-data-firebase + Riot](https://js-data-firebase.firebaseapp.com/riot/)
16-
17-
### Project Status
18-
19-
__Latest Release:__ [![Latest Release](https://img.shields.io/github/release/js-data/js-data-firebase.svg?style=flat-square)](https://github.com/js-data/js-data-firebase/releases)
20-
21-
__Status:__
22-
23-
[![Dependency Status](https://img.shields.io/gemnasium/js-data/js-data-firebase.svg?style=flat-square)](https://gemnasium.com/js-data/js-data-firebase) [![Coverage Status](https://img.shields.io/coveralls/js-data/js-data-firebase/master.svg?style=flat-square)](https://coveralls.io/r/js-data/js-data-firebase?branch=master) [![Codacity](https://img.shields.io/codacy/47f0a155f0de4a74b951103a4578353f.svg?style=flat-square)](https://www.codacy.com/public/jasondobry/js-data-firebase/dashboard)
24-
25-
__Supported Platforms:__
26-
27-
[![browsers](https://img.shields.io/badge/Browser-Chrome%2CFirefox%2CSafari%2COpera%2CIE%209%2B%2CiOS%20Safari%207.1%2B%2CAndroid%20Browser%202.3%2B-green.svg?style=flat-square)](https://github.com/js-data/js-data)
28-
29-
### Quick Start
30-
`bower install --save js-data js-data-firebase` or `npm install --save js-data js-data-firebase`.
31-
32-
Load `firebase.js`.
5+
[![Slack Status][sl_b]][sl_l]
6+
[![npm version][npm_b]][npm_l]
7+
[![Circle CI][circle_b]][circle_l]
8+
[![npm downloads][dn_b]][dn_l]
9+
[![Coverage Status][cov_b]][cov_l]
3310

34-
Load `js-data-firebase.js` after `js-data.js`.
35-
36-
```js
37-
var adapter = new FirebaseAdapter({
38-
basePath: 'https://my-app.firebase.io'
39-
});
40-
41-
var store = new JSData.DS();
42-
43-
store.registerAdapter('firebase', adapter, { default: true });
44-
45-
// "store" will now use the firebase adapter for all async operations
46-
```
47-
48-
### Changelog
49-
[CHANGELOG.md](https://github.com/js-data/js-data-firebase/blob/master/CHANGELOG.md)
50-
51-
### Community
52-
- [Gitter Channel](https://gitter.im/js-data/js-data) - Better than IRC!
53-
- [Announcements](http://www.js-data.io/blog)
54-
- [Mailing List](https://groups.io/org/groupsio/jsdata) - Ask your questions!
55-
- [Issues](https://github.com/js-data/js-data-firebase/issues) - Found a bug? Feature request? Submit an issue!
56-
- [GitHub](https://github.com/js-data/js-data-firebase) - View the source code for js-data.
57-
- [Contributing Guide](https://github.com/js-data/js-data-firebase/blob/master/CONTRIBUTING.md)
58-
59-
### Contributing
60-
61-
First, support is handled via the [Mailing List](https://groups.io/org/groupsio/jsdata). Ask your questions there.
62-
63-
When submitting issues on GitHub, please include as much detail as possible to make debugging quick and easy.
11+
Firebase adapter for [js-data](http://www.js-data.io/).
6412

65-
- good - Your versions of js-data, js-data-firebase, etc., relevant console logs/error, code examples that revealed the issue
66-
- better - A [plnkr](http://plnkr.co/), [fiddle](http://jsfiddle.net/), or [bin](http://jsbin.com/?html,output) that demonstrates the issue
67-
- best - A Pull Request that fixes the issue, including test coverage for the issue and the fix
13+
To get started, visit __[http://js-data.io](http://www.js-data.io/docs/js-data-firebase)__.
6814

69-
[Github Issues](https://github.com/js-data/js-data-firebase/issues).
15+
Tested on IE9, Chrome 46, Firefox 41 & Safari 7.1 using
16+
<img src="https://raw.githubusercontent.com/js-data/js-data-firebase/master/bs.jpg" alt="bs logo" title="browserstack" width="150" height="35" style="vertical-align: middle" />
7017

71-
#### Pull Requests
18+
## Links
7219

73-
1. Contribute to the issue that is the reason you'll be developing in the first place
74-
1. Fork js-data-firebase
75-
1. `git clone https://github.com/<you>/js-data-firebase.git`
76-
1. `cd js-data-firebase; npm install; bower install;`
77-
1. `grunt go` (builds and starts a watch)
78-
1. (in another terminal) `grunt karma:dev` (runs the tests)
79-
1. Write your code, including relevant documentation and tests
80-
1. Submit a PR and we'll review
20+
* [Quick start](http://www.js-data.io/docs/home#quick-start) - Get started in 5 minutes
21+
* [Guides and Tutorials](http://www.js-data.io/docs/home) - Learn how to use JSData
22+
* [`FirebaseAdapter` Guide](http://www.js-data.io/docs/js-data-firebase) - Learn how to use `FirebaseAdapter`
23+
* [API Reference Docs](http://api.js-data.io) - Explore components, methods, options, etc.
24+
* [Community & Support](http://js-data.io/docs/community) - Find solutions and chat with the community
25+
* [General Contributing Guide](http://js-data.io/docs/contributing) - Give back and move the project forward
26+
* [Contributing to js-data-firebase](https://github.com/js-data/js-data-firebase/blob/master/.github/CONTRIBUTING.md)
8127

82-
### License
28+
## License
8329

8430
The MIT License (MIT)
8531

86-
Copyright (c) 2014-2015 Jason Dobry
87-
88-
Permission is hereby granted, free of charge, to any person obtaining a copy
89-
of this software and associated documentation files (the "Software"), to deal
90-
in the Software without restriction, including without limitation the rights
91-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
92-
copies of the Software, and to permit persons to whom the Software is
93-
furnished to do so, subject to the following conditions:
94-
95-
The above copyright notice and this permission notice shall be included in all
96-
copies or substantial portions of the Software.
97-
98-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
99-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
100-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
101-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
102-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
103-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
104-
SOFTWARE.
32+
Copyright (c) 2014-2016 js-data-firebase project authors
33+
34+
* [LICENSE](https://github.com/js-data/js-data-firebase/blob/master/LICENSE)
35+
* [AUTHORS](https://github.com/js-data/js-data-firebase/blob/master/AUTHORS)
36+
* [CONTRIBUTORS](https://github.com/js-data/js-data-firebase/blob/master/CONTRIBUTORS)
37+
38+
[sl_b]: http://slack.js-data.io/badge.svg
39+
[sl_l]: http://slack.js-data.io
40+
[npm_b]: https://img.shields.io/npm/v/js-data-firebase.svg?style=flat
41+
[npm_l]: https://www.npmjs.org/package/js-data-firebase
42+
[circle_b]: https://img.shields.io/circleci/project/js-data/js-data-firebase.svg?style=flat
43+
[circle_l]: https://circleci.com/gh/js-data/js-data-firebase
44+
[dn_b]: https://img.shields.io/npm/dm/js-data-firebase.svg?style=flat
45+
[dn_l]: https://www.npmjs.org/package/js-data-firebase
46+
[cov_b]: https://img.shields.io/codecov/c/github/js-data/js-data-firebase.svg?style=flat
47+
[cov_l]: https://codecov.io/github/js-data/js-data-firebase

0 commit comments

Comments
 (0)