Commit Graph

10701 Commits

Author SHA1 Message Date
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
Zoltan Kochan
15a7e85dd4 chore: add changeset commands 2020-09-27 02:43:58 +03:00
Zoltan Kochan
4d71d33364 chore(release): 5.8.0 v5.8.0 2020-09-27 02:23:09 +03:00
Zoltan Kochan
9e774ae20f fix: installing prod deps only
close #2882
PR #2899
2020-09-26 21:45:29 +03:00
Zoltan Kochan
d7b7277958 fix(deps): update p-memoize to v4.0.1 2020-09-26 17:11:34 +03:00
Zoltan Kochan
203e65ac89 fix: the value of INIT_CWD env variable for dep scripts
PR #2897
2020-09-26 17:05:42 +03:00
Zoltan Kochan
a11aff2990 feat: excluding packages using --filter
Packages may be excluded from a command's scope, using "!" at the
beginning of the selector.

For instance, this will run tests in all projects except foo:

```
pnpm --filter=!foo test
```

And this one will run tests in all projects that are not under the
`lib` directory:

```
pnpm --filter=!./lib test
```

close #2804
PR #2898
2020-09-26 13:41:49 +03:00
Zoltan Kochan
52124bf090 chore(release): 5.8.0-0 v5.8.0-0 2020-09-25 03:00:46 +03:00
Zoltan Kochan
98a3028514 docs: update lockfile-to-pnpm readme 2020-09-25 02:52:16 +03:00
Zoltan Kochan
c9f0c77641 feat: Plug'n'Play
PR #1874
2020-09-25 02:33:47 +03:00
ExE Boss
ac30428582 fix: don’t remove non‑pnpm .dot_files from node_modules
PR #2833

Co-authored-by: Zoltan Kochan <z@kochan.io>
2020-09-24 03:19:13 +03:00
Zoltan Kochan
a8ef400184 chore: configure commitlint 2020-09-24 02:42:43 +03:00
Zoltan Kochan
23cf3c88b1 feat: shell emulator
close #2621
PR #2881
2020-09-23 13:32:48 +03:00
Zoltan Kochan
846887de32 fix: finding global bin directory
When searching for a global bin directory, also look for symlinked
commands.

close #2888
PR #2889
2020-09-23 11:12:54 +03:00
Juan Picado
e19e77b5e5 test: Jest migration
* chore: migrate filter-lockfile

* refactor: migrate filter-workspace packages

* find-packages to jest

* add find-workspace-packages

PR #2887
2020-09-23 11:11:38 +03:00
Zoltan Kochan
80b8f5ef24 feat: support Node.js from v10.14 2020-09-23 01:09:33 +03:00
Zoltan Kochan
892e2b1551 fix(publish): check branch after checking if branch is clean 2020-09-23 00:32:47 +03:00
Zoltan Kochan
cfd15f5d8b chore: refactor root scripts 2020-09-22 00:21:18 +03:00
Zoltan Kochan
44d41d02a7 test: migration to Jest
Migrated the following packages:
@pnpm/list
dependencies-hierarchy

ref #2858
2020-09-21 02:59:39 +03:00
Zoltan Kochan
2ead89f68a chore(release): 5.7.0 v5.7.0 2020-09-21 02:26:22 +03:00
Zoltan Kochan
61193d531b docs(README): update benchmarks 2020-09-21 02:21:34 +03:00
Zoltan Kochan
4ec715f05f chore(release): 5.7.0-0 v5.7.0-0 2020-09-20 01:35:35 +03:00
Zoltan Kochan
0a65440431 perf: faster integrity verification of the store
If a file in the store was never modified, we are not checking its
integrity.

PR #2876
2020-09-19 23:20:19 +03:00
Juan Picado
05f032774e test(fetch): migrate to Jest
PR #2878
2020-09-19 14:07:38 +03:00
Juan Picado
faa17b78bd test(client): migrate to Jest
PR #2877
2020-09-19 14:06:55 +03:00
Zoltan Kochan
40a9e1f3f9 perf: create module directories before linking start
PR #2875
2020-09-19 00:54:38 +03:00
Juan Picado
9289a5039d test(cafs): migrate to Jest
PR #2867
2020-09-18 11:59:08 +03:00
Zoltan Kochan
3932939000 chore(release): 5.6.1 v5.6.1 2020-09-18 01:30:49 +03:00
Zoltan Kochan
18dc32695a chore(parse-cli-args): update tsconfig.json 2020-09-18 01:28:22 +03:00