From 4271c095fb605a249177f64e284a24d007eaeee9 Mon Sep 17 00:00:00 2001 From: Tim Neutkens Date: Wed, 3 Apr 2024 16:02:52 +0200 Subject: [PATCH] Fix last examples for Turbopack (#64020) ## What AMP is not supported with Turbopack. The knex example uses `@next/env` so it needs to be installed. Closes NEXT-2989 --- examples/with-knex/package.json | 1 + test/turbopack-dev-examples-manifest.json | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/with-knex/package.json b/examples/with-knex/package.json index fb7c2daa19..0a950b5ba2 100644 --- a/examples/with-knex/package.json +++ b/examples/with-knex/package.json @@ -15,6 +15,7 @@ "dependencies": { "knex": "0.95.15", "next": "latest", + "@next/env": "latest", "pg": "8.4.1", "react": "^18.2.0", "react-dom": "^18.2.0" diff --git a/test/turbopack-dev-examples-manifest.json b/test/turbopack-dev-examples-manifest.json index b25f2653b0..5b7a9344cc 100644 --- a/test/turbopack-dev-examples-manifest.json +++ b/test/turbopack-dev-examples-manifest.json @@ -1,6 +1,5 @@ { "active-class-name": true, - "amp": false, "analyze-bundles": true, "api-routes": true, "api-routes-apollo-server": true, @@ -129,7 +128,7 @@ "with-jest-babel": true, "with-joi": true, "with-jotai": true, - "with-knex": false, + "with-knex": true, "with-magic": true, "with-mantine": true, "with-mdbreact": true,