Skip to content

Commit

Permalink
allow renovate to install without building
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Skn0tt committed Oct 7, 2021
1 parent d3a8b43 commit 2f31aa8
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 12 deletions.
1 change: 1 addition & 0 deletions cli.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
require("./dist/cjs/src/cli/index");
22 changes: 11 additions & 11 deletions development-ui/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"node": "12 || 14 || 15 || 16"
},
"bin": {
"quirrel": "dist/cjs/src/cli/index.js"
"quirrel": "cli.js"
},
"scripts": {
"start": "node dist/cjs/src/cli/index.js",
Expand Down

0 comments on commit 2f31aa8

Please sign in to comment.