-
Notifications
You must be signed in to change notification settings - Fork 609
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[rush] Consolidate rush update
and rush update-autoinstaller
#3230
Comments
Another improvement could also be installing the autoinstallers when doing a In our case, we have a The case is very similar to the At the moment we have hacked it using an |
Hmm... The purpose of the auto-installer is generally intended to lazy-install required deps only on an as-needed basis, and reduce install time/overhead. If you required the packages to be consistently updated, you could instead make the project a member of the core repository which would allow the package to be updated when |
Yeah I think that would work well for the In terms of having many people working on the repo, I find that
In our case, we have converted these to be normal projects that get built/installed with thanks! |
Hi again, I'm running into an issue when trying to make the packages be normal packages rather than autoinstallers: I can't use them when running commands from |
adding a comment here with the workaround as some people requested it:
const execSync = require('child_process').execSync
const autoinstallers = ['rush-prettier'] // add more if needed
autoinstallers.forEach(a => {
execSync('pnpm install', { cwd: `${__dirname}/${a}`, stdio: 'inherit' })
})
"eventHooks": {
"postRushInstall": ["node common/autoinstallers/install.js"],
} |
Hi @isc30, if you're still interested, I'd like to get your take on the proposed changes in PR #3789. It's not quite the same thing because the new Is that sufficient for your needs, or do you really need it to happen on every rush install? |
hey @elliot-nelson the PR seems like a step in the good direction. I was thinking on getting autoinstallers updated automatically on |
Hi 😄 , would you be happy if I create a PR that makes
rush update
also update autoinstallers?I've found that many devs get used to
rush update
and forget about the autoinstallers, so this could abstract them from knowing that autoinstallers get updated in a different way (simpler api, beginner friendly).Please let me know what you think!
The text was updated successfully, but these errors were encountered: