@netlify/plugin-nextjs
Advanced tools
Comparing version 5.0.0-rc.3 to 5.0.0-rc.4
@@ -10,3 +10,3 @@ | ||
copyPrerenderedContent | ||
} from "../../esm-chunks/chunk-LWQKZVSS.js"; | ||
} from "../../esm-chunks/chunk-VSH4JS2L.js"; | ||
import "../../esm-chunks/chunk-VZNKO4OO.js"; | ||
@@ -13,0 +13,0 @@ import "../../esm-chunks/chunk-TYCYFZ22.js"; |
@@ -12,4 +12,6 @@ | ||
writeTagsManifest | ||
} from "../../esm-chunks/chunk-GFISNHVP.js"; | ||
} from "../../esm-chunks/chunk-BKDCZVBK.js"; | ||
import "../../esm-chunks/chunk-VZNKO4OO.js"; | ||
import "../../esm-chunks/chunk-7CY6B4WT.js"; | ||
import "../../esm-chunks/chunk-PJG75HGC.js"; | ||
import "../../esm-chunks/chunk-UYKENJEU.js"; | ||
@@ -16,0 +18,0 @@ import "../../esm-chunks/chunk-5JVNISGM.js"; |
@@ -12,3 +12,3 @@ | ||
unpublishStaticDir | ||
} from "../../esm-chunks/chunk-MPZEWLBG.js"; | ||
} from "../../esm-chunks/chunk-3IGTKVSS.js"; | ||
import "../../esm-chunks/chunk-VZNKO4OO.js"; | ||
@@ -15,0 +15,0 @@ import "../../esm-chunks/chunk-TYCYFZ22.js"; |
@@ -9,5 +9,5 @@ | ||
createEdgeHandlers | ||
} from "../../esm-chunks/chunk-ATFMKC2X.js"; | ||
} from "../../esm-chunks/chunk-OBKVBMAL.js"; | ||
import "../../esm-chunks/chunk-VZNKO4OO.js"; | ||
import "../../esm-chunks/chunk-655Y7ISI.js"; | ||
import "../../esm-chunks/chunk-3NYX5FXN.js"; | ||
import "../../esm-chunks/chunk-5JVNISGM.js"; | ||
@@ -14,0 +14,0 @@ export { |
@@ -9,6 +9,8 @@ | ||
createServerHandler | ||
} from "../../esm-chunks/chunk-A6CMEU53.js"; | ||
import "../../esm-chunks/chunk-GFISNHVP.js"; | ||
} from "../../esm-chunks/chunk-7HI65MAI.js"; | ||
import "../../esm-chunks/chunk-BKDCZVBK.js"; | ||
import "../../esm-chunks/chunk-VZNKO4OO.js"; | ||
import "../../esm-chunks/chunk-655Y7ISI.js"; | ||
import "../../esm-chunks/chunk-3NYX5FXN.js"; | ||
import "../../esm-chunks/chunk-7CY6B4WT.js"; | ||
import "../../esm-chunks/chunk-PJG75HGC.js"; | ||
import "../../esm-chunks/chunk-UYKENJEU.js"; | ||
@@ -15,0 +17,0 @@ import "../../esm-chunks/chunk-5JVNISGM.js"; |
@@ -11,3 +11,3 @@ | ||
SERVER_HANDLER_NAME | ||
} from "../esm-chunks/chunk-655Y7ISI.js"; | ||
} from "../esm-chunks/chunk-3NYX5FXN.js"; | ||
import "../esm-chunks/chunk-5JVNISGM.js"; | ||
@@ -14,0 +14,0 @@ export { |
@@ -9,3 +9,3 @@ | ||
copyPrerenderedContent | ||
} from "./esm-chunks/chunk-LWQKZVSS.js"; | ||
} from "./esm-chunks/chunk-VSH4JS2L.js"; | ||
import { | ||
@@ -16,10 +16,10 @@ copyStaticAssets, | ||
unpublishStaticDir | ||
} from "./esm-chunks/chunk-MPZEWLBG.js"; | ||
} from "./esm-chunks/chunk-3IGTKVSS.js"; | ||
import { | ||
createEdgeHandlers | ||
} from "./esm-chunks/chunk-ATFMKC2X.js"; | ||
} from "./esm-chunks/chunk-OBKVBMAL.js"; | ||
import { | ||
createServerHandler | ||
} from "./esm-chunks/chunk-A6CMEU53.js"; | ||
import "./esm-chunks/chunk-GFISNHVP.js"; | ||
} from "./esm-chunks/chunk-7HI65MAI.js"; | ||
import "./esm-chunks/chunk-BKDCZVBK.js"; | ||
import "./esm-chunks/chunk-VZNKO4OO.js"; | ||
@@ -35,3 +35,8 @@ import { | ||
PluginContext | ||
} from "./esm-chunks/chunk-655Y7ISI.js"; | ||
} from "./esm-chunks/chunk-3NYX5FXN.js"; | ||
import { | ||
verifyBuildConfig, | ||
verifyPublishDir | ||
} from "./esm-chunks/chunk-7CY6B4WT.js"; | ||
import "./esm-chunks/chunk-PJG75HGC.js"; | ||
import "./esm-chunks/chunk-UYKENJEU.js"; | ||
@@ -50,3 +55,4 @@ import "./esm-chunks/chunk-TYCYFZ22.js"; | ||
const ctx = new PluginContext(options); | ||
ctx.verifyPublishDir(); | ||
verifyPublishDir(ctx); | ||
verifyBuildConfig(ctx); | ||
if (!options.constants.IS_LOCAL) { | ||
@@ -53,0 +59,0 @@ await saveBuildCache(ctx); |
@@ -13,3 +13,3 @@ | ||
setVaryHeaders | ||
} from "../esm-chunks/chunk-UTCWWUFW.js"; | ||
} from "../esm-chunks/chunk-637Y3P2U.js"; | ||
import "../esm-chunks/chunk-TYCYFZ22.js"; | ||
@@ -16,0 +16,0 @@ import "../esm-chunks/chunk-5JVNISGM.js"; |
{ | ||
"name": "@netlify/plugin-nextjs", | ||
"version": "5.0.0-rc.3", | ||
"version": "5.0.0-rc.4", | ||
"description": "Run Next.js seamlessly on Netlify", | ||
@@ -29,11 +29,3 @@ "main": "./dist/index.js", | ||
}, | ||
"homepage": "https://github.com/netlify/next-runtime-minimal#readme", | ||
"clean-package": { | ||
"indent": 2, | ||
"remove": [ | ||
"dependencies", | ||
"devDependencies", | ||
"scripts" | ||
] | ||
} | ||
"homepage": "https://github.com/netlify/next-runtime-minimal#readme" | ||
} |
@@ -31,2 +31,12 @@ # Next.js Runtime | ||
The repo includes two types of tests: e2e tests in the repo that use Playwright, integration tests | ||
that use Vitest. | ||
By default the e2e and integration tests run against the latest version of Next.js. To run tests | ||
against a specific version, set the `NEXT_VERSION` environment variable to the desired version. | ||
By default, PRs will run the integration tests against the latest version of Next.js. To run tests | ||
against `latest`, `canary` and `13.5.1`, apply the `test all versions` label to the PR when you | ||
create it. These also run nightly and on release PRs. | ||
### Integration testing | ||
@@ -79,2 +89,8 @@ | ||
### Next.js tests | ||
There is a script `run-local-test.sh` and GitHub workflow that runs the e2e tests from the Next.js | ||
repo against this repo. It requires that `next.js` is checked out in the same parent directory as | ||
this repo, and is run from this repo with `./run-local-test.sh your-test-pattern-here`. | ||
#### cleanup old deploys | ||
@@ -81,0 +97,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 3 instances in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4844895
213
129220
104
29