.replit 2.1 KB

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