diff options
Diffstat (limited to 'tests/registry/npm/@denotest/monaco-editor/1.0.0')
3 files changed, 11 insertions, 0 deletions
diff --git a/tests/registry/npm/@denotest/monaco-editor/1.0.0/main.js b/tests/registry/npm/@denotest/monaco-editor/1.0.0/main.js new file mode 100644 index 000000000..403806c6b --- /dev/null +++ b/tests/registry/npm/@denotest/monaco-editor/1.0.0/main.js @@ -0,0 +1,4 @@ +// 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/registry/npm/@denotest/monaco-editor/1.0.0/main.types.d.ts b/tests/registry/npm/@denotest/monaco-editor/1.0.0/main.types.d.ts new file mode 100644 index 000000000..d978fa159 --- /dev/null +++ b/tests/registry/npm/@denotest/monaco-editor/1.0.0/main.types.d.ts @@ -0,0 +1 @@ +export class Editor {} diff --git a/tests/registry/npm/@denotest/monaco-editor/1.0.0/package.json b/tests/registry/npm/@denotest/monaco-editor/1.0.0/package.json new file mode 100644 index 000000000..eb0428b49 --- /dev/null +++ b/tests/registry/npm/@denotest/monaco-editor/1.0.0/package.json @@ -0,0 +1,6 @@ +{ + "name": "@denotest/monaco-editor", + "version": "1.0.0", + "module": "./main.js", + "types": "./main.types.d.ts" +} |