* chore(assert-store): introduce return types and getStorePath
Add return types to pre-existing methods
Introduce function to get store path, simplifying logic in assert-project later
* chore(assert-project): abstract store assertions via assert-store
Cache entire store object instead of just the store path
Store-related calls in assert-project are run against assert-store
* test(supi): call assert-store for store assertions
Test cases where `pnpm install` is not called do not have a valid project
Use assert-store directly for store assertions
* test(supi): abstract store assertions with assert-store
Replace direct store checking (via path-exists) with assert-store
* fix: storeHasNot() when store does not exist
* refactor: remove getStorePath from assert-store
PR #1560
* fix(server): Change error type for invalid request method
Return 405 instead of 503
Encapsulate error in JSON object
Set `Allow` header for 405 response
* test(server): Add tests for 404 and 405
Added test for invalid route (404)
Added test for invalid HTTP method (405)
PR #1548
* docs(pnpm): docs for the package usages feature
- Add documentation for `pnpm store usages`
- Refactor docs for `pnpm store` to be more readable
* feat(package-store): implement findPackageUsages
Introduces functionality to search the package store for packages.
Reports all matching packages and the node projects they are used in.
Allows for searching a specific version, or all versions.
* feat(server): expose findPackageUsages API
Exposes an API for finding package usages in the store.
* feat(store-controller-types): Exposes findPackageUsages store functionality
Publicly exposes the findPackageUsages function in the store-controller.
Also exposes the expected response type, allowing clients to be type-safe.
* feat(supi): implement findStoreUsages functionality, add API
Publicly exposes the findPackageUsages function SUPI.
* feat(pnpm): pnpm store usages
Enabled CLI command to find usages of a package in the global store.
Pretty-prints a tree with queries and results.
* style: remove semicolons
Removed semicolons to follow style guide.
* refactor(supi): change test after merge of #1528
* refactor: rename findPackageUsages return type
Better naming of the types returned in the pnpm store usages feature.
* tests: add tests for `pnpm store usages`
Add tests to `supi` to ensure datamodel returned by `package-store` is correct.
Fix test messages in `server`
PR #1529
Create individual `tslint.json` file that `index.js` imports.
This makes it clear that `index.js` exports a tslint json configuration.
Also allows for IDEs to detect the root `tslint.json` file.