summaryrefslogtreecommitdiff
path: root/cli/tests/importmaps
diff options
context:
space:
mode:
authorNayeem Rahman <nayeemrmn99@gmail.com>2020-10-20 13:30:59 +0100
committerGitHub <noreply@github.com>2020-10-20 14:30:59 +0200
commit070d99645f4849cfc4479382d756bd40379594d0 (patch)
treea575e73c8e8adf11fe424833035fe205de081a2c /cli/tests/importmaps
parentaa0e64b5794e4515d5e1911107ba54ce7e0dcc3c (diff)
chore: Rename --importmap to --import-map (#7032)
--importmap still works as an alias to --import-map but is not visible in CLI help output.
Diffstat (limited to 'cli/tests/importmaps')
-rw-r--r--cli/tests/importmaps/import_map.json14
-rw-r--r--cli/tests/importmaps/lodash/lodash.ts1
-rw-r--r--cli/tests/importmaps/lodash/other_file.ts1
-rw-r--r--cli/tests/importmaps/moment/moment.ts1
-rw-r--r--cli/tests/importmaps/moment/other_file.ts1
-rw-r--r--cli/tests/importmaps/scope/scoped.ts2
-rw-r--r--cli/tests/importmaps/scoped_moment.ts1
-rw-r--r--cli/tests/importmaps/test.ts6
-rw-r--r--cli/tests/importmaps/vue.ts1
9 files changed, 0 insertions, 28 deletions
diff --git a/cli/tests/importmaps/import_map.json b/cli/tests/importmaps/import_map.json
deleted file mode 100644
index 601874aab..000000000
--- a/cli/tests/importmaps/import_map.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "imports": {
- "moment": "./moment/moment.ts",
- "moment/": "./moment/",
- "lodash": "./lodash/lodash.ts",
- "lodash/": "./lodash/",
- "https://www.unpkg.com/vue/dist/vue.runtime.esm.js": "./vue.ts"
- },
- "scopes": {
- "scope/": {
- "moment": "./scoped_moment.ts"
- }
- }
-}
diff --git a/cli/tests/importmaps/lodash/lodash.ts b/cli/tests/importmaps/lodash/lodash.ts
deleted file mode 100644
index 2ec04ed3c..000000000
--- a/cli/tests/importmaps/lodash/lodash.ts
+++ /dev/null
@@ -1 +0,0 @@
-console.log("Hello from remapped lodash!");
diff --git a/cli/tests/importmaps/lodash/other_file.ts b/cli/tests/importmaps/lodash/other_file.ts
deleted file mode 100644
index 714adae3f..000000000
--- a/cli/tests/importmaps/lodash/other_file.ts
+++ /dev/null
@@ -1 +0,0 @@
-console.log("Hello from remapped lodash dir!");
diff --git a/cli/tests/importmaps/moment/moment.ts b/cli/tests/importmaps/moment/moment.ts
deleted file mode 100644
index 2b54a431e..000000000
--- a/cli/tests/importmaps/moment/moment.ts
+++ /dev/null
@@ -1 +0,0 @@
-console.log("Hello from remapped moment!");
diff --git a/cli/tests/importmaps/moment/other_file.ts b/cli/tests/importmaps/moment/other_file.ts
deleted file mode 100644
index 24f3a0226..000000000
--- a/cli/tests/importmaps/moment/other_file.ts
+++ /dev/null
@@ -1 +0,0 @@
-console.log("Hello from remapped moment dir!");
diff --git a/cli/tests/importmaps/scope/scoped.ts b/cli/tests/importmaps/scope/scoped.ts
deleted file mode 100644
index 9a0b5d8e3..000000000
--- a/cli/tests/importmaps/scope/scoped.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-import "moment";
-console.log("Hello from scoped!");
diff --git a/cli/tests/importmaps/scoped_moment.ts b/cli/tests/importmaps/scoped_moment.ts
deleted file mode 100644
index 9f67f88d4..000000000
--- a/cli/tests/importmaps/scoped_moment.ts
+++ /dev/null
@@ -1 +0,0 @@
-console.log("Hello from scoped moment!");
diff --git a/cli/tests/importmaps/test.ts b/cli/tests/importmaps/test.ts
deleted file mode 100644
index 9b09e9953..000000000
--- a/cli/tests/importmaps/test.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import "moment";
-import "moment/other_file.ts";
-import "lodash";
-import "lodash/other_file.ts";
-import "https://www.unpkg.com/vue/dist/vue.runtime.esm.js";
-import "./scope/scoped.ts";
diff --git a/cli/tests/importmaps/vue.ts b/cli/tests/importmaps/vue.ts
deleted file mode 100644
index 76dbe1917..000000000
--- a/cli/tests/importmaps/vue.ts
+++ /dev/null
@@ -1 +0,0 @@
-console.log("Hello from remapped Vue!");