You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature]: Install packages from previous version #1244
Runtime (and the parent app, Author) will have something along these lines.
One of the big differentiators between any existing version manager and Author is that Author runs as a daemon/background service. This provides far more options to make better developer experiences.
More to your point, it will be possible to configure native event handlers (and create custom ones). For example, when a new version of Node is installed, it can trigger a user-configured handler to install/upgrade global npm modules in that version (or not... user choice). We intend to ship native handlers for common things like global module reinstallation.
As you may have seen in the 1.2.x releases, we shipped a subset of our notification service. It loosely illustrates our overarching goal to provide update events when a new version is released. Using this approach, it would be possible to auto-update an LTS release line whenever a new update is released, which in turn could auto-install/update global node modules or do any number of other things.
The bottom line is we're aware of the desire (we have it too), but I've felt strongly that there is a better approach. There are inherent security risks in blindly installing npm updates, compatibility issues, and all kinds of other "gotchas". By breaking the process down, we can mitigate many security concerns, give users greater control, and still provide a familiar experience.
I really appreciate you submitting this, because it validates the direction we're already going. Thank you for taking the time to post this.
I'm going to convert this to a discussion and am happy to continue the conversation there.
Activity
coreybutler commentedon Mar 16, 2025
Runtime (and the parent app, Author) will have something along these lines.
One of the big differentiators between any existing version manager and Author is that Author runs as a daemon/background service. This provides far more options to make better developer experiences.
More to your point, it will be possible to configure native event handlers (and create custom ones). For example, when a new version of Node is installed, it can trigger a user-configured handler to install/upgrade global npm modules in that version (or not... user choice). We intend to ship native handlers for common things like global module reinstallation.
As you may have seen in the 1.2.x releases, we shipped a subset of our notification service. It loosely illustrates our overarching goal to provide update events when a new version is released. Using this approach, it would be possible to auto-update an LTS release line whenever a new update is released, which in turn could auto-install/update global node modules or do any number of other things.
The bottom line is we're aware of the desire (we have it too), but I've felt strongly that there is a better approach. There are inherent security risks in blindly installing npm updates, compatibility issues, and all kinds of other "gotchas". By breaking the process down, we can mitigate many security concerns, give users greater control, and still provide a familiar experience.
I really appreciate you submitting this, because it validates the direction we're already going. Thank you for taking the time to post this.
I'm going to convert this to a discussion and am happy to continue the conversation there.