The add-node-modules-path package calls `npm bin` to locate the node_modules/.bin, and does so while invoking the user's $SHELL, which can be very expensive depending on the user's shell configuration, possibly adding seconds to the startup time of any JS/TS file. To mitigate this, I replace the package with a much faster, and in-house heuristic. Folks with more complex needs should be using direnv anyway. Fix: #6878
19 lines
718 B
EmacsLisp
19 lines
718 B
EmacsLisp
;; -*- no-byte-compile: t; -*-
|
|
;;; lang/javascript/packages.el
|
|
|
|
;; Major modes
|
|
(package! rjsx-mode :pin "b697fe4d92cc84fa99a7bcb476f815935ea0d919")
|
|
(package! typescript-mode :pin "88f317f0b6aef8f8d232e912fdbc679799580c56")
|
|
|
|
;; Tools
|
|
(package! js2-refactor :pin "a0977c4ce1918cc266db9d6cd7a2ab63f3a76b9a")
|
|
(package! npm-mode :pin "3ee7c0bad5b7a041d4739ef3aaa06a3dc764e5eb")
|
|
|
|
;; Eval
|
|
(package! nodejs-repl :pin "3b841055cad00f442e4a9159b1056f59411b6646")
|
|
(package! skewer-mode :pin "e5bed351939c92a1f788f78398583c2f83f1bb3c")
|
|
|
|
;; Programming environment
|
|
(package! tide :pin "b93e555858edc331ba33d1d8bd4582d578c7ca31")
|
|
(when (modulep! :tools lookup)
|
|
(package! xref-js2 :pin "fd6b723e7f1f9793d189a815e1904364dc026b03"))
|