Skip to content

Commit af76e16

Browse files
committed
chore: start fresh
Signed-off-by: tunnckoCore <5038030+tunnckoCore@users.noreply.github.com>
1 parent d0fbec1 commit af76e16

134 files changed

Lines changed: 4083 additions & 4813 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/.kodiak.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
# Minimal config. version is the only required field.
33
version = 1
44

5-
[merge]
6-
automerge_label = "ship it"
5+
[merge]
6+
automerge_label = "automerge"
77
require_automerge_label = true
88
block_on_neutral_required_check_runs = true
99
blocking_labels = ["wip", "do not merge"]

.github/dependabot.yml

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,20 @@
22

33
version: 2
44
updates:
5-
65
# Maintain dependencies for GitHub Actions
7-
- package-ecosystem: "github-actions"
8-
directory: "/"
6+
- package-ecosystem: 'github-actions'
7+
directory: '/'
98
schedule:
10-
interval: "daily"
9+
interval: 'daily'
1110

1211
# Maintain dependencies for npm
13-
- package-ecosystem: "npm"
14-
directory: "/"
12+
- package-ecosystem: 'npm'
13+
directory: '/'
1514
schedule:
16-
interval: "daily"
17-
time: "02:00"
18-
# No one cares about dependency labels, they should be auto-merged
19-
labels: []
15+
interval: 'daily'
16+
labels: ['automerge']
2017
allow:
2118
# Allow both direct and indirect updates for all packages
22-
- dependency-type: "all"
23-
rebase-strategy: "auto"
19+
- dependency-type: 'all'
20+
rebase-strategy: 'auto'
2421
# reviewers: []
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Dependabot Automation
2+
on: pull_request
3+
4+
permissions:
5+
pull-requests: write
6+
7+
jobs:
8+
dependabot:
9+
runs-on: ubuntu-latest
10+
if:
11+
github.event.pull_request.user.login == 'dependabot[bot]' && github.repository ==
12+
'node-formidable/formidable'
13+
steps:
14+
- name: Dependabot metadata
15+
id: metadata
16+
uses: dependabot/fetch-metadata@d7267f607e9d3fb96fc2fbe83e0af444713e90b7
17+
with:
18+
github-token: '${{ secrets.GITHUB_TOKEN }}'
19+
- name: Approve a PR
20+
run: gh pr review --approve "$PR_URL"
21+
env:
22+
PR_URL: ${{github.event.pull_request.html_url}}
23+
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
24+
- name: Enable auto-merge for Dependabot PRs
25+
if:
26+
contains(steps.metadata.outputs.dependency-names, 'my-dependency') &&
27+
steps.metadata.outputs.update-type == 'version-update:semver-minor'
28+
run: gh pr merge --auto --merge "$PR_URL"
29+
env:
30+
PR_URL: ${{github.event.pull_request.html_url}}
31+
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}

.gitignore

Lines changed: 63 additions & 108 deletions
Original file line numberDiff line numberDiff line change
@@ -1,130 +1,85 @@
1-
# Ignore everything!
2-
*
3-
*~*
1+
.wrangler
2+
*.tsbuildinfo
3+
*.*cache
4+
.cache
5+
.turbo
6+
# Vercel
7+
.vercel
48

5-
# de-ignores: add here what you want to be committed
6-
!logo.png
7-
!logo.jpg
8-
!test-legacy
9-
!tool
9+
# Build Outputs
10+
.next/
11+
out/
12+
build
13+
dist
1014

11-
!*.*js*
12-
!*.ts*
13-
!*.md*
14-
!.*rc
15-
!.*ignore
16-
!LICENSE
17-
!.editorconfig
15+
# Package managers lockfiles
16+
#package-lock.json
17+
shrinkwrap.json
18+
pnpm-lock.json
1819

19-
!package.json
20-
!yarn.lock
21-
!pnpm-lock.yaml
20+
# Logs
21+
logs
22+
*.log
23+
*~
2224

23-
!**/src
24-
!**/src/**
25+
# Runtime data
26+
pids
27+
*.pid
28+
*.seed
29+
*.pid.lock
2530

26-
!**/test
27-
!**/test/**
28-
!**/test-node
29-
!**/test-node/**
31+
# Directory for instrumented libs generated by jscoverage/JSCover
32+
lib-cov
3033

31-
!**/*tests*
32-
!**/*tests*/**
34+
# Coverage directory used by tools like istanbul
35+
coverage
3336

34-
!**/.github
35-
!**/.github/**
37+
# nyc test coverage
38+
.nyc_output
3639

37-
!**/example*
38-
!**/example*/**
40+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
41+
.grunt
3942

40-
!**/benchmark*
41-
!**/benchmark*/**
43+
# Bower dependency directory (https://bower.io/)
44+
bower_components
4245

43-
# re-ignores: add here what you want to be ignored again
44-
test/tmp
46+
# node-waf configuration
47+
.lock-wscript
4548

46-
# !src/*.js
47-
# !src/*.ts
48-
# !test
49-
# !test/*.js
50-
# !test/*.ts
51-
# !test/**/*.js
52-
# !test/**/*.ts
53-
# !*/__tests__
49+
# Compiled binary addons (https://nodejs.org/api/addons.html)
50+
build/Release
5451

52+
# Dependency directories
53+
node_modules/
54+
jspm_packages/
5555

56-
# *.tsbuildinfo
57-
# .*cache
58-
# *.cache
56+
# TypeScript v1 declaration files
57+
typings/
5958

60-
# test/tmp
61-
# *.upload
62-
# *.un~
59+
# Optional npm cache directory
60+
.npm
6361

64-
# # Build environment
65-
# dist
62+
# Optional eslint cache
63+
.eslintcache
6664

67-
# # Package managers lockfiles
68-
# package-lock.json
69-
# shrinkwrap.json
65+
# Optional REPL history
66+
.node_repl_history
7067

71-
# # Logs
72-
# logs
73-
# *.log
74-
# *~
68+
# Output of 'npm pack'
69+
*.tgz
7570

76-
# # Runtime data
77-
# pids
78-
# *.pid
79-
# *.seed
80-
# *.pid.lock
71+
# Yarn Integrity file
72+
.yarn-integrity
8173

82-
# # Directory for instrumented libs generated by jscoverage/JSCover
83-
# lib-cov
74+
# dotenv environment variables file
75+
.env
76+
.env*
77+
!.env.example
8478

85-
# # Coverage directory used by tools like istanbul
86-
# /coverage
79+
# next.js build output
80+
.next
8781

88-
# # nyc test coverage
89-
# .nyc_output
82+
.astro
9083

91-
# # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
92-
# .grunt
93-
94-
# # Bower dependency directory (https://bower.io/)
95-
# bower_components
96-
97-
# # node-waf configuration
98-
# .lock-wscript
99-
100-
# # Compiled binary addons (https://nodejs.org/api/addons.html)
101-
# build/Release
102-
103-
# # Dependency directories
104-
# node_modules/
105-
# jspm_packages/
106-
107-
# # TypeScript v1 declaration files
108-
# typings/
109-
110-
# # Optional npm cache directory
111-
# .npm
112-
113-
# # Optional eslint cache
114-
# .eslintcache
115-
116-
# # Optional REPL history
117-
# .node_repl_history
118-
119-
# # Output of 'npm pack'
120-
# *.tgz
121-
122-
# # Yarn Integrity file
123-
# .yarn-integrity
124-
125-
# # dotenv environment variables file
126-
# .env
127-
128-
# # next.js build output
129-
# .next
130-
benchmark/testuploads/
84+
# Local Netlify folder
85+
.netlify

0 commit comments

Comments
 (0)