Zoltan Kochan
1f01e12066
test(server): make the tests pass on Node.js 17
2021-11-20 22:45:15 +02:00
Zoltan Kochan
917b95c01f
fix: upgrade typescript to v4.4.4
2021-10-16 23:33:34 +03:00
Zoltan Kochan
bab1723854
fix: do not silently exit on bad HTTPS requests ( #3768 )
...
close #3756
close #3754
2021-09-13 04:44:40 +03:00
Zoltan Kochan
691f647137
feat: save the metadata separately from the CAFS ( #3578 )
...
ref #2574
2021-07-04 19:35:53 +03:00
Zoltan Kochan
3f4385b7bb
fix: verify the name and version of the package in the store ( #3224 )
...
* fix: verify the name and version of the package in the store
ref #3202
* fix: autofix broken lockfile
* docs: add changesets
2021-03-08 21:22:33 +02:00
Zoltan Kochan
d6d091f249
style: use es2015 imports ( #3143 )
2021-02-15 05:06:10 +02:00
Zoltan Kochan
3503951d39
perf: don't use graceful-fs and mz/fs ( #3129 )
2021-02-09 13:44:07 +02:00
Zoltan Kochan
593d56b76d
test: migrate to Jest
...
ref #2858
2020-12-10 03:39:38 +02:00
Zoltan Kochan
75a36debad
fix: report auth info on 404 errors as well
...
PR #2818
2020-09-01 18:16:37 +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
a1cdae3dc7
refactor(npm-resolver): remove options.metaCache
2020-08-17 01:48:12 +03:00
Zoltan Kochan
6d480dd7a2
feat: print more info on forbid errors
...
close #2774
PR #2777
2020-08-16 21:24:32 +03:00
Zoltan Kochan
71aeb9a382
refactor: API of resolvers and fetchers
...
Instead of creating a separate fetch function for the resolvers
and fetchers, use a single one.
Also, use a single getCredentials function.
close #2652
PR #2655
2020-06-29 17:13:02 +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
b5f66c0f2b
perf: less dirs in the virtual store directory
...
Reduce the number of directories in the virtual store directory.
Don't create a subdirectory for the package version. Append the
package version to the package name directory.
close #2521
PR #2531
2020-05-06 02:15:55 +03:00
Zoltan Kochan
c02cf034e1
test(server): making an actual result deterministic
2020-05-04 02:58:02 +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
196c1132f3
test: configure coverage reporting
...
PR #2406
close #2304
2020-03-07 23:55:08 +02:00
Zoltan Kochan
bb5d41f337
style: add missing trailing commas and fix the linting rule
2020-01-01 19:18:25 +02:00
Zoltan Kochan
f8b927391e
refactor: rename importers & workspace pkgs to projects
...
WsPkg=>Project
WorkspacePackage=>Project
mporterManifest=>ProjectManifest
importers=>projects
importerDir=>projectDir
LockfileImporter=>ProjectSnapshot
PR #2242
2020-01-01 18:57:14 +02:00
Zoltan Kochan
ace67aa4bf
refactor: remove prefix from store-controller-types
2019-11-03 14:05:51 +02: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
76c737d70b
feat: rename store config to store-dir
...
BREAKING CHANGE:
- @pnpm/config
- @pnpm/default-reporter
- @pnpm/default-resolver
- @pnpm/headless
- @pnpm/npm-resolver
- @pnpm/package-requester
- @pnpm/package-store
- supi
PR #2118
ref #2088
2019-10-27 13:18:24 +02:00
Zoltan Kochan
fc0fe15938
refactor: rawNpmConfig=>rawConfig
2019-10-04 01:29:26 +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
47f718d70f
fix(deps): use @zkochan/rimraf instead of rimraf-then
2019-08-18 02:40:20 +03:00
Zoltan Kochan
c7a5ad2e70
refactor: move all local types to one place
2019-05-18 01:38:42 +03:00
ExE Boss
cfeeab8be0
refactor(npm‑resolver): enable strictBindCallApply
...
PR #1770
* chore(npm‑resolver): Enable `strictBindCallApply`
* fix(npm-resolver): Correct `resolveNpm` type definition
* fix(local‑resolver): Fix return type
* fix(default‑resolver): Specify return type
* test: Fix dependency on `@pnpm/npm‑resolver`
* fix: revert making fields optional in ResolveOptions
2019-04-12 23:34:32 +03:00
Zoltan Kochan
c8d98856fa
refactor: use includes() instead of indexOf() when possible
2019-04-07 13:08:26 +03:00
Zoltan Kochan
c49d4569b8
refactor: move verifyStoreIntegrity to store init function
2019-03-08 20:12:32 +02: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
cbd1453dd7
fix: importerPrefix=>shrinkwrapDirectory in getPackageLocation()
...
BREAKING CHANGE:
store controller API changed
ref #1173
2019-02-04 03:04:52 +02:00
Zoltan Kochan
a57012069b
fix: path to local tarball should be relative to shrinkwrap dir
...
This is an issue that may only happen in monorepos that use a
shared shrinkwrap.yaml
2019-01-11 20:35:14 +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
92e7383d00
style: sort keys
2018-11-15 03:04:37 +02:00
Zoltan Kochan
dd03d96c1a
style: fix styles in tests
2018-11-15 01:14:33 +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
34949309b3
chore(deps): update dependency @pnpm/npm-resolver to v2
...
close #1327
2018-08-20 22:08:02 +03:00
Zoltan Kochan
30af01225e
refactor: move @pnpm/server to monorepo
2018-08-17 23:44:04 +03:00