Skip to content

Commit e2e2b45

Browse files
Refactor preinstall script in execjs-compatible-dummy package.json
1 parent 35ceff0 commit e2e2b45

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

react_on_rails_pro/spec/execjs-compatible-dummy/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@
3939
"webpack-merge": "5"
4040
},
4141
"scripts": {
42-
"preinstall": "cd ../../.. && yarn && yalc publish && cd ../react_on_rails_pro/spec/execjs-compatible-dummy && yalc add --link react-on-rails"
42+
"preinstall": "yarn run link-source && yalc add --link react-on-rails",
43+
"link-source": "cd ../../.. && yarn && yalc publish"
4344
},
4445
"devDependencies": {
4546
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.15",

0 commit comments

Comments
 (0)