From 1587387bccb6dbecd85f5141dd7543f013d47cd8 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Mon, 6 May 2024 21:06:01 -0400 Subject: chore(test): move npm registries to separate servers and to the `tests/registry` folder (#23717) 1. Moves the npm registries to their own dedicated ports. 2. Moves the data files out of `tests/testdata/npm/registry` to `tests/registry/npm`. --- tests/testdata/npm/registry/@denotest/monaco-editor/1.0.0/main.js | 4 ---- .../npm/registry/@denotest/monaco-editor/1.0.0/main.types.d.ts | 1 - .../npm/registry/@denotest/monaco-editor/1.0.0/package.json | 6 ------ 3 files changed, 11 deletions(-) delete mode 100644 tests/testdata/npm/registry/@denotest/monaco-editor/1.0.0/main.js delete mode 100644 tests/testdata/npm/registry/@denotest/monaco-editor/1.0.0/main.types.d.ts delete mode 100644 tests/testdata/npm/registry/@denotest/monaco-editor/1.0.0/package.json (limited to 'tests/testdata/npm/registry/@denotest/monaco-editor') diff --git a/tests/testdata/npm/registry/@denotest/monaco-editor/1.0.0/main.js b/tests/testdata/npm/registry/@denotest/monaco-editor/1.0.0/main.js deleted file mode 100644 index 403806c6b..000000000 --- a/tests/testdata/npm/registry/@denotest/monaco-editor/1.0.0/main.js +++ /dev/null @@ -1,4 +0,0 @@ -// The monaco-editor package uses an entry in the package.json -// where it has no "type": "module" and then only specifies a -// "module": "./main.js"-like entry that points at an ESM file. -export class Editor {} \ No newline at end of file diff --git a/tests/testdata/npm/registry/@denotest/monaco-editor/1.0.0/main.types.d.ts b/tests/testdata/npm/registry/@denotest/monaco-editor/1.0.0/main.types.d.ts deleted file mode 100644 index d978fa159..000000000 --- a/tests/testdata/npm/registry/@denotest/monaco-editor/1.0.0/main.types.d.ts +++ /dev/null @@ -1 +0,0 @@ -export class Editor {} diff --git a/tests/testdata/npm/registry/@denotest/monaco-editor/1.0.0/package.json b/tests/testdata/npm/registry/@denotest/monaco-editor/1.0.0/package.json deleted file mode 100644 index eb0428b49..000000000 --- a/tests/testdata/npm/registry/@denotest/monaco-editor/1.0.0/package.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "name": "@denotest/monaco-editor", - "version": "1.0.0", - "module": "./main.js", - "types": "./main.types.d.ts" -} -- cgit v1.2.3