mirror of
https://github.com/denoland/deno.git
synced 2025-09-27 12:49:10 +00:00
FUTURE: initial support for .npmrc file (#23560)
This commit adds initial support for ".npmrc" files. Currently we only discover ".npmrc" files next to "package.json" files and discovering these files in user home dir is left for a follow up. This pass supports "_authToken" and "_auth" configuration for providing authentication. LSP support has been left for a follow up PR. Towards https://github.com/denoland/deno/issues/16105
This commit is contained in:
parent
5de30c5323
commit
959739f609
65 changed files with 611 additions and 164 deletions
8
tests/specs/npm/npmrc_basic_auth/main.js
Normal file
8
tests/specs/npm/npmrc_basic_auth/main.js
Normal file
|
@ -0,0 +1,8 @@
|
|||
import { getValue, setValue } from "@denotest/basic";
|
||||
import * as test from "@denotest2/basic";
|
||||
|
||||
console.log(getValue());
|
||||
setValue(42);
|
||||
console.log(getValue());
|
||||
|
||||
console.log(test.getValue());
|
Loading…
Add table
Add a link
Reference in a new issue