Skip to content

Commit 8b3af6a

Browse files
1.8.0-rc (MrRefactoring#91)
1 parent 5601540 commit 8b3af6a

File tree

7 files changed

+809
-853
lines changed

7 files changed

+809
-853
lines changed

.github/workflows/ci.yaml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: CI
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
10+
strategy:
11+
matrix:
12+
node-version: [10.x, 12.x, 14.x, 15.x]
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Use Node.js ${{ matrix.node-version }}
17+
uses: actions/setup-node@v1
18+
with:
19+
node-version: ${{ matrix.node-version }}
20+
- run: npm install
21+
- run: npm run build
22+
- run: npm test
23+
- run: npm run lint
24+
env:
25+
CI: true

.npmignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ tests
44
coverage
55
.eslintrc
66
.editorconfig
7-
.travis.yml
7+
.github
88
.DS_Store

.travis.yml

-10
This file was deleted.

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Jira.js changelog
22

3+
### 1.8.0
4+
5+
- Authentication: Added [OAuth 1.0](https://developer.atlassian.com/server/jira/platform/oauth/) authentication method
6+
- CI: Migrated from `Travis CI` to `Github CI`
7+
38
### 1.7.3
49

510
- DEPENDENCIES: `atlassian-jwt` installed from npm instead git

README.md

+11-44
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
A JavaScript / TypeScript wrapper for the JIRA REST API
44

5-
[![npm](https://img.shields.io/npm/v/jira.js.svg?style=flat-square)](https://www.npmjs.com/package/jira.js)
5+
[![NPM](https://img.shields.io/npm/v/jira.js.svg?style=flat-square)](https://www.npmjs.com/package/jira.js)
66
[![Downloads](https://img.shields.io/npm/dm/jira.js.svg?style=flat-square)](https://npmjs.com/jira.js)
77
[![Minizipped size](https://badgen.net/bundlephobia/minzip/jira.js?style=flat-square)](https://bundlephobia.com/result?p=jira.js)
8-
[![dependencies Status](https://david-dm.org/mrrefactoring/jira.js/status.svg?style=flat-square)](https://david-dm.org/mrrefactoring/jira.js)
9-
[![devDependencies Status](https://david-dm.org/mrrefactoring/jira.js/dev-status.svg?style=flat-square)](https://david-dm.org/mrrefactoring/jira.js?type=dev)
10-
[![Build Status](https://img.shields.io/travis/mrrefactoring/jira.js/master.svg?style=flat-square)](https://travis-ci.org/MrRefactoring/jira.js)
8+
[![Dependencies Status](https://david-dm.org/mrrefactoring/jira.js/status.svg?style=flat-square)](https://david-dm.org/mrrefactoring/jira.js)
9+
[![DevDependencies Status](https://david-dm.org/mrrefactoring/jira.js/dev-status.svg?style=flat-square)](https://david-dm.org/mrrefactoring/jira.js?type=dev)
10+
![Build status](https://github.com/mrrefactoring/jira.js/workflows/CI/badge.svg)
1111

1212
## Installation
1313

@@ -193,9 +193,9 @@ Can't find what you need in the readme? Check out our documentation here: https:
193193

194194
## Contributors
195195

196-
[<img alt="MrRefactoring" src="https://avatars0.githubusercontent.com/u/10329528?v=4&s=117 width=117">](https://github.com/MrRefactoring) |[<img alt="Swapnull" src="https://avatars0.githubusercontent.com/u/4456346?v=4&s=117 width=117">](https://github.com/Swapnull) |[<img alt="violine1101" src="https://avatars0.githubusercontent.com/u/12451842?v=4&s=117 width=117">](https://github.com/violine1101) |
197-
:---:|:---:|:---:|
198-
[MrRefactoring](https://github.com/MrRefactoring)|[Swapnull](https://github.com/Swapnull)|[violine1101](https://github.com/violine1101)|
196+
[<img alt="MrRefactoring" src="https://avatars0.githubusercontent.com/u/10329528?v=4&s=117 width=117">](https://github.com/MrRefactoring) |[<img alt="jayree" src="https://avatars3.githubusercontent.com/u/14836154?s=400&v=4">](https://github.com/jayree) |[<img alt="Swapnull" src="https://avatars0.githubusercontent.com/u/4456346?v=4&s=117 width=117">](https://github.com/Swapnull) |[<img alt="violine1101" src="https://avatars0.githubusercontent.com/u/12451842?v=4&s=117 width=117">](https://github.com/violine1101) |
197+
:---:|:---:|:---:|:---:|
198+
[MrRefactoring](https://github.com/MrRefactoring)|[jayree](https://github.com/jayree)|[Swapnull](https://github.com/Swapnull)|[violine1101](https://github.com/violine1101)|
199199

200200
## Road map
201201

@@ -204,40 +204,7 @@ Can't find what you need in the readme? Check out our documentation here: https:
204204

205205
## Latest version changelog
206206

207-
### 1.7.3
208-
209-
- DEPENDENCIES: `atlassian-jwt` installed from npm instead git
210-
- DEPENDENCIES: Updated dependencies versions
211-
- README: Contributors section added, small redesign
212-
213-
### 1.7.2
214-
215-
- FIX: console.log removed
216-
217-
### 1.7.1
218-
219-
- FIX: Headers fixes
220-
221-
### 1.7.0
222-
223-
- IMPROVEMENT: Readme examples updated
224-
---
225-
- IMPROVEMENT: Config typings refactored
226-
- DEPRECATION: Property `timeout` deprecated in `Config`
227-
---
228-
- FEATURE: Property `middlewares` added to `Config`
229-
---
230-
- FEATURE: Property `baseRequestConfig` added to `Config`
231-
---
232-
- FEATURE: Method `getOptionsForContext` added to `IssueCustomFieldOptions` [Jira documentation](https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-issue-custom-field-options/#api-rest-api-2-customfield-fieldid-context-contextid-option-get)
233-
- FEATURE: Method `deleteCustomFieldOption` added to `IssueCustomFieldOptions` [Jira documentation](https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-issue-custom-field-options/#api-rest-api-2-customfield-fieldid-context-contextid-option-optionid-delete)
234-
---
235-
- FEATURE: Method `changeOrderOfIssueTypes` added to `IssueTypeSchemes` [Jira documentation](https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-issue-type-schemes/#api-rest-api-2-issuetypescheme-issuetypeschemeid-issuetype-move-put)
236-
---
237-
- FEATURE: Method `assignWorkflowSchemeToProject` added to `WorkflowSchemeProjectAssociations` [Jira documentation](https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-workflow-scheme-project-associations/#api-rest-api-2-workflowscheme-project-put)
238-
---
239-
- FEATURE: New API `ScreenSchemes` added. [Jira documentation](https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-screen-schemes/#api-group-screen-schemes).
240-
- FEATURE: New API `ScreenTabFields` added [Jira documentation](https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-screen-tab-fields/#api-group-screen-tab-fields)
241-
- FEATURE: New API `ScreenTabs` added [Jira documentation](https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-screen-tabs/)
242-
---
243-
- FEATURE: Added models for new endpoints
207+
### 1.8.0
208+
209+
- Authentication: Added [OAuth 1.0](https://developer.atlassian.com/server/jira/platform/oauth/) authentication method
210+
- CI: Migrated from `Travis CI` to `Github CI`

package.json

+16-16
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jira.js",
3-
"version": "1.7.3",
3+
"version": "1.8.0",
44
"main": "out/index.js",
55
"types": "out/index.d.ts",
66
"repository": "https://github.com/MrRefactoring/jira.js.git",
@@ -15,37 +15,37 @@
1515
],
1616
"scripts": {
1717
"compile": "tsc",
18-
"prepublishOnly": "npm run lint && npm run test && npm run compile",
19-
"lint": "eslint ./src --ext .js,.ts",
18+
"prepublishOnly": "npm run compile && npm run test && npm run lint",
19+
"lint": "eslint ./src --ext .ts",
2020
"lint:fix": "npm run lint -- --fix",
21-
"doc": "typedoc --out docs --mode file ./src",
21+
"doc": "typedoc --name Jira.js --mode file --out docs ./src",
2222
"test": "jest --verbose",
2323
"test:coverage": "npm run test -- --coverage"
2424
},
2525
"jest": {
2626
"preset": "ts-jest"
2727
},
2828
"devDependencies": {
29-
"@types/express": "^4.17.8",
30-
"@types/jest": "^26.0.15",
31-
"@types/node": "^14.14.5",
29+
"@types/express": "4.17.8",
30+
"@types/jest": "^26.0.19",
31+
"@types/node": "^14.14.16",
3232
"@types/oauth": "^0.9.1",
33-
"@types/sinon": "^9.0.8",
34-
"@typescript-eslint/eslint-plugin": "^4.6.0",
35-
"@typescript-eslint/parser": "^4.6.0",
36-
"eslint": "^7.12.1",
33+
"@types/sinon": "^9.0.10",
34+
"@typescript-eslint/eslint-plugin": "^4.11.1",
35+
"@typescript-eslint/parser": "^4.11.1",
36+
"eslint": "^7.16.0",
3737
"eslint-config-airbnb-typescript": "^12.0.0",
3838
"eslint-import-resolver-typescript": "^2.3.0",
3939
"eslint-plugin-import": "^2.22.1",
40-
"jest": "^26.6.1",
41-
"sinon": "^9.2.1",
42-
"ts-jest": "^26.4.3",
40+
"jest": "^26.6.3",
41+
"sinon": "^9.2.2",
42+
"ts-jest": "^26.4.4",
4343
"typedoc": "^0.19.2",
44-
"typescript": "^4.0.5"
44+
"typescript": "^4.1.3"
4545
},
4646
"dependencies": {
4747
"atlassian-jwt": "^1.0.3",
48-
"axios": "^0.21.0",
48+
"axios": "^0.21.1",
4949
"oauth": "^0.9.15"
5050
}
5151
}

0 commit comments

Comments
 (0)