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

Add support for Serverless v4 #1959

Merged
merged 1 commit into from
Oct 22, 2024
Merged

Add support for Serverless v4 #1959

merged 1 commit into from
Oct 22, 2024

Conversation

j0k3r
Copy link
Member

@j0k3r j0k3r commented Oct 22, 2024

As of now, we can't jump straight to v4 in dev deps because some tests still require the v3 version (because we are mocking some stuff and the v4 only ship a binary).

The short solution is just to allow 4 in peer deps. But we prefer to have a running test that ensure a package is properly generated with deps inside.

As we can't use the internal tooling @serverless/test anymore in v4 (the project might be dead and no tests are running on the v4 official repo 😳, anyway) we are using the binary directly to package the example project. We were forced to use an access key from serverless dashboard and some aws valid credentials. But it now works ✅

Fix #1923

@j0k3r j0k3r requested a review from vicary October 22, 2024 15:26
Copy link
Member

@vicary vicary left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Totally counting on you for this one, thanks for making it happen.

As of now, we can't jump straight to v4 in dev deps because some tests still require the v3 version (because we are mocking some stuff).
@j0k3r j0k3r force-pushed the feat/serverless-v4 branch from dc95103 to a3bc239 Compare October 22, 2024 20:17
@j0k3r j0k3r merged commit 778d011 into master Oct 22, 2024
14 checks passed
@j0k3r j0k3r deleted the feat/serverless-v4 branch October 22, 2024 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Serverless 4 Support
2 participants