Merge pull request #453 from janhq/fix/data-plugin
data-plugin force leveldown to 6.1.1
This commit is contained in:
commit
696d516f63
2
.github/workflows/jan-plugins.yml
vendored
2
.github/workflows/jan-plugins.yml
vendored
@ -88,7 +88,7 @@ jobs:
|
|||||||
do
|
do
|
||||||
echo $dir
|
echo $dir
|
||||||
cd $dir
|
cd $dir
|
||||||
npm install && npm run build && ../../.github/scripts/auto-sign.sh
|
npm install && npm run postinstall && ../../.github/scripts/auto-sign.sh
|
||||||
if [[ $GITHUB_EVENT_NAME == 'push' && $GITHUB_EVENT_PULL_REQUEST_HEAD_REPO_FULL_NAME != $GITHUB_REPOSITORY ]]; then
|
if [[ $GITHUB_EVENT_NAME == 'push' && $GITHUB_EVENT_PULL_REQUEST_HEAD_REPO_FULL_NAME != $GITHUB_REPOSITORY ]]; then
|
||||||
npm publish --access public
|
npm publish --access public
|
||||||
fi
|
fi
|
||||||
|
|||||||
@ -5,4 +5,4 @@
|
|||||||
- index.ts: Main entry point for the plugin.
|
- index.ts: Main entry point for the plugin.
|
||||||
- module.ts: Defines the plugin module which would be executed by the main node process.
|
- module.ts: Defines the plugin module which would be executed by the main node process.
|
||||||
- package.json: Defines the plugin metadata.
|
- package.json: Defines the plugin metadata.
|
||||||
- tsconfig.json: Defines the typescript configuration.
|
- tsconfig.json: Defines the typescript configuration.
|
||||||
@ -12,7 +12,7 @@
|
|||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc -b ./config/tsconfig.esm.json && tsc -b ./config/tsconfig.cjs.json && webpack --config webpack.config.js",
|
"build": "tsc -b ./config/tsconfig.esm.json && tsc -b ./config/tsconfig.cjs.json && webpack --config webpack.config.js",
|
||||||
"postinstall": "rimraf *.tgz --glob && npm run build",
|
"postinstall": "npx npm-force-resolutions && rimraf *.tgz --glob && npm run build",
|
||||||
"build:publish": "npm pack && cpx *.tgz ../../electron/core/pre-install"
|
"build:publish": "npm pack && cpx *.tgz ../../electron/core/pre-install"
|
||||||
},
|
},
|
||||||
"exports": {
|
"exports": {
|
||||||
@ -45,6 +45,9 @@
|
|||||||
"pouchdb-find": "^8.0.1",
|
"pouchdb-find": "^8.0.1",
|
||||||
"pouchdb-node": "^8.0.1"
|
"pouchdb-node": "^8.0.1"
|
||||||
},
|
},
|
||||||
|
"resolutions": {
|
||||||
|
"leveldown": "6.1.1"
|
||||||
|
},
|
||||||
"bundleDependencies": [
|
"bundleDependencies": [
|
||||||
"pouchdb-node",
|
"pouchdb-node",
|
||||||
"pouchdb-find"
|
"pouchdb-find"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user