Commit Graph

32 Commits

Author SHA1 Message Date
Zoltan Kochan
86cd72de33 feat(reporter): show the progress of adding pkgs to virtual store
close #2832
PR #2845
2020-09-13 12:12:01 +03:00
Zoltan Kochan
acc1782c6f style: restrict template expressions 2020-08-27 00:57:58 +03:00
Zoltan Kochan
88e1eaa908 style: use no delimiters in type declarations 2020-08-26 01:42:36 +03:00
Zoltan Kochan
5322cf9b39 style: use nullish coalescing 2020-08-26 01:15:47 +03:00
Zoltan Kochan
1c8a02e996 style: use eslint instead of tslint
PR #2796
close #2300
2020-08-24 02:01:25 +03:00
Zoltan Kochan
cc1b43886f fix(deps): update p-limit to v3.0.1 2020-06-06 19:36:42 +03:00
Zoltan Kochan
802d145fcd feat!: remove independent-leaves=true support
PR #2571
2020-05-22 11:09:05 +03:00
Zoltan Kochan
a5febb9134 feat: add support for side-effects cache in the new content-addressable store
The new content-addressable store should support
side-effects cache.

ref #2470
PR #2562
2020-05-18 10:37:31 +03:00
Zoltan Kochan
c75a921e36 style: no trailing commas in functions 2020-05-12 19:00:16 +03:00
Zoltan Kochan
da091c7114 feat!: remove store state
PR #2542
ref #594
2020-05-10 12:02:46 +03:00
Zoltan Kochan
b6a82072ea feat!: using a content-addressable filesystem
ref #2470

BREAKING CHANGE:

New global store structure
2020-04-26 15:40:03 +03:00
Zoltan Kochan
8cff292476 refactor: directory=>dir
BREAKING CHANGE:
- @pnpm/store-controller-types
2019-11-01 21:48:14 +02:00
Zoltan Kochan
4fc917ebbb feat: rename lockfile-directory to lockfile-dir
ref #2088
PR #2120
2019-10-27 16:18:00 +02:00
Zoltan Kochan
37aefc97b1 feat: update logger to v3 2019-10-06 13:24:38 +03:00
Zoltan Kochan
b456a26f01 refactor: rename fields in fetch response
BREAKING CHANGE: @pnpm/package-requester

PR #2011
2019-09-15 01:04:05 +03:00
Zoltan Kochan
d36103b5ee fix: unhadled promise rejections
PR #2009
2019-09-14 16:03:43 +03:00
Zoltan Kochan
017f1e433e style(tsc): strictBindCallApply=true 2019-08-08 02:39:45 +03:00
Zoltan Kochan
f45df73a71 feat: breaking API changes 2019-03-08 16:46:33 +02:00
Zoltan Kochan
04474b09d2 feat: @pnpm/server uses @pnpm/fetch instead of got 2019-03-08 02:10:23 +02:00
Zoltan Kochan
ba2f3e707d feat: rename shrinkwrapDirectory to lockfileDirectory 2019-03-06 22:47:19 +02:00
Zoltan Kochan
1181bab170 fix: update p-queue, p-limit, get-port 2019-03-02 23:45:39 +02:00
Zoltan Kochan
cbd1453dd7 fix: importerPrefix=>shrinkwrapDirectory in getPackageLocation()
BREAKING CHANGE:

store controller API changed

ref #1173
2019-02-04 03:04:52 +02:00
Zoltan Kochan
803542a6ac fix: shamefully-flatten should work with independent-leaves
close #1547
2018-12-21 00:30:46 +02:00
Tejasvi (Teju) Nareddy
d5f78267d5 fix(server): change error type for invalid request method
* 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
2018-12-12 12:27:38 +02:00
Zoltan Kochan
2947a05d1e fix: pnpm store usages
ref #1529
ref #1527
2018-12-08 17:23:28 +02:00
Tejasvi (Teju) Nareddy
b1737dcd9f feat: pnpm store usages <package>...
* 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
2018-12-08 01:23:46 +02:00
Zoltan Kochan
6ad444c217 style: remove unnecessary semicolons 2018-12-03 02:50:43 +02:00
Emanuele Tamponi
7d46a6f500 fix(headless): call getCacheByEngine through the store controller
PR #1490
2018-11-15 22:00:07 +02:00
Zoltan Kochan
92e7383d00 style: sort keys 2018-11-15 03:04:37 +02:00
Zoltan Kochan
246b0fd440 refactor: create @pnpm/store-controller-types and @pnpm/package-store 2018-11-11 02:01:54 +02:00
Zoltan Kochan
3911cf0823 style: use standard style with trailing comma 2018-10-07 16:39:49 +03:00
Zoltan Kochan
30af01225e refactor: move @pnpm/server to monorepo 2018-08-17 23:44:04 +03:00