-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
1,846 additions
and
928 deletions.
There are no files selected for viewing
This file was deleted.
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
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 |
---|---|---|
@@ -1,38 +1,31 @@ | ||
{ | ||
"name": "auto-update", | ||
"version": "2.1.2", | ||
"version": "2.1.3", | ||
"license": "MIT", | ||
"files": [ | ||
"action.yml", | ||
"dist" | ||
], | ||
"main": "dist/index.js", | ||
"scripts": { | ||
"build": "ncc build src/index.ts --minify --v8-cache", | ||
"check-prettier": "yarn run prettier --check", | ||
"eslint": "eslint --ignore-path .gitignore --max-warnings 0 \"./**/*.{js,ts}\"", | ||
"format-prettier": "yarn run prettier --write", | ||
"prettier": "prettier --ignore-path .gitignore \"./**/*.{js,json,md,ts,yml}\"" | ||
"build": "ncc build src/index.ts --minify --target es2021 --v8-cache", | ||
"prettier": "prettier --ignore-path .gitignore \"./**/*.{cjs,js,json,md,ts,yml}\"", | ||
"xo": "xo" | ||
}, | ||
"devDependencies": { | ||
"@actions/core": "^1.2.6", | ||
"@actions/github": "^4.0.0", | ||
"@octokit/openapi-types": "^6.0.0", | ||
"@octokit/webhooks-definitions": "^3.67.0", | ||
"@types/node": "^14.14.37", | ||
"@typescript-eslint/eslint-plugin": "^4.20.0", | ||
"@typescript-eslint/parser": "^4.20.0", | ||
"@vercel/ncc": "^0.27.0", | ||
"eslint": "^7.23.0", | ||
"eslint-config-prettier": "^8.1.0", | ||
"eslint-config-xo": "^0.35.0", | ||
"eslint-config-xo-typescript": "^0.38.0", | ||
"eslint-import-resolver-typescript": "^2.4.0", | ||
"eslint-plugin-import": "^2.22.1", | ||
"eslint-plugin-sort-destructure-keys": "^1.3.5", | ||
"eslint-plugin-typescript-sort-keys": "^1.6.0", | ||
"eslint-plugin-unicorn": "^29.0.0", | ||
"prettier": "^2.2.1", | ||
"typescript": "^4.2.3" | ||
"@actions/core": "^1.6.0", | ||
"@actions/github": "^5.0.0", | ||
"@octokit/openapi-types": "^11.2.0", | ||
"@octokit/webhooks-definitions": "^3.67.3", | ||
"@types/node": "^16.11.11", | ||
"@vercel/ncc": "^0.33.0", | ||
"eslint-config-prettier": "^8.3.0", | ||
"eslint-plugin-import": "^2.25.3", | ||
"eslint-plugin-sort-destructure-keys": "^1.4.0", | ||
"eslint-plugin-typescript-sort-keys": "^2.1.0", | ||
"prettier": "^2.5.1", | ||
"prettier-plugin-packagejson": "^2.2.15", | ||
"typescript": "^4.5.2", | ||
"xo": "^0.47.0", | ||
"yarn-deduplicate": "^3.1.0" | ||
} | ||
} |
File renamed without changes.
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,61 @@ | ||
"use strict"; | ||
|
||
module.exports = { | ||
extends: ["prettier"], | ||
overrides: [ | ||
{ | ||
files: "**/*.{ts,tsx}", | ||
rules: { | ||
// Covered by TypeScript. | ||
"default-case": "off", | ||
}, | ||
}, | ||
], | ||
plugins: ["sort-destructure-keys", "typescript-sort-keys"], | ||
rules: { | ||
// GitHub uses snake_case in its returned payloads. | ||
"@typescript-eslint/naming-convention": "off", | ||
// Forbid function declarations. | ||
"func-style": ["error", "expression", { allowArrowFunctions: true }], | ||
// Already taken care of by TypeScript. | ||
"import/namespace": "off", | ||
// Named export are better for static analysis. | ||
// See https://humanwhocodes.com/blog/2019/01/stop-using-default-exports-javascript-module/ | ||
"import/no-default-export": "error", | ||
"import/no-namespace": "error", | ||
"import/order": [ | ||
"error", | ||
{ | ||
alphabetize: { | ||
caseInsensitive: true, | ||
order: "asc", | ||
}, | ||
"newlines-between": "never", | ||
}, | ||
], | ||
"no-console": "error", | ||
"object-shorthand": [ | ||
"error", | ||
"always", | ||
{ avoidExplicitReturnArrows: true }, | ||
], | ||
"sort-destructure-keys/sort-destructure-keys": [ | ||
"error", | ||
{ | ||
caseSensitive: false, | ||
}, | ||
], | ||
"sort-imports": ["error", { ignoreDeclarationSort: true }], | ||
"sort-keys": [ | ||
"error", | ||
"asc", | ||
{ | ||
caseSensitive: false, | ||
minKeys: 2, | ||
natural: true, | ||
}, | ||
], | ||
"typescript-sort-keys/interface": "error", | ||
"typescript-sort-keys/string-enum": "error", | ||
}, | ||
}; |
Oops, something went wrong.