Skip to content
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

fix(create-sst): ensure SST is version locked to 2 in templates #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Euclidean-Dev
Copy link

Issue:

When running npx create-sst@two, the generated project templates include dependencies that resolve to SST v3 packages instead of the intended v2 packages. This causes compatibility issues for users who want to use SST v2.

Solution:

This PR updates the create-sst templates to explicitly specify SST v2 dependencies by pinning the versions to ^2.44.0. This ensures that npx create-sst@two will install the correct SST v2 packages.

Notes:

  • This change is critical for some users who are still developing with SST v2 and are not ready to migrate to v3.

Testing:

  • Tested locally by generating a new project with the modified create-sst and confirmed that the dependencies resolve to SST v2 packages.

Copy link

netlify bot commented Oct 30, 2024

Deploy Preview for sst-docs canceled.

Name Link
🔨 Latest commit 128adda
🔍 Latest deploy log https://app.netlify.com/sites/sst-docs/deploys/67228f49ca0ae80008f9fd0a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants