-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Better path config names #2088
Copy link
Copy link
Closed
Labels
state: acceptedThe required changes are defined. There is consensus on the change. Development can be startedThe required changes are defined. There is consensus on the change. Development can be startedstate: in progresstype: refactor
Milestone
Description
We don't have currently a clear convention for the config settings that are used to specify path:
- prefix
- store
- pnpm-prefix (used currently for the global packages location)
- lockfile-directory
Suggestion. We can suffix every path config with dir:
- prefix -> dir feat: --working-dir flag #2115, feat: rename --working-dir to --dir #2122
prefix will continue to work for compatibility with npm's API
initially we wanted to call it working-dir but 54% of our users voted for dir on Twitter - store -> store-dir feat: rename store setting to store-dir #2118
- pnpm-prefix -> global-dir feat: rename pnpm-prefix to global-dir #2121
- lockfile-directory -> lockfile-dir feat: rename lockfile-directory to lockfile-dir #2120
- virtual-store-dir (upcoming config)
cc @pnpm/collaborators
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
state: acceptedThe required changes are defined. There is consensus on the change. Development can be startedThe required changes are defined. There is consensus on the change. Development can be startedstate: in progresstype: refactor