Skip to content

Commit

Permalink
feat: updates
Browse files Browse the repository at this point in the history
  • Loading branch information
markmartirosian committed Aug 26, 2022
1 parent 85cb3ec commit cb39022
Show file tree
Hide file tree
Showing 10 changed files with 631 additions and 454 deletions.
18 changes: 18 additions & 0 deletions .github/codecov.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
coverage:
precision: 2
round: down
range: 70...100

status:
# Learn more at http://docs.codecov.io/docs/codecov-yaml
project: true
patch: true
changes: false

comment:
layout: "header, diff, tree"
behavior: default # update if exists else create new

ignore:
- "./coverage/tmp/"

12 changes: 12 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
version: 2
updates:
- package-ecosystem: 'github-actions'
directory: '/'
schedule:
interval: weekly
day: saturday
time: '07:00'
timezone: GMT
labels:
- 'dependencies'
- 'github-actions'
5 changes: 5 additions & 0 deletions .github/labeler.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
github-actions:
- .github/workflows/*.yml

test:
- src/**/*.spec.ts
25 changes: 17 additions & 8 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
enabledManagers: ['npm'],
extends: [
'github>whitesource/merge-confidence:beta',
'github>renovatebot/spring-remediations',
'config:base',
'schedule:weekly',
':enableVulnerabilityAlerts',
Expand All @@ -10,30 +12,37 @@
'group:allNonMajor'
],
automerge: false,
stabilityDays: 7,
packageRules: [
{
matchDepTypes: ['devDependencies'],
rangeStrategy: 'pin',
semanticCommitType: 'chore'
},
{
matchDepTypes: ['peerDependencies'],
enabled: true,
rangeStrategy: 'widen',
semanticCommitType: 'chore'
},
{
matchDepTypes: ['dependencies'],
rangeStrategy: 'bump',
semanticCommitType: 'fix'
},
{
matchDepTypes: ['peerDependencies'],
rangeStrategy: 'widen',
semanticCommitType: 'fix'
}
],
vulnerabilityAlerts: {
stabilityDays: 0
},
lockFileMaintenance: {
enabled: true
},
dependencyDashboard: false,
internalChecksFilter: 'strict',
dependencyDashboard: true,
ignorePresets: [':prHourlyLimit2'],
labels: ['dependencies'],
node: false,
node: {
enabled: false
},
prCreation: 'not-pending',
rebaseWhen: 'conflicted'
}
2 changes: 1 addition & 1 deletion .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install commitlint --edit "$1"
pnpm exec commitlint --edit "$1" || exit 1
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
pnpm exec syncpack set-semver-ranges --dev --source 'package.json' || exit 1
pnpm exec syncpack format --source 'package.json' || exit 1

pnpm install --lockfile-only
pnpm install
git add package.json pnpm-lock.yaml

pnpm exec ls-lint || exit 1
Expand Down
44 changes: 22 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,48 +5,48 @@
"author": "escapace <opensource@escapace.com>",
"bugs": "https://github.com/escapace/fastify-fetch/issues",
"dependencies": {
"fastify-plugin": "^3.0.1",
"undici": "^5.2.0"
"fastify-plugin": "^4.2.1",
"undici": "^5.10.0"
},
"devDependencies": {
"@commitlint/cli": "17.0.0",
"@commitlint/config-conventional": "17.0.0",
"@ls-lint/ls-lint": "1.11.0",
"@types/chai": "4.3.1",
"@commitlint/cli": "17.0.3",
"@commitlint/config-conventional": "17.0.3",
"@ls-lint/ls-lint": "1.11.2",
"@types/chai": "4.3.3",
"@types/chai-as-promised": "7.1.5",
"@types/fs-extra": "9.0.13",
"@types/mocha": "9.1.1",
"@types/node": "17.0.21",
"@typescript-eslint/eslint-plugin": "5.25.0",
"@typescript-eslint/parser": "5.25.0",
"c8": "7.11.3",
"@types/node": "18.7.13",
"@typescript-eslint/eslint-plugin": "5.35.1",
"@typescript-eslint/parser": "5.35.1",
"c8": "7.12.0",
"chai": "4.3.6",
"chai-as-promised": "7.1.1",
"codecov": "3.8.2",
"data-uri-to-buffer": "4.0.0",
"esbuild": "0.14.39",
"eslint": "8.16.0",
"eslint-config-escapace": "3.12.5",
"esbuild": "0.15.5",
"eslint": "8.22.0",
"eslint-config-escapace": "3.14.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-editorconfig": "3.2.0",
"eslint-plugin-editorconfig": "4.0.2",
"eslint-plugin-no-null": "1.0.2",
"fast-glob": "3.2.11",
"fastify": "3.29.0",
"fastify": "4.5.3",
"fastify-multipart": "5.4.0",
"fetch-blob": "3.1.5",
"fetch-blob": "3.2.0",
"form-data": "4.0.0",
"formdata-polyfill": "4.0.10",
"fs-extra": "10.1.0",
"husky": "8.0.1",
"is-ci": "3.0.1",
"lint-staged": "13.0.0",
"lint-staged": "13.0.3",
"mocha": "10.0.0",
"prettier": "2.6.2",
"prettier": "2.7.1",
"prettier-config-escapace": "1.0.4",
"semantic-release": "19.0.2",
"syncpack": "8.0.0",
"ts-node": "10.8.0",
"typescript": "4.6.4"
"semantic-release": "19.0.5",
"syncpack": "8.2.4",
"ts-node": "10.9.1",
"typescript": "4.8.2"
},
"engines": {
"node": ">=16.14.2"
Expand Down

0 comments on commit cb39022

Please sign in to comment.