Merge pull request #454 from janhq/chore/data-plugin-rebuild-darwin-arm64
data-plugin force leveldown back to 5.6.0 and rebuild for darwin arm64
This commit is contained in:
commit
7e041a64ad
@ -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": "npx npm-force-resolutions && rimraf *.tgz --glob && npm run build",
|
"postinstall": "npm install leveldown@5.6.0 --build-from-source --arch=arm64 && 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": {
|
||||||
@ -41,13 +41,9 @@
|
|||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@janhq/core": "^0.1.7",
|
"@janhq/core": "^0.1.7",
|
||||||
"leveldown": "^6.1.1",
|
|
||||||
"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