-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Big rewrite to prepare for future changes. This now uses Typescript and Webpack to build everything. Some breaking changes to eliminate extend usage. Supersedes #116 and thus should also solve #86
- Loading branch information
Showing
22 changed files
with
11,195 additions
and
2,533 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
|
||
module.exports = { | ||
root: true, | ||
parserOptions: { | ||
// ecmaVersion: 2017, | ||
sourceType: 'module', | ||
// project: "./tsconfig.json", | ||
tsconfigRootDir: __dirname, | ||
project: ['./test.tsconfig.json'], | ||
}, | ||
parser: '@typescript-eslint/parser', | ||
plugins: [ | ||
'@typescript-eslint', | ||
], | ||
extends: [ | ||
// 'eslint:recommended', | ||
// 'plugin:@typescript-eslint/eslint-recommended', | ||
// 'plugin:@typescript-eslint/recommended', | ||
// "plugin:@typescript-eslint/recommended-requiring-type-checking", | ||
], | ||
env: { | ||
browser: true, | ||
node: true, | ||
es6: true, | ||
}, | ||
// plugins: [ | ||
// "promise" | ||
// ], | ||
rules: { | ||
"@typescript-eslint/no-floating-promises": "error", | ||
// "await-promise": 2, | ||
// "no-debugger": 0, | ||
// "no-console": 0, | ||
// "no-mixed-spaces-and-tabs": 0, | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,6 @@ coverage | |
test/test-bundle.js | ||
npm-debug.log | ||
dist | ||
/.nyc_output | ||
/lib | ||
/dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
{ | ||
"name": "relational-pouch", | ||
"version": "3.2.0", | ||
"version": "4.0.0", | ||
"description": "PouchDB, relational-style", | ||
"homepage": "https://github.com/pouchdb-community/relational-pouch", | ||
"authors": [ | ||
"Nolan Lawson <[email protected]>" | ||
], | ||
"main": "dist/pouchdb.relational-pouch.js", | ||
"main": "dist/pouchdb.relational-pouch.browser.js", | ||
"moduleType": [ | ||
"node" | ||
], | ||
|
@@ -23,6 +23,7 @@ | |
"bower_components", | ||
"test", | ||
"tests", | ||
"vendor" | ||
"vendor", | ||
"lib" | ||
] | ||
} |
Oops, something went wrong.