Skip to content
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/.kodiak.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# Minimal config. version is the only required field.
version = 1

[merge]
automerge_label = "ship it"
[merge]
automerge_label = "automerge"
require_automerge_label = true
block_on_neutral_required_check_runs = true
blocking_labels = ["wip", "do not merge"]
Expand Down
21 changes: 9 additions & 12 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,20 @@

version: 2
updates:

# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
- package-ecosystem: 'github-actions'
directory: '/'
schedule:
interval: "daily"
interval: 'daily'

# Maintain dependencies for npm
- package-ecosystem: "npm"
directory: "/"
- package-ecosystem: 'npm'
directory: '/'
schedule:
interval: "daily"
time: "02:00"
# No one cares about dependency labels, they should be auto-merged
labels: []
interval: 'daily'
labels: ['automerge']
allow:
# Allow both direct and indirect updates for all packages
- dependency-type: "all"
rebase-strategy: "auto"
- dependency-type: 'all'
rebase-strategy: 'auto'
# reviewers: []
32 changes: 32 additions & 0 deletions .github/workflows/deps-automation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Dependabot Automation
on: pull_request

permissions:
pull-requests: write

jobs:
dependabot:
runs-on: ubuntu-latest
# ignored job because the `xxxxx` typo. Intentional, we use Kodiak
if:
github.event.pull_request.user.login == 'dependabot[bot]' && github.repository ==
'node-formidable/xxxx'
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@d7267f607e9d3fb96fc2fbe83e0af444713e90b7
with:
github-token: '${{ secrets.GITHUB_TOKEN }}'
- name: Approve a PR
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Enable auto-merge for Dependabot PRs
if:
contains(steps.metadata.outputs.dependency-names, 'my-dependency') &&
steps.metadata.outputs.update-type == 'version-update:semver-minor'
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
171 changes: 63 additions & 108 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,130 +1,85 @@
# Ignore everything!
*
*~*
.wrangler
*.tsbuildinfo
*.*cache
.cache
.turbo
# Vercel
.vercel

# de-ignores: add here what you want to be committed
!logo.png
!logo.jpg
!test-legacy
!tool
# Build Outputs
.next/
out/
build
dist

!*.*js*
!*.ts*
!*.md*
!.*rc
!.*ignore
!LICENSE
!.editorconfig
# Package managers lockfiles
#package-lock.json
shrinkwrap.json
pnpm-lock.json

!package.json
!yarn.lock
!pnpm-lock.yaml
# Logs
logs
*.log
*~

!**/src
!**/src/**
# Runtime data
pids
*.pid
*.seed
*.pid.lock

!**/test
!**/test/**
!**/test-node
!**/test-node/**
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

!**/*tests*
!**/*tests*/**
# Coverage directory used by tools like istanbul
coverage

!**/.github
!**/.github/**
# nyc test coverage
.nyc_output

!**/example*
!**/example*/**
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

!**/benchmark*
!**/benchmark*/**
# Bower dependency directory (https://bower.io/)
bower_components

# re-ignores: add here what you want to be ignored again
test/tmp
# node-waf configuration
.lock-wscript

# !src/*.js
# !src/*.ts
# !test
# !test/*.js
# !test/*.ts
# !test/**/*.js
# !test/**/*.ts
# !*/__tests__
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# *.tsbuildinfo
# .*cache
# *.cache
# TypeScript v1 declaration files
typings/

# test/tmp
# *.upload
# *.un~
# Optional npm cache directory
.npm

# # Build environment
# dist
# Optional eslint cache
.eslintcache

# # Package managers lockfiles
# package-lock.json
# shrinkwrap.json
# Optional REPL history
.node_repl_history

# # Logs
# logs
# *.log
# *~
# Output of 'npm pack'
*.tgz

# # Runtime data
# pids
# *.pid
# *.seed
# *.pid.lock
# Yarn Integrity file
.yarn-integrity

# # Directory for instrumented libs generated by jscoverage/JSCover
# lib-cov
# dotenv environment variables file
.env
.env*
!.env.example

# # Coverage directory used by tools like istanbul
# /coverage
# next.js build output
.next

# # nyc test coverage
# .nyc_output
.astro

# # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
# .grunt

# # Bower dependency directory (https://bower.io/)
# bower_components

# # node-waf configuration
# .lock-wscript

# # Compiled binary addons (https://nodejs.org/api/addons.html)
# build/Release

# # Dependency directories
# node_modules/
# jspm_packages/

# # TypeScript v1 declaration files
# typings/

# # Optional npm cache directory
# .npm

# # Optional eslint cache
# .eslintcache

# # Optional REPL history
# .node_repl_history

# # Output of 'npm pack'
# *.tgz

# # Yarn Integrity file
# .yarn-integrity

# # dotenv environment variables file
# .env

# # next.js build output
# .next
benchmark/testuploads/
# Local Netlify folder
.netlify
Loading
Loading