Skip to content

Commit 1c206f3

Browse files
committed
Fix missing references and import extensions
1 parent 6a71bde commit 1c206f3

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"lint": "node scripts/lint.mjs",
4343
"lint-ci": "pnpm run check:lint",
4444
"type-ci": "pnpm run check:tsc",
45-
"coverage": "node scripts/coverage.mjs",
45+
"cover": "node scripts/cover.mjs",
4646
"clean": "node scripts/clean.mjs",
4747
"fix": "node scripts/lint.mjs --fix",
4848
"lint-staged": "lint-staged",
@@ -121,7 +121,7 @@
121121
"cmd-shim": "7.0.0",
122122
"del-cli": "6.0.0",
123123
"dev-null-cli": "2.0.0",
124-
"esbuild": "^0.25.10",
124+
"esbuild": "0.25.10",
125125
"eslint": "9.36.0",
126126
"eslint-import-resolver-typescript": "4.4.4",
127127
"eslint-plugin-import-x": "4.16.1",
@@ -181,7 +181,6 @@
181181
"logo-dark.png",
182182
"logo-light.png",
183183
"requirements.json",
184-
"themes.json",
185184
"translations.json"
186185
],
187186
"lint-staged": {

src/commands/scan/output-scan-report.test.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { describe, expect, it } from 'vitest'
22

33
import { toJsonReport, toMarkdownReport } from './output-scan-report.mts'
4-
import { SOCKET_WEBSITE_URL } from '../../constants.mjs'
4+
import { SOCKET_WEBSITE_URL } from '../../constants.mts'
55

66
import type { ScanReport } from './generate-report.mts'
77

src/utils/path-resolve.test.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import {
1212
PACKAGE_LOCK_JSON,
1313
PNPM_LOCK_YAML,
1414
YARN_LOCK,
15-
} from '../constants.mjs'
15+
} from '../constants.mts'
1616
import {
1717
findBinPathDetailsSync,
1818
findNpmDirPathSync,

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"extends": "./.config/tsconfig.base.json",
33
"compilerOptions": {
4-
"typeRoots": ["./node_modules/@types", "./@types"]
4+
"typeRoots": ["./node_modules/@types"]
55
},
66
"include": ["src/**/*.mts", "*.config.mts", ".config/*.mts"],
77
"exclude": [

0 commit comments

Comments
 (0)