Skip to content

Commit

Permalink
Merge pull request #216 from docsbydoxdox/hotfix/updated-packages
Browse files Browse the repository at this point in the history
[hotfix] Updated packages.
  • Loading branch information
neogeek authored Apr 12, 2024
2 parents 4a9ad95 + 6c420b2 commit fecb39f
Show file tree
Hide file tree
Showing 43 changed files with 1,471 additions and 1,136 deletions.
1,506 changes: 815 additions & 691 deletions package-lock.json

Large diffs are not rendered by default.

23 changes: 0 additions & 23 deletions packages/doxdox-cli/.eslintrc

This file was deleted.

37 changes: 37 additions & 0 deletions packages/doxdox-cli/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
import js from '@eslint/js';

import tseslint from 'typescript-eslint';
import typescriptParser from '@typescript-eslint/parser';
import typescriptPlugin from '@typescript-eslint/eslint-plugin';

export default [
js.configs.recommended,
tseslint.configs.eslintRecommended,
...tseslint.configs.recommended,
{
files: ['**/*.ts', '**/*.js'],
languageOptions: {
parser: typescriptParser,
globals: {
process: 'readonly'
}
},
plugins: {
typescriptPlugin: typescriptPlugin
},
rules: {
'@typescript-eslint/no-explicit-any': 'error',
'@typescript-eslint/no-unused-vars': 'error',
'no-warning-comments': [
'warn',
{ terms: ['todo'], location: 'start' }
],
'no-magic-numbers': [
'error',
{
ignore: [-1, 0, 1]
}
]
}
}
];
22 changes: 12 additions & 10 deletions packages/doxdox-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,29 +17,31 @@
"doxdox-renderer-bootstrap": "4.0.0-preview.20",
"doxdox-renderer-json": "4.0.0-preview.20",
"doxdox-renderer-markdown": "4.0.0-preview.20",
"globby": "14.0.0",
"globby": "14.0.1",
"import-from": "4.0.0",
"parse-cmd-args": "4.1.0",
"simple-update-notifier": "2.0.0"
},
"devDependencies": {
"@types/jest": "29.5.8",
"@types/node": "20.9.0",
"@typescript-eslint/eslint-plugin": "6.11.0",
"@typescript-eslint/parser": "6.11.0",
"eslint": "8.53.0",
"@eslint/js": "9.0.0",
"@types/jest": "29.5.12",
"@types/node": "20.12.7",
"@typescript-eslint/eslint-plugin": "7.6.0",
"@typescript-eslint/parser": "7.6.0",
"eslint": "9.0.0",
"jest": "29.7.0",
"nodemon": "3.0.1",
"nodemon": "3.1.0",
"rimraf": "5.0.5",
"ts-jest": "29.1.1",
"ts-jest": "29.1.2",
"ts-jest-resolver": "2.0.1",
"typescript": "5.2.2"
"typescript": "5.4.5",
"typescript-eslint": "7.6.0"
},
"scripts": {
"test": "npx cross-env@7 NODE_OPTIONS=--experimental-vm-modules jest --runInBand --passWithNoTests",
"test-update": "npx cross-env@7 NODE_OPTIONS=--experimental-vm-modules jest --runInBand --passWithNoTests --updateSnapshot",
"build": "rimraf dist/ && tsc && chmod +x ./dist/src/index.js",
"lint": "eslint 'src/**/*.ts'"
"lint": "eslint"
},
"jest": {
"collectCoverage": true,
Expand Down
23 changes: 0 additions & 23 deletions packages/doxdox-core/.eslintrc

This file was deleted.

38 changes: 38 additions & 0 deletions packages/doxdox-core/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
import js from '@eslint/js';

import tseslint from 'typescript-eslint';
import typescriptParser from '@typescript-eslint/parser';
import typescriptPlugin from '@typescript-eslint/eslint-plugin';

export default [
js.configs.recommended,
tseslint.configs.eslintRecommended,
...tseslint.configs.recommended,
{
files: ['**/*.ts', '**/*.js'],
languageOptions: {
parser: typescriptParser,
globals: {
process: 'readonly',
console: 'readonly'
}
},
plugins: {
typescriptPlugin: typescriptPlugin
},
rules: {
'@typescript-eslint/no-explicit-any': 'error',
'@typescript-eslint/no-unused-vars': 'error',
'no-warning-comments': [
'warn',
{ terms: ['todo'], location: 'start' }
],
'no-magic-numbers': [
'error',
{
ignore: [-1, 0, 1]
}
]
}
}
];
18 changes: 10 additions & 8 deletions packages/doxdox-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,25 @@
"normalize-package-data": "6.0.0"
},
"devDependencies": {
"@types/jest": "29.5.8",
"@types/node": "20.9.0",
"@eslint/js": "9.0.0",
"@types/jest": "29.5.12",
"@types/node": "20.12.7",
"@types/normalize-package-data": "2.4.4",
"@typescript-eslint/eslint-plugin": "6.11.0",
"@typescript-eslint/parser": "6.11.0",
"eslint": "8.53.0",
"@typescript-eslint/eslint-plugin": "7.6.0",
"@typescript-eslint/parser": "7.6.0",
"eslint": "9.0.0",
"jest": "29.7.0",
"rimraf": "5.0.5",
"ts-jest": "29.1.1",
"ts-jest": "29.1.2",
"ts-jest-resolver": "2.0.1",
"typescript": "5.2.2"
"typescript": "5.4.5",
"typescript-eslint": "7.6.0"
},
"scripts": {
"test": "npx cross-env@7 NODE_OPTIONS=--experimental-vm-modules jest --runInBand --passWithNoTests",
"test-update": "npx cross-env@7 NODE_OPTIONS=--experimental-vm-modules jest --runInBand --passWithNoTests --updateSnapshot",
"build": "rimraf dist/ && tsc",
"lint": "eslint 'src/**/*.ts'"
"lint": "eslint"
},
"jest": {
"collectCoverage": true,
Expand Down
23 changes: 0 additions & 23 deletions packages/doxdox-parser-custom/.eslintrc

This file was deleted.

38 changes: 38 additions & 0 deletions packages/doxdox-parser-custom/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
import js from '@eslint/js';

import tseslint from 'typescript-eslint';
import typescriptParser from '@typescript-eslint/parser';
import typescriptPlugin from '@typescript-eslint/eslint-plugin';

export default [
js.configs.recommended,
tseslint.configs.eslintRecommended,
...tseslint.configs.recommended,
{
files: ['**/*.ts', '**/*.js'],
languageOptions: {
parser: typescriptParser,
globals: {
process: 'readonly',
console: 'readonly'
}
},
plugins: {
typescriptPlugin: typescriptPlugin
},
rules: {
'@typescript-eslint/no-explicit-any': 'error',
'@typescript-eslint/no-unused-vars': 'error',
'no-warning-comments': [
'warn',
{ terms: ['todo'], location: 'start' }
],
'no-magic-numbers': [
'error',
{
ignore: [-1, 0, 1]
}
]
}
}
];
20 changes: 11 additions & 9 deletions packages/doxdox-parser-custom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"comment-parser": "1.4.1",
"super-regex": "0.3.0"
"super-regex": "1.0.0"
},
"peerDependencies": {
"doxdox-core": "4.0.0-preview.20"
Expand All @@ -21,22 +21,24 @@
}
},
"devDependencies": {
"@types/jest": "29.5.8",
"@types/node": "20.9.0",
"@typescript-eslint/eslint-plugin": "6.11.0",
"@typescript-eslint/parser": "6.11.0",
"eslint": "8.53.0",
"@eslint/js": "9.0.0",
"@types/jest": "29.5.12",
"@types/node": "20.12.7",
"@typescript-eslint/eslint-plugin": "7.6.0",
"@typescript-eslint/parser": "7.6.0",
"eslint": "9.0.0",
"jest": "29.7.0",
"rimraf": "5.0.5",
"ts-jest": "29.1.1",
"ts-jest": "29.1.2",
"ts-jest-resolver": "2.0.1",
"typescript": "5.2.2"
"typescript": "5.4.5",
"typescript-eslint": "7.6.0"
},
"scripts": {
"test": "npx cross-env@7 NODE_OPTIONS=--experimental-vm-modules jest --runInBand --passWithNoTests",
"test-update": "npx cross-env@7 NODE_OPTIONS=--experimental-vm-modules jest --runInBand --passWithNoTests --updateSnapshot",
"build": "rimraf dist/ && tsc",
"lint": "eslint 'src/**/*.ts'"
"lint": "eslint . --ignore-pattern test/mocks"
},
"jest": {
"collectCoverage": true,
Expand Down
23 changes: 0 additions & 23 deletions packages/doxdox-parser-dox/.eslintrc

This file was deleted.

38 changes: 38 additions & 0 deletions packages/doxdox-parser-dox/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
import js from '@eslint/js';

import tseslint from 'typescript-eslint';
import typescriptParser from '@typescript-eslint/parser';
import typescriptPlugin from '@typescript-eslint/eslint-plugin';

export default [
js.configs.recommended,
tseslint.configs.eslintRecommended,
...tseslint.configs.recommended,
{
files: ['**/*.ts', '**/*.js'],
languageOptions: {
parser: typescriptParser,
globals: {
process: 'readonly',
console: 'readonly'
}
},
plugins: {
typescriptPlugin: typescriptPlugin
},
rules: {
'@typescript-eslint/no-explicit-any': 'error',
'@typescript-eslint/no-unused-vars': 'error',
'no-warning-comments': [
'warn',
{ terms: ['todo'], location: 'start' }
],
'no-magic-numbers': [
'error',
{
ignore: [-1, 0, 1]
}
]
}
}
];
Loading

0 comments on commit fecb39f

Please sign in to comment.