Skip to content

Commit 63a7028

Browse files
committed
#381 commonjs fix
1 parent f2ad3a9 commit 63a7028

File tree

3 files changed

+64
-63
lines changed

3 files changed

+64
-63
lines changed

package.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jira.js",
3-
"version": "5.1.0",
3+
"version": "5.1.1",
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",
@@ -33,13 +33,14 @@
3333
"engines": {
3434
"node": ">=20.0.0"
3535
},
36-
"main": "./dist/index.cjs.js",
3736
"types": "./dist/index.d.ts",
37+
"module": "./dist/index.mjs",
38+
"main": "./dist/index.сjs",
3839
"exports": {
3940
".": {
4041
"types": "./dist/index.d.ts",
41-
"import": "./dist/index.esm.js",
42-
"require": "./dist/index.cjs.js"
42+
"import": "./dist/index.mjs",
43+
"require": "./dist/index.cjs"
4344
}
4445
},
4546
"scripts": {
@@ -91,7 +92,7 @@
9192
"dependencies": {
9293
"axios": "^1.9.0",
9394
"mime": "^4.0.7",
94-
"zod": "^3.24.3"
95+
"zod": "^3.24.4"
9596
},
9697
"devDependencies": {
9798
"@eslint/js": "^9.26.0",
@@ -114,6 +115,6 @@
114115
"typedoc": "^0.28.4",
115116
"typescript": "^5.8.3",
116117
"typescript-eslint": "^8.31.1",
117-
"vitest": "^3.1.2"
118+
"vitest": "^3.1.3"
118119
}
119120
}

pnpm-lock.yaml

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

rollup.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ export default defineConfig({
2121
input: 'src/index.ts',
2222
output: [
2323
{
24-
file: 'dist/index.cjs.js',
24+
file: 'dist/index.сjs',
2525
format: 'cjs',
2626
sourcemap: true,
2727
},
2828
{
29-
file: 'dist/index.esm.js',
29+
file: 'dist/index.mjs',
3030
format: 'esm',
3131
sourcemap: true,
3232
},

0 commit comments

Comments
 (0)