Commit Graph
32 Commits
Author SHA1 Message Date
Zoltan Kochan 1f5c472bb9 fix(store): mention pnpm store path in help output 2021-10-20 02:53:11 +03:00
Zoltan Kochan 917b95c01f fix: upgrade typescript to v4.4.4 2021-10-16 23:33:34 +03:00
Jacob Gillespie f5ec0a96f2 feat(plugin-commands-store): add store path command (#3571)
Add a `pnpm store path` command to print the location of the pnpm store
as the CLI would resolve it. This allows the user to inspect the current
store location, as well as allows external tooling (like shell scripts)
to locate the pnpm store without needing to make assumptions about its
location or needing to load the `@pnpm/store-path` module.

This command differs from running `pnpm get store`, as `pnpm get store`
prints "undefined" in the case that no custom store path has been set,
which requires external tooling to have knowledge about where pnpm
locates its store in the default case.

close #2575
2021-07-01 16:35:16 +03:00
Zoltan Kochan a1a03d1457 fix: import only the needed functions from ramda 2021-05-29 01:33:09 +03:00
Yao DingandZoltan Kochan 2e2111ae7c fix: use correct path fix for integrity.json with git dependency (#3272)
* fix: use correct path fix for integrity.json with git dependency

* fix: integrity path

Co-authored-by: Zoltan Kochan <z@kochan.io>
2021-03-24 22:51:09 +02:00
Zoltan Kochan 903314f4d6 style: fix 2021-03-17 23:27:28 +02:00
Zoltan Kochan 577e25d8de fix: emfile error on pnpm store status (#3212)
close #3185
2021-03-02 15:00:14 +02:00
Zoltan Kochan d6d091f249 style: use es2015 imports (#3143) 2021-02-15 05:06:10 +02:00
Zoltan Kochan e27dcf0dcc refactor(dependency-path): add depPathToFilename() 2020-12-30 12:12:08 +02: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
9550b0505a chore(deps): update dependency typescript to v4
PR #2788

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Zoltan Kochan <z@kochan.io>
2020-08-22 02:44:21 +03:00
Zoltan Kochan 76aaead321 fix: run --silent
close #2660
PR #2665
2020-07-05 01:40:42 +03:00
Zoltan Kochan 220896511a refactor: remove common-tags from dependencies 2020-06-21 16:39:49 +03:00
Zoltan Kochan 142f8caf7b refactor!: relDepPath=>depPath 2020-05-22 23:40:07 +03:00
Zoltan Kochan 802d145fcd feat!: remove independent-leaves=true support
PR #2571
2020-05-22 11:09:05 +03:00
Zoltan Kochan c75a921e36 style: no trailing commas in functions 2020-05-12 19:00:16 +03:00
Zoltan Kochan 9fbb74ecb5 feat!: reduce nesting in the virtual store
PR #2546
2020-05-11 21:31:21 +03:00
Zoltan Kochan da091c7114 feat!: remove store state
PR #2542
ref #594
2020-05-10 12:02:46 +03:00
Zoltan Kochan 471149e669 feat!: make the package index file more extendable
Move all the info in the package index file into a "files" property.
This will allow to store more information without breaking changes
in the future.

PR #2541
2020-05-10 12:02:13 +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 9596774f2a perf: reduce directory nesting in the store
Store the package index files in the CAFS.

ref #2521
PR #2527
2020-05-04 23:36:14 +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 dfdfe01df8 refactor: create @pnpm/parse-wanted-dependency 2020-04-04 04:05:30 +03:00
Zoltan Kochan 116d5dd70d refactor: create @pnpm/pick-registry-for-package 2020-04-02 02:41:40 +03:00
Zoltan Kochan da80886661 refactor: create @pnpm/normalize-registries 2020-04-02 01:00:10 +03:00
Zoltan Kochan 715610d2c8 refactor: command plugins API 2020-03-09 00:19: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 ed65c06b5a style: fix 2020-01-01 19:13:17 +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 dd772c1f23 refactor: create @pnpm/plugin-commands-store
BREAKING CHANGE: supi API

PR #2230
2019-12-21 01:51:25 +02:00