forked from deephaven/web-client-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extract PouchDB storage into @deephaven/pouch-storage package (deepha…
- Loading branch information
Showing
14 changed files
with
196 additions
and
38 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -43,6 +43,9 @@ | |
{ | ||
"path": "../log" | ||
}, | ||
{ | ||
"path": "../pouch-storage" | ||
}, | ||
{ | ||
"path": "../react-hooks" | ||
}, | ||
|
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,31 @@ | ||
# See https://help.github.com/ignore-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
/node_modules | ||
|
||
# testing | ||
/coverage | ||
|
||
# production | ||
/build | ||
/dist | ||
|
||
# misc | ||
.vscode | ||
.DS_Store | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
.project | ||
.settings/ | ||
.eslintcache | ||
.stylelintcache | ||
|
||
/public/vs | ||
|
||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
src/**/*.css |
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,9 @@ | ||
# @deephaven/storage | ||
|
||
A library implementing storage classes based on PouchDB for storing application data from Deephaven. | ||
|
||
## Install | ||
|
||
```bash | ||
npm install --save @deephaven/pouch-storage | ||
``` |
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,7 @@ | ||
const baseConfig = require('../../jest.config.base.cjs'); | ||
const packageJson = require('./package'); | ||
|
||
module.exports = { | ||
...baseConfig, | ||
displayName: packageJson.name, | ||
}; |
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,51 @@ | ||
{ | ||
"name": "@deephaven/pouch-storage", | ||
"version": "0.20.0", | ||
"description": "Deephaven Storage based on PouchDB", | ||
"author": "Deephaven Data Labs LLC", | ||
"license": "Apache-2.0", | ||
"type": "module", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/deephaven/web-client-ui.git", | ||
"directory": "packages/pouch-storage" | ||
}, | ||
"source": "src/index.js", | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"engines": { | ||
"node": ">=16" | ||
}, | ||
"scripts": { | ||
"build": "cross-env NODE_ENV=production run-p build:*", | ||
"build-dev": "cross-env NODE_ENV=development run-p build:*", | ||
"babel": "babel ./src --out-dir ./dist --extensions \".ts,.tsx,.js,.jsx\" --source-maps --root-mode upward", | ||
"build:babel": "npm run babel", | ||
"watch": "run-p watch:*", | ||
"watch:babel": "npm run babel -- -w --skip-initial-build", | ||
"prestart": "npm run build-dev", | ||
"start": "cross-env NODE_ENV=development npm run watch" | ||
}, | ||
"dependencies": { | ||
"@deephaven/console": "file:../console", | ||
"@deephaven/filters": "file:../filters", | ||
"@deephaven/log": "file:../log", | ||
"@deephaven/storage": "file:../storage", | ||
"@deephaven/utils": "file:../utils", | ||
"lodash.throttle": "^4.1.1", | ||
"pouchdb-browser": "^7.3.0", | ||
"pouchdb-find": "^7.3.0" | ||
}, | ||
"peerDependencies": { | ||
"react": "^17.0.0" | ||
}, | ||
"devDependencies": { | ||
"@deephaven/tsconfig": "file:../tsconfig" | ||
}, | ||
"files": [ | ||
"dist" | ||
], | ||
"publishConfig": { | ||
"access": "public" | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 @@ | ||
export * from './PouchCommandHistoryStorage'; |
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,26 @@ | ||
{ | ||
"extends": "../../tsconfig.json", | ||
"compilerOptions": { | ||
"rootDir": "src/", | ||
"outDir": "dist/" | ||
}, | ||
"include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.js", "src/**/*.jsx"], | ||
"exclude": ["node_modules", "src/**/*.test.*", "src/**/__mocks__/*"], | ||
"references": [ | ||
{ | ||
"path": "../console" | ||
}, | ||
{ | ||
"path": "../filters" | ||
}, | ||
{ | ||
"path": "../log" | ||
}, | ||
{ | ||
"path": "../storage" | ||
}, | ||
{ | ||
"path": "../utils" | ||
} | ||
] | ||
} |
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