{"id":18803486,"url":"https://github.com/rofrol/vscode-tools","last_synced_at":"2025-07-11T15:43:47.610Z","repository":{"id":66526255,"uuid":"421540954","full_name":"rofrol/vscode-tools","owner":"rofrol","description":"Settings for vscode to use fnm to set nodejs version from .nvmrc or .node-version","archived":false,"fork":false,"pushed_at":"2021-11-15T12:00:19.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-03T13:59:03.725Z","etag":null,"topics":["vscode"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rofrol.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-10-26T18:30:53.000Z","updated_at":"2024-08-20T14:52:10.000Z","dependencies_parsed_at":"2023-03-15T08:30:41.629Z","dependency_job_id":null,"html_url":"https://github.com/rofrol/vscode-tools","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rofrol/vscode-tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rofrol%2Fvscode-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rofrol%2Fvscode-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rofrol%2Fvscode-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rofrol%2Fvscode-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rofrol","download_url":"https://codeload.github.com/rofrol/vscode-tools/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rofrol%2Fvscode-tools/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264843076,"owners_count":23672120,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["vscode"],"created_at":"2024-11-07T22:35:27.631Z","updated_at":"2025-07-11T15:43:47.575Z","avatar_url":"https://github.com/rofrol.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"## vscode tools\n\nMake vscode use correct nodejs version according from `.nvmrc` or `.node-version` using .\n\nUnderneath this tools run [fnm](https://github.com/Schniz/fnm) to set `nodejs` from `.nvmrc`.\n\nIt applies to running `npm`, `yarn` or `gulp` from `tasks.json` or integrated terminal in linux.\n\nYou may freely change it to use `nvm` instead of `fnm` or modifyt for integrated terminals on others OS-es.\n\nPR-s welcomes.\n\n## Why not engines and engine=strict?\n\nYarn ignores [`engine=strict`](https://docs.npmjs.com/cli/v7/using-npm/config#engine-strict).\n\nYarn ignores `preinstall` from package.json scripts.\n\nAnd vscode [does not](https://github.com/microsoft/vscode/issues/102746#issuecomment-659940381) let you set `runtimeExecutable` in `tasks.json` like it does for `launch.json`.\n\n## How to use it?\n\n`fnm` will read `.nvmrc` to set wanted `nodejs` version.\n\nCopy `.nvmrc` to your `projects`.\n\nCopy `settings.json` to your `\u003cproject\u003e/.vscode` directory. Modify paths accordingly in `settings.json`.\n\nTask has to be of `shell` type. You can copy example `tasks.json` to your `\u003cproject\u003e/.vscode`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frofrol%2Fvscode-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frofrol%2Fvscode-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frofrol%2Fvscode-tools/lists"}