Skip to content

Commit 86b88d1

Browse files
authored
chore: bump to v2.0.0 (#66)
1 parent 7416ff7 commit 86b88d1

File tree

4 files changed

+93
-97
lines changed

4 files changed

+93
-97
lines changed

.prettierrc.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
module.exports = {
2+
endOfLine: 'lf',
3+
semi: false,
4+
singleQuote: true,
5+
tabWidth: 2,
6+
trailingComma: 'es5',
7+
arrowParens: 'always',
8+
printWidth: 80
9+
}

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) 2016 Christoph Werner
3+
Copyright (c) 2016-2020 Christoph Werner
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

package-lock.json

Lines changed: 4 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 79 additions & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -1,89 +1,81 @@
11
{
2-
"name": "mongoose-patch-history",
3-
"version": "1.4.0",
4-
"description": "Mongoose plugin that saves a history of JSON patch operations for all documents belonging to a schema in an associated 'patches' collection",
5-
"main": "lib/index.js",
6-
"author": "Christoph Werner <[email protected]>",
7-
"contributors": [
8-
{
9-
"name": "Robin Weinreich",
10-
"email": "[email protected]"
11-
},
12-
{
13-
"name": "Brett Ausmeier",
14-
"email": "[email protected]"
15-
},
16-
{
17-
"name": "Ava Johnson"
18-
}
19-
],
20-
"license": "MIT",
21-
"dependencies": {
22-
"fast-json-patch": "^2.2.1",
23-
"humps": "^2.0.1",
24-
"lodash": "^4.17.20",
25-
"mongoose": "^5.6.2"
26-
},
27-
"devDependencies": {
28-
"babel-cli": "^6.26.0",
29-
"babel-preset-es2015": "^6.22.0",
30-
"bluebird": "^3.5.1",
31-
"coveralls": "^3.0.0",
32-
"istanbul": "^0.4.5",
33-
"mocha": "^8.1.1",
34-
"pre-commit": "^1.2.2",
35-
"prettier": "^2.0.0"
36-
},
37-
"scripts": {
38-
"addCompile": "git add lib/",
39-
"coverage": "istanbul cover _mocha -- --require babel-register",
40-
"compile": "rm -rf lib/ && babel -d lib/ src/",
41-
"prepublish": "npm run compile",
42-
"prettier": "prettier --no-semi --single-quote --trailing-comma es5 --write src/**/*.js",
43-
"test": "mocha --require babel-register"
44-
},
45-
"pre-commit": {
46-
"run": "prettier, test, compile, addCompile",
47-
"silent": true
48-
},
49-
"repository": {
50-
"type": "git",
51-
"url": "git://github.com/gonsfx/mongoose-patch-history"
52-
},
53-
"bugs": "https://github.com/gonsfx/mongoose-patch-history/issues",
54-
"keywords": [
55-
"mongo",
56-
"Mongo",
57-
"MONGO",
58-
"mongodb",
59-
"Mongodb",
60-
"MONGODB",
61-
"mongoose",
62-
"Mongoose",
63-
"MONGOOSE",
64-
"plugin",
65-
"Plugin",
66-
"PLUGIN",
67-
"history",
68-
"History",
69-
"HISTORY",
70-
"versioning",
71-
"Versioning",
72-
"VERSIONING",
73-
"rollback",
74-
"Rollback",
75-
"ROLLBACK",
76-
"json",
77-
"Json",
78-
"JSON",
79-
"jsonpatch",
80-
"JsonPatch",
81-
"JSONPATCH",
82-
"json-patch",
83-
"Json-Patch",
84-
"JSON-PATCH",
85-
"json patch",
86-
"Json Patch",
87-
"JSON PATCH"
88-
]
2+
"name": "mongoose-patch-history",
3+
"version": "2.0.0",
4+
"description": "Mongoose plugin that saves a history of JSON patch operations for all documents belonging to a schema in an associated 'patches' collection",
5+
"main": "lib/index.js",
6+
"author": "Christoph Werner <[email protected]>",
7+
"contributors": [
8+
"Robin Weinreich <[email protected]>",
9+
"Brett Ausmeier <[email protected]>",
10+
"Ava Johnson <[email protected]>"
11+
],
12+
"license": "MIT",
13+
"dependencies": {
14+
"fast-json-patch": "^2.2.1",
15+
"humps": "^2.0.1",
16+
"lodash": "^4.17.20",
17+
"mongoose": "^5.6.2"
18+
},
19+
"devDependencies": {
20+
"babel-cli": "^6.26.0",
21+
"babel-preset-es2015": "^6.22.0",
22+
"bluebird": "^3.5.1",
23+
"coveralls": "^3.0.0",
24+
"istanbul": "^0.4.5",
25+
"mocha": "^8.1.1",
26+
"pre-commit": "^1.2.2",
27+
"prettier": "^2.1.1"
28+
},
29+
"scripts": {
30+
"addCompile": "git add lib/",
31+
"coverage": "istanbul cover _mocha -- --require babel-register",
32+
"compile": "rm -rf lib/ && babel -d lib/ src/",
33+
"prepublish": "npm run compile",
34+
"prettier": "prettier --no-semi --single-quote --trailing-comma es5 --write src/**/*.js",
35+
"test": "mocha --require babel-register"
36+
},
37+
"pre-commit": {
38+
"run": "prettier, test, compile, addCompile",
39+
"silent": true
40+
},
41+
"repository": {
42+
"type": "git",
43+
"url": "git://github.com/gonsfx/mongoose-patch-history"
44+
},
45+
"bugs": "https://github.com/gonsfx/mongoose-patch-history/issues",
46+
"keywords": [
47+
"mongo",
48+
"Mongo",
49+
"MONGO",
50+
"mongodb",
51+
"Mongodb",
52+
"MONGODB",
53+
"mongoose",
54+
"Mongoose",
55+
"MONGOOSE",
56+
"plugin",
57+
"Plugin",
58+
"PLUGIN",
59+
"history",
60+
"History",
61+
"HISTORY",
62+
"versioning",
63+
"Versioning",
64+
"VERSIONING",
65+
"rollback",
66+
"Rollback",
67+
"ROLLBACK",
68+
"json",
69+
"Json",
70+
"JSON",
71+
"jsonpatch",
72+
"JsonPatch",
73+
"JSONPATCH",
74+
"json-patch",
75+
"Json-Patch",
76+
"JSON-PATCH",
77+
"json patch",
78+
"Json Patch",
79+
"JSON PATCH"
80+
]
8981
}

0 commit comments

Comments
 (0)