mirror of
https://github.com/safedep/pmg.git
synced 2026-08-03 07:24:09 +02:00
feat/#55 bun support (#56)
* add support for bun package manager * update readme
This commit is contained in:
@@ -3,6 +3,7 @@ package analytics
|
||||
const (
|
||||
eventRun = "pmg_command_run"
|
||||
eventCommandNpm = "pmg_command_npm"
|
||||
eventCommandBun = "pmg_command_bun"
|
||||
eventCommandPnpm = "pmg_command_pnpm"
|
||||
eventCommandPip = "pmg_command_pip"
|
||||
|
||||
@@ -19,6 +20,10 @@ func TrackCommandNpm() {
|
||||
TrackEvent(eventCommandNpm)
|
||||
}
|
||||
|
||||
func TrackCommandBun() {
|
||||
TrackEvent(eventCommandBun)
|
||||
}
|
||||
|
||||
func TrackCommandPnpm() {
|
||||
TrackEvent(eventCommandPnpm)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user