Skip to content

Commit

Permalink
build: add replit stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
mparramont committed Apr 20, 2023
1 parent 056b13d commit fbb78b6
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .replit
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
run = "npm run start"
hidden = [".build", ".config"]

[packager]
language = "nodejs"

[packager.features]
enabledForHosting = false
packageSearch = true
guessImports = true

[nix]
channel = "stable-22_11"

[gitHubImport]
requiredFiles = [".replit", "replit.nix", ".config"]

[languages]

[languages.typescript]
pattern = "**/{*.ts,*.js,*.tsx,*.jsx}"

[languages.typescript.languageServer]
start = "typescript-language-server --stdio"

[deployment]
run = ["sh", "-c", "npm run start"]
10 changes: 10 additions & 0 deletions replit.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{ pkgs }: {
deps = [
pkgs.yarn
pkgs.esbuild
pkgs.nodejs-16_x

pkgs.nodePackages.typescript
pkgs.nodePackages.typescript-language-server
];
}

1 comment on commit fbb78b6

@vercel
Copy link

@vercel vercel bot commented on fbb78b6 Apr 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

aladdin-sane – ./

aladdin-sane.vercel.app
aladdin-sane-mparramont.vercel.app
aladdin-sane-git-main-mparramont.vercel.app

Please sign in to comment.