resolve parcel watcher prebuilds from actual package

master
Brad Cornes 2021-06-14 15:42:35 +01:00
parent 2deda99fe7
commit c01fed9c9f
7 changed files with 60 additions and 4 deletions

52
package-lock.json generated
View File

@ -7,6 +7,7 @@
"name": "root",
"dependencies": {
"@ctrl/tinycolor": "3.1.4",
"@parcel/watcher": "2.0.0-alpha.10",
"@types/debounce": "1.2.0",
"@types/moo": "0.5.3",
"@types/node": "14.14.34",
@ -4181,6 +4182,23 @@
"@octokit/openapi-types": "^7.2.3"
}
},
"node_modules/@parcel/watcher": {
"version": "2.0.0-alpha.10",
"resolved": "https://registry.npmjs.org/@parcel/watcher/-/watcher-2.0.0-alpha.10.tgz",
"integrity": "sha512-8uA7Tmx/1XvmUdGzksg0+oN7uj24pXFFnKJqZr3L3mgYjdrL7CMs3PRIHv1k3LUz/hNRsb/p3qxztSkWz1IGZA==",
"hasInstallScript": true,
"dependencies": {
"node-addon-api": "^3.0.2",
"node-gyp-build": "^4.2.3"
},
"engines": {
"node": ">= 10.0.0"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/parcel"
}
},
"node_modules/@rollup/plugin-babel": {
"version": "5.3.0",
"resolved": "https://registry.npmjs.org/@rollup/plugin-babel/-/plugin-babel-5.3.0.tgz",
@ -13394,6 +13412,11 @@
"tslib": "^2.0.3"
}
},
"node_modules/node-addon-api": {
"version": "3.2.1",
"resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-3.2.1.tgz",
"integrity": "sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A=="
},
"node_modules/node-emoji": {
"version": "1.10.0",
"resolved": "https://registry.npmjs.org/node-emoji/-/node-emoji-1.10.0.tgz",
@ -13450,6 +13473,16 @@
"node": ">= 6.0.0"
}
},
"node_modules/node-gyp-build": {
"version": "4.2.3",
"resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.2.3.tgz",
"integrity": "sha512-MN6ZpzmfNCRM+3t57PTJHgHyw/h4OWnZ6mR8P5j/uZtqQr46RRuDE/P+g3n0YR/AiYXeWixZZzaip77gdICfRg==",
"bin": {
"node-gyp-build": "bin.js",
"node-gyp-build-optional": "optional.js",
"node-gyp-build-test": "build-test.js"
}
},
"node_modules/node-gyp/node_modules/rimraf": {
"version": "2.7.1",
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz",
@ -22845,6 +22878,15 @@
"@octokit/openapi-types": "^7.2.3"
}
},
"@parcel/watcher": {
"version": "2.0.0-alpha.10",
"resolved": "https://registry.npmjs.org/@parcel/watcher/-/watcher-2.0.0-alpha.10.tgz",
"integrity": "sha512-8uA7Tmx/1XvmUdGzksg0+oN7uj24pXFFnKJqZr3L3mgYjdrL7CMs3PRIHv1k3LUz/hNRsb/p3qxztSkWz1IGZA==",
"requires": {
"node-addon-api": "^3.0.2",
"node-gyp-build": "^4.2.3"
}
},
"@rollup/plugin-babel": {
"version": "5.3.0",
"resolved": "https://registry.npmjs.org/@rollup/plugin-babel/-/plugin-babel-5.3.0.tgz",
@ -30056,6 +30098,11 @@
"tslib": "^2.0.3"
}
},
"node-addon-api": {
"version": "3.2.1",
"resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-3.2.1.tgz",
"integrity": "sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A=="
},
"node-emoji": {
"version": "1.10.0",
"resolved": "https://registry.npmjs.org/node-emoji/-/node-emoji-1.10.0.tgz",
@ -30126,6 +30173,11 @@
}
}
},
"node-gyp-build": {
"version": "4.2.3",
"resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.2.3.tgz",
"integrity": "sha512-MN6ZpzmfNCRM+3t57PTJHgHyw/h4OWnZ6mR8P5j/uZtqQr46RRuDE/P+g3n0YR/AiYXeWixZZzaip77gdICfRg=="
},
"node-int64": {
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz",

View File

@ -15,6 +15,7 @@
],
"devDependencies": {
"@ctrl/tinycolor": "3.1.4",
"@parcel/watcher": "2.0.0-alpha.10",
"@types/debounce": "1.2.0",
"@types/node": "14.14.34",
"@types/vscode": "1.52.0",

View File

@ -13,14 +13,17 @@ const uv = (process.versions.uv || '').split('.')[0]
const prebuilds = {
'darwin-x64': {
'node.napi.glibc.node': () => require('./prebuilds/darwin-x64.node.napi.glibc.node'),
'node.napi.glibc.node': () =>
require('@parcel/watcher/prebuilds/darwin-x64/node.napi.glibc.node'),
},
'linux-x64': {
'node.napi.glibc.node': () => require('./prebuilds/linux-x64.node.napi.glibc.node'),
'node.napi.musl.node': () => require('./prebuilds/linux-x64.node.napi.musl.node'),
'node.napi.glibc.node': () =>
require('@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node'),
'node.napi.musl.node': () => require('@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node'),
},
'win32-x64': {
'node.napi.glibc.node': () => require('./prebuilds/win32-x64.node.napi.glibc.node'),
'node.napi.glibc.node': () =>
require('@parcel/watcher/prebuilds/win32-x64/node.napi.glibc.node'),
},
}