-
-
Notifications
You must be signed in to change notification settings - Fork 50
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
chore(package.json): Serverless v4 support. #271
base: master
Are you sure you want to change the base?
Conversation
serverless: ['2', '3', '4'] | ||
node: [ '18', '20', '22' ] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO: update CHANGELOG with changes to serverless
and Node.js support.
Rationale:
serverless@1
doesn't seem to supportpackage.patterns:
, causing a circular reference in integration tests (see below)serverless@4
requires at least Node.js v18 and it would be simplest to just support active LTS versions
"devDependencies": { | ||
"serverless-dotenv-plugin": "^6.0.0" | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pre-existing issue: uses a specific version instead of the version in the PR. This change along with the npm link ../../
addition should resolve this.
@@ -2,6 +2,10 @@ | |||
|
|||
service: my-express-application | |||
|
|||
package: | |||
patterns: | |||
- '!node_modules/serverless-dotenv-plugin/**' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Avoid circular references due to symlinks.
Resolves #264.
Blocked on serverless/serverless#12969.
Description
Checklist
Exploratory Test Notes