File tree Expand file tree Collapse file tree 4 files changed +5
-9
lines changed
Expand file tree Collapse file tree 4 files changed +5
-9
lines changed Original file line number Diff line number Diff line change 11loglevel = warn
22progress = false
33package-lock = false
4+ save-exact = true
Original file line number Diff line number Diff line change @@ -64,6 +64,7 @@ install:
6464 # clean cache to prevent install permission issues
6565 - npm cache clean --force
6666 # install root modules only, and retry automatically if install fails
67+ - npm run preinstall
6768 - npm install --ignore-scripts || npm install --ignore-scripts || npm install --ignore-scripts
6869 - .\node_modules\.bin\print-arch
6970 # because we skipped scripts, we need to do
Original file line number Diff line number Diff line change 3131 "dev-debug" : " node ./scripts/debug.js dev" ,
3232 "docker" : " ./scripts/run-docker-local.sh" ,
3333 "effective:circle:config" : " circleci config process circle.yml | sed /^#/d" ,
34- "preinstall" : " rm -rf node_modules/@packages || true " ,
34+ "preinstall" : " npx shx rm -rf node_modules/@packages" ,
3535 "postinstall" : " echo 'root postinstall' && npm run link && npm run all install && npm run build" ,
3636 "install-filtered" : " npm run all install -- --package $(node ./scripts/check-deps.js --list)" ,
3737 "jscodeshift" : " jscodeshift -t ./node_modules/js-codemod/transforms/arrow-function-arguments.js" ,
151151 "proxyquire" : " 2.1.0" ,
152152 "ramda" : " 0.24.1" ,
153153 "shelljs" : " 0.8.3" ,
154+ "shx" : " 0.3.2" ,
154155 "sinon" : " 7.3.2" ,
155156 "snap-shot-it" : " 7.8.0" ,
156157 "stop-only" : " 3.0.1" ,
Original file line number Diff line number Diff line change @@ -32,18 +32,11 @@ function makeLinks () {
3232 const basename = path . basename ( dirname )
3333
3434 const destinationLink = path . join ( pathToPackages , basename )
35- // const registerPath = path.join(destinationFolder, 'register.js')
36- // const fullMain = path.resolve(dirname, json.main)
37-
38- // debug('full name', fullMain)
39- // const relativePathToMain = path.relative(destinationFolder, fullMain)
40-
41- // debug('relative path to main', relativePathToMain)
4235 const relativePathToDest = path . relative ( path . dirname ( destinationLink ) , dirname )
4336
4437 console . log ( destinationLink , '->' , relativePathToDest )
4538
46- return fs . symlink ( relativePathToDest , destinationLink )
39+ return fs . symlink ( relativePathToDest , destinationLink , 'junction' )
4740 } )
4841 } )
4942}
You can’t perform that action at this time.
0 commit comments