This commit is contained in:
Daniil Samoylov 2024-01-30 15:15:04 +13:00
parent 2c495ec569
commit 721c731a19
4 changed files with 17 additions and 40160 deletions

40159
dist/index.js vendored

File diff suppressed because one or more lines are too long

7
package-lock.json generated
View file

@ -17,6 +17,7 @@
},
"devDependencies": {
"@octokit/webhooks-types": "^7.3.1",
"@tsconfig/node20": "^20.1.2",
"@types/jest": "^29.5.11",
"@types/js-yaml": "^4.0.9",
"@types/micromatch": "^4.0.2",
@ -1535,6 +1536,12 @@
"@sinonjs/commons": "^3.0.0"
}
},
"node_modules/@tsconfig/node20": {
"version": "20.1.2",
"resolved": "https://registry.npmjs.org/@tsconfig/node20/-/node20-20.1.2.tgz",
"integrity": "sha512-madaWq2k+LYMEhmcp0fs+OGaLFk0OenpHa4gmI4VEmCKX4PJntQ6fnnGADVFrVkBj0wIdAlQnK/MrlYTHsa1gQ==",
"dev": true
},
"node_modules/@types/babel__core": {
"version": "7.20.5",
"resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz",

View file

@ -10,7 +10,7 @@
"format": "prettier --write **/*.ts",
"format-check": "prettier --check **/*.ts",
"lint": "eslint src/**/*.ts",
"pack": "ncc build",
"pack": "ncc build -m",
"test": "jest",
"all": "npm run build && npm run format && npm run lint && npm run pack && npm test"
},
@ -34,6 +34,7 @@
},
"devDependencies": {
"@octokit/webhooks-types": "^7.3.1",
"@tsconfig/node20": "^20.1.2",
"@types/jest": "^29.5.11",
"@types/js-yaml": "^4.0.9",
"@types/micromatch": "^4.0.2",

View file

@ -1,12 +1,8 @@
{
"extends": "@tsconfig/node20/tsconfig.json",
"compilerOptions": {
"target": "es2019", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
"outDir": "./lib", /* Redirect output structure to the directory. */
"rootDir": "./src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
"strict": true, /* Enable all strict type-checking options. */
"noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
"rootDir": "./src" /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
},
"exclude": ["node_modules", "**/*.test.ts"]
}