SB
SB
DDeno
Created by SB on 7/11/2024 in #help
Mono Repo - Enable Paths
I’ll give it a watch, then if the issue is still there, I’ll log a ticket
15 replies
DDeno
Created by SB on 7/11/2024 in #help
Mono Repo - Enable Paths
Hi @CatalinIuga is this fixed now? I have installed 1.45.2 and still have the issue.
15 replies
DDeno
Created by SB on 7/11/2024 in #help
Mono Repo - Enable Paths
do you have a link, maybe i can help with testing?
15 replies
DDeno
Created by SB on 7/11/2024 in #help
Mono Repo - Enable Paths
if it helps, i get this message vscode ➜ /workspaces/backend/supabase/functions (feat/sunsynk-support) $ deno test --allow-net --allow-read --allow-env --import-map=./import_map.json ./test/* error: Specifying an import map in a workspace via CLI flags is not implemented. removing the package.json from the root of the mono repo, and this command works
15 replies
DDeno
Created by SB on 7/11/2024 in #help
Mono Repo - Enable Paths
then if i change the workspace configuration
{
...
],
"settings": {
"files.exclude": {
"supabase": true,
"functions": true,
"automation": true,
"infrastructure": true,
"utils": true
},
//"deno.enable": false,
"deno.enablePaths": ["supabase-functions"],
"deno.importMap": "./supabase/functions/import_map.json"
}
}
{
...
],
"settings": {
"files.exclude": {
"supabase": true,
"functions": true,
"automation": true,
"infrastructure": true,
"utils": true
},
//"deno.enable": false,
"deno.enablePaths": ["supabase-functions"],
"deno.importMap": "./supabase/functions/import_map.json"
}
}
Enabling import suggestions for: https://deno.land Refreshing configuration tree... Resolved package.json: "/workspaces/backend/package.json" Resolved import map: "file:///workspaces/backend/supabase/functions/import_map.json" Starting Deno language server... version: 1.45.0 (release, aarch64-unknown-linux-gnu) executable: /usr/local/bin/deno Connected to "Visual Studio Code" 1.91.0 Enabling import suggestions for: https://deno.land Refreshing configuration tree... Resolved package.json: "/workspaces/backend/package.json" Resolved import map: "file:///workspaces/backend/supabase/functions/import_map.json" Server ready. { "enable": true, "disablePaths": [], "enablePaths": [ "supabase-functions" ], "cache": null, "cacheOnSave": true, "certificateStores": null, "config": null, "importMap": "./supabase/functions/import_map.json", "codeLens": { "implementations": false, "references": false, "referencesAllFunctions": false, "test": false }, ....
15 replies
DDeno
Created by SB on 7/11/2024 in #help
Mono Repo - Enable Paths
Starting Deno language server... version: 1.45.0 (release, aarch64-unknown-linux-gnu) executable: /usr/local/bin/deno Connected to "Visual Studio Code" 1.91.0 Enabling import suggestions for: https://deno.land Refreshing configuration tree... Resolved package.json: "/workspaces/backend/package.json" Could not set npm package requirements: Error getting response at https://registry.npmjs.org/@types/node for package "@types/node": An npm specifier not found in cache: "@types/node", --cached-only is specified. Could not set npm package requirements: Error getting response at https://registry.npmjs.org/@types/node for package "@types/node": An npm specifier not found in cache: "@types/node", --cached-only is specified. Server ready.
15 replies
DDeno
Created by SB on 7/11/2024 in #help
Mono Repo - Enable Paths
this is the output of Deno Language Server Status
15 replies
DDeno
Created by SB on 7/11/2024 in #help
Mono Repo - Enable Paths
No description
15 replies
DDeno
Created by SB on 9/7/2023 in #help
Does Deno NPM support other registries like github npm registry?
@dsherret any thoughts?
8 replies
DDeno
Created by SB on 9/7/2023 in #help
Does Deno NPM support other registries like github npm registry?
https://github.com/denoland/manual/pull/483 looking at this pull, it doesnt seem it is supported?
8 replies
DDeno
Created by SB on 9/7/2023 in #help
Does Deno NPM support other registries like github npm registry?
Hi @.bartlomieju , thank you for the information. adapting the NPM_CONFIG_REGISTRY var works however i now have an authenication issues similer to these two issues https://github.com/denoland/deno/issues/19900 https://github.com/denoland/deno/issues/20195
8 replies
DDeno
Created by SB on 9/7/2023 in #help
Does Deno NPM support other registries like github npm registry?
I mean being able to use https://npm.pkg.github.com for npm packages rather than https://registry.npmjs.org/
8 replies