@naturalcycles/dev-lib 19.25.5 → 19.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cfg/vitest.config.js +7 -1
- package/package.json +2 -2
package/cfg/vitest.config.js
CHANGED
|
@@ -130,8 +130,14 @@ export const sharedConfig = {
|
|
|
130
130
|
}
|
|
131
131
|
|
|
132
132
|
function doesItRunInIDE() {
|
|
133
|
+
// example command line below:
|
|
134
|
+
// /usr/local/bin/node /Users/some/Idea/some/node_modules/vitest/vitest.mjs --run --reporter /Users/some/Library/Application Support/JetBrains/IntelliJIdea2025.2/plugins/javascript-plugin/helpers/vitest-intellij/node_modules/vitest-intellij-reporter-safe.js --testNamePattern=^ ?case 001: empty data$ /Users/some/Idea/some/src/some/some.integration.test.ts
|
|
133
135
|
return process.argv.some(
|
|
134
|
-
a =>
|
|
136
|
+
a =>
|
|
137
|
+
a === '--runTestsByPath' ||
|
|
138
|
+
a.includes('IDEA') ||
|
|
139
|
+
a.includes('JetBrains') ||
|
|
140
|
+
a.includes('Visual Studio'),
|
|
135
141
|
)
|
|
136
142
|
}
|
|
137
143
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@naturalcycles/dev-lib",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "19.
|
|
4
|
+
"version": "19.26.0",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@biomejs/biome": "2.1.3",
|
|
7
7
|
"@commitlint/cli": "^19",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"@vitest/eslint-plugin": "^1",
|
|
16
16
|
"eslint": "^9",
|
|
17
17
|
"eslint-plugin-import-x": "^4",
|
|
18
|
-
"eslint-plugin-jsdoc": "^
|
|
18
|
+
"eslint-plugin-jsdoc": "^53",
|
|
19
19
|
"eslint-plugin-simple-import-sort": "^12",
|
|
20
20
|
"eslint-plugin-unicorn": "^60",
|
|
21
21
|
"eslint-plugin-vue": "^10",
|