Skip to content

Commit fd3c3f9

Browse files
committed
app.js -> index.js
1 parent df5d5bb commit fd3c3f9

File tree

3 files changed

+78
-0
lines changed

3 files changed

+78
-0
lines changed

.replit

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,82 @@
11
onBoot="npm install"
22
run = "npm install && node --no-warnings ."
3+
entrypoint = "index.js"
4+
hidden = [".config", "package-lock.json"]
35

46
[nix]
57
channel = "stable-21_11"
8+
9+
[languages]
10+
11+
[languages.javascript]
12+
pattern = "**/{*.js,*.jsx,*.ts,*.tsx}"
13+
14+
[languages.javascript.languageServer]
15+
start = "typescript-language-server --stdio"
16+
17+
[debugger]
18+
support = true
19+
20+
[debugger.interactive]
21+
transport = "localhost:0"
22+
startCommand = ["dap-node"]
23+
24+
[debugger.interactive.initializeMessage]
25+
command = "initialize"
26+
type = "request"
27+
28+
[debugger.interactive.initializeMessage.arguments]
29+
clientID = "replit"
30+
clientName = "replit.com"
31+
columnsStartAt1 = true
32+
linesStartAt1 = true
33+
locale = "en-us"
34+
pathFormat = "path"
35+
supportsInvalidatedEvent = true
36+
supportsProgressReporting = true
37+
supportsRunInTerminalRequest = true
38+
supportsVariablePaging = true
39+
supportsVariableType = true
40+
41+
[debugger.interactive.launchMessage]
42+
command = "launch"
43+
type = "request"
44+
45+
[debugger.interactive.launchMessage.arguments]
46+
console = "externalTerminal"
47+
cwd = "."
48+
pauseForSourceMap = false
49+
program = "./index.js"
50+
request = "launch"
51+
sourceMaps = true
52+
stopOnEntry = false
53+
type = "pwa-node"
54+
55+
[packager]
56+
language = "nodejs"
57+
58+
[packager.features]
59+
packageSearch = true
60+
guessImports = true
61+
enabledForHosting = false
62+
63+
[interpreter]
64+
command = ["prybar-nodejs", "-q", "--ps1", "\u0001\u001B[33m\u0002\u0001\u001B[00m\u0002 ", "-i"]
65+
66+
[unitTest]
67+
language = "nodejs"
68+
69+
[env]
70+
XDG_CONFIG_HOME = "/home/runner/$REPL_SLUG/.config"
71+
PATH = "/home/runner/$REPL_SLUG/.config/npm/node_global/bin:/home/runner/$REPL_SLUG/node_modules/.bin"
72+
npm_config_prefix = "/home/runner/$REPL_SLUG/.config/npm/node_global"
73+
74+
[gitHubImport]
75+
requiredFiles = [".replit", "replit.nix", ".config", "package.json", "package-lock.json"]
76+
77+
[[hints]]
78+
regex = 'Error \[ERR_REQUIRE_ESM\]'
79+
message = "We see that you are using require(...) inside your code. We currently do not support this syntax. Please use 'import' instead when using external modules. (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import)"
80+
81+
[deployment]
82+
run = ["sh", "-c", "node index.js"]

app.js renamed to index.js

File renamed without changes.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"name": "discord-active-developer",
3+
"main": "inndex.js",
34
"private": true,
45
"version": "0.0.0",
56
"description": "Discord just launched the new \"Active Developer\" badge and they're encouraging new developers to join the community and get it. If you're still learning and want the badge, follow the instructions below!",

0 commit comments

Comments
 (0)