Skip to content

Commit fecb39f

Browse files
authored
Merge pull request #216 from docsbydoxdox/hotfix/updated-packages
[hotfix] Updated packages.
2 parents 4a9ad95 + 6c420b2 commit fecb39f

File tree

43 files changed

+1471
-1136
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+1471
-1136
lines changed

package-lock.json

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

packages/doxdox-cli/.eslintrc

Lines changed: 0 additions & 23 deletions
This file was deleted.

packages/doxdox-cli/eslint.config.js

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
import js from '@eslint/js';
2+
3+
import tseslint from 'typescript-eslint';
4+
import typescriptParser from '@typescript-eslint/parser';
5+
import typescriptPlugin from '@typescript-eslint/eslint-plugin';
6+
7+
export default [
8+
js.configs.recommended,
9+
tseslint.configs.eslintRecommended,
10+
...tseslint.configs.recommended,
11+
{
12+
files: ['**/*.ts', '**/*.js'],
13+
languageOptions: {
14+
parser: typescriptParser,
15+
globals: {
16+
process: 'readonly'
17+
}
18+
},
19+
plugins: {
20+
typescriptPlugin: typescriptPlugin
21+
},
22+
rules: {
23+
'@typescript-eslint/no-explicit-any': 'error',
24+
'@typescript-eslint/no-unused-vars': 'error',
25+
'no-warning-comments': [
26+
'warn',
27+
{ terms: ['todo'], location: 'start' }
28+
],
29+
'no-magic-numbers': [
30+
'error',
31+
{
32+
ignore: [-1, 0, 1]
33+
}
34+
]
35+
}
36+
}
37+
];

packages/doxdox-cli/package.json

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,29 +17,31 @@
1717
"doxdox-renderer-bootstrap": "4.0.0-preview.20",
1818
"doxdox-renderer-json": "4.0.0-preview.20",
1919
"doxdox-renderer-markdown": "4.0.0-preview.20",
20-
"globby": "14.0.0",
20+
"globby": "14.0.1",
2121
"import-from": "4.0.0",
2222
"parse-cmd-args": "4.1.0",
2323
"simple-update-notifier": "2.0.0"
2424
},
2525
"devDependencies": {
26-
"@types/jest": "29.5.8",
27-
"@types/node": "20.9.0",
28-
"@typescript-eslint/eslint-plugin": "6.11.0",
29-
"@typescript-eslint/parser": "6.11.0",
30-
"eslint": "8.53.0",
26+
"@eslint/js": "9.0.0",
27+
"@types/jest": "29.5.12",
28+
"@types/node": "20.12.7",
29+
"@typescript-eslint/eslint-plugin": "7.6.0",
30+
"@typescript-eslint/parser": "7.6.0",
31+
"eslint": "9.0.0",
3132
"jest": "29.7.0",
32-
"nodemon": "3.0.1",
33+
"nodemon": "3.1.0",
3334
"rimraf": "5.0.5",
34-
"ts-jest": "29.1.1",
35+
"ts-jest": "29.1.2",
3536
"ts-jest-resolver": "2.0.1",
36-
"typescript": "5.2.2"
37+
"typescript": "5.4.5",
38+
"typescript-eslint": "7.6.0"
3739
},
3840
"scripts": {
3941
"test": "npx cross-env@7 NODE_OPTIONS=--experimental-vm-modules jest --runInBand --passWithNoTests",
4042
"test-update": "npx cross-env@7 NODE_OPTIONS=--experimental-vm-modules jest --runInBand --passWithNoTests --updateSnapshot",
4143
"build": "rimraf dist/ && tsc && chmod +x ./dist/src/index.js",
42-
"lint": "eslint 'src/**/*.ts'"
44+
"lint": "eslint"
4345
},
4446
"jest": {
4547
"collectCoverage": true,

packages/doxdox-core/.eslintrc

Lines changed: 0 additions & 23 deletions
This file was deleted.

packages/doxdox-core/eslint.config.js

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
import js from '@eslint/js';
2+
3+
import tseslint from 'typescript-eslint';
4+
import typescriptParser from '@typescript-eslint/parser';
5+
import typescriptPlugin from '@typescript-eslint/eslint-plugin';
6+
7+
export default [
8+
js.configs.recommended,
9+
tseslint.configs.eslintRecommended,
10+
...tseslint.configs.recommended,
11+
{
12+
files: ['**/*.ts', '**/*.js'],
13+
languageOptions: {
14+
parser: typescriptParser,
15+
globals: {
16+
process: 'readonly',
17+
console: 'readonly'
18+
}
19+
},
20+
plugins: {
21+
typescriptPlugin: typescriptPlugin
22+
},
23+
rules: {
24+
'@typescript-eslint/no-explicit-any': 'error',
25+
'@typescript-eslint/no-unused-vars': 'error',
26+
'no-warning-comments': [
27+
'warn',
28+
{ terms: ['todo'], location: 'start' }
29+
],
30+
'no-magic-numbers': [
31+
'error',
32+
{
33+
ignore: [-1, 0, 1]
34+
}
35+
]
36+
}
37+
}
38+
];

packages/doxdox-core/package.json

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,25 @@
1212
"normalize-package-data": "6.0.0"
1313
},
1414
"devDependencies": {
15-
"@types/jest": "29.5.8",
16-
"@types/node": "20.9.0",
15+
"@eslint/js": "9.0.0",
16+
"@types/jest": "29.5.12",
17+
"@types/node": "20.12.7",
1718
"@types/normalize-package-data": "2.4.4",
18-
"@typescript-eslint/eslint-plugin": "6.11.0",
19-
"@typescript-eslint/parser": "6.11.0",
20-
"eslint": "8.53.0",
19+
"@typescript-eslint/eslint-plugin": "7.6.0",
20+
"@typescript-eslint/parser": "7.6.0",
21+
"eslint": "9.0.0",
2122
"jest": "29.7.0",
2223
"rimraf": "5.0.5",
23-
"ts-jest": "29.1.1",
24+
"ts-jest": "29.1.2",
2425
"ts-jest-resolver": "2.0.1",
25-
"typescript": "5.2.2"
26+
"typescript": "5.4.5",
27+
"typescript-eslint": "7.6.0"
2628
},
2729
"scripts": {
2830
"test": "npx cross-env@7 NODE_OPTIONS=--experimental-vm-modules jest --runInBand --passWithNoTests",
2931
"test-update": "npx cross-env@7 NODE_OPTIONS=--experimental-vm-modules jest --runInBand --passWithNoTests --updateSnapshot",
3032
"build": "rimraf dist/ && tsc",
31-
"lint": "eslint 'src/**/*.ts'"
33+
"lint": "eslint"
3234
},
3335
"jest": {
3436
"collectCoverage": true,

packages/doxdox-parser-custom/.eslintrc

Lines changed: 0 additions & 23 deletions
This file was deleted.
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
import js from '@eslint/js';
2+
3+
import tseslint from 'typescript-eslint';
4+
import typescriptParser from '@typescript-eslint/parser';
5+
import typescriptPlugin from '@typescript-eslint/eslint-plugin';
6+
7+
export default [
8+
js.configs.recommended,
9+
tseslint.configs.eslintRecommended,
10+
...tseslint.configs.recommended,
11+
{
12+
files: ['**/*.ts', '**/*.js'],
13+
languageOptions: {
14+
parser: typescriptParser,
15+
globals: {
16+
process: 'readonly',
17+
console: 'readonly'
18+
}
19+
},
20+
plugins: {
21+
typescriptPlugin: typescriptPlugin
22+
},
23+
rules: {
24+
'@typescript-eslint/no-explicit-any': 'error',
25+
'@typescript-eslint/no-unused-vars': 'error',
26+
'no-warning-comments': [
27+
'warn',
28+
{ terms: ['todo'], location: 'start' }
29+
],
30+
'no-magic-numbers': [
31+
'error',
32+
{
33+
ignore: [-1, 0, 1]
34+
}
35+
]
36+
}
37+
}
38+
];

packages/doxdox-parser-custom/package.json

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
},
1111
"dependencies": {
1212
"comment-parser": "1.4.1",
13-
"super-regex": "0.3.0"
13+
"super-regex": "1.0.0"
1414
},
1515
"peerDependencies": {
1616
"doxdox-core": "4.0.0-preview.20"
@@ -21,22 +21,24 @@
2121
}
2222
},
2323
"devDependencies": {
24-
"@types/jest": "29.5.8",
25-
"@types/node": "20.9.0",
26-
"@typescript-eslint/eslint-plugin": "6.11.0",
27-
"@typescript-eslint/parser": "6.11.0",
28-
"eslint": "8.53.0",
24+
"@eslint/js": "9.0.0",
25+
"@types/jest": "29.5.12",
26+
"@types/node": "20.12.7",
27+
"@typescript-eslint/eslint-plugin": "7.6.0",
28+
"@typescript-eslint/parser": "7.6.0",
29+
"eslint": "9.0.0",
2930
"jest": "29.7.0",
3031
"rimraf": "5.0.5",
31-
"ts-jest": "29.1.1",
32+
"ts-jest": "29.1.2",
3233
"ts-jest-resolver": "2.0.1",
33-
"typescript": "5.2.2"
34+
"typescript": "5.4.5",
35+
"typescript-eslint": "7.6.0"
3436
},
3537
"scripts": {
3638
"test": "npx cross-env@7 NODE_OPTIONS=--experimental-vm-modules jest --runInBand --passWithNoTests",
3739
"test-update": "npx cross-env@7 NODE_OPTIONS=--experimental-vm-modules jest --runInBand --passWithNoTests --updateSnapshot",
3840
"build": "rimraf dist/ && tsc",
39-
"lint": "eslint 'src/**/*.ts'"
41+
"lint": "eslint . --ignore-pattern test/mocks"
4042
},
4143
"jest": {
4244
"collectCoverage": true,

0 commit comments

Comments
 (0)