Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ on:
repository_dispatch:
types: [ pr-approved ]

env:
PNPM_VERSION: '10'

jobs:
build:
name: 🏗️ Build
Expand All @@ -28,8 +25,6 @@ jobs:
node-version: ${{ matrix.node-version }}
- name: 📦 Install pnpm
uses: pnpm/action-setup@v4
with:
version: ${{ env.PNPM_VERSION }}
- name: 📌 Installing dependencies
run: pnpm install --frozen-lockfile
- name: 🛠️ Building sources
Expand All @@ -51,8 +46,6 @@ jobs:
node-version: ${{ matrix.node-version }}
- name: 📦 Install pnpm
uses: pnpm/action-setup@v4
with:
version: ${{ env.PNPM_VERSION }}
- name: 📌 Installing dependencies
run: pnpm install --frozen-lockfile
- name: ✨ Linting
Expand All @@ -76,8 +69,6 @@ jobs:
node-version: ${{ matrix.node-version }}
- name: 📦 Install pnpm
uses: pnpm/action-setup@v4
with:
version: ${{ env.PNPM_VERSION }}
- name: 📌 Installing dependencies
run: pnpm install --frozen-lockfile
- name: 🚀 Running unit tests
Expand All @@ -102,8 +93,6 @@ jobs:
node-version: ${{ matrix.node-version }}
- name: 📦 Install pnpm
uses: pnpm/action-setup@v4
with:
version: ${{ env.PNPM_VERSION }}
- name: 📌 Installing dependencies
run: pnpm install --frozen-lockfile
- name: 📝 Creating `.env` file
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/publish-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:

env:
NODE_VERSION: '20.x'
PNPM_VERSION: '10'

permissions:
contents: read
Expand All @@ -26,8 +25,6 @@ jobs:

- name: 📦 Install pnpm
uses: pnpm/action-setup@v4
with:
version: ${{ env.PNPM_VERSION }}

- name: 📌 Install dependencies
run: pnpm install --frozen-lockfile
Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:

env:
NODE_VERSION: '20.x'
PNPM_VERSION: '10'

permissions:
contents: read
Expand All @@ -29,8 +28,6 @@ jobs:

- name: 📦 Install pnpm
uses: pnpm/action-setup@v4
with:
version: ${{ env.PNPM_VERSION }}

- name: 📌 Install dependencies
run: pnpm install --frozen-lockfile
Expand Down Expand Up @@ -75,8 +72,6 @@ jobs:

- name: 📦 Install pnpm
uses: pnpm/action-setup@v4
with:
version: ${{ env.PNPM_VERSION }}

- name: 🔖 Get and validate version
id: version
Expand Down Expand Up @@ -134,8 +129,6 @@ jobs:

- name: 📦 Install pnpm
uses: pnpm/action-setup@v4
with:
version: ${{ env.PNPM_VERSION }}

- name: 📌 Install dependencies
run: pnpm install --frozen-lockfile
Expand Down
49 changes: 25 additions & 24 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
"lint:fix": "pnpm run lint:tests --fix && pnpm run lint:src:agile --fix && pnpm run lint:src:clients --fix && pnpm run lint:src:services --fix && pnpm run lint:src:version2 --fix && pnpm run lint:src:version3 --fix && pnpm run lint:src:serviceDesk --fix && pnpm run lint:src:files --fix",
"doc": "typedoc --name \"Jira.js - Jira Cloud API library\" --out docs ./src/index.ts --favicon https://bad37fb3-cb50-4e0b-9035-a3e09e8afb3b.selstorage.ru/jira.js%2Ffavicon.svg",
"test": "pnpm run build:tests && pnpm run test:unit && pnpm run test:integration",
"test:unit": "vitest run tests/unit --minWorkers=1 --maxWorkers=8 --sequence.concurrent",
"test:unit": "vitest run tests/unit --sequence.concurrent",
"test:integration": "vitest run tests/integration --bail=1 --no-file-parallelism --max-concurrency 1 -c vitest.config.mts --hookTimeout 100000 --testTimeout 100000",
"replace:all": "pnpm run replace:fixExpansionMarkup && pnpm run replace:permissions:version2 && pnpm run replace:permissions:version3 && pnpm run replace:pagination:version2 && pnpm run replace:pagination:version3 && pnpm run replace:async:version2 && pnpm run replace:async:version3 && pnpm run replace:expansion:version2 && pnpm run replace:expansion:version3 && pnpm run replace:ordering:version2 && pnpm run replace:ordering:version3 && pnpm run replace:groupMember:version2 && pnpm run replace:workflowPaginated:version2 && pnpm run replace:attachment:serviceDesk && pnpm run replace:priority:version3 && pnpm run replace:projectAvatar:version3 && pnpm run replace:issueType:version3 && pnpm run replace:issueType:version2 && pnpm run replace:projectAvatar:version2 && pnpm run replace:priority:version2 && pnpm run replace:projectCreate:agile && pnpm run replace:filterCreate:agile",
"replace:permissions:version2": "grep -rl \"(#permissions)\" ./src/version2 | xargs sed -i '' 's/(#permissions)/(https:\\/\\/developer.atlassian.com\\/cloud\\/jira\\/platform\\/rest\\/v2\\/intro\\/#permissions)/g'",
Expand Down Expand Up @@ -116,33 +116,34 @@
"code:formatting": "pnpm run replace:all && pnpm run prettier && pnpm run lint:fix && pnpm run replace:fixCodeBlockSemicolons"
},
"dependencies": {
"axios": "^1.10.0",
"mime": "^4.0.7",
"axios": "^1.13.2",
"mime": "^4.1.0",
"zod": "^3.25.76"
},
"devDependencies": {
"@eslint/js": "^9.31.0",
"@rollup/plugin-alias": "^5.1.1",
"@rollup/plugin-commonjs": "^28.0.6",
"@rollup/plugin-node-resolve": "^16.0.1",
"@rollup/plugin-typescript": "^12.1.4",
"@stylistic/eslint-plugin": "^5.2.1",
"@types/node": "^20.19.9",
"@types/sinon": "^17.0.4",
"dotenv": "^17.2.0",
"eslint": "^9.31.0",
"globals": "^16.3.0",
"jiti": "^2.4.2",
"prettier": "^3.6.2",
"prettier-plugin-jsdoc": "^1.3.3",
"rollup": "^4.45.1",
"@eslint/js": "^9.39.1",
"@rollup/plugin-alias": "^6.0.0",
"@rollup/plugin-commonjs": "^29.0.0",
"@rollup/plugin-node-resolve": "^16.0.3",
"@rollup/plugin-typescript": "^12.3.0",
"@stylistic/eslint-plugin": "^5.6.1",
"@types/node": "^20.19.25",
"@types/sinon": "^21.0.0",
"dotenv": "^17.2.3",
"eslint": "^9.39.1",
"globals": "^16.5.0",
"jiti": "^2.6.1",
"prettier": "^3.7.1",
"prettier-plugin-jsdoc": "^1.7.0",
"rollup": "^4.53.3",
"rollup-plugin-esnext-to-nodenext": "^1.0.1",
"rollup-plugin-node-externals": "^8.0.1",
"rollup-plugin-node-externals": "^8.1.2",
"sinon": "^21.0.0",
"tslib": "^2.8.1",
"typedoc": "^0.28.7",
"typescript": "^5.8.3",
"typescript-eslint": "^8.37.0",
"vitest": "^3.2.4"
}
"typedoc": "^0.28.14",
"typescript": "^5.9.3",
"typescript-eslint": "^8.48.0",
"vitest": "^4.0.14"
},
"packageManager": "pnpm@10.24.0"
}
Loading
Loading