-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BREAKING CHANGE: package is now ESM --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
- Loading branch information
1 parent
ee9835f
commit 6c0d0c3
Showing
11 changed files
with
1,565 additions
and
4,752 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
{ | ||
"name": "octokit-auth-probot", | ||
"version": "0.0.0-development", | ||
"type": "module", | ||
"description": "Octokit authentication strategy that supports token, app (JWT), and event-based installation authentication", | ||
"main": "index.js", | ||
"scripts": { | ||
"build": "node scripts/build.mjs && tsc -p tsconfig.json", | ||
"lint": "prettier --check '{src,test}/**/*.{ts,md}' *.md *.json", | ||
"lint:fix": "prettier --write '{src,test}/**/*.{ts,md}' *.md *.json", | ||
"pretest": "npm run -s lint", | ||
"test": "jest --coverage" | ||
"test": "vitest --ui --coverage" | ||
}, | ||
"repository": "github:probot/octokit-auth-probot", | ||
"keywords": [ | ||
|
@@ -17,50 +18,28 @@ | |
"author": "Gregor Martynus (https://twitter.com/gr2m)", | ||
"license": "ISC", | ||
"dependencies": { | ||
"@octokit/auth-app": "^6.0.1", | ||
"@octokit/auth-token": "^4.0.0", | ||
"@octokit/auth-unauthenticated": "^5.0.1", | ||
"@octokit/types": "^12.0.0" | ||
"@octokit/auth-app": "^7.0.0", | ||
"@octokit/auth-token": "^5.0.0", | ||
"@octokit/auth-unauthenticated": "^6.0.0", | ||
"@octokit/types": "^13.0.0" | ||
}, | ||
"peerDependencies": { | ||
"@octokit/core": ">=5" | ||
"@octokit/core": ">=6" | ||
}, | ||
"devDependencies": { | ||
"@octokit/core": "^5.0.0", | ||
"@octokit/tsconfig": "^2.0.0", | ||
"@octokit/core": "^6.0.0", | ||
"@octokit/tsconfig": "^3.0.0", | ||
"@types/fetch-mock": "^7.3.7", | ||
"@types/jest": "^29.0.0", | ||
"@types/node": "^18.18.6", | ||
"@vitest/coverage-v8": "^1.5.3", | ||
"@vitest/ui": "^1.5.3", | ||
"esbuild": "^0.20.0", | ||
"fetch-mock": "npm:@gr2m/[email protected]", | ||
"glob": "^10.3.10", | ||
"jest": "^29.0.0", | ||
"mockdate": "^3.0.2", | ||
"prettier": "^3.0.3", | ||
"ts-jest": "^29.1.1", | ||
"typescript": "^5.2.2" | ||
}, | ||
"jest": { | ||
"testEnvironment": "node", | ||
"coverageThreshold": { | ||
"global": { | ||
"statements": 100, | ||
"branches": 100, | ||
"functions": 100, | ||
"lines": 100 | ||
} | ||
}, | ||
"transform": { | ||
"^.+\\.tsx?$": [ | ||
"ts-jest", | ||
{ | ||
"tsconfig": "test/tsconfig.json" | ||
} | ||
] | ||
}, | ||
"moduleNameMapper": { | ||
"^(.+)\\.jsx?$": "$1" | ||
} | ||
"typescript": "^5.2.2", | ||
"vitest": "^1.5.3" | ||
}, | ||
"release": { | ||
"branches": [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { defineConfig } from 'vitest/config' | ||
|
||
export default defineConfig({ | ||
test: { | ||
include: ['test/**/*.test.ts'], | ||
coverage: { | ||
include: ['src/**/*.ts'], | ||
provider: "v8", | ||
}, | ||
}, | ||
}) |