Skip to content

Commit 57ca184

Browse files
authored
Merge branch 'main' into mk/matcher-magic
2 parents a7f6c85 + 1763ba3 commit 57ca184

File tree

19 files changed

+638
-485
lines changed

19 files changed

+638
-485
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"packages/runtime": "4.27.1",
2+
"packages/runtime": "4.27.2",
33
"packages/next": "1.3.1"
44
}

cypress/integration/nx/general.spec.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,11 @@ describe('Default site', () => {
1616
expect(res.headers['content-type']).to.match(/javascript/)
1717
})
1818
})
19+
20+
it('serves API routes', () => {
21+
cy.request('/api/hello').then((res) => {
22+
expect(res.status).to.eq(200)
23+
expect(res.body).to.deep.eq({ body: 'Hello world' })
24+
})
25+
})
1926
})

demos/nx-next-monorepo-demo/libs/.gitkeep

Whitespace-only changes.

demos/nx-next-monorepo-demo/netlify.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ ignore = "if [ $CACHED_COMMIT_REF == $COMMIT_REF ]; then (exit 1); else git diff
77
command = "npm run start"
88
targetPort = 4200
99

10+
[[plugins]]
11+
package = "../plugin-wrapper"
12+
1013
[[plugins]]
1114
package = "@netlify/plugin-nextjs"
1215

1316
# This is a fake plugin, that makes it run npm install
1417
[[plugins]]
1518
package = "@netlify/plugin-local-install-core"
16-
17-
[[plugins]]
18-
package = "../plugin-wrapper"

0 commit comments

Comments
 (0)