Zoltan Kochan
71a8c8ce38
feat: public-hoist-pattern
...
close #2628
PR #2631
2020-06-16 00:50:09 +03:00
Zoltan Kochan
cc1b43886f
fix(deps): update p-limit to v3.0.1
2020-06-06 19:36:42 +03:00
Zoltan Kochan
9b1b520d99
refactor!: packageId removed from DependenciesGraphNode
2020-05-22 23:09:11 +03:00
Zoltan Kochan
bb59db642e
refactor!: peripheralLocation => dir
2020-05-22 22:49:37 +03:00
Zoltan Kochan
802d145fcd
feat!: remove independent-leaves=true support
...
PR #2571
2020-05-22 11:09:05 +03:00
Zoltan Kochan
c25cccdad7
fix: recreation of lockfile
2020-05-20 20:27:41 +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
9fbb74ecb5
feat!: reduce nesting in the virtual store
...
PR #2546
2020-05-11 21:31:21 +03:00
Zoltan Kochan
3f73eaf0c7
refactor!: rename store to storeDir in .modules.yaml
2020-05-10 00:11:09 +03:00
Zoltan Kochan
e3990787a1
refactor: NodeModules options renamed to Modules
2020-05-09 02:33:54 +00: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
f70e817fef
feat: custom modules directory
...
close #2471
PR #2474
2020-04-12 23:40:43 +03:00
Zoltan Kochan
0462fbc501
refactor: remove realNodeModulesDir from utils
2020-04-03 02:29:14 +03: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
8fc6fc4ad7
refactor: rename prefix options to dir options
...
BREAKING CHANGE:
- @pnpm/build-modules
- @pnpm/filter-lockfile
- @pnpm/headless
- @pnpm/lifecycle
- @pnpm/modules-cleaner
- @pnpm/package-is-installable
- @pnpm/read-importers-context
- @pnpm/resolve-dependencies
- supi
2019-11-03 17:08:57 +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
d67575a0f2
refactor(modules-cleaner): lockfileDirectories=>lockfileDir
...
ref #2088
2019-10-23 23:01:57 +03:00
Zoltan Kochan
742a6b71c4
fix: virtual-store-dir with not shared lockfile
2019-10-20 16:52:54 +03:00
Zoltan Kochan
35a702c6e0
feat: configurable virtual store directory
...
New config setting: virtual-store-dir
Breaking changes in: @pnpm/lockfile-file, @pnpm/constants
close #2078
PR #2091
2019-10-19 03:18:41 +03:00
Zoltan Kochan
7e0563e3b4
refactor: use optional chaining
2019-10-14 21:44:54 +03:00
Zoltan Kochan
05c22a0413
refactor: packageJson=>manifest
2019-10-06 01:03:17 +03:00
Zoltan Kochan
59759f7c6f
feat: new matching pattern
...
BREAKING CHANGE:
new wildcard matcher used
close #2048
PR #2052
2019-10-05 20:54:07 +03:00
Zoltan Kochan
fc0fe15938
refactor: rawNpmConfig=>rawConfig
2019-10-04 01:29:26 +03:00
Zoltan Kochan
202f0eee8b
feat: only local configs or flags can cause a fatal error
...
As of pnpm v3, pnpm fails if the configs that were used when creating node_modules differ from the present ones. For instance, if independent-leaves is set to false globally but installation was done using pnpm install --independent-leaves. Running pnpm add foo will fail. Only pnpm add foo --independent-leaves will work
These changes are making this less strict. If node_modues was created using some configs, installation will only fail if the present configs are set locally (or via CLI flags) and they have incompatible values.
So if pnpm install --independent-leaves was used, then pnpm add foo will work. But pnpm add foo --no-independent-leaves will fail.
PR #2034
2019-09-28 22:14:52 +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
6eeaa5a43a
feat: --shamefully-hoist
...
This returns shamefully-flatten to pnpm (as known in v3)
but it is now called shamefully-hoist
PR #2006
2019-09-12 00:45:58 +03:00
Zoltan Kochan
febfb746fe
feat: bump node_modules layout version to 3
...
PR #2003
BREAKING CHANGE: new node_modules layout
2019-09-09 14:21:45 +03:00
Zoltan Kochan
3a9fdd856b
feat: --hoist-pattern <pattern>
...
New config added that allows hoisting packages by pattern.
This substitutes the shamefully-flatten config that hoist all
dependencies and makes them available for application code.
The new config gives access to the hoisted packages only to
dependencies inside node_modules.
close #1998
close #1938
PR #1997
2019-09-08 20:54:19 +03:00
Zoltan Kochan
95538cce22
fix: headless install of optional subdeps with independent-leaves
2019-08-19 23:12:24 +03:00
Zoltan Kochan
2e189f54ef
fix(headless): should work with --no-optional
...
"pnpm install --no-optional" should not fail on a project that
has an up-to-date lockfile.
close #1958
PR #1959
2019-08-16 10:36:27 +03:00
Zoltan Kochan
856653ea2f
fix(deps): update @types/ramda
2019-08-16 00:13:11 +03:00
Zoltan Kochan
6eabef10f4
fix: flat node_modules inside a workspace
...
Flat node_modules is only allowed in the workspace root.
shamefully-flatten should only hoists dependencies of the
root workspace package.
close #1928
PR #1931
BREAKING CHANGE: @pnpm/shamefully-flatten
2019-07-30 00:36:18 +03:00
Zoltan Kochan
0e4a0948f0
refactor: create and use @pnpm/error
2019-07-27 17:39:27 +03:00
Zoltan Kochan
9360bc0567
fix: prunning by partial installation in a workspace
...
When running install on a subset of workspace packages, only
those dependencies may be prunned which were only used by the
selected subset of workspace packages.
BREAKING CHANGE: in @pnpm/modules-cleaner
PR #1908
2019-07-12 02:01:16 +02:00
Zoltan Kochan
b8a75b2be6
refactor: use more destructuring
2019-06-23 21:38:10 +03:00
Zoltan Kochan
c52e2fac28
refactor(headless): using depNodes instead of depGraph
2019-06-23 19:48:53 +03:00
Zoltan Kochan
e7b034eb7a
refactor: extraBinPaths is optional
...
ref #1870
2019-06-12 02:07:55 +03:00
Zoltan Kochan
6a26c5b21f
feat: prepend workspace bins to PATH for lifecycle scripts
...
PR #1870
close #1355
2019-06-12 01:32:24 +03:00
Zoltan Kochan
bcc0fba43f
fix: typings
2019-05-31 00:50:12 +03:00
Zoltan Kochan
00c960af14
feat: linking bins of workspace packages with yaml/json5 manifest
2019-05-05 02:04:03 +03:00
Zoltan Kochan
3fe439bd92
fix: linking a package with package.yaml during headless install
2019-05-04 22:39:37 +03:00
Zoltan Kochan
7e48fa6181
chore(release): 3.2.0-0
2019-04-21 11:41:58 +03:00
Zoltan Kochan
4612a42a5b
refactor: don't read/write package.json inside supi
...
PR #1776
BREAKING CHANGE:
`supi`, `@pnpm/headless`, `@pnpm/resolve-dependencies`, `@pnpm/lifecycle`
2019-04-20 03:38:44 -07:00
Zoltan Kochan
ea29492446
fix: a non-optional package's install script fails
...
When a non-optional package is not built successfully, the
package.json, pnpm-lock.yaml and node_modules/.pnpm-lock.yaml
should not be updated.
close #1397
2019-04-13 18:21:09 +03:00