summaryrefslogtreecommitdiff
path: root/tests/registry/npm-private/@denotest2/basic
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2024-05-23 22:26:23 +0100
committerGitHub <noreply@github.com>2024-05-23 23:26:23 +0200
commit959739f609dddacde3bbe9ecede2f409214fb34c (patch)
tree04d1776efbd3561205829f78288d26b6e14c3429 /tests/registry/npm-private/@denotest2/basic
parent5de30c53239ac74843725d981afc0bb8c45bdf16 (diff)
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
Diffstat (limited to 'tests/registry/npm-private/@denotest2/basic')
-rw-r--r--tests/registry/npm-private/@denotest2/basic/1.0.0/main.d.mts3
-rw-r--r--tests/registry/npm-private/@denotest2/basic/1.0.0/main.mjs11
-rw-r--r--tests/registry/npm-private/@denotest2/basic/1.0.0/other.mjs3
-rw-r--r--tests/registry/npm-private/@denotest2/basic/1.0.0/package.json7
4 files changed, 0 insertions, 24 deletions
diff --git a/tests/registry/npm-private/@denotest2/basic/1.0.0/main.d.mts b/tests/registry/npm-private/@denotest2/basic/1.0.0/main.d.mts
deleted file mode 100644
index 29da1e6d7..000000000
--- a/tests/registry/npm-private/@denotest2/basic/1.0.0/main.d.mts
+++ /dev/null
@@ -1,3 +0,0 @@
-export declare function setValue(val: number): void;
-export declare function getValue(): number;
-export declare const url: string;
diff --git a/tests/registry/npm-private/@denotest2/basic/1.0.0/main.mjs b/tests/registry/npm-private/@denotest2/basic/1.0.0/main.mjs
deleted file mode 100644
index 0a44f7585..000000000
--- a/tests/registry/npm-private/@denotest2/basic/1.0.0/main.mjs
+++ /dev/null
@@ -1,11 +0,0 @@
-let value = 0;
-
-export function setValue(newValue) {
- value = newValue;
-}
-
-export function getValue() {
- return value;
-}
-
-export const url = import.meta.url;
diff --git a/tests/registry/npm-private/@denotest2/basic/1.0.0/other.mjs b/tests/registry/npm-private/@denotest2/basic/1.0.0/other.mjs
deleted file mode 100644
index 00ed99da4..000000000
--- a/tests/registry/npm-private/@denotest2/basic/1.0.0/other.mjs
+++ /dev/null
@@ -1,3 +0,0 @@
-export function hello() {
- return "hello, world!";
-} \ No newline at end of file
diff --git a/tests/registry/npm-private/@denotest2/basic/1.0.0/package.json b/tests/registry/npm-private/@denotest2/basic/1.0.0/package.json
deleted file mode 100644
index d7129c348..000000000
--- a/tests/registry/npm-private/@denotest2/basic/1.0.0/package.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "name": "@denotest2/basic",
- "version": "1.0.0",
- "type": "module",
- "main": "main.mjs",
- "types": "main.d.mts"
-}