Commit graph

7 commits

Author SHA1 Message Date
Marc Cataford
5e1dec842a
refactor: more cleanup (#164)
* chore: misplaced test file

* refactor: rename, async main

* refactor: fix types

* chore: type args

* refactor: extract package root invariant

* refactor: error behaviour on limit exceeded

* test: more precise error cov

* refactor: extract logging

* refactor: logger

* test: index fix

* refactor: move mocking downstream
2021-03-19 16:49:27 -04:00
Marc Cataford
72673970c0
refactor: mockless tests (#163)
* refactor: parametrize cwd

* test: set up helpers and validate

* refactor: remove mocks from tests

* ci: bump node

* build: bump node

* refactor: extract utils, hoist cwd up

* test: cov utils
2021-02-18 23:31:33 -05:00
Marc Cataford
401196d62a
refactor: move to Typescript (#146)
* chore: add swap files to ignores

* chore: set up typescript deps

* refactor: rough conversion

* chore: linting config

* refactor: isolate untestable bits

* chore: runtime mapping

* chore: move tests
2020-12-12 19:18:25 -05:00
Marc Cataford
278f86e5cd
Add messaging around first-run behaviour (#17)
* wip: add messaging

* chore: typo
2020-05-01 21:30:42 -04:00
Michael Rose
16e0ea7ff0
feat: Only generate manifest if update is specified (#8)
* Only generate manifest if update is specified

BREAKING CHANGE: packwatch will now exit with a non-zero code if run
without an existing manifest file and without the --update-manifest
flag. Now run packwatch --update-manifest to generate a manifest for the
first time.

* Fail but still generate manifest
2020-03-08 13:12:49 -04:00
Marc Cataford
98060385e9
Ci setup (#2)
* chore: terminology change

* ci: basic

* ci: remove node 8.x

* chore: add semantic release

* ci: restrict codecov to n12

* ci: undo

* docs: spruce up main heading before release

* ci: secret name
2020-02-29 19:38:31 -05:00
Marc Cataford
218f8172ea
Initial upload (#1)
* chore: initial version

* chore: add shebang
2020-02-29 18:40:39 -05:00