Skip to content
This repository was archived by the owner on Jun 9, 2025. It is now read-only.

Commit f147f8f

Browse files
committed
chore: initial commit
0 parents  commit f147f8f

24 files changed

+7824
-0
lines changed

.editorconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
indent_size = 2
6+
end_of_line = lf
7+
charset = utf-8
8+
max_line_length = 120
9+
trim_trailing_whitespace = true
10+
insert_final_newline = true

.eslintrc.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
'use strict'
2+
3+
const { overrides } = require('@netlify/eslint-config-node')
4+
5+
module.exports = {
6+
extends: '@netlify/eslint-config-node',
7+
rules: {},
8+
overrides: [...overrides],
9+
}

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto eol=lf

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @netlify/netlify-dev

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: 'Please replace with a clear and descriptive title'
5+
labels: 'type: bug'
6+
assignees: ''
7+
---
8+
9+
Thanks for reporting this bug!
10+
11+
Please search other issues to make sure this bug has not already been reported.
12+
13+
Then fill in the sections below.
14+
15+
**Describe the bug**
16+
17+
A clear and concise description of what the bug is.
18+
19+
**Configuration**
20+
21+
Please enter the following command in a terminal and copy/paste its output:
22+
23+
```bash
24+
npx envinfo --system --binaries
25+
```
26+
27+
**Pull requests**
28+
29+
Pull requests are welcome! If you would like to help us fix this bug, please check our
30+
[contributions guidelines](../blob/master/CONTRIBUTING.md).
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: 'Please replace with a clear and descriptive title'
5+
labels: 'type: feature'
6+
assignees: ''
7+
---
8+
9+
<!--
10+
Thanks for suggesting a new feature!
11+
12+
Please fill in the sections below.
13+
-->
14+
15+
**Which problem is this feature request solving?**
16+
17+
<!--
18+
Example: I'm always frustrated when [...]
19+
-->
20+
21+
**Describe the solution you'd like**
22+
23+
<!--
24+
Example: This could be fixed by [...]
25+
-->
26+
27+
**Describe alternatives you've considered**
28+
29+
<!--
30+
Example: Another solution would be [...]
31+
-->
32+
33+
**Can you submit a pull request?**
34+
35+
Yes/No.
36+
37+
<!--
38+
Pull requests are welcome! If you would like to help us add this feature, please check our
39+
[contributions guidelines](../blob/master/CONTRIBUTING.md).
40+
-->

.github/pull_request_template.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
🎉 Thanks for sending this pull request! 🎉
2+
3+
Please make sure the title is clear and descriptive.
4+
5+
If you are fixing a typo or documentation, please skip these instructions.
6+
7+
Otherwise please fill in the sections below.
8+
9+
**Which problem is this pull request solving?**
10+
11+
Example: I'm always frustrated when [...]
12+
13+
**List other issues or pull requests related to this problem**
14+
15+
Example: This fixes #5012
16+
17+
**Describe the solution you've chosen**
18+
19+
Example: I've fixed this by [...]
20+
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+
- [ ] The status checks are successful (continuous integration). Those can be seen below.

.github/workflows/fossa.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Dependency License Scanning
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
defaults:
9+
run:
10+
shell: bash
11+
12+
jobs:
13+
fossa:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v2
18+
- name: Fossa init
19+
run: |-
20+
curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install.sh | bash
21+
fossa init
22+
- name: Set env
23+
run: echo "line_number=$(grep -n "project" .fossa.yml | cut -f1 -d:)" >> $GITHUB_ENV
24+
- name: Configuration
25+
run: |-
26+
sed -i "${line_number}s|.*| project: git@github.com:${GITHUB_REPOSITORY}.git|" .fossa.yml
27+
cat .fossa.yml
28+
- name: Upload dependencies
29+
run: fossa analyze --debug
30+
env:
31+
FOSSA_API_KEY: ${{ secrets.FOSSA_API_KEY }}

.github/workflows/labeler.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Label PR
2+
on:
3+
pull_request:
4+
types: [opened, edited]
5+
6+
jobs:
7+
label-pr:
8+
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork == false
9+
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
pr:
13+
[
14+
{ prefix: 'fix', type: 'bug' },
15+
{ prefix: 'chore', type: 'chore' },
16+
{ prefix: 'test', type: 'chore' },
17+
{ prefix: 'ci', type: 'chore' },
18+
{ prefix: 'feat', type: 'feature' },
19+
{ prefix: 'security', type: 'security' },
20+
]
21+
steps:
22+
- uses: netlify/pr-labeler-action@v1.0.0
23+
if: startsWith(github.event.pull_request.title, matrix.pr.prefix)
24+
with:
25+
token: '${{ secrets.GITHUB_TOKEN }}'
26+
label: 'type: ${{ matrix.pr.type }}'

.github/workflows/release-please.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: release-please
2+
on:
3+
push:
4+
branches:
5+
- master
6+
jobs:
7+
release-please:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: GoogleCloudPlatform/release-please-action@v2
11+
with:
12+
token: ${{ secrets.GITHUB_TOKEN }}
13+
release-type: node
14+
package-name: "@netlify/netlify-functions-js"

0 commit comments

Comments
 (0)