Skip to content

Commit 2f31aa8

Browse files
committed
allow renovate to install without building
before this commit, renovate stumbled upon "dist/cjs/cli/index.js" not existing when trying to install "quirrel: file:../" inside of development-ui, since "dist/cjs/cli/index.js" is only created by running "npm run build". There are two ways of fixing this: 1. make renovate run "npm run build" 2. introduce a proxy file that renovate can install Since #1 isn't yet possible with renovate, this commit implements #2.
1 parent d3a8b43 commit 2f31aa8

File tree

3 files changed

+13
-12
lines changed

3 files changed

+13
-12
lines changed

cli.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
require("./dist/cjs/src/cli/index");

development-ui/package-lock.json

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"node": "12 || 14 || 15 || 16"
2323
},
2424
"bin": {
25-
"quirrel": "dist/cjs/src/cli/index.js"
25+
"quirrel": "cli.js"
2626
},
2727
"scripts": {
2828
"start": "node dist/cjs/src/cli/index.js",

0 commit comments

Comments
 (0)