File tree 4 files changed +5
-9
lines changed
4 files changed +5
-9
lines changed Original file line number Diff line number Diff line change 1
1
loglevel = warn
2
2
progress = false
3
3
package-lock = false
4
+ save-exact = true
Original file line number Diff line number Diff line change @@ -64,6 +64,7 @@ install:
64
64
# clean cache to prevent install permission issues
65
65
- npm cache clean --force
66
66
# install root modules only, and retry automatically if install fails
67
+ - npm run preinstall
67
68
- npm install --ignore-scripts || npm install --ignore-scripts || npm install --ignore-scripts
68
69
- .\node_modules\.bin\print-arch
69
70
# because we skipped scripts, we need to do
Original file line number Diff line number Diff line change 31
31
"dev-debug" : " node ./scripts/debug.js dev" ,
32
32
"docker" : " ./scripts/run-docker-local.sh" ,
33
33
"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" ,
35
35
"postinstall" : " echo 'root postinstall' && npm run link && npm run all install && npm run build" ,
36
36
"install-filtered" : " npm run all install -- --package $(node ./scripts/check-deps.js --list)" ,
37
37
"jscodeshift" : " jscodeshift -t ./node_modules/js-codemod/transforms/arrow-function-arguments.js" ,
151
151
"proxyquire" : " 2.1.0" ,
152
152
"ramda" : " 0.24.1" ,
153
153
"shelljs" : " 0.8.3" ,
154
+ "shx" : " 0.3.2" ,
154
155
"sinon" : " 7.3.2" ,
155
156
"snap-shot-it" : " 7.8.0" ,
156
157
"stop-only" : " 3.0.1" ,
Original file line number Diff line number Diff line change @@ -32,18 +32,11 @@ function makeLinks () {
32
32
const basename = path . basename ( dirname )
33
33
34
34
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)
42
35
const relativePathToDest = path . relative ( path . dirname ( destinationLink ) , dirname )
43
36
44
37
console . log ( destinationLink , '->' , relativePathToDest )
45
38
46
- return fs . symlink ( relativePathToDest , destinationLink )
39
+ return fs . symlink ( relativePathToDest , destinationLink , 'junction' )
47
40
} )
48
41
} )
49
42
}
You can’t perform that action at this time.
0 commit comments