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