mirror of
https://github.com/gabrielkheisa/discord-active-developer-badge.git
synced 2024-11-22 03:21:58 +07:00
app.js -> index.js
This commit is contained in:
parent
df5d5bb499
commit
fd3c3f9310
77
.replit
77
.replit
@ -1,5 +1,82 @@
|
|||||||
onBoot="npm install"
|
onBoot="npm install"
|
||||||
run = "npm install && node --no-warnings ."
|
run = "npm install && node --no-warnings ."
|
||||||
|
entrypoint = "index.js"
|
||||||
|
hidden = [".config", "package-lock.json"]
|
||||||
|
|
||||||
[nix]
|
[nix]
|
||||||
channel = "stable-21_11"
|
channel = "stable-21_11"
|
||||||
|
|
||||||
|
[languages]
|
||||||
|
|
||||||
|
[languages.javascript]
|
||||||
|
pattern = "**/{*.js,*.jsx,*.ts,*.tsx}"
|
||||||
|
|
||||||
|
[languages.javascript.languageServer]
|
||||||
|
start = "typescript-language-server --stdio"
|
||||||
|
|
||||||
|
[debugger]
|
||||||
|
support = true
|
||||||
|
|
||||||
|
[debugger.interactive]
|
||||||
|
transport = "localhost:0"
|
||||||
|
startCommand = ["dap-node"]
|
||||||
|
|
||||||
|
[debugger.interactive.initializeMessage]
|
||||||
|
command = "initialize"
|
||||||
|
type = "request"
|
||||||
|
|
||||||
|
[debugger.interactive.initializeMessage.arguments]
|
||||||
|
clientID = "replit"
|
||||||
|
clientName = "replit.com"
|
||||||
|
columnsStartAt1 = true
|
||||||
|
linesStartAt1 = true
|
||||||
|
locale = "en-us"
|
||||||
|
pathFormat = "path"
|
||||||
|
supportsInvalidatedEvent = true
|
||||||
|
supportsProgressReporting = true
|
||||||
|
supportsRunInTerminalRequest = true
|
||||||
|
supportsVariablePaging = true
|
||||||
|
supportsVariableType = true
|
||||||
|
|
||||||
|
[debugger.interactive.launchMessage]
|
||||||
|
command = "launch"
|
||||||
|
type = "request"
|
||||||
|
|
||||||
|
[debugger.interactive.launchMessage.arguments]
|
||||||
|
console = "externalTerminal"
|
||||||
|
cwd = "."
|
||||||
|
pauseForSourceMap = false
|
||||||
|
program = "./index.js"
|
||||||
|
request = "launch"
|
||||||
|
sourceMaps = true
|
||||||
|
stopOnEntry = false
|
||||||
|
type = "pwa-node"
|
||||||
|
|
||||||
|
[packager]
|
||||||
|
language = "nodejs"
|
||||||
|
|
||||||
|
[packager.features]
|
||||||
|
packageSearch = true
|
||||||
|
guessImports = true
|
||||||
|
enabledForHosting = false
|
||||||
|
|
||||||
|
[interpreter]
|
||||||
|
command = ["prybar-nodejs", "-q", "--ps1", "\u0001\u001B[33m\u0002\u0001\u001B[00m\u0002 ", "-i"]
|
||||||
|
|
||||||
|
[unitTest]
|
||||||
|
language = "nodejs"
|
||||||
|
|
||||||
|
[env]
|
||||||
|
XDG_CONFIG_HOME = "/home/runner/$REPL_SLUG/.config"
|
||||||
|
PATH = "/home/runner/$REPL_SLUG/.config/npm/node_global/bin:/home/runner/$REPL_SLUG/node_modules/.bin"
|
||||||
|
npm_config_prefix = "/home/runner/$REPL_SLUG/.config/npm/node_global"
|
||||||
|
|
||||||
|
[gitHubImport]
|
||||||
|
requiredFiles = [".replit", "replit.nix", ".config", "package.json", "package-lock.json"]
|
||||||
|
|
||||||
|
[[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)"
|
||||||
|
|
||||||
|
[deployment]
|
||||||
|
run = ["sh", "-c", "node index.js"]
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "discord-active-developer",
|
"name": "discord-active-developer",
|
||||||
|
"main": "inndex.js",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"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!",
|
"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!",
|
||||||
|
Loading…
Reference in New Issue
Block a user