Bartek Iwańczuk
cf0579c7d4
test: npm registry handles two test scopes ( #23663 )
...
This commit updates our testing npm registry to handle
additional `@denotest2` scope in addition to `@denotest`
scope. I might have to update it further in the future to handle
additional scopes, but it's good enough for now.
2024-05-03 00:00:38 +00:00
David Sherret
56bf634fa9
fix(node): require.resolve - fallback to global cache when bare specifier from paths not found ( #23618 )
...
Part of #22607 (probably closes it, but I haven't done thorough testing)
Makes it so that `require.resolve` with `paths` specified will fallback
to using the global cache when the paths can't be found when using a
global cache (not when using a node_modules folder)
2024-04-30 23:41:29 -04:00
David Sherret
6f278e5c40
fix(lsp): improved cjs tracking ( #23374 )
...
Our cjs tracking was a bit broken. It was marking stuff as esm that was
actually cjs leading to type checking errors.
2024-04-15 17:50:52 -04:00
David Sherret
df73db671b
fix(npm): local nodeModulesDir was sometimes resolving duplicates of same package ( #23320 )
2024-04-11 13:18:19 -04:00
David Sherret
049e703331
FUTURE: override byonm with nodeModulesDir setting ( #23222 )
...
Makes the `"nodeModulesDir"` setting take precedence over byonm when
using `DENO_FUTURE`.
2024-04-05 10:34:51 -04:00
David Sherret
ca5e5c7e9c
chore(specs): add jsr and npm env vars to tests by default ( #23171 )
2024-04-01 21:58:05 -04:00
David Sherret
392579b5a6
chore(specs): use jsonc for metadata file ( #22946 )
...
Avoids the comment diagnostic that vscode gives. Also, automatically
renames .json to .jsonc for the time being.
2024-03-15 17:27:52 +00:00
David Sherret
bc782cee98
fix(node): resolve types via package.json for directory import ( #22878 )
...
Does a package resolve when resolving types for a directory (copying the
behaviour that typescript does).
2024-03-13 22:37:56 -04:00
David Sherret
b3ca3b2f25
chore: rough first pass on spec tests ( #22877 )
2024-03-13 16:21:13 +00:00