Commit Graph

59 Commits

Author SHA1 Message Date
zkochan
c8036fc930 test: add auth tests
Close #432
2017-04-25 19:50:43 +03:00
Zoltan Kochan
2c46333107 fix: global installation always works now (#713)
* fix: global installation always works now

Close #711

* refactor: avoid using `read-pkg-up`

BREAKING CHANGE:

API should be called in the folder that has a package.json file.
pnpm won't search up for a package.json file.

Close #67

* docs(API): update

* refactor: write-pkg created dir on its own

* refactor: rename `globalDir` to `globalPrefix`

* feat: saving the global package in <global prefix>/pnpm-global
2017-04-22 23:11:25 +03:00
zkochan
b94aaff38a feat: use npm's config system
BREAKING CHANGE:

`rc` is not used to get configs.

BREAKING CHANGE:

`.pnpmrc` files are ignored

BREAKING CHANGE:

configs in json format are not supported

BREAKING CHANGE:

`--config` argument renamed to `--userconfig`

Close #696, Close #40
2017-04-20 23:01:14 +03:00
zkochan
7f426d0cc7 fix: use the new npm-package-arg 2017-04-15 20:51:03 +03:00
Zoltan Kochan
d5b26211c3 fix: inner link detection on Windows 2017-04-14 22:38:52 +03:00
zkochan
89b135671a feat: forced installation keeps outer links
Ref #674
2017-04-05 22:12:40 +03:00
zkochan
c336f4a026 refactor: use hosted-git-info instead of @zkochan/hosted-git-info 2017-03-22 22:46:04 +02:00
zkochan
e1b132789a refactor: use ramda instead of lodash 2017-03-08 01:43:18 +02:00
zkochan
0ad4f92a93 refactor: no need to sort keys in package.json props
write-pkg from version 2.1.0 sorts keys in the dependency props.
2017-03-04 13:01:38 +02:00
zkochan
db0dfa5b12 refactor: remove pause-stream from dependencies 2017-03-03 01:04:20 +02:00
zkochan
4aa3e78e88 fix: use path-exists instead of exists-file 2017-03-02 22:56:56 +02:00
zkochan
c3fd6855ea perf: run postinstall scripts concurrently 2017-03-01 23:41:11 +02:00
zkochan
6a8df416a9 fix: use fs-write-stream-atomic for downloading tarballs 2017-02-27 00:10:51 +02:00
zkochan
8e034fb4c0 fix: too many open files
`graceful-fs` solves the issue of EMFILE errors. However,
the global fs modules has to be patched.

This same solution is used by npm.

Close #609
2017-02-27 00:09:24 +02:00
zkochan
f119c76118 fix(resolve): normalize SSH URLs
Close #419
2017-02-22 21:32:17 +02:00
zkochan
b6fddf4234 feat: remove link-local
It is broken since the bit `Pure Store` and seems nobody even noticed.
This functionality should be implemented in a separate tool that
uses pnpm's API.

BREAKING CHANGE:

Remove the link-local option
2017-02-18 22:45:55 +02:00
zkochan
02a53797e8 fix(git+ssh): git clone with correct ssh URL
Close #419
2017-02-17 20:34:06 +02:00
zkochan
3b6ceaaebd refactor: use mkdirp-promise
Ref #441
2017-02-15 23:30:04 +02:00
zkochan
686b88e223 feat(shrinkwrap): prune shrinkwrap file before saving 2017-02-12 15:59:37 +02:00
zkochan
c5faf44f55 refactor(fs): use packages for loading/writing YAML files 2017-02-12 13:25:04 +02:00
zkochan
c40264a9cd refactor: use read-pkg 2017-02-07 01:27:43 +02:00
zkochan
b2decbeced fix: use @zkochan/dirsum instead of dirsum 2017-02-06 20:41:01 +02:00
zkochan
f119581587 feat: add verify() to the API that returns an array of modified package
Rel #585
2017-02-05 17:07:58 +02:00
zkochan
7ac987ea06 feat: save the original shasum of each package in the store
Rel #585
2017-02-05 15:43:10 +02:00
zkochan
400f6bed21 feat: limit network concurrency 2017-02-02 23:49:27 +02:00
zkochan
5f07768d2d feat: semver aware caching
Invalidate caching in semver aware way.

Remove caching into filesystem.

Rel #568, Close #580
2017-02-02 22:11:03 +02:00
zkochan
18e3352fb0 feat(modules): save package in node_modules folder
BREAKING CHANGE: node_modules structure changed
2017-02-02 21:10:39 +02:00
zkochan
02d282e0ae refactor: remove unused dependencies 2017-01-28 15:04:31 +02:00
zkochan
cdf321d021 feat(bin): use npm global bin path for global installation
To make global CLIs work without any additional configuration
2017-01-21 18:38:47 +02:00
Andrey Popp
ca48f5d943 feat: make pnpm wait on lock
Also use `proper-lockfile` package. A similar thing which is yarn does.
2017-01-20 22:26:35 +02:00
zkochan
01fdfbad2e fix(git): don't use GitHub API to avoid rate limit errors
Additionally, use ls-remote to resolve refs to commits, before clonings
2017-01-17 23:39:25 +02:00
zkochan
53336acdae refactor: move out file reporter to separate package 2017-01-16 20:49:18 +02:00
zkochan
a7d508782c refactor: move reporters to separate packages 2017-01-16 20:49:18 +02:00
zkochan
53f94417e7 feat(log): use ndjson for console output
Close #538
2017-01-16 20:49:18 +02:00
zkochan
1c00eb025e refactor: use is-windows package
For detecting Windows OS, use the is-windows package.
2017-01-09 18:08:15 +02:00
Zoltan Kochan
712358efd5 chore: update dependencies 2016-11-25 14:58:38 -08:00
Zoltan Kochan
c1e5709988 refactor(*.ts): install more typings 2016-11-22 22:56:32 -08:00
Zoltan Kochan
0e368ae6b1 refactor(*.ts): use definition packages 2016-11-22 06:43:45 -08:00
zkochan
36d54b0d46 fix: remove from store the failed optional dependency 2016-11-07 20:38:56 +02:00
zkochan
227341ef36 feat: add packages checking
Check packages for OS/Node compatibility.

Close #448
2016-11-07 20:38:56 +02:00
zkochan
1297ddd514 fix: typescript compilation when deps installed with npm@3 2016-10-30 03:16:47 +03:00
zkochan
3e3fe5d31e refactor: use unpack-stream 2016-10-22 23:06:10 +03:00
zkochan
26fbe5dd51 perf: read pkg json files asynchronously
Use load-json-file and mem
2016-10-22 21:02:07 +03:00
Zoltan Kochan
163d6b9a72 refactor: use write-pkg 2016-10-22 17:06:13 +03:00
zkochan
bbb4843e42 refactor: use a package for shimming commands
Ref #441
2016-10-22 02:41:04 +03:00
zkochan
00986f041d refactor: move PATH env name detection to separate package 2016-10-20 21:51:20 +03:00
zkochan
ab099a3fa0 chore: using yaml instead of json to store store info
BREAKING CHANGE:

Change `store.json` to `store.yaml`.
2016-10-18 00:27:04 +03:00
Zoltan Kochan
1233d07dcc feat: cache HTTP requests done to the registry
Ref #59
2016-10-14 23:35:09 +03:00
zkochan
eaa50dc328 feat: add --depth option 2016-10-11 15:07:28 +03:00
zkochan
69828070a0 refactor: use exists-file and exists-link 2016-10-09 17:35:26 +03:00