Blame Raw
· · · 81 lines (2.1 KB)
0 contributors
1
2hidden = [".config", "package-lock.json"]
3run = "chmod 755 ./start.sh && ./start.sh"
4entrypoint = "server.js"
5
6[[hints]]
7regex = "Error \\[ERR_REQUIRE_ESM\\]"
8message = "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)"
9
10[nix]
11channel = "stable-22_11"
12
13[env]
14XDG_CONFIG_HOME = "/home/runner/$REPL_SLUG/.config"
15PATH = "/home/runner/$REPL_SLUG/.config/npm/node_global/bin:/home/runner/$REPL_SLUG/node_modules/.bin"
16npm_config_prefix = "/home/runner/$REPL_SLUG/.config/npm/node_global"
17
18[gitHubImport]
19requiredFiles = [".replit", "replit.nix", ".config", "package.json", "package-lock.json"]
20
21[packager]
22language = "nodejs"
23
24 [packager.features]
25 packageSearch = true
26 guessImports = true
27 enabledForHosting = false
28
29[unitTest]
30language = "nodejs"
31
32[debugger]
33support = true
34
35 [debugger.interactive]
36 transport = "localhost:0"
37 startCommand = [ "dap-node" ]
38
39 [debugger.interactive.initializeMessage]
40 command = "initialize"
41 type = "request"
42
43 [debugger.interactive.initializeMessage.arguments]
44 clientID = "replit"
45 clientName = "replit.com"
46 columnsStartAt1 = true
47 linesStartAt1 = true
48 locale = "en-us"
49 pathFormat = "path"
50 supportsInvalidatedEvent = true
51 supportsProgressReporting = true
52 supportsRunInTerminalRequest = true
53 supportsVariablePaging = true
54 supportsVariableType = true
55
56 [debugger.interactive.launchMessage]
57 command = "launch"
58 type = "request"
59
60 [debugger.interactive.launchMessage.arguments]
61 args = []
62 console = "externalTerminal"
63 cwd = "."
64 environment = []
65 pauseForSourceMap = false
66 program = "./server.js"
67 request = "launch"
68 sourceMaps = true
69 stopOnEntry = false
70 type = "pwa-node"
71
72[languages]
73
74[languages.javascript]
75pattern = "**/{*.js,*.jsx,*.ts,*.tsx,*.json}"
76
77[languages.javascript.languageServer]
78start = "typescript-language-server --stdio"
79
80[deployment]
81run = ["sh", "-c", "./start.sh"]