From d8c2234934630b86a49d8f8d98171a87f9bb8dea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AB=98=E6=A0=A1=E4=BF=B1=E4=B9=90=E9=83=A8?= Date: Tue, 24 Oct 2023 14:58:12 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B3=BB=E7=BB=9F=E5=88=9B=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .inscode | 6 ++++++ inscode.nix | 6 ++++++ 2 files changed, 12 insertions(+) create mode 100644 .inscode create mode 100644 inscode.nix diff --git a/.inscode b/.inscode new file mode 100644 index 0000000..ecc8bdd --- /dev/null +++ b/.inscode @@ -0,0 +1,6 @@ +run = "npm i && npm run dev" + +[env] +PATH = "/root/${PROJECT_DIR}/.config/npm/node_global/bin:/root/${PROJECT_DIR}/node_modules/.bin:${PATH}" +XDG_CONFIG_HOME = "/root/.config" +npm_config_prefix = "/root/${PROJECT_DIR}/.config/npm/node_global" \ No newline at end of file diff --git a/inscode.nix b/inscode.nix new file mode 100644 index 0000000..12841f8 --- /dev/null +++ b/inscode.nix @@ -0,0 +1,6 @@ +{ pkgs }: { + deps = [ + pkgs.nodejs-18_x + pkgs.yarn + ]; +} \ No newline at end of file -- GitLab