From b6d2678005e056a484a29fc45684959c9a7bdd73 Mon Sep 17 00:00:00 2001 From: Amith Mohanan Date: Mon, 10 Jan 2022 01:12:52 +0530 Subject: [PATCH] chore: Add .vscode config --- .gitignore | 2 +- .vscode/launch.json | 18 ++++++++++++++++++ .vscode/settings.json | 16 ++++++++++++++++ package.json | 2 +- 4 files changed, 36 insertions(+), 2 deletions(-) create mode 100644 .vscode/launch.json create mode 100644 .vscode/settings.json diff --git a/.gitignore b/.gitignore index a1f4e02f07..2b8dc49981 100644 --- a/.gitignore +++ b/.gitignore @@ -8,7 +8,7 @@ blocklists__/ package-lock.json # IDE -.vscode +# .vscode # Local enviroment variables .env diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000000..e4ed66e654 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,18 @@ +{ + // For VS Code debugger + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "type": "pwa-node", + "request": "launch", + "name": "Launch Node Server", + "skipFiles": [ + "/**" + ], + "program": "${workspaceFolder}/src/server-node.js" + } + ] +} diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000000..70d578e4af --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,16 @@ +{ + // Uncomment deno specific settings while developing deno for intellisense, + // type definitions, etc. + + // "deno.enable": true, + // "deno.lint": true, + // "deno.unstable": false + "deno.importMap": "./import_map.json", + "cSpell.words": [ + "Deno", + "rethinkdns" + ], + "cSpell.enableFiletypes": [ + "env" + ], +} diff --git a/package.json b/package.json index 0e732d3c66..6d49a296e6 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "version": "2.0.0", "license": "MPL-2.0", "description": "Rethink Free Dns with Blocklist, one click install from github to cloudflare", - "main": "src/index.js", + "main": "src/server-node.js", "type": "module", "scripts": { "clean": "npm run clean:wrangler",