@marko/type-check 0.0.10 → 0.0.12
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/dist/cli.js +4 -3
- package/package.json +2 -2
package/dist/cli.js
CHANGED
|
@@ -234,12 +234,13 @@ function createCompilerHost(configFile, compilerOptions) {
|
|
|
234
234
|
resolvedFileName = import_path.default.resolve(containingFile, "..", moduleName);
|
|
235
235
|
} else {
|
|
236
236
|
const [, nodeModuleName, relativeModulePath] = modulePartsReg.exec(moduleName);
|
|
237
|
-
const { resolvedModule } = import_tsserverlibrary.default.
|
|
238
|
-
`${nodeModuleName}/
|
|
237
|
+
const { resolvedModule } = import_tsserverlibrary.default.nodeModuleNameResolver(
|
|
238
|
+
`${nodeModuleName}/package.json`,
|
|
239
239
|
containingFile,
|
|
240
240
|
options,
|
|
241
241
|
host,
|
|
242
|
-
resolutionCache
|
|
242
|
+
resolutionCache,
|
|
243
|
+
redirectedReference
|
|
243
244
|
);
|
|
244
245
|
if (resolvedModule) {
|
|
245
246
|
resolvedFileName = import_path.default.join(
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@marko/type-check",
|
|
3
3
|
"description": "A CLI to type check Marko projects",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.12",
|
|
5
5
|
"bugs": "https://github.com/marko-js/language-server/issues/new?template=Bug_report.md",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@babel/code-frame": "^7.22.5",
|
|
8
|
-
"@marko/language-tools": "^2.0.
|
|
8
|
+
"@marko/language-tools": "^2.0.10",
|
|
9
9
|
"arg": "^5.0.2",
|
|
10
10
|
"kleur": "^4.1.5",
|
|
11
11
|
"strip-json-comments": "^3.1.1",
|