Skip to content

Commit 9b824e7

Browse files
committed
1.0.0
1 parent 0d0edac commit 9b824e7

10 files changed

+7878
-263
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
##### 1.0.0 - 17 August 2017
2+
3+
Stable 1.0.0 release
4+
15
##### 1.0.0-rc.1 - 23 August 2016
26

37
###### Backwards compatible changes

CONTRIBUTORS

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
# Names should be added to this file as:
66
# [commit count] Name <email address>
77
9 Cory Robinson <[email protected]>
8-
42 Jason Dobry <[email protected]>
8+
43 Jason Dobry <[email protected]>
99
1 John Grogg <[email protected]>

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2014-2016 js-data-mongodb project authors
3+
Copyright (c) 2014-2017 js-data-mongodb 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

+22-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,27 @@
1111

1212
A MongoDB adapter for the [JSData Node.js ORM][11].
1313

14-
### Just getting started?
14+
### Installation
15+
16+
npm install --save js-data js-data-mongodb bson mongodb
17+
18+
### Usage
19+
20+
```js
21+
import { MongoDBAdapter } from 'js-data-mongodb';
22+
23+
// Create an instance of MongoDBAdapter
24+
const adapter = new MongoDBAdapter({
25+
uri: 'mongodb://localhost:27017'
26+
});
27+
28+
// Other JSData setup hidden
29+
30+
// Register the adapter instance
31+
store.registerAdapter('mongodb', adapter, { default: true });
32+
```
33+
34+
### JSData + MongoDB Tutorial
1535

1636
Start with the [JSData + MongoDB tutorial][12] or checkout the [API Reference Documentation][13].
1737

@@ -33,7 +53,7 @@ Thank you!
3353

3454
[The MIT License (MIT)][17]
3555

36-
Copyright (c) 2014-2016 [js-data-mongodb project authors][18]
56+
Copyright (c) 2014-2017 [js-data-mongodb project authors][18]
3757

3858
[1]: http://slack.js-data.io/badge.svg
3959
[2]: http://slack.js-data.io

circle.yml

+18-7
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,26 @@
1+
# Adjust the behavior of the virtual machine (VM)
2+
machine:
3+
node:
4+
version: 6.11.2
5+
6+
# Use for broader build-related configuration
17
general:
28
branches:
39
ignore:
410
- gh-pages
5-
machine:
6-
node:
7-
version: 6
11+
12+
# Install your project's language-specific dependencies
813
dependencies:
914
pre:
10-
- npm install -g npm
11-
- npm install -g codecov nyc
12-
- npm install js-data@^3.0.0-rc.4 mongodb bson@^0.4.x
15+
- yarn global add nyc codecov
16+
override:
17+
- yarn
18+
cache_directories:
19+
- ~/.cache/yarn
20+
21+
# Run your tests
1322
test:
23+
override:
24+
- yarn test
1425
post:
15-
- nyc report --reporter=lcov | codecov
26+
- nyc report --reporter=lcov > coverage.lcov && codecov

conf.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"templates": {
1515
"theme": "jsdata",
1616
"systemName": "js-data-mongodb",
17-
"copyright": "js-data-mongodb Copyright © 2014-2016 js-data-mongodb project authors",
17+
"copyright": "js-data-mongodb Copyright © 2014-2017 js-data-mongodb project authors",
1818
"outputSourceFiles": true,
1919
"linenums": true,
2020
"footer": "<div style=\"text-align:center\"><a href=\"/\">api.js-data.io</a>&nbsp;&#8226;&nbsp;<a href=\"http://js-data.io\">js-data.io</a></div>",

0 commit comments

Comments
 (0)