Skip to content

Commit 9f57e4e

Browse files
authored
Merge branch 'main' into main
2 parents f0f826c + 5a38c9c commit 9f57e4e

26 files changed

+17828
-51310
lines changed

Diff for: .eslintrc.js

+15-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const { overrides } = require('@netlify/eslint-config-node')
22

33
module.exports = {
4-
extends: '@netlify/eslint-config-node',
4+
extends: ['@netlify/eslint-config-node'],
55
rules: {
66
// For now
77
'func-style': 'off',
@@ -37,12 +37,26 @@ module.exports = {
3737
'import/no-unresolved': 'off',
3838
'node/no-unpublished-require': 'off',
3939
'node/no-missing-require': 'off',
40+
'node/no-missing-import': 'off',
4041
'max-lines': 'off',
4142
complexity: 'off',
4243
'max-statements': 'off',
4344
'node/prefer-global/process': 'off',
4445
'unicorn/filename-case': 'off',
4546
},
4647
},
48+
{
49+
files: ['plugin/test/**/*'],
50+
rules: {
51+
'node/no-unpublished-import': 'off',
52+
'max-lines': 'off',
53+
'node/no-unpublished-require': 'off',
54+
'node/no-missing-require': 'off',
55+
'node/no-missing-import': 'off',
56+
'@typescript-eslint/no-var-requires': 'off',
57+
'node/global-require': 'off',
58+
'node/prefer-global/process': 'off',
59+
},
60+
},
4761
],
4862
}

Diff for: .github/CODEOWNERS

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @netlify/frameworks

Diff for: .github/pull_request_template.md

+13-24
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,23 @@
1-
🎉 Thanks for sending this pull request! 🎉
1+
<!--Please tag yourself as the Assignee and netlify/frameworks as the Reviewer -->
22

3-
Please make sure the title is clear and descriptive.
3+
### Summary
44

5-
If you are fixing a typo or documentation, please skip these instructions.
5+
<!-- Provide a brief summary of the change. -->
66

7-
Otherwise please fill in the sections below.
7+
### Test plan
88

9-
**Which problem is this pull request solving?**
9+
1. Visit the Deploy Preview ([insert link to specific page]()) ...
1010

11-
Example: I'm always frustrated when [...]
11+
### Relevant links (GitHub issues, Notion docs, etc.) or a picture of cute animal
1212

13-
**List other issues or pull requests related to this problem**
13+
### Standard checks:
1414

15-
Example: This fixes #5012
15+
<!-- Please delete any options that reviewers shouldn't check. -->
1616

17-
**Describe the solution you've chosen**
17+
- [ ] Check the Deploy Preview's Demo site for your PR's functionality
18+
- [ ] Add docs when necessary
1819

19-
Example: I've fixed this by [...]
20+
---
2021

21-
**Describe alternatives you've considered**
22-
23-
Example: Another solution would be [...]
24-
25-
**Checklist**
26-
27-
Please add a `x` inside each checkbox:
28-
29-
- [ ] I have read the [contribution guidelines](../blob/master/CONTRIBUTING.md).
30-
- [ ] I have added tests (we are enforcing 100% test coverage).
31-
- [ ] I have added documentation in the `README.md`, the `docs` directory (if
32-
any) and the `examples` directory (if any).
33-
- [ ] The status checks are successful (continuous integration). Those can be
34-
seen below.
22+
🧪 Once merged, make sure to update the version if needed and that it was
23+
published correctly.

Diff for: .release-please-manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"plugin": "3.0.0"
2+
"plugin": "3.2.2"
33
}

Diff for: demo/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
"download": "^8.0.0",
3636
"form-data": "^4.0.0",
3737
"fs-extra": "^10.0.0",
38-
"gatsby-plugin-netlify": "^4.0.0",
39-
"jest": "^27.0.0",
38+
"gatsby-plugin-netlify": "^5.0.0",
39+
"jest": "^28.0.0",
4040
"linkfs": "^2.1.0",
4141
"multer": "^1.4.2",
4242
"node-fetch": "^2.6.1",
@@ -47,6 +47,6 @@
4747
},
4848
"license": "MIT",
4949
"engines": {
50-
"node": ">=14.15.0"
50+
"node": ">=14.17.0"
5151
}
5252
}

Diff for: jest.config.js

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */
2+
module.exports = {
3+
preset: 'ts-jest',
4+
verbose: true,
5+
testMatch: ['<rootDir>/plugin/test/unit/**/*.spec.ts'],
6+
}

Diff for: netlify.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
base="demo/"
33

44
[build.environment]
5-
NODE_VERSION = "12.13.0"
5+
NODE_VERSION = "14.17.0"

0 commit comments

Comments
 (0)