Skip to content

Commit fe039bb

Browse files
committed
Merge pull request #15 from js-data/v1
v1
2 parents 3868e08 + 6654b6a commit fe039bb

23 files changed

+1778
-1546
lines changed

.babelrc

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

.github/CONTRIBUTING.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Contributing to js-data-mongodb
2+
3+
[Read the general Contributing Guide](http://js-data.io/docs/contributing).
4+
5+
## Project structure
6+
7+
* `dist/` - Contains final build files for distribution
8+
* `doc/` - Output folder for JSDocs
9+
* `src/` - Project source code
10+
* `test/` - Project tests
11+
12+
## Clone, build & test
13+
14+
1. `clone git@github.com:js-data/js-data-mongodb.git`
15+
1. `cd js-data-mongodb`
16+
1. `npm install`
17+
1. `npm run build` - Lint and build distribution files
18+
1. `npm run mocha` - Run tests (RethinkDB must be running)
19+
20+
## To cut a release
21+
22+
1. Checkout master
23+
1. Bump version in `package.json` appropriately
24+
1. Update `CHANGELOG.md` appropriately
25+
1. Run `npm run release`
26+
1. Commit and push changes
27+
1. Checkout `release`, merge `master` into `release`
28+
1. Run `npm run release` again
29+
1. Commit and push changes
30+
1. Make a GitHub release
31+
- tag from `release` branch
32+
- set tag name to version
33+
- set release name to version
34+
- set release body to changelog entry for the version
35+
1. `npm publish .`
36+
37+
See also [Community & Support](http://js-data.io/docs/community).

.github/ISSUE_TEMPLATE.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
(delete this line) Find out how to get help here: http://js-data.io/docs/community.
2+
3+
<your detailed, actionable, and helpful text goes here>
4+
5+
Thanks!

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Fixes #<issue_number_goes_here> (it's a good idea to open an issue first for discussion)
2+
3+
- [ ] - `npm test` succeeds
4+
- [ ] - Code coverage does not decrease (if any source code was changed)
5+
- [ ] - Appropriate JSDoc comments were updated in source code (if applicable)
6+
- [ ] - Approprate changes to js-data.io docs have been suggested ("Suggest Edits" button)

.mailmap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Jason Dobry <jason.dobry@gmail.com> Jason Dobry <jmdobry@users.noreply.github.com>

.npmignore

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

AUTHORS

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# This is the official list of js-data-mongodb project authors.
2+
#
3+
# Names are formatted as:
4+
# # commits Name or Organization <email address>
5+
# The email address is not required for organizations.
6+
Jason Dobry <jason.dobry@gmail.com>
7+
John Grogg <johng@freshrealm.co>

CHANGELOG.md

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,71 @@
1+
##### 1.0.0-beta.1 - 30 April 2016
2+
3+
###### Breaking changes
4+
- How you must now import in ES2015:
5+
6+
```js
7+
import MongoDBAdapter from 'js-data-mongodb'
8+
const adapter = new MongoDBAdapter()
9+
```
10+
or
11+
```js
12+
import {MongoDBAdapter, version} from 'js-data-mongodb'
13+
console.log(version)
14+
const adapter = new MongoDBAdapter()
15+
```
16+
17+
- How you must now import in ES5:
18+
19+
```js
20+
var JSDataMongoDB = require('js-data-mongodb')
21+
var MongoDBAdapter = JSDataMongoDB.MongoDBAdapter
22+
var adapter = new MongoDBAdapter()
23+
```
24+
25+
- Moved some `dist` files to the `release` branch to reduce noise
26+
27+
###### Other
28+
- Upgraded to `js-data-adapter` v0.6.1
29+
- Now using js-data JSDoc template
30+
31+
##### 1.0.0-alpha.6 - 17 March 2016
32+
33+
###### Backwards compatible API changes
34+
- Added count method
35+
36+
##### 1.0.0-alpha.5 - 10 March 2016
37+
38+
###### Other
39+
- Moved more common adapter functionality into js-data-adapter
40+
41+
##### 1.0.0-alpha.4 - 06 March 2016
42+
43+
Fixed JSDoc
44+
45+
##### 1.0.0-alpha.3 - 06 March 2016
46+
47+
###### Backwards compatible API changes
48+
- Upgraded to latest js-data-adapter-tests, making appropriate changes
49+
50+
###### Other
51+
- Extracted common adapter functionality into js-data-adapter
52+
- Extracted common js-data repo utility scripts into js-data-repo-tools
53+
54+
##### 1.0.0-alpha.2 - 27 February 2016
55+
56+
###### Backwards compatible bug fixes
57+
- Fixed use of options
58+
59+
##### 1.0.0-alpha.1 - 26 February 2016
60+
61+
###### Breaking API changes
62+
- Now depends on js-data 3.x
63+
64+
###### Backwards compatible API changes
65+
- Added createMany and updateMany methods
66+
- Added lifecycle methods
67+
- Added insertOpts, insertManyOpts, updateOpts, removeOpts, findOpts, and findOneOpts options
68+
169
##### 0.7.0 - 19 February 2016
270

371
###### Backwards compatible API changes

CONTRIBUTING.md

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

CONTRIBUTORS

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# People who have contributed to the js-data-mongodb project.
2+
#
3+
# This file is controlled by scripts/authors.js
4+
#
5+
# Names should be added to this file as:
6+
# [commit count] Name <email address>
7+
26 Jason Dobry <jason.dobry@gmail.com>
8+
1 John Grogg <johng@freshrealm.co>

0 commit comments

Comments
 (0)