Skip to content

Commit 21e5d6e

Browse files
committed
v5.2.0
1 parent ec1e254 commit 21e5d6e

File tree

7 files changed

+345
-331
lines changed

7 files changed

+345
-331
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
name: CI/CD Pipeline
1+
name: 🚀 Publish to NPM
2+
23
on:
34
push:
45
tags:

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Jira.js changelog
22

3+
## 5.2.0
4+
5+
### Build & Distribution Improvements
6+
- Added `rollup-plugin-node-externals` to transform `ESNext` `import`/`export` syntax to `NodeNext` format
7+
- Restructured `dist` files to preserve modules
8+
9+
### Documentation Updates
10+
- Updated tree shaking description in `README.md`
11+
- Redesigned `README.md` with a new "Getting Started" section
12+
313
## 5.1.1
414

515
- Fixing CommonJS requiring. Thanks to solshark ([solshark](https://github.com/solshark)) for reporting this issue ([#381](https://github.com/MrRefactoring/jira.js/issues/381))

README.md

Lines changed: 112 additions & 241 deletions
Large diffs are not rendered by default.

eslint.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ export default defineConfig([
5656
'@typescript-eslint/no-unsafe-call': 'off', // todo fix it
5757
'@typescript-eslint/no-unsafe-member-access': 'off',
5858
'@typescript-eslint/prefer-optional-chain': 'error',
59+
'@stylistic/ts/object-curly-spacing': ["error", "always"]
5960
},
6061
},
6162
]);

package.json

Lines changed: 37 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,47 @@
11
{
22
"name": "jira.js",
3-
"version": "5.1.1",
3+
"version": "5.2.0",
44
"description": "A comprehensive JavaScript/TypeScript library designed for both Node.JS and browsers, facilitating seamless interaction with the Atlassian Jira API.",
55
"repository": "https://github.com/MrRefactoring/jira.js.git",
66
"homepage": "https://mrrefactoring.github.io/jira.js",
77
"author": "Vladislav Tupikin <vladislav.tupikin@icloud.com>",
88
"license": "MIT",
99
"type": "module",
10-
"types": "./dist/index.d.ts",
11-
"module": "./dist/index.mjs",
12-
"main": "./dist/index.cjs",
10+
"types": "./dist/esm/types/index.d.ts",
11+
"module": "./dist/esm/index.mjs",
12+
"main": "./dist/cjs/index.cjs",
1313
"exports": {
1414
".": {
15-
"types": "./dist/index.d.ts",
16-
"import": "./dist/index.mjs",
17-
"require": "./dist/index.cjs"
18-
}
15+
"types": "./dist/esm/types/index.d.ts",
16+
"import": "./dist/esm/index.mjs",
17+
"require": "./dist/cjs/index.cjs"
18+
},
19+
"./*": {
20+
"types": "./dist/esm/types/*.d.ts",
21+
"import": "./dist/esm/*.mjs",
22+
"require": "./dist/cjs/*.cjs"
23+
},
24+
"./agile": {
25+
"types": "./dist/esm/types/agile/index.d.ts",
26+
"import": "./dist/esm/agile/index.mjs",
27+
"require": "./dist/cjs/agile/index.cjs"
28+
},
29+
"./version2": {
30+
"types": "./dist/esm/types/version2/index.d.ts",
31+
"import": "./dist/esm/version2/index.mjs",
32+
"require": "./dist/cjs/version2/index.cjs"
33+
},
34+
"./version3": {
35+
"types": "./dist/esm/types/version3/index.d.ts",
36+
"import": "./dist/esm/version3/index.mjs",
37+
"require": "./dist/cjs/version3/index.cjs"
38+
},
39+
"./serviceDesk": {
40+
"types": "./dist/esm/types/serviceDesk/index.d.ts",
41+
"import": "./dist/esm/serviceDesk/index.mjs",
42+
"require": "./dist/cjs/serviceDesk/index.cjs"
43+
},
44+
"./package.json": "./package.json"
1945
},
2046
"keywords": [
2147
"jira",
@@ -102,7 +128,7 @@
102128
"@rollup/plugin-typescript": "^12.1.2",
103129
"@stylistic/eslint-plugin-js": "^4.2.0",
104130
"@stylistic/eslint-plugin-ts": "^4.2.0",
105-
"@types/node": "^20.17.46",
131+
"@types/node": "^20.17.47",
106132
"@types/sinon": "^17.0.4",
107133
"dotenv": "^16.5.0",
108134
"eslint": "^9.26.0",
@@ -112,11 +138,12 @@
112138
"prettier-plugin-jsdoc": "^1.3.2",
113139
"rollup": "^4.40.2",
114140
"rollup-plugin-esnext-to-nodenext": "^1.0.0",
141+
"rollup-plugin-node-externals": "^8.0.0",
115142
"sinon": "^20.0.0",
116143
"tslib": "^2.8.1",
117144
"typedoc": "^0.28.4",
118145
"typescript": "^5.8.3",
119-
"typescript-eslint": "^8.32.0",
146+
"typescript-eslint": "^8.32.1",
120147
"vitest": "^3.1.3"
121148
}
122149
}

0 commit comments

Comments
 (0)