-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: split user and internal ISC function configs
- add a new test for the order of internal functions - ensures that the cache property is only added to the manifest if not undefined BREAKING CHANGE: `bundle()` has a new mandatory param `internalSourceDirectory` for the internal function directory
- Loading branch information
Showing
10 changed files
with
166 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html | ||
|
||
exports[`Deploy config takes precedence over user config 1`] = ` | ||
[ | ||
{ | ||
"function": "user-a", | ||
"path": "/path1", | ||
}, | ||
{ | ||
"function": "user-b", | ||
"path": "/path2", | ||
}, | ||
{ | ||
"function": "framework-a", | ||
"path": "/path1", | ||
}, | ||
{ | ||
"function": "framework-b", | ||
"path": "/path2", | ||
}, | ||
{ | ||
"function": "framework-c", | ||
"path": "/path1", | ||
}, | ||
{ | ||
"function": "framework-c", | ||
"path": "/path2", | ||
}, | ||
{ | ||
"function": "user-c", | ||
"path": "/path1", | ||
}, | ||
{ | ||
"function": "user-c", | ||
"path": "/path2", | ||
}, | ||
] | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.