Skip to content

Commit

Permalink
v3.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
MrRefactoring committed Feb 25, 2024
1 parent fe606a9 commit caa91bb
Show file tree
Hide file tree
Showing 48 changed files with 800 additions and 1,259 deletions.
122 changes: 64 additions & 58 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -1,82 +1,88 @@
parser: "@typescript-eslint/parser"
extends:
- "airbnb-typescript/base"
- airbnb-base
parserOptions:
ecmaVersion: 2018
sourceType: "module"
project: "./tsconfig.lint.json"
project: ./tsconfig.lint.json
plugins:
- "import"
- import
env:
node: true
browser: true
rules:
"@typescript-eslint/lines-between-class-members": "off"
"arrow-parens":
- "error"
- "as-needed"
"class-methods-use-this": "off"
"eol-last": "error"
"import/no-cycle": "off"
"import/prefer-default-export": "off"
"linebreak-style":
- "error"
- "unix"
"lines-between-class-members": "off"
"max-len": "off"
"no-trailing-spaces": "error"
"no-underscore-dangle": "off"
"padding-line-between-statements":
- "error"
- blankLine: "always"
"@typescript-eslint/lines-between-class-members": off
arrow-parens:
- error
- as-needed
class-methods-use-this: off
eol-last: error
import/extensions: off
import/no-cycle: off
import/no-unresolved: off
import/prefer-default-export: off
linebreak-style:
- error
- unix
lines-between-class-members: off
max-len: off
no-trailing-spaces: error
no-underscore-dangle: off
no-dupe-class-members: off
no-unused-vars: off
no-useless-constructor: off
no-empty-function: off
no-param-reassign: off
padding-line-between-statements:
- error
- blankLine: always
prev: "*"
next:
- "block"
- "block-like"
- "cjs-export"
- "class"
- "const"
- "export"
- "import"
- "let"
- "var"
- blankLine: "always"
- block
- block-like
- cjs-export
- class
- const
- export
- import
- let
- var
- blankLine: always
prev:
- "block"
- "block-like"
- "cjs-export"
- "class"
- "const"
- "export"
- "import"
- "let"
- "var"
- block
- block-like
- cjs-export
- class
- const
- export
- import
- let
- var
next: "*"
- blankLine: "any"
- blankLine: any
prev:
- "const"
- "let"
- "var"
- const
- let
- var
next:
- "const"
- "let"
- "var"
- blankLine: "never"
- const
- let
- var
- blankLine: never
prev:
- "import"
- import
next:
- "import"
- blankLine: "always"
- import
- blankLine: always
prev:
- "import"
- import
next:
- "export"
- blankLine: "any"
- export
- blankLine: any
prev:
- "export"
- export
next:
- "export"
- export
settings:
import/parsers:
"@typescript-eslint/parser":
- ".ts"
- .ts
10 changes: 5 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ on: push
jobs:
build:
name: Build
runs-on: self-hosted
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Installing dependencies
Expand All @@ -23,7 +23,7 @@ jobs:
lint:
name: Lint Code
needs: build
runs-on: self-hosted
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
Expand All @@ -36,7 +36,7 @@ jobs:
test_unit:
name: Unit Tests
needs: build
runs-on: self-hosted
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
Expand All @@ -49,7 +49,7 @@ jobs:
needs:
- lint
- test_unit
runs-on: self-hosted
runs-on: ubuntu-latest
strategy:
max-parallel: 1
matrix:
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ on: workflow_dispatch
jobs:
build:
name: Build
runs-on: self-hosted
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Use Node.js 18.x.x
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
- name: Installing dependencies
Expand All @@ -20,7 +20,7 @@ jobs:
lint:
name: Lint Code
needs: build
runs-on: self-hosted
runs-on: ubuntu-latest
steps:
- name: Linting
run: npm run lint
Expand All @@ -30,7 +30,7 @@ jobs:
test_unit:
name: Unit Tests
needs: build
runs-on: self-hosted
runs-on: ubuntu-latest
steps:
- name: Running unit tests
run: npm run test:unit
Expand All @@ -40,7 +40,7 @@ jobs:
needs:
- lint
- test_unit
runs-on: self-hosted
runs-on: ubuntu-latest
steps:
- name: Creating `.env` file
run: |
Expand All @@ -55,7 +55,7 @@ jobs:
name: Package publish
needs:
- test_integration
runs-on: self-hosted
runs-on: ubuntu-latest
steps:
- name: Publishing
run: npm publish
Expand All @@ -66,15 +66,15 @@ jobs:
name: Docs publish
needs:
- publish
runs-on: self-hosted
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: master

- name: Set up Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18

Expand Down Expand Up @@ -110,15 +110,15 @@ jobs:
name: Create Git Tag
needs:
- publish
runs-on: self-hosted
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18

Expand All @@ -137,13 +137,13 @@ jobs:
name: Create GitHub Release
needs:
- creating-git-tag
runs-on: self-hosted
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18

Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Jira.js changelog

### 3.0.3

- Dependencies updated
- Logo fix in README.md

### 3.0.2

- Return type fixed for `issue remote links` endpoint. Thanks to [Fernando Maia](https://github.com/fsmaia) for reporting and [fixing](https://github.com/MrRefactoring/jira.js/pull/296) [the issue](https://github.com/MrRefactoring/jira.js/issues/295).
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div align="center">
<img alt="Jira.js logo" src="https://svgshare.com/i/uts.svg"/>
<img alt="Jira.js logo" src="./assets/logo.svg"/>

<a href="https://www.npmjs.com/package/jira.js"><img alt="NPM version" src="https://img.shields.io/npm/v/jira.js.svg?maxAge=3600&style=flat-square" /></a>
<a href="https://www.npmjs.com/package/jira.js"><img alt="NPM downloads per month" src="https://img.shields.io/npm/dm/jira.js.svg?maxAge=3600&style=flat-square" /></a>
Expand Down
42 changes: 42 additions & 0 deletions assets/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit caa91bb

Please sign in to comment.