From 5da68433e2f9185d8c10eed0c15559d56e8f277a Mon Sep 17 00:00:00 2001 From: ShirokamiRyzen Date: Sun, 13 Aug 2023 08:50:19 +0700 Subject: [PATCH] test --- .replit | 22 ---------------------- replit.nix | 2 +- run.nix | 17 ----------------- 3 files changed, 1 insertion(+), 40 deletions(-) delete mode 100644 .replit delete mode 100644 run.nix diff --git a/.replit b/.replit deleted file mode 100644 index f764e23..0000000 --- a/.replit +++ /dev/null @@ -1,22 +0,0 @@ - -run = "nix-shell build.nix" -entrypoint = "index.js" - -language = "nodejs" - -[nix] -channel="stable-21_11" - -[packager] -language = "nodejs" - -[packager.features] -packageSearch = true -guessImports = true - -[languages.nodejs] -pattern = "**/*.js" -syntax = "nodejs" - -[languages.nodejs.languageServer] -start = [ "typescript-language-server", "--stdio" ] \ No newline at end of file diff --git a/replit.nix b/replit.nix index 3b0ef20..f0640d1 100644 --- a/replit.nix +++ b/replit.nix @@ -1,6 +1,6 @@ { pkgs }: { deps = with pkgs; [ - nodejs-16_x + nodejs-18_x nodePackages.typescript-language-server nodePackages.node-pre-gyp libpng diff --git a/run.nix b/run.nix deleted file mode 100644 index 45c4bb6..0000000 --- a/run.nix +++ /dev/null @@ -1,17 +0,0 @@ -# DO NOT CHANGE THIS FILE - -{ pkgs ? import { } }: -with pkgs; mkShell { - name = "node-dev-shell"; - - APPEND_LIBRARY_PATH = "${lib.makeLibraryPath [ libGL libuuid ]}"; - shellHook = '' - export LD_LIBRARY_PATH="$APPEND_LIBRARY_PATH:$LD_LIBRARY_PATH" - npm i - - npm start - ''; - - # Replace 'npm run-script run' with your run command. - -} \ No newline at end of file