Skip to content

Commit 04cfb47

Browse files
committed
wip: make literally everything async bc loadConfig
1 parent 8134754 commit 04cfb47

Some content is hidden

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

47 files changed

+705
-395
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ module.exports = {
5454

5555
await makeDir(PUBLISH_DIR)
5656

57-
nextOnNetlify({ functionsDir: FUNCTIONS_SRC, publishDir: PUBLISH_DIR })
57+
await nextOnNetlify({ functionsDir: FUNCTIONS_SRC, publishDir: PUBLISH_DIR })
5858
},
5959
}
6060

package-lock.json

+211-26
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@
1111
"scripts": {
1212
"format": "prettier --write .",
1313
"build": "next build test/sample",
14-
"test": "npm run build && jest && jest --config src/tests/jest.config.js",
14+
"test:plugin": "npm run build && jest",
15+
"test:src": "jest --config src/tests/jest.config.js",
16+
"test": "npm run test:plugin && npm run test:src",
1517
"cypress:local": "env CYPRESS_DEPLOY=local cypress run --project ./src --config-file false --config video=false",
1618
"cypress:netlify": "env CYPRESS_DEPLOY=netlify cypress run --project ./src --config-file false --config video=false",
1719
"cypress:local:testonly": "env CYPRESS_SKIP_DEPLOY=true npm run cypress:local",

0 commit comments

Comments
 (0)