Skip to content

Commit 2452bbc

Browse files
author
Tiffany Le-Nguyen
authored
Merge branch 'main' into tln/cypress-status
2 parents 0c778cf + e801af1 commit 2452bbc

File tree

19 files changed

+7989
-50717
lines changed

19 files changed

+7989
-50717
lines changed

.eslintrc.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
const { overrides } = require('@netlify/eslint-config-node/react_config')
1+
const { overrides } = require('@netlify/eslint-config-node')
22

33
module.exports = {
4-
extends: '@netlify/eslint-config-node/react_config',
4+
extends: '@netlify/eslint-config-node',
55
rules: {
66
'max-depth': 0,
77
complexity: 0,
@@ -19,11 +19,9 @@ module.exports = {
1919
'no-param-reassign': 0,
2020
'no-promise-executor-return': 0,
2121
'no-prototype-builtins': 0,
22-
'no-shadow': 0,
2322
'no-unused-vars': 0,
2423
'prefer-regex-literals': 0,
2524
'promise/prefer-await-to-callbacks': 0,
26-
'require-await': 0,
2725
'unicorn/consistent-function-scoping': 0,
2826
'unicorn/filename-case': 0,
2927
'unicorn/no-array-push-push': 0,

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# Changelog
22

3+
## [4.0.0-rc.1](https://www.github.com/netlify/netlify-plugin-nextjs/compare/v4.0.0-rc.0...v4.0.0-rc.1) (2021-12-07)
4+
5+
6+
### Features
7+
8+
* enable TTL for all sites ([#916](https://www.github.com/netlify/netlify-plugin-nextjs/issues/916)) ([152cf03](https://www.github.com/netlify/netlify-plugin-nextjs/commit/152cf03b29fe794322f52e0cb4afba79c0b70da5))
9+
10+
11+
### Bug Fixes
12+
13+
* bypass preview for static files ([#918](https://www.github.com/netlify/netlify-plugin-nextjs/issues/918)) ([ecb3cc8](https://www.github.com/netlify/netlify-plugin-nextjs/commit/ecb3cc8491a6f24f75d8072f0a5e4a49b466146a))
14+
* work around a bug that caused a full response to be sent for images, even if the etag matched
15+
* **deps:** update dependency @netlify/ipx to ^0.0.8 ([#902](https://www.github.com/netlify/netlify-plugin-nextjs/issues/902)) ([25f375f](https://www.github.com/netlify/netlify-plugin-nextjs/commit/25f375fdff074e6aabd6a6d5b66433891f8af9dc))
16+
317
## [4.0.0-rc.0](https://www.github.com/netlify/netlify-plugin-nextjs/compare/v4.0.0-beta.13...v4.0.0-rc.0) (2021-12-06)
418

519

demos/default/local-plugin/package-lock.json

Lines changed: 1 addition & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demos/default/netlify.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[build]
22
command = "next build"
33
publish = ".next"
4-
ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF . ../../"
54

5+
# ignore = "echo CACHED_COMMIT_REF: $CACHED_COMMIT_REF COMMIT_REF: $COMMIT_REF && git diff --exit-code $CACHED_COMMIT_REF $COMMIT_REF ../../"
66
[build.environment]
77
# cache Cypress binary in local "node_modules" folder
88
# so Netlify caches it

demos/nx-next-monorepo-demo/local-plugin/package-lock.json

Lines changed: 1 addition & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[build]
22
command = "npm run build"
33
publish = "dist/apps/demo-monorepo/.next"
4-
ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF . ../../"
54

5+
# ignore = "git diff --exit-code $CACHED_COMMIT_REF $COMMIT_REF ../../"
66
[dev]
77
command = "npm run start"
88
targetPort = 4200

0 commit comments

Comments
 (0)