diff options
Diffstat (limited to 'node_modules/@11ty/dependency-tree-esm/test/stubs')
11 files changed, 21 insertions, 0 deletions
diff --git a/node_modules/@11ty/dependency-tree-esm/test/stubs/circular-child.js b/node_modules/@11ty/dependency-tree-esm/test/stubs/circular-child.js new file mode 100644 index 0000000..1b9ba5e --- /dev/null +++ b/node_modules/@11ty/dependency-tree-esm/test/stubs/circular-child.js @@ -0,0 +1 @@ +import "./circular-parent.js";
\ No newline at end of file diff --git a/node_modules/@11ty/dependency-tree-esm/test/stubs/circular-parent.js b/node_modules/@11ty/dependency-tree-esm/test/stubs/circular-parent.js new file mode 100644 index 0000000..3153b84 --- /dev/null +++ b/node_modules/@11ty/dependency-tree-esm/test/stubs/circular-parent.js @@ -0,0 +1 @@ +import "./circular-child.js";
\ No newline at end of file diff --git a/node_modules/@11ty/dependency-tree-esm/test/stubs/circular-self.js b/node_modules/@11ty/dependency-tree-esm/test/stubs/circular-self.js new file mode 100644 index 0000000..267b293 --- /dev/null +++ b/node_modules/@11ty/dependency-tree-esm/test/stubs/circular-self.js @@ -0,0 +1,2 @@ +import "./circular-self.js"; +import "./empty.js";
\ No newline at end of file diff --git a/node_modules/@11ty/dependency-tree-esm/test/stubs/empty.js b/node_modules/@11ty/dependency-tree-esm/test/stubs/empty.js new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/node_modules/@11ty/dependency-tree-esm/test/stubs/empty.js diff --git a/node_modules/@11ty/dependency-tree-esm/test/stubs/file.js b/node_modules/@11ty/dependency-tree-esm/test/stubs/file.js new file mode 100644 index 0000000..c97bcbb --- /dev/null +++ b/node_modules/@11ty/dependency-tree-esm/test/stubs/file.js @@ -0,0 +1,2 @@ +import fs from "fs"; +import * as fdklsjf from "./imported-secondary.js";
\ No newline at end of file diff --git a/node_modules/@11ty/dependency-tree-esm/test/stubs/import-attributes.js b/node_modules/@11ty/dependency-tree-esm/test/stubs/import-attributes.js new file mode 100644 index 0000000..a4584e4 --- /dev/null +++ b/node_modules/@11ty/dependency-tree-esm/test/stubs/import-attributes.js @@ -0,0 +1,3 @@ +import eleventyPackage from "./imported.json" with { type: 'json' }; + +console.log( eleventyPackage );
\ No newline at end of file diff --git a/node_modules/@11ty/dependency-tree-esm/test/stubs/imported-secondary.js b/node_modules/@11ty/dependency-tree-esm/test/stubs/imported-secondary.js new file mode 100644 index 0000000..b70cefb --- /dev/null +++ b/node_modules/@11ty/dependency-tree-esm/test/stubs/imported-secondary.js @@ -0,0 +1,3 @@ +import "fs"; + +export function hello() {}
\ No newline at end of file diff --git a/node_modules/@11ty/dependency-tree-esm/test/stubs/imported.js b/node_modules/@11ty/dependency-tree-esm/test/stubs/imported.js new file mode 100644 index 0000000..479ee82 --- /dev/null +++ b/node_modules/@11ty/dependency-tree-esm/test/stubs/imported.js @@ -0,0 +1,3 @@ +import * as fdklsjf from "./imported-secondary.js"; + +export function hello() {}
\ No newline at end of file diff --git a/node_modules/@11ty/dependency-tree-esm/test/stubs/imported.json b/node_modules/@11ty/dependency-tree-esm/test/stubs/imported.json new file mode 100644 index 0000000..f2aed13 --- /dev/null +++ b/node_modules/@11ty/dependency-tree-esm/test/stubs/imported.json @@ -0,0 +1,3 @@ +{ + "foo": "bar" +}
\ No newline at end of file diff --git a/node_modules/@11ty/dependency-tree-esm/test/stubs/nested-grandchild.js b/node_modules/@11ty/dependency-tree-esm/test/stubs/nested-grandchild.js new file mode 100644 index 0000000..b533597 --- /dev/null +++ b/node_modules/@11ty/dependency-tree-esm/test/stubs/nested-grandchild.js @@ -0,0 +1 @@ +import * as fdklsjf from "./nested.js";
\ No newline at end of file diff --git a/node_modules/@11ty/dependency-tree-esm/test/stubs/nested.js b/node_modules/@11ty/dependency-tree-esm/test/stubs/nested.js new file mode 100644 index 0000000..26618f6 --- /dev/null +++ b/node_modules/@11ty/dependency-tree-esm/test/stubs/nested.js @@ -0,0 +1,2 @@ +import fs from "fs"; +import * as fdklsjf from "./imported.js";
\ No newline at end of file |
