Zoltan Kochan
fdeb71b0bc
ci(travis): test on Node.js 10
2018-05-06 15:34:34 +03:00
Zoltan Kochan
1728e27506
fix: don't remove too much during pruning
...
ref pnpm/pnpm#1133
2018-05-04 00:33:27 +03:00
Zoltan Kochan
6aed1cf225
fix(lifecycle): run scripts of deps in correct order
2018-03-31 20:07:06 +03:00
Zoltan Kochan
e37671cbde
refactor: move code to @pnpm/link-bins
2018-03-20 00:06:30 +02:00
Zoltan Kochan
9a2f852ada
refactor: move code to @pnpm/lifecycle
2018-03-18 23:12:47 +02:00
Zoltan Kochan
3a68118748
refactor: use util.promisify instead of thenify
2018-01-25 00:21:36 +02:00
Zoltan Kochan
715c82706e
fix: node id should always be reliably splittable to package IDs
...
The > symbol is used to delimit package IDs in the Node ID.
The % and > symbols are encoded in package IDs.
ref https://github.com/pnpm/pnpm/issues/986
2018-01-11 09:41:34 +02:00
Emanuele Tamponi
f388a13ad9
fix: run node-gyp rebuild when install is not specified
2017-12-25 01:25:38 +02:00
Zoltan Kochan
a3f1e5ec56
refactor: use @pnpm/fs-locker for locking
2017-12-10 00:56:40 +02:00
Zoltan Kochan
5c5e738f76
refactor: specs are parsed by package-store
...
ref https://github.com/pnpm/pnpm/issues/559
2017-11-26 17:54:36 +02:00
Zoltan Kochan
0d5c6914d7
feat: support aliase for npm-hosted packages
...
ref https://github.com/pnpm/pnpm/issues/117
ref https://github.com/pnpm/pnpm/issues/837
2017-11-19 14:42:21 +02:00
zkochan
892ab3d719
chore: update dependencies
2017-10-15 13:24:41 +03:00
zkochan
77ac86764b
fix: use @zkochan/npm-lifecycle for running lifecycle events
...
Ref https://github.com/pnpm/pnpm/issues/892
2017-09-17 15:05:10 +03:00
zkochan
85269d943a
refactor: use encode-registry and dependency-path
2017-07-15 14:00:06 +03:00
zkochan
15ed026871
chore: optimizing dependencies
2017-07-04 21:52:24 +03:00
zkochan
5444e79de7
fix: if no package in store.json rewrite package in store fs
2017-07-03 21:26:27 +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