8000 Prepare for 0.6.0 · js-data/js-data-adapter@ab08929 · GitHub
[go: up one dir, main page]

Skip to content

Commit ab08929

Browse files
committed
Prepare for 0.6.0
1 parent 8a6924d commit ab08929

File tree

7 files changed

+22
-48
lines changed

7 files changed

+22
-48
lines changed

.babelrc

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

AUTHORS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# This is the official list of js-data-adapter project authors.
22
#
33
# Names are formatted as:
4+
#
45
# # commits Name or Organization <email address>
6+
#
57
# The email address is not required for organizations.
8+
#
69
Jason Dobry <jason.dobry@gmail.com>

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
##### 0.6.0 - 29 April 2016
2+
3+
- Fixed some comments
4+
- Updated some dependencies
5+
16
##### 0.5.0 - 27 April 2016
27

38
###### Breaking changes

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22

33
# js-data-adapter
44

5-
[![Slack Status][sl_b]][sl_l] [![npm version][npm_b]][npm_l] [![npm downloads][dn_b]][dn_l] [![build][circle_b]][circle_l] [![coverage][cov_b]][cov_l]
5+
[![Slack Status][sl_b]][sl_l]
6+
[![npm version][npm_b]][npm_l]
7+
[![npm downloads][dn_b]][dn_l]
8+
[![build][circle_b]][circle_l]
9+
[![coverage][cov_b]][cov_l]
610

711
Base adapter class that all other JSData adapters extend.
812

@@ -84,7 +88,7 @@ Copyright (c) 2016 js-data-adapter project authors
8488
[npm_l]: https://www.npmjs.org/package/js-data-adapter
8589
[dn_b]: https://img.shields.io/npm/dm/js-data-adapter.svg?style=flat
8690
[dn_l]: https://www.npmjs.org/package/js-data-adapter
87-
[circle_b]: https://img.shields.io/circleci/project/js-data/js-data-adapter.svg
91+
[circle_b]: https://img.shields.io/circleci/project/js-data/js-data-adapter.svg?style=flat
8892
[circle_l]: https://circleci.com/gh/js-data/js-data-adapter
89-
[cov_b]: https://img.shields.io/codecov/c/github/js-data/js-data-adapter.svg
93+
[cov_b]: https://img.shields.io/codecov/c/github/js-data/js-data-adapter.svg?style=flat
9094
[cov_l]: https://codecov.io/gh/js-data/js-data-adapter

package.json

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "js-data-adapter",
33
"description": "Base adapter class that all other js-data adapters extend.",
4-
"version": "0.5.0",
4+
"version": "0.6.0",
55
"homepage": "https://github.com/js-data/js-data-adapter",
66
"repository": {
77
"type": "git",
@@ -26,6 +26,9 @@
2626
"standard": {
2727
"parser": "babel-eslint"
2828
},
29+
"babel": {
30+
"presets": ["es2015-rollup"]
31+
},
2932
"scripts": {
3033
"lint": "repo-tools lint src/index.js rollup.config.js",
3134
"bundle": "rollup -c rollup.config.js -f umd -o dist/js-data-adapter.js -m dist/js-data-adapter.js.map src/index.js",
@@ -42,19 +45,14 @@
4245
"js-data": "^3.0.0-beta.2"
4346
},
4447
"devDependencies": {
45-
"babel-core": "6.7.7",
4648
"babel-polyfill": "6.7.4",
4749
"babel-preset-es2015-rollup": "1.1.1",
48-
"chai": "3.5.0",
49-
"codecov": "1.0.1",
5050
"istanbul": "0.4.3",
5151
"js-data-adapter-tests": "2.0.0-alpha.16",
52-
"js-data-repo-tools": "0.3.0",
53-
"mocha": "2.4.5",
52+
"js-data-repo-tools": "0.5.0",
5453
"rollup": "0.26.1",
5554
"rollup-plugin-babel": "2.4.0",
56-
"sinon": "1.17.3",
5755
"source-map-support": "0.4.0",
58-
"watch": "0.17.1"
56+
"watch": "0.18.0"
5957
}
6058
}

src/index.js

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,20 @@
1-
/**
2-
* Registered as `js-data-adapter` in NPM.
3-
*
4-
* @module js-data-adapter
5-
*/
61

72
import {utils} from 'js-data'
83

9-
/**
10-
* @name module:js-data-adapter.noop
11-
*/
124
export const noop = function (...args) {
135
const self = this
146
const opts = args[args.length - 1]
157
self.dbg(opts.op, ...args)
168
return utils.resolve()
179
}
1810

19-
/**
20-
* @name module:js-data-adapter.noop2
21-
*/
2211
export const noop2 = function (...args) {
2312
const self = this
2413
const opts = args[args.length - 2]
2514
self.dbg(opts.op, ...args)
2615
return utils.resolve()
2716
}
2817

29-
/**
30-
* @name module:js-data-adapter.unique
31-
*/
3218
export const unique = function (array) {
3319
const seen = {}
3420
const final = []
@@ -42,9 +28,6 @@ export const unique = function (array) {
4228
return final
4329
}
4430

45-
/**
46-
* @name module:js-data-adapter.withoutRelations
47-
*/
4831
export const withoutRelations = function (mapper, props) {
4932
return utils.omit(props, mapper.relationFields || [])
5033
}
@@ -69,12 +52,6 @@ const DEFAULTS = {
6952
raw: false
7053
}
7154

72-
/**
73-
* {@link Adapter} class.
74-
*
75-
* @name module:js-data-adapter.Adapter
76-
* @see Adapter
77-
*/
7855
/**
7956
* Abstract class meant to be extended by adapters.
8057
*
@@ -92,9 +69,6 @@ export function Adapter (opts) {
9269
utils.fillIn(self, opts)
9370
}
9471

95-
/**
96-
* @name module:js-data-adapter.reserved
97-
*/
9872
export const reserved = [
9973
'orderBy',
10074
'sort',
@@ -104,12 +78,6 @@ export const reserved = [
10478
'where'
10579
]
10680

107-
/**
108-
* {@link Response} class.
109-
*
110-
* @name module:js-data-adapter.Response
111-
* @see Response
112-
*/
11381
/**
11482
* Response object used when `raw` is `true`. May contain other fields in
11583
* addition to `data`.

typings.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"version": false,
44
"main": "./dist/js-data-adapter.d.ts",
55
"ambientDependencies": {
6-
"js-data": "npm:js-data",
7-
"es6-shim": "registry:dt/es6-shim#0.31.2+20160317120654"
6+
"es6-shim": "registry:dt/es6-shim"
87
}
98
}

0 commit comments

Comments
 (0)
0