Add the setup command#1154
Conversation
|
@thedavidprice So! moving here :) About testing I'm using the following command: which persistently pops me a : Whichever command I call. I tried the straightforward Bummer. |
| * Write i18n.js in web/src | ||
| */ | ||
| return writeFile( | ||
| getPaths().web.src, |
There was a problem hiding this comment.
This path seems incorrect? Should it not be something like path.join(paths.web.src, i18n.js)
peterp
left a comment
There was a problem hiding this comment.
This looks good to me - we're going to merge a fix for autoprefixer/ tailwind soon that will introduce a merge config, but this can go in v0.20.0
|
@noire-munich Thanks for this - In the future I would would love to figure out a way to make it easy to run setup commands over http (which was mentioned in the original spec), maybe you can give that some thoughts?
This
|
|
@peterp no problem :) I played with the idea actually... |
|
@noire-munich regarding "running setup commands over https" -- looping in @jtoar and @dac09 who have both done some initial POC exploration on this concept. Perhaps one of you could open a new Issue to loop everyone in and swap some notes + create a plan of attack. I don't think this is a high priority feature, however, we're concerned it might require Yargs to be constructed in a specific manner, which we'd like to know sooner than later.
^^ Hmm, I'm not sure if this would be necessary. At the least, likely something to figure out as we go.
^^ +1 to TS if it makes sense in the implementation. |
|
Hi @thedavidprice ! Noted for the two other points :), let's see how it goes with the #1323 team! |
Looping back on thread https://community.redwoodjs.com/t/rw-setup-proposal-complementing-generators-with-setup/1123/5
This adds a new
setupcommand, which will offer developers setup scripts for their projects.The current PR proposes:
generate util)AuthandDeploycommands should migrate there as well.