emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/projectile 6915bd1b5c 2/6: Add a new project type "yarn" s


From: ELPA Syncer
Subject: [nongnu] elpa/projectile 6915bd1b5c 2/6: Add a new project type "yarn" separate from "npm"
Date: Tue, 19 Sep 2023 00:59:59 -0400 (EDT)

branch: elpa/projectile
commit 6915bd1b5c3aa6752fe6ad6b2eb664411fad8712
Author: Akinori MUSHA <knu@idaemons.org>
Commit: Bozhidar Batsov <bozhidar@batsov.dev>

    Add a new project type "yarn" separate from "npm"
---
 projectile.el | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/projectile.el b/projectile.el
index 683b49e8a0..4b48ad04cc 100644
--- a/projectile.el
+++ b/projectile.el
@@ -3319,11 +3319,16 @@ a manual COMMAND-TYPE command is created with
                                   :project-file "gulpfile.js"
                                   :compile "gulp"
                                   :test "gulp test")
-(projectile-register-project-type 'npm '("package.json")
+(projectile-register-project-type 'npm '("package.json" "package-lock.json")
                                   :project-file "package.json"
                                   :compile "npm install"
                                   :test "npm test"
                                   :test-suffix ".test")
+(projectile-register-project-type 'yarn '("package.json" "yarn.lock")
+                                  :project-file "package.json"
+                                  :compile "yarn && yarn build"
+                                  :test "yarn test"
+                                  :test-suffix ".test")
 ;; Angular
 (projectile-register-project-type 'angular '("angular.json" 
".angular-cli.json")
                                   :project-file "angular.json"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]