Skip to content

Commit

Permalink
Use pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
chuxubank committed Apr 7, 2024
1 parent 873e993 commit 946aad5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cats/+js.el
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
;; -*- lexical-binding: t; -*-

(use-package js
:ensure-system-package
(node . "pnpm env use -g lts")
:custom
(js-indent-level 2))

(use-package json-mode
:ensure-system-package (prettier)
:ensure-system-package
(prettier . "pnpm add -g prettier")
:bind
(:map json-mode-map
("C-c C-w" . json-mode-kill-path)))
2 changes: 2 additions & 0 deletions cats/+mermaid.el
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
;; -*- lexical-binding: t; -*-

(use-package mermaid-mode
:ensure-system-package
(prettier . "pnpm add -g @mermaid-js/mermaid-cli")
:mode "\\.mmd\\'"
:custom
(mermaid-tmp-dir (concat cat-cache-dir "mermaid/"))
Expand Down

0 comments on commit 946aad5

Please sign in to comment.