@cypress/registry-js
Advanced tools
Comparing version 1.3.2-patch22 to 1.3.2-patch23
{ | ||
"name": "@cypress/registry-js", | ||
"version": "1.3.2-patch22", | ||
"version": "1.3.2-patch23", | ||
"description": "A simple and opinionated library for working with the Windows registry", | ||
@@ -10,3 +10,3 @@ "main": "dist/lib/index.js", | ||
"prebuild-install": "node script/prebuild-install.js", | ||
"gyp-rebuild": "node-gyp rebuild && move build build-node || true", | ||
"gyp-rebuild": "node script/rebuild.js || true", | ||
"build": "tsc", | ||
@@ -13,0 +13,0 @@ "pretest": "yarn build", |
@@ -14,8 +14,8 @@ const path = require('path') | ||
const cmd = path.join( | ||
__dirname, | ||
'../node_modules/.bin/prebuild-install' + (process.platform === 'win32' ? '.cmd' : '') | ||
__dirname.split('node_modules')[0], | ||
'node_modules/.bin/prebuild-install' + (process.platform === 'win32' ? '.cmd' : '') | ||
) + ' ' + cmdline | ||
log('Running ' + cmd) | ||
return execSync( | ||
cmdline, | ||
cmd, | ||
{ stdio: 'inherit' } | ||
@@ -22,0 +22,0 @@ ) |
@@ -9,2 +9,4 @@ const path = require('path') | ||
process.chdir(path.join(__dirname, '..')) | ||
function prebuild(/** args */) { | ||
@@ -14,4 +16,4 @@ tryUnlink('prebuilds') | ||
path.join( | ||
__dirname, | ||
'../node_modules/.bin/prebuild' + | ||
__dirname.split('node_modules')[0], | ||
'node_modules/.bin/prebuild' + | ||
(process.platform === 'win32' ? '.cmd' : '') | ||
@@ -47,2 +49,2 @@ ), | ||
log('Building for the installed nodejs version') | ||
prebuild('--strip') | ||
prebuild('--strip') |
208544
310