-
Notifications
You must be signed in to change notification settings - Fork 35
feat: emit schedule
property into manifest
#768
Conversation
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.
LGTM. I thought it'd be a good idea to formally define the format of the manifest file, especially as other systems will start to consume it, so I've created #770.
schedule
property into manifestschedule
property into manifest
@netlify-team-account-1 let's hold off on merging this until #760 is released (which is waiting for #769). |
Co-authored-by: Eduardo Bouças <mail@eduardoboucas.com>
⏱ Benchmark resultsComparing with 3c982bd largeDepsEsbuild: 9.3s⬆️ 16.69% increase vs. 3c982bd
Legend
largeDepsZisi: 1m 18.4s⬆️ 18.92% increase vs. 3c982bd
Legend
|
tests/main.js
Outdated
@@ -2147,7 +2147,7 @@ if (platform !== 'win32') { | |||
}) | |||
} | |||
|
|||
test.only('Creates a manifest file with the list of created functions if the `manifest` property is supplied', async (t) => { |
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.
@eduardoboucas should we have some lint rule against leaving those in? 😅
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.
Yes, definitely!
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.
✨
…-it#768) * chore: add for schedule property * feat: output `schedule` property into functions manifest * Update src/manifest.ts Co-authored-by: Eduardo Bouças <mail@eduardoboucas.com> * Update main.js * chore: integrate into existing manifest test * chore: remove .only Co-authored-by: Netlify Team Account 1 <netlify-team-account-1@users.noreply.github.com> Co-authored-by: Eduardo Bouças <mail@eduardoboucas.com>
- Summary
Adds a new config field called
schedule
, which is emitted into the functions manifest.TODO: mention in documentation.
- Test plan
added unit test.
- A picture of a cute animal (not mandatory but encouraged)