Commit Graph

10701 Commits

Author SHA1 Message Date
zkochan
2f26f61409 refactor(*.ts): noImplicitAny = true
PR #357, Ref #347
2016-09-12 22:02:26 +03:00
Zoltan Kochan
3cf5c8bc23 style: use tslint
PR #357, Ref #347
2016-09-12 22:01:51 +03:00
Zoltan Kochan
7b25ba269e feat: rewrite to TypeScript
PR #357, Ref #347
2016-09-12 22:00:56 +03:00
Zoltan Kochan
6c1852e115 refactor: use common-tags to leverage string templates 2016-09-08 01:46:40 +03:00
Zoltan Kochan
7fe51b8c1c docs(CONTRIBUTING): add collaborative etiquette section
close #342
2016-09-08 00:35:01 +03:00
Zoltan Kochan
60921e63c9 perf: no need in locking
Enough to just wait for end of fetch.
2016-09-07 23:57:52 +03:00
Zoltan Kochan
5db3d35a9e perf: download packages to store
There is no need to download packages to a temp
folder before moving them to the store.

This change should greatly decrease the number
of filesystem operations.
2016-09-07 23:45:31 +03:00
Zoltan Kochan
9040567d16 fix: uncatched promise errors are loudly rejected
Ref #353
2016-09-07 22:13:05 +03:00
Zoltan Kochan
5ace1dc7dc fix: don't swallow streaming errors
Ref #353
2016-09-07 21:42:51 +03:00
Zoltan Kochan
06cbb58faa chore: release v0.31.2 v0.31.2 2016-09-07 10:18:46 +03:00
Zoltan Kochan
d97f9f0083 fix: failing to install some tarball dependencies
close #351
2016-09-07 10:07:36 +03:00
Zoltan Kochan
5f707c3d90 chore: release v0.31.1 v0.31.1 2016-09-06 20:54:33 +03:00
Zoltan Kochan
4ae1a54751 fix(uninstall): uninstall should not remove version from store.json
close #350
2016-09-06 20:53:31 +03:00
Zoltan Kochan
86244a8589 chore: release v0.31.0 v0.31.0 2016-09-04 18:22:04 +03:00
Zoltan Kochan
cde083b47a feat(debug): add the fatal error to pnpm-debug.log
...and also include the stacktraces with error messages
2016-09-04 18:15:14 +03:00
Zoltan Kochan
1c92146e42 fix(bin): binstubs being linked before pkg downloaded
Errors were sometimes happening on NodeJS 4.
On NodeJS >= 6.3.0 there were no errors because chmode was
made on a proxy which was created by link_bins.

PR #345
2016-09-04 17:36:21 +03:00
Zoltan Kochan
862e359c55 fix(scripts): run post install scripts after all deps installed
pnpm currently runs the post install scripts of dependencies
immediately once their resources were downloaded and does that
asynchronously.

npm runs all the post install scripts once all the resources
were downloaded and does that sequentially.

This changes makes pnpm run the scripts similarly to how npm
runs them

close #337
2016-09-04 15:39:41 +03:00
Zoltan Kochan
7ffb692b24 refactor: remove redundant arguments passed to linkBins 2016-09-04 15:37:53 +03:00
Zoltan Kochan
7890ecc050 fix(install): main post install scripts do not execute when --ignore-scripts 2016-09-04 14:30:26 +03:00
Zoltan Kochan
e1abc46bd1 feat: create a pnpm-debug.log file on fail
close #336
2016-09-03 23:57:34 +03:00
Zoltan Kochan
05d389c11e refactor: use @zkochan/logger for logging debug info 2016-09-03 23:55:23 +03:00
Zoltan Kochan
f3878716c3 refactor: use @zkochan/logger to log progress 2016-09-03 23:36:21 +03:00
Zoltan Kochan
577b7d0315 refactor: remove debug message duplication when linking binstubs 2016-09-03 20:33:47 +03:00
Zoltan Kochan
b988837c80 fix: add missing space to debug message in run script 2016-09-03 20:27:06 +03:00
Zoltan Kochan
4882c614dd refactor: use templates instead of %s in debug 2016-09-03 20:21:41 +03:00
Zoltan Kochan
6724c62fae refactor: decrease the number of mkdirp in logs
create the .bin folder only once
create .store only once
2016-09-03 13:05:24 +03:00
Zoltan Kochan
a8a9dcc610 chore: add .npmrc to force save-exact by default
All the deps in package.json should be exact versions by default.
2016-09-03 12:57:51 +03:00
Zoltan Kochan
458c97faa6 chore: release v0.30.0 v0.30.0 2016-09-03 11:35:52 +03:00
Zoltan Kochan
5fdddd172e fix(install): global install
Global package now has a default location.

Not sure if it was broken by some changes or it never
actually worked without explicitly setting the `global-path`
config value.
2016-09-03 11:21:10 +03:00
Zoltan Kochan
b517898470 fix(CLI): the debug option should work 2016-09-02 00:16:55 +03:00
Espen Hovlandsdal
52bea019be feat: update notifier
Add the `update-notifier` module used by a lot of open source projects, making it easy for users to stay up to date with latest version of pnpm.

PR #340
2016-09-02 00:13:53 +03:00
Zoltan Kochan
053b717d28 test: skip GitHub tests on CI servers
Tests that make requests to GitHub frequently fail
because they exceed the rate limit
2016-09-01 01:39:44 +03:00
Zoltan Kochan
9e01151565 chore(scripts): abort publish if a command fails 2016-09-01 01:35:28 +03:00
Zoltan Kochan
3af84df0e2 chore: release v0.29.1 v0.29.1 2016-09-01 00:57:45 +03:00
Zoltan Kochan
13661864a8 fix: temp dir locking
This was broken by commit 0c247a1f4c
The fix is just reverting the unnecessary changes that have broken
the tmp dir locking.

PR #339
2016-08-31 22:59:59 +03:00
Zoltan Kochan
f53fd7102f chore(CI): use pnpm-rocket for installation 2016-08-31 20:18:42 +03:00
Zoltan Kochan
e8cf085029 feat: publish a bundled version of the package
PR #311
2016-08-31 20:18:09 +03:00
Rico Sta. Cruz
27c144a9db Merge pull request #310 from rstacruz/bundled-deps
Publish all the deps bundled together with pnpm
2016-08-31 19:17:33 +08:00
Zoltan Kochan
2818502a77 chore: release v0.29.0 v0.29.0 2016-08-31 12:21:54 +03:00
Zoltan Kochan
4cd9fd1ea2 docs(CONTRIBUTING): create issue template 2016-08-31 11:40:20 +03:00
Zoltan Kochan
bfb76a5caf feat(install): use the spec for temp dir name
It is easier to debug when the directory names are
meaningful in the `.tmp` dir.

PR #335
2016-08-31 11:26:11 +03:00
Zoltan Kochan
1b82eecc67 fix: installation should not fail when peer has no version
Expose the version when possible, but the installation shouldn't
fail even when one of the peer dependencies have no version.

close #293, PR #333
2016-08-31 11:02:02 +03:00
Zoltan Kochan
d89b35c6e8 feat(install): install from local packages
close #301, PR #331
2016-08-31 10:55:44 +03:00
Zoltan Kochan
94de1f8e84 refactor(tests): instead of random temp dir names, use date
It is easier to debug when the folders are sorted
2016-08-31 00:12:19 +03:00
Zoltan Kochan
1f37f18ab4 fix(install): local subdependencies are installed
PR #332
2016-08-30 21:36:13 +03:00
Zoltan Kochan
81e7dffed3 refactor(tests): show meaningful error message instead of timeout fail 2016-08-30 20:47:36 +03:00
Rico Sta. Cruz
67a921d73c docs(README): remove name change notice
PR #330
2016-08-30 17:45:07 +03:00
Zoltan Kochan
4bea92e04e chore: release v0.28.0 v0.28.0 2016-08-29 16:46:40 +03:00
Zoltan Kochan
875656fc4e test: retry fetch more 2016-08-28 16:53:56 +03:00
Zoltan Kochan
b19369407a fix: don't use ! as a delimiter in the store
! can be part of a valid npm package name. Use + as a
delimiter instead.

close #276, PR #320

BREAKING CHANGE:

Stores created with the ! delimiter are not compatible
with the new version that uses +.

Any store created by older versions of pnpm has to be
removed and reinstalled.
2016-08-28 15:33:07 +03:00