Commit Graph

6129 Commits

Author SHA1 Message Date
Zoltan Kochan
7ee29eba21 chore(release): 5.10.0-0 v5.10.0-0 2020-10-19 03:47:13 +03:00
Zoltan Kochan
fcdad632f0 fix: recursive peer dependency
ref #2919
PR #2926
2020-10-19 02:40:31 +03:00
Zoltan Kochan
d54043ee4f feat: resolutions field
close #1221
PR #2939
2020-10-18 22:51:24 +03:00
Zoltan Kochan
3905b7e448 refactor: resolve-dependencies 2020-10-18 13:53:56 +03:00
Zoltan Kochan
b4f1abdcaf test: use Jest to test resolve-dependencies 2020-10-18 01:19:58 +03:00
Zoltan Kochan
a30a03f9b0 chore(deps): update 2020-10-17 00:27:31 +03:00
Zoltan Kochan
2126718483 fix(deps): update tempy and read-package-json 2020-10-17 00:24:20 +03:00
Zoltan Kochan
b67db5c34c chore(release): 5.9.3 v5.9.3 2020-10-15 11:17:48 +03:00
Zoltan Kochan
fb863fae43 fix: linking bins inside a workspace
close #2925
PR #2929
2020-10-15 11:14:58 +03:00
Zoltan Kochan
08d1ef3623 chore(release): 5.9.2 v5.9.2 2020-10-15 02:23:20 +03:00
Zoltan Kochan
2d8bd5c538 Revert "fix: recursive peer dependency"
This reverts commit 93177dfef2.
2020-10-15 01:23:07 +03:00
Zoltan Kochan
c6eaf01c9e fix: accidentally skipped peer dependencies
ref #2919
2020-10-15 00:49:32 +03:00
Zoltan Kochan
e8dcc42d56 fix: peers resolution
ref #2919
2020-10-15 00:33:15 +03:00
Zoltan Kochan
4241bc148f fix: missing peer dependencies should never be cached
ref #2919
2020-10-14 22:44:16 +03:00
Zoltan Kochan
9f003e94fa fix: caching during peer resolution
close #2919
PR #2927
2020-10-14 21:06:55 +03:00
Zoltan Kochan
bde7cd1648 fix: peers resolution of skipped optional dependencies 2020-10-14 18:34:06 +03:00
Zoltan Kochan
93177dfef2 fix: recursive peer dependency
ref #2919
PR #2926
2020-10-14 16:26:27 +03:00
Juan Picado
c58e1d50a5 test: jest migration
PR #2924
ref #2858
2020-10-14 13:09:08 +03:00
Zoltan Kochan
715b413ad2 chore: don't print warnings when linting on CI 2020-10-11 22:32:04 +03:00
Zoltan Kochan
03b35cad64 chore(release): 5.9.0 v5.9.0 2020-10-11 20:12:48 +03:00
Zoltan Kochan
ddd98dd740 fix: broken lockfile in some cases
close #2919
PR #2920
2020-10-11 19:47:59 +03:00
Zoltan Kochan
005d5ad461 chore: update package.json file of lockfile-to-pnp 2020-10-11 19:45:12 +03:00
Zoltan Kochan
f591fdeeb9 feat: support Plug'n'Play
ref #2902
PR #2908
2020-10-11 13:12:02 +03:00
Zoltan Kochan
3a83db4072 fix(deps): update mem to v8 2020-10-11 03:27:47 +03:00
Zoltan Kochan
18a191b513 ci: run tests on Node.js 10.16 2020-10-09 03:14:25 +03:00
Jason Staten
5a8fe0a1b4 test: convert four packages to use Jest
* chore: manifest-utils to jest

* chore: matcher to jest

* chore: modules-yaml to jest

* chore: npm-registry-agent to jest

Replaced `proxyquire` with jest mocking

Fixed `OPTS.strictSSL` fixture to be a boolean as that's what the
agent's option type expects.

`npm-registry-agent` self-links as a devDependency for importing

PR #2913
ref #2858
2020-10-07 11:34:07 +03:00
Zoltan Kochan
7f39d4924e chore(release): 5.9.0-2 v5.9.0-2 2020-10-04 15:26:02 +03:00
Jason Staten
1af7c6d4bc test: migrate more tests to Jest
* chore: local-resolver to jest

* chore: lockfile-file to jest

* chore: lockfile-utils to jest

* style: fix

PR #2909
ref #2858
2020-10-04 15:17:06 +03:00
Zoltan Kochan
4a6d1e0de6 refactor: @pnpm/lifecycle types 2020-10-04 03:39:58 +03:00
Zoltan Kochan
fb92e9f887 fix: bins creation of direct deps 2020-10-03 20:30:23 +03:00
Zoltan Kochan
2762781ccf feat(read-project-manifest): safeReadProjectManifestOnly added 2020-10-03 18:12:42 +03:00
Zoltan Kochan
3097f2e167 test: fix isExecutable check 2020-10-03 18:10:02 +03:00
Zoltan Kochan
faac0745b8 fix(lockfile-to-pnp): packageLocation should be always a relative path 2020-10-03 02:37:24 +03:00
Zoltan Kochan
51311d3ba4 refactor(link-bins): always return a result 2020-10-03 02:35:03 +03:00
Zoltan Kochan
9b43176cc4 refactor: option types in lifecycle 2020-10-03 02:33:20 +03:00
Zoltan Kochan
f127ca8855 chore(deps): update update-notifier to v5 2020-10-03 01:35:25 +03:00
Jason Staten
ea5d706aaf test: migrate more tests to Jest
* chore: lifecycle to jest

Added `.default` when asserting the async import of `output.json`.

When run via Jest, the import resolves to an object `{"0": "install",
default: ["install"]}`, when previously it resolved to `["install"]`.

* chore: link-bins to jest

Specific `testMatch` used to not include `.js` files within fixtures.

Removed unused `devDependencies`

ref #2858
PR #2907
2020-10-02 20:52:10 +03:00
Zoltan Kochan
e5ef6e7a3e chore(release): 5.9.0-1 v5.9.0-1 2020-10-01 01:11:43 +03:00
Misha Kaletsky
5351791f68 fix: mention CLI flag in git checks hint
PR #2904
Co-authored-by: Zoltan Kochan <z@kochan.io>
2020-10-01 00:47:38 +03:00
Zoltan Kochan
95ad9cafa2 fix: install should fail if there are references to prunned project
PR #2905
2020-10-01 00:43:32 +03:00
Zoltan Kochan
119da15e9e fix(lockfile-to-pnp): pathLocation of workspace projects 2020-09-29 03:13:31 +03:00
Zoltan Kochan
60c7c889ff chore(release): @pnpm/lockfile-to-pnp@0.1.3 2020-09-29 02:21:15 +03:00
Zoltan Kochan
9b82b7d4df docs(README): add version badge to lockfile-to-pnp 2020-09-29 01:28:46 +03:00
Zoltan Kochan
646c7868bd fix(lockfile-to-pnp): make @pnpm/logger a prod dep 2020-09-29 01:20:44 +03:00
Zoltan Kochan
1a088a1792 chore(release): 5.9.0-0 v5.9.0-0 2020-09-29 00:16:14 +03:00
Zoltan Kochan
74914c1784 feat: no symlink
This is a continuation of #1874.
Setting `symlink=false` in an `.npmrc` file will allow experimenting
with Plug'n'Play, which for now is only possible by manually
generating the `.pnp.js` file using the `@pnpm/lockfile-to-pnp` package.

This is probably a temporary setting. In the future, there will be
something like `enable-pnp` instead.

PR #2900
2020-09-28 21:46:02 +03:00
ExE Boss
c3d34232c5 feat(lockfile‑to‑pnp): correct lockfileToPackageRegistry return type
PR #2901
2020-09-28 19:43:28 +03:00
Zoltan Kochan
4df3482e4d chore(release): @pnpm/lockfile-to-pnp@0.1.1 2020-09-28 03:27:58 +03:00
Zoltan Kochan
ee91574b71 fix: generation of .pnp.js 2020-09-28 03:21:49 +03:00
Juan Picado
afa00997c2 test: use Jest instead of tape
PR #2894
2020-09-27 21:03:15 +03:00