summaryrefslogtreecommitdiff
path: root/test/test-files
diff options
context:
space:
mode:
authorArnold Chand <creativenull@outlook.com>2021-10-01 20:51:22 -0400
committerGitHub <noreply@github.com>2021-10-02 09:51:22 +0900
commit19b0f72c237b861d46cefbc30a745da401e10c65 (patch)
treed68dc6cf815ebb77b36fa959e2c755acd6bf6b21 /test/test-files
parent708e810414d124b17b0c42e872b387a7a6c2ea85 (diff)
downloadale-19b0f72c237b861d46cefbc30a745da401e10c65.zip
feat: add deno lsp for javascript (#3924)
* feat(js/deno): add deno lsp * fix(doc/typescript): typo * feat(doc/javascript): add deno lsp information * feat(doc/supported-tools): add deno to js list, sorted * fix(doc/javascript): update ToC and supported tools w/ deno
Diffstat (limited to 'test/test-files')
-rw-r--r--test/test-files/javascript_deno/custom_import_map.json3
-rw-r--r--test/test-files/javascript_deno/import_map.json3
-rw-r--r--test/test-files/javascript_deno/main.js1
-rw-r--r--test/test-files/javascript_deno/tsconfig.json16
4 files changed, 23 insertions, 0 deletions
diff --git a/test/test-files/javascript_deno/custom_import_map.json b/test/test-files/javascript_deno/custom_import_map.json
new file mode 100644
index 00000000..9f5a19a1
--- /dev/null
+++ b/test/test-files/javascript_deno/custom_import_map.json
@@ -0,0 +1,3 @@
+{
+ "imports": {}
+}
diff --git a/test/test-files/javascript_deno/import_map.json b/test/test-files/javascript_deno/import_map.json
new file mode 100644
index 00000000..9f5a19a1
--- /dev/null
+++ b/test/test-files/javascript_deno/import_map.json
@@ -0,0 +1,3 @@
+{
+ "imports": {}
+}
diff --git a/test/test-files/javascript_deno/main.js b/test/test-files/javascript_deno/main.js
new file mode 100644
index 00000000..accefceb
--- /dev/null
+++ b/test/test-files/javascript_deno/main.js
@@ -0,0 +1 @@
+console.log("Hello World");
diff --git a/test/test-files/javascript_deno/tsconfig.json b/test/test-files/javascript_deno/tsconfig.json
new file mode 100644
index 00000000..152b034e
--- /dev/null
+++ b/test/test-files/javascript_deno/tsconfig.json
@@ -0,0 +1,16 @@
+{
+ "compilerOptions": {
+ "allowJs": true,
+ "esModuleInterop": true,
+ "experimentalDecorators": true,
+ "inlineSourceMap": true,
+ "isolatedModules": true,
+ "jsx": "react",
+ "lib": ["deno.window"],
+ "module": "esnext",
+ "strict": true,
+ "target": "esnext",
+ "useDefineForClassFields": true
+ },
+ "includes": ["main.js"]
+}