mirror of
https://github.com/imjasonh/npm-snoop
synced 2026-07-07 00:32:54 +00:00
Move poller to cmd/npm-cron/
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
c0db95e261
commit
946a1869ec
4 changed files with 3 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,5 +1,6 @@
|
|||
# Go binaries
|
||||
/npm-snoop
|
||||
/npm-cron
|
||||
/ast-diff
|
||||
/ast-diff-service
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ Go cron job that tails the npm registry changes feed and records releases, metad
|
|||
|
||||
## Structure
|
||||
|
||||
- `main.go` — the poller; all application logic is in this one file
|
||||
- `cmd/npm-cron/` — the poller cron job
|
||||
- `cmd/ast-diff/` — CLI tool for diffing symbols between two npm package versions
|
||||
- `cmd/ast-diff-service/` — Cloud Run service that receives release events and emits diff events
|
||||
- `internal/npm/` — npm registry client (metadata, tarball download, semver logic)
|
||||
|
|
|
|||
|
|
@ -153,7 +153,7 @@ module "cron" {
|
|||
schedule = var.schedule
|
||||
service_account = google_service_account.poller.email
|
||||
working_dir = "${path.module}/.."
|
||||
importpath = "."
|
||||
importpath = "./cmd/npm-cron"
|
||||
notification_channels = []
|
||||
team = "npm-snoop"
|
||||
deletion_protection = var.deletion_protection
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue