Skip to content

Commit a1f4d9a

Browse files
authoredJun 25, 2024··
feat: Frameworks API cleanup (#5737)
* refactor: rename `deploy_config` to `frameworks_api` * chore: rename `deploy_config` tests to `framework_api` * feat: clean up Frameworks API directory before build * refactor: replace `forEach` with `map` * chore: remove `.only` * chore: update tests * chore: update snapshots * chore: fix tests * fix: give precedence to functions from Frameworks API * fix: give precedence to edge functions from Frameworks API * chore: update tests
1 parent 1b70920 commit a1f4d9a

File tree

76 files changed

+376
-129
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+376
-129
lines changed
 

‎.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ packages/*/lib/
2929
!**/fixtures/**/functions_*/.netlify
3030
!**/fixtures/**/functions_*/.netlify/edge-functions/manifest.json
3131
!**/fixtures/**/monorepo/**/.netlify
32-
!**/tests/deploy_config/fixtures/**/.netlify
3332
**/plugins/deno-cli
3433

3534
lib

‎packages/build/src/plugins_core/edge_functions/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ const coreStep = async function ({
5757

5858
if (featureFlags.netlify_build_frameworks_api) {
5959
if (await pathExists(frameworksAPISrcPath)) {
60-
generatedFunctionPaths.unshift(frameworksAPISrcPath)
60+
generatedFunctionPaths.push(frameworksAPISrcPath)
6161
}
6262

6363
const frameworkImportMap = resolve(

0 commit comments

Comments
 (0)
Please sign in to comment.