summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2024-04-28 13:32:19 +0200
committerAlan Pearce2024-04-28 13:32:19 +0200
commit0b53151f1fae2d87926ce616d3d659963cfb61d2 (patch)
tree996f5f7f121892a7a0bc47fcc35e5ac0b86a62d4
parent30d69dbdf4955ae0a8b0c1954dd8a52499570d10 (diff)
downloadnixfiles-0b53151f1fae2d87926ce616d3d659963cfb61d2.tar.lz
nixfiles-0b53151f1fae2d87926ce616d3d659963cfb61d2.tar.zst
nixfiles-0b53151f1fae2d87926ce616d3d659963cfb61d2.zip
remove some unused development packages
-rw-r--r--user/settings/development/base.nix3
-rw-r--r--user/settings/development/javascript.nix63
-rw-r--r--user/settings/development/web.nix1
3 files changed, 5 insertions, 62 deletions
diff --git a/user/settings/development/base.nix b/user/settings/development/base.nix
index 4c0f2eb7..cd5755f6 100644
--- a/user/settings/development/base.nix
+++ b/user/settings/development/base.nix
@@ -9,13 +9,10 @@
     [
       shellcheck
       shfmt
-      python3Packages.yamllint
       nodePackages.dockerfile-language-server-nodejs
       nodePackages.vscode-json-languageserver
       nodePackages.yaml-language-server
       lua-language-server
-      rubyPackages.solargraph
-      multimarkdown
 
       license-cli
       just
diff --git a/user/settings/development/javascript.nix b/user/settings/development/javascript.nix
index f6c97bca..4d196cb4 100644
--- a/user/settings/development/javascript.nix
+++ b/user/settings/development/javascript.nix
@@ -3,21 +3,11 @@
 , ...
 }:
 {
-  home.packages =
-    (with pkgs; [
-      pnpm-shell-completion
-      bunyan-rs
-    ])
-    ++ (with pkgs.nodePackages; [
-      node2nix
-      nodemon
-      javascript-typescript-langserver
-      typescript-language-server
-      eslint_d
-      typescript
-      pnpm
-      npm-merge-driver
-    ]);
+  home.packages = with pkgs.nodePackages; [
+    node2nix
+    javascript-typescript-langserver
+    typescript-language-server
+  ];
 
   home.sessionVariables = {
     NO_UPDATE_NOTIFIER = "1"; # stop npm update-notifier
@@ -38,48 +28,6 @@
   ]);
 
   home.shellAliases = {
-    ava = "bunx ava";
-    avt = "bunx ava --tap";
-    avat = "bunx ava --tap";
-    avaw = "bunx ava --watch";
-    avaf = "bunx ava --fail-fast";
-    avafw = "bunx ava --fail-fast --watch";
-    avawf = "bunx ava --fail-fast --watch";
-    pino = "bunyan";
-    mocha = "bunx mocha";
-    standard = "bunx standard";
-    tsc = "bunx tsc";
-    tslint = "bunx tslint";
-    tsnode = "bunx ts-node";
-
-    p = "pnpm";
-    pi = "pnpm install --filter=.";
-    pit = "pnpm install-test --filter=.";
-    pl = "pnpm ls";
-    pr = "pnpm run";
-    pb = "pnpm run build";
-    prb = "pnpm run build";
-    pbd = "pnpm multi run build --filter={.}...";
-    pmi = "pnpm multi install";
-    pmx = "pnpm multi exec "; # expand command aliases
-    pmr = "pnpm multi run";
-    pa = "pnpm add";
-    pad = "pnpm add --save-dev";
-    pd = "pnpm uninstall";
-    pou = "pnpm outdated";
-    pt = "pnpm test";
-    pmt = "pnpm multi test";
-    pmd = "pnpm multi uninstall";
-    pmit = "pnpm multi install-test";
-    pup = "pnpm update";
-    pupl = "pnpm update --latest";
-    ppr = "pnpm prune";
-    pprp = "pnpm prune --production";
-    pli = "pnpm link";
-    pdi = "pnpm dislink";
-    pul = "pnpm unlink";
-    px = "pnpx";
-
     bn = "bun";
     bni = "bun install";
     bna = "bun add";
@@ -126,7 +74,6 @@
   xdg.configFile."npm/config".text = ''
     prefix=''${HOME}/.local
     cache=${config.xdg.cacheHome}/npm/
-    store-dir=${config.xdg.cacheHome}/pnpm/
     always-auth=true
     sign-git-tag=true
     rebuild-bundle=false
diff --git a/user/settings/development/web.nix b/user/settings/development/web.nix
index 272b874d..7db09e51 100644
--- a/user/settings/development/web.nix
+++ b/user/settings/development/web.nix
@@ -21,7 +21,6 @@
     company-web
     emmet-mode
     nginx-mode
-    restclient
     web-mode
   ]);
   programs.neovim.plugins = with pkgs.vimPlugins; [