Commit Graph

27 Commits

Author SHA1 Message Date
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
a1cdae3dc7 refactor(npm-resolver): remove options.metaCache 2020-08-17 01:48:12 +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
187615f871 fix: installing git-hosted dependencies
Fixing a regression caused by breaking changes in the fetch function
API.
`@pnpm/git-fetcher` was not correctly updated.

As a result, git-hosted dependencies were not being installed.

PR #2580
2020-05-28 12:21:32 +03:00
Zoltan Kochan
802d145fcd feat!: remove independent-leaves=true support
PR #2571
2020-05-22 11:09:05 +03:00
Zoltan Kochan
45fdcfde2e feat!: remove locking of node_modules
close #594
PR #2553
2020-05-14 03:10:03 +03:00
Zoltan Kochan
c75a921e36 style: no trailing commas in functions 2020-05-12 19:00:16 +03:00
Zoltan Kochan
f70e817fef feat: custom modules directory
close #2471
PR #2474
2020-04-12 23:40:43 +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
dc1871dac8 refactor: use new TypeScript 3.7 syntax 2019-11-02 11:59:50 +02:00
Zoltan Kochan
4fde7a858f test: use custom ports for the registry mocks
ref #2119
PR #2123
2019-10-28 11:29:36 +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
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
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
ba2f3e707d feat: rename shrinkwrapDirectory to lockfileDirectory 2019-03-06 22:47:19 +02:00
Zoltan Kochan
d7d0ecb91d fix: headless install should skip optional deps that are not installable
PR #1606

* feat: wip

* refactor(filter-shrinkwrap): divide into several files

* fix(filter-shrinkwrap): filterByImporters should skip skipped deps

* fix: make package-is-installable synchronous

* feat: implement filterByImportersAndEngine()

* fix: headless install skips optional deps that are not installable

close #1600

* fix: don't await for packageIsInstallable

* fix: absolute dep path should be saved in skipped list

* test(filter-shrinkwrap): more tests for filterByImportersAndEngine()

* test: skipping optional dep when installing in subset of wpackages
2019-01-15 21:50:06 +02:00
Zoltan Kochan
92e7383d00 style: sort keys 2018-11-15 03:04:37 +02:00
Zoltan Kochan
86630f3d22 perf: fast repeat install with shared workspace shrinkwrap
* perf(headless): support installing in multiple projects

close #1467
PR #1485

* refactor: create @pnpm/read-manifests

* test: fix headless tests
2018-11-13 00:51:49 +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
534d18d821 feat(shrinkwrap): don't save registry URL in shrinkwrap v4
ref #1353
2018-10-20 20:12:28 +03:00
Zoltan Kochan
0e431ce722 feat: sharing one shrinkwrap file between several projects
PR #1373
ref #1366
2018-09-23 23:11:12 +03:00
Zoltan Kochan
0865aa8f59 feat: move @pnpm/headless to packages/headless 2018-05-13 01:48:19 +03:00