Skip to content

Commit ac6c1a3

Browse files
committed
[patch] update deps and configs and linting
1 parent 3eb029b commit ac6c1a3

28 files changed

+3175
-3714
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
.DS_Store
2+
.history/
23
.not-committed/
34
*.tgz
45
/Icon?
6+
all-files-for-code-coverage.test.ts
57
coverage/
68
dist-*/
79
dist/
810
generated-config-*
911
graphics/
1012
node_modules/
11-
all-files-for-code-coverage.test.ts
1213
tsconfig.tsbuildinfo

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ignore-scripts=true

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
*.snapshot.web.mjs
2+
**/.history/
23
**/all-files-for-code-coverage.test.ts
34
**/coverage/
45
**/dist-*/

configs/dep-cruiser.config.cts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import {defineConfig} from '@virmator/deps/configs/dep-cruiser.config.base';
2-
import type {IConfiguration} from 'dependency-cruiser';
2+
import {type IConfiguration} from 'dependency-cruiser';
33

44
const baseConfig = defineConfig({
55
fileExceptions: {

configs/typedoc.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import {baseTypedocConfig} from '@virmator/docs/configs/typedoc.config.base';
22
import {join, resolve} from 'path';
3-
import type {TypeDocOptions} from 'typedoc';
3+
import {type TypeDocOptions} from 'typedoc';
44

55
const repoRoot = resolve(import.meta.dirname, '..');
66
const indexTsFile = join(repoRoot, 'src', 'index.ts');

package-lock.json

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

package.json

Lines changed: 35 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"lint": "virmator lint fix",
3535
"publish": "virmator publish npm run test:all",
3636
"test": "npm run compile && test-as-package virmator test node",
37-
"test:all": "npm run compile && concurrently --colors --kill-others-on-fail -c auto --names tests,spelling,format,deps,lint \"npm test\" \"npm run test:spelling\" \"npm run test:format\" \"npm run test:deps\" \"npm run test:lint\"",
37+
"test:all": "npm run compile && runstorm --names tests,spelling,format,deps,lint \"npm test\" \"npm run test:spelling\" \"npm run test:format\" \"npm run test:deps\" \"npm run test:lint\"",
3838
"test:deps": "virmator deps check",
3939
"test:docs": "virmator docs check",
4040
"test:format": "virmator format check",
@@ -43,51 +43,52 @@
4343
"test:update": "npm run test update"
4444
},
4545
"dependencies": {
46-
"@augment-vir/common": "^31.10.1",
46+
"@augment-vir/common": "^31.54.1",
4747
"proxy-vir": "^2.0.1"
4848
},
4949
"devDependencies": {
50-
"@augment-vir/assert": "^31.10.1",
51-
"@augment-vir/test": "^31.10.1",
52-
"@eslint/eslintrc": "^3.3.0",
53-
"@eslint/js": "^9.20.0",
54-
"@stylistic/eslint-plugin": "^4.2.0",
55-
"@stylistic/eslint-plugin-ts": "^4.2.0",
50+
"@augment-vir/assert": "^31.54.1",
51+
"@augment-vir/test": "^31.54.1",
52+
"@eslint/eslintrc": "^3.3.3",
53+
"@eslint/js": "^9.39.1",
54+
"@stylistic/eslint-plugin": "^5.6.1",
55+
"@stylistic/eslint-plugin-ts": "^4.4.1",
5656
"@types/esprima": "^4.0.6",
57-
"@types/estree": "^1.0.6",
58-
"@types/node": "^22.13.10",
59-
"@typescript-eslint/eslint-plugin": "^8.26.1",
57+
"@types/estree": "^1.0.8",
58+
"@types/node": "^24.10.1",
59+
"@typescript-eslint/eslint-plugin": "^8.48.0",
6060
"c8": "^10.1.3",
61-
"cross-env": "^7.0.3",
62-
"cspell": "^8.17.5",
63-
"dependency-cruiser": "^16.10.0",
64-
"esbuild": "^0.25.1",
65-
"eslint": "^9.20.1",
66-
"eslint-config-prettier": "^10.1.1",
67-
"eslint-plugin-jsdoc": "^50.6.6",
61+
"cross-env": "^10.1.0",
62+
"cspell": "^9.3.2",
63+
"dependency-cruiser": "^17.3.1",
64+
"esbuild": "^0.27.0",
65+
"eslint": "^9.39.1",
66+
"eslint-config-prettier": "^10.1.8",
67+
"eslint-plugin-jsdoc": "^61.4.1",
6868
"eslint-plugin-monorepo-cop": "^1.0.2",
69-
"eslint-plugin-playwright": "^2.2.0",
70-
"eslint-plugin-prettier": "^5.2.3",
69+
"eslint-plugin-playwright": "^2.3.0",
70+
"eslint-plugin-prettier": "^5.5.4",
7171
"eslint-plugin-require-extensions": "^0.1.3",
72-
"eslint-plugin-sonarjs": "^3.0.2",
73-
"eslint-plugin-unicorn": "^57.0.0",
72+
"eslint-plugin-sonarjs": "^3.0.5",
73+
"eslint-plugin-unicorn": "^62.0.0",
7474
"istanbul-smart-text-reporter": "^1.1.5",
7575
"markdown-code-example-inserter": "^3.0.3",
76-
"npm-check-updates": "^17.1.15",
76+
"npm-check-updates": "^19.1.2",
7777
"prettier": "~3.3.3",
7878
"prettier-plugin-interpolated-html-tags": "^2.0.1",
79-
"prettier-plugin-jsdoc": "^1.3.2",
80-
"prettier-plugin-multiline-arrays": "^4.0.2",
81-
"prettier-plugin-organize-imports": "^4.1.0",
82-
"prettier-plugin-packagejson": "^2.5.10",
79+
"prettier-plugin-jsdoc": "^1.7.0",
80+
"prettier-plugin-multiline-arrays": "^4.0.3",
81+
"prettier-plugin-organize-imports": "^4.3.0",
82+
"prettier-plugin-packagejson": "^2.5.20",
8383
"prettier-plugin-sort-json": "^4.1.1",
84-
"prettier-plugin-toml": "^2.0.2",
85-
"test-as-package": "^2.0.1",
86-
"type-fest": "^4.37.0",
87-
"typedoc": "^0.27.9",
88-
"typescript": "^5.8.2",
89-
"typescript-eslint": "^8.26.1",
90-
"virmator": "^13.13.1"
84+
"prettier-plugin-toml": "^2.0.6",
85+
"runstorm": "^0.6.2",
86+
"test-as-package": "^2.0.4",
87+
"type-fest": "^5.2.0",
88+
"typedoc": "^0.28.15",
89+
"typescript": "^5.9.3",
90+
"typescript-eslint": "^8.48.0",
91+
"virmator": "^14.3.1"
9192
},
9293
"peerDependencies": {
9394
"prettier": ">=3.0.0"

src/augments/array.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type {SourceLocation} from 'estree';
1+
import {type SourceLocation} from 'estree';
22

33
/** Both line and column in "range" are 0 indexed. */
44
export function extractTextBetweenRanges(

src/augments/doc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import {stringify} from '@augment-vir/common';
2-
import {Doc, doc} from 'prettier';
2+
import {type Doc, type doc} from 'prettier';
33

44
type NestedStringArray = (string | NestedStringArray)[];
55

src/index.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
import {getObjectTypedKeys, mapObjectValues} from '@augment-vir/common';
22
import {
3-
BooleanSupportOption,
4-
IntSupportOption,
5-
Parser,
6-
Plugin,
7-
Printer,
8-
RequiredOptions,
9-
StringSupportOption,
10-
SupportOption,
3+
type BooleanSupportOption,
4+
type IntSupportOption,
5+
type Parser,
6+
type Plugin,
7+
type Printer,
8+
type RequiredOptions,
9+
type StringSupportOption,
10+
type SupportOption,
1111
} from 'prettier';
1212
import {parsers as babelParsers} from 'prettier/plugins/babel';
1313
import {parsers as tsParsers} from 'prettier/plugins/typescript';
14-
import {MultilineArrayOptions, defaultMultilineArrayOptions, optionHelp} from './options.js';
14+
import {type MultilineArrayOptions, defaultMultilineArrayOptions, optionHelp} from './options.js';
1515
import {wrapParser} from './preprocessing.js';
1616
import {multilineArrayPrinter} from './printer/multiline-array-printer.js';
1717

0 commit comments

Comments
 (0)