Skip to content

Commit 65f869e

Browse files
authored
Merge pull request #49 from philip-gai/develop
Update dependencies and dist
1 parent 187c3fe commit 65f869e

File tree

11 files changed

+22214
-22145
lines changed

11 files changed

+22214
-22145
lines changed

.eslintrc.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"plugins": ["jest", "@typescript-eslint"],
2+
"plugins": ["jest", "@typescript-eslint", "filenames", "i18n-text"],
33
"extends": ["plugin:github/recommended"],
44
"parser": "@typescript-eslint/parser",
55
"parserOptions": {
@@ -43,11 +43,16 @@
4343
"@typescript-eslint/restrict-plus-operands": "error",
4444
"semi": 2,
4545
"@typescript-eslint/type-annotation-spacing": "error",
46-
"@typescript-eslint/unbound-method": "error"
46+
"@typescript-eslint/unbound-method": "error",
47+
"filenames/match-regex": 0,
48+
"filenames/match-exported": 2,
49+
"filenames/no-index": 2,
50+
"i18n-text/no-en": 0
4751
},
4852
"env": {
4953
"node": true,
5054
"es6": true,
5155
"jest/globals": true
5256
}
53-
}
57+
}
58+

dist/index.js

Lines changed: 21607 additions & 21577 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 580 additions & 547 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"format": "prettier --write **/*.ts",
1818
"format-check": "prettier --check **/*.ts",
1919
"lint": "eslint src/**/*.ts",
20+
"lint:fix": "eslint src/**/*.ts --fix",
2021
"package": "ncc build --source-map --license licenses.txt",
2122
"test": "jest",
2223
"all": "npm run build && npm run format && npm run lint && npm run package && npm test"
@@ -26,22 +27,22 @@
2627
"url": "git+https://github.com/philip-gai/github-ado-chatops.git"
2728
},
2829
"dependencies": {
29-
"@actions/core": "^1.4.0",
30+
"@actions/core": "^1.5.0",
3031
"@actions/github": "^5.0.0",
3132
"@octokit/rest": "^18.10.0",
3233
"@octokit/webhooks-definitions": "^3.67.3",
3334
"azure-devops-node-api": "^11.0.1"
3435
},
3536
"devDependencies": {
36-
"@types/node": "^16.3.3",
37+
"@types/node": "^16.7.10",
3738
"@typescript-eslint/parser": "^4.30.0",
3839
"@vercel/ncc": "^0.29.0",
3940
"eslint": "^7.32.0",
40-
"eslint-plugin-github": "^4.1.1",
41-
"eslint-plugin-jest": "^24.3.6",
41+
"eslint-plugin-github": "^4.2.0",
42+
"eslint-plugin-jest": "^24.4.0",
4243
"jest": "^27.0.6",
4344
"js-yaml": "^4.1.0",
44-
"prettier": "2.2.1",
45+
"prettier": "2.3.2",
4546
"ts-jest": "^27.0.3",
4647
"typescript": "^4.1.3"
4748
}
File renamed without changes.

src/azureDevOpsClient.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import * as core from '@actions/core';
21
import * as azdev from 'azure-devops-node-api';
3-
import { IGitApi } from 'azure-devops-node-api/GitApi';
4-
import { GitRepository, GitRefUpdate, GitRefUpdateResult } from 'azure-devops-node-api/interfaces/GitInterfaces';
2+
import * as core from '@actions/core';
3+
import { AppConfig, ConfigService } from './configService';
4+
import { GitRefUpdate, GitRefUpdateResult, GitRepository } from 'azure-devops-node-api/interfaces/GitInterfaces';
55
import { CreateBranchOptions } from './azureDevOpsService';
6-
import { ConfigService, AppConfig } from './configService';
6+
import { IGitApi } from 'azure-devops-node-api/GitApi';
77

88
export class AzureDevOpsClient {
99
private _appConfig: AppConfig = ConfigService.defaultAppConfig;

src/azureDevOpsService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as core from '@actions/core';
2-
import { ConfigService, AppConfig } from './configService';
2+
import { AppConfig, ConfigService } from './configService';
33
import { AzureDevOpsClient } from './azureDevOpsClient';
44

55
export interface CreateBranchOptions {

src/chatOpService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ChatOpCommand, ChatOpParam, chatOps, chatOpInfo, ParamValueMap } from './ChatOps';
1+
import { ChatOpCommand, ChatOpParam, ParamValueMap, chatOpInfo, chatOps } from './chatOps';
22

33
export class ChatOpService {
44
private constructor() {}

src/ChatOps.ts renamed to src/chatOps.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ export interface ChatOpInfo {
66
export type ChatOpCommand = '/create-branch-ado' | '/cb-ado' | 'None';
77
export type ChatOpParam = '-username' | '-branch' | 'None';
88

9-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
109
export type ParamValueMap = { [_ in ChatOpParam]?: string };
1110

1211
const createBranchChatOpInfo: ChatOpInfo = {

0 commit comments

Comments
 (0)