Skip to content

Commit 00001f7

Browse files
authored
v2.0.0 (#40)
* chore(): update dependencies * refactor(MongoClient): refactor use of mongodb lib for version 3 changes * chore(): bump jsdoc dep version for node version 8+ compat * chore(readme): update readme install versions * ci(): update to circle ci 2.0 * chore(): branch ci * chore(): ci testing * chore(): ci testing * chore(): ci testing * chore(): ci testing * chore(): deps * 2.0.0
1 parent 7f93d8c commit 00001f7

File tree

8 files changed

+2703
-2019
lines changed

8 files changed

+2703
-2019
lines changed

.editorconfig

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
indent_size = 2
6+
end_of_line = lf
7+
charset = utf-8
8+
trim_trailing_whitespace = true
9+
insert_final_newline = true

.nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
10

CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
##### 2.0.0 - 21 September 2018
2+
3+
- updated dependencies to use latest mongodb client lib
4+
5+
###### BREAKING CHANGES:
6+
7+
- Dependency `mongodb` version 3+ compatible only
8+
- Dependency `bson` version 1+ compatible only
9+
110
##### 1.0.2 - 18 August 2017
211

312
###### Other

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ A MongoDB adapter for the [JSData Node.js ORM][11].
1313

1414
### Installation
1515

16-
npm install --save js-data js-data-mongodb mongodb bson
16+
npm install --save js-data@3 js-data-mongodb@2 mongodb@3 bson@3
1717

1818
### Usage
1919

circle.yml

+24-25
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,25 @@
1-
# Adjust the behavior of the virtual machine (VM)
2-
machine:
3-
node:
4-
version: 6.11.2
1+
version: 2
2+
jobs:
3+
test:
4+
docker:
5+
- image: circleci/node:10
6+
- image: circleci/mongo:3
7+
steps:
8+
- checkout
9+
- run: npm install
10+
- run: sudo npm i -g nyc codecov
11+
- run:
12+
name: Test
13+
command: npm test
14+
- run:
15+
name: Generate code coverage
16+
command: nyc report --reporter=lcov > coverage.lcov && codecov
517

6-
# Use for broader build-related configuration
7-
general:
8-
branches:
9-
ignore:
10-
- gh-pages
11-
12-
# Install your project's language-specific dependencies
13-
dependencies:
14-
pre:
15-
- yarn global add nyc codecov
16-
override:
17-
- yarn
18-
cache_directories:
19-
- ~/.cache/yarn
20-
21-
# Run your tests
22-
test:
23-
override:
24-
- yarn test
25-
post:
26-
- nyc report --reporter=lcov > coverage.lcov && codecov
18+
workflows:
19+
version: 2
20+
build_and_test:
21+
jobs:
22+
- test:
23+
filters:
24+
branches:
25+
ignore: gh-pages

0 commit comments

Comments
 (0)