-
Notifications
You must be signed in to change notification settings - Fork 2
/
.replit
107 lines (88 loc) · 2.79 KB
/
.replit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
entrypoint = "src/server.ts"
modules = ["nodejs-20", "nix"]
hidden = [".config", "package-lock.json", "tsconfig.json"]
run = "npm run dev"
[nix]
channel = "stable-24_05"
[gitHubImport]
requiredFiles = [".replit", "replit.nix", "package.json", "package-lock.json"]
[unitTest]
language = "nodejs"
[packager]
language = "nodejs"
[packager.features]
packageSearch = true
guessImports = true
enabledForHosting = false
# [[hints]]
# regex = "Error \\[ERR_REQUIRE_ESM\\]"
# 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)"
# [interpreter]
# command = [
# "prybar-nodejs",
# "-q",
# "--ps1",
# "\u0001\u001B[33m\u0002\u0001\u001B[00m\u0002 ",
# "-i",
# ]
[languages]
[languages.javascript]
pattern = "**/{*.js,*.jsx,*.ts,*.tsx,*.json,*.prettierrc}"
[languages.javascript.languageServer]
start = "typescript-language-server --stdio"
[deployment]
deploymentTarget = "cloudrun" # gce,cloudrun
ignorePorts = false
# build = ["sh", "-c", "npm run build"]
run = ["sh", "-c", "npm run start"]
[[ports]]
localPort = 3000
externalPort = 80
exposeLocalhost = true
# Debugging
[debugger]
support = true
# How to start the debugger.
[debugger.interactive]
transport = "localhost:0"
# startCommand = ["sh", "-c", "npm run debug"]
startCommand = ["dap-node"]
# How to tell the debugger to start a debugging session.
[debugger.interactive.initializeMessage]
command = "initialize"
type = "request"
[debugger.interactive.initializeMessage.arguments]
# adapterID = "debugts"
clientID = "replit"
clientName = "replit.com"
columnsStartAt1 = true
linesStartAt1 = true
locale = "en-us"
pathFormat = "path"
supportsInvalidatedEvent = true
supportsProgressReporting = true
supportsRunInTerminalRequest = true
supportsVariablePaging = true
supportsVariableType = true
# How to tell the debugger to start the debugger application.
[debugger.interactive.launchMessage]
command = "launch" # launch,attach
type = "request"
[debugger.interactive.launchMessage.arguments]
# runtimeArgs = ["--import tsx"] # -,["--max-old-space-size=4096"]
args = [] # [],["--import tsx"]
console = "externalTerminal" # externalTerminal,integratedTerminal
cwd = "."
environment = []
pauseForSourceMap = false
program = "--import tsx --inspect src/server.ts" # "./src/server.ts"
request = "launch" # launch,attach
sourceMaps = true
stopOnEntry = false
type = "pwa-node" # pwa-node,node
# logging = {}
# port = 9229
# restart = true
# skipFiles = ["<node_internals>/**", "./node_modules/**"]
# protocol = "inspector"
# internalConsoleOptions = "neverOpen"