Commit Graph

77 Commits

Author SHA1 Message Date
Zoltan Kochan
813402938a perf: faster config reading
ref #1006
2018-02-16 23:41:55 +02:00
Zoltan Kochan
060f44f5ef fix(server): terminate the store server if graceful stop fails (#1003)
* refactor: use process-exists instead of is-running

* fix(server): terminate the store server if graceful stop fails
2018-01-23 22:12:24 +02:00
Zoltan Kochan
e4ce9c5a94 feat: running server in the background (#995)
* feat: running server in the background

close #960

* feat: store server can run in the background

* fix: update diable to version 4.0.1

* feat(help): add server start/stop to commands list

* feat: better info messages about server start
2018-01-19 01:38:10 +02:00
Zoltan Kochan
ff1ab5e450 feat: concurrent installation
close #941
2017-12-21 01:26:56 +02:00
Zoltan Kochan
2c9314ea4e feat: implement pnpm-as-a-service
ref #832
2017-12-20 21:17:15 +02:00
Zoltan Kochan
ee6d941e2a feat: add pnpx 2017-10-16 22:18:22 +03:00
greenkeeper[bot]
5690a3b4aa fix(package): update @types/node to version 8.0.33
Closes #887
2017-10-06 23:30:04 +03:00
zkochan
608abcc987 feat: use not-bundled-npm instead of npm 2017-10-05 01:43:50 +03:00
Zoltan Kochan
514a6d8990 fix(outdated): strip colors before printing the outdated table 2017-09-14 10:12:09 +03:00
Unknown
3b29ec715e feat: outdated command
Close #95
2017-09-12 22:52:21 +03:00
zkochan
8601007df5 chore: add typings for encode-registry 2017-07-21 01:52:23 +03:00
zkochan
adae86f18c fix: normalize registry URL
The registry URL should always end with a /.

Close #708
2017-06-21 22:17:48 +03:00
zkochan
fbc39466a8 fix: private packages installation
Use npm's programmatic API to get auth information for private
packages.

Ref #708
2017-06-20 23:02:47 +03:00
zkochan
c69bea6617 perf: symlink leaf dependencies
Close #789
2017-06-14 01:10:27 +03:00
zkochan
49be55c5a8 feat: using SRI for integrity checks of packages in store
BREAKING CHANGE:

integrity files format changed in the store
2017-06-12 10:12:25 +03:00
zkochan
63d3fd0a90 fix: non-compatible package should still be saved to store
Ref #759
2017-06-04 23:23:12 +03:00
Zoltan Kochan
03433abadf refactor: use ssri for checking integrity 2017-05-29 02:12:41 +03:00
zkochan
69cbd1701f perf: explicitly tell the path to package.json
Use `read-package-json` for reading `package.json`.
The same package is used by npm.

Use `load-json-file` instead of `read-pkg` with
normalize = false.
2017-05-14 17:37:24 +03:00
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