greenkeeper[bot]
a9fbff9cbf
chore(package): update dependencies
...
https://greenkeeper.io/
2017-01-25 09:58:19 +00:00
zkochan
92cf129b19
chore: change repo URL
2017-01-23 22:36:01 +02:00
zkochan
4ee3814fbe
docs(README): update build badges
2017-01-23 22:17:27 +02:00
The Gitter Badger
efd69b4e29
docs(README): add Gitter badge
2017-01-23 22:06:26 +02:00
Rico Sta. Cruz
8cefadc9dc
docs(Docpress): update GitHub URL
2017-01-23 22:01:51 +02:00
Rico Sta. Cruz
7db7a8f9b4
chore(package.json): change repo URL
2017-01-23 22:01:40 +02:00
Zoltan Kochan
b051a958ce
docs(README): highlight the less disk usage part
2017-01-21 19:16:08 +02:00
zkochan
d8684c8b5f
docs: remove notes about shared store limitations
...
Since v0.47.0 shared stores work fine on all versions of Node
2017-01-21 19:11:36 +02:00
zkochan
3a354c54fd
docs: mention disk usage efficiency
...
Close #539
2017-01-21 19:04:01 +02:00
zkochan
57ffc35dc2
chore: release v0.50.0
v0.50.0
2017-01-21 18:40:52 +02:00
Zoltan Kochan
9cadc13836
fix(bin): proxy file require path
...
The path in require should always start with a dot.
So `require('./foo')` not `require('foo')`
2017-01-21 18:38:47 +02:00
Zoltan Kochan
e9d6bf53e0
fix(global): change the global folder name to pnpm-global
...
The global path can't be pnpm because on Windows the pnpm sh file
is in the same folder.
2017-01-21 18:38:47 +02:00
Zoltan Kochan
1e96e9cde0
docs: remove documentation about global install
2017-01-21 18:38:47 +02:00
Zoltan Kochan
b9104a457c
feat(global): change default global path
...
Use ~/.pnpm-cache as the default cache path.
Use the Node path for hosting the global pnpm package.
2017-01-21 18:38:47 +02:00
Zoltan Kochan
5048b7a859
fix(bin): use real .bin directory path
2017-01-21 18:38:47 +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
zkochan
dd2548f18e
refactor(bin): expect the bin not the modules folder in the bin link function
2017-01-21 18:38:47 +02:00
Andrey Popp
08ef2e430b
fix: fixes for Node 4, style fixes
2017-01-20 22:26:35 +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
Andrey Popp
d78390d1b9
fix: handle the case when the package manager name is scoped
2017-01-20 13:37:11 +02:00
zkochan
6345c19f95
fix: remove spread-operator usage to support Node 4
2017-01-20 02:26:02 +02:00
zkochan
d6f5c68cfd
chore(package): don't use tap-diff
...
When tests run with tap-diff, ts-node errors are ignored.
2017-01-20 02:26:02 +02:00
Andrey Popp
b035c1d1f9
refactor: provide b/c for shrinkwrap
2017-01-20 01:20:52 +02:00
Andrey Popp
0f51b06047
refactor: process linkLocal during the fetching
...
Previously we processed it during the resolution process but we don't need to
anymore.
2017-01-20 01:20:52 +02:00
Andrey Popp
cf729e1a65
refactor: save every resolution to shrinkwrap
2017-01-20 01:20:52 +02:00
Andrey Popp
95f247e123
refactor: make resolvers return {resolution, package}
...
That removes pkg field from package resolution and we can simplify code which
saves resolution to a shrinkwrap. Also we now can unify package and tarball
resolutions.
2017-01-20 01:20:52 +02:00
Andrey Popp
24dfeaa630
refactor: unify directory with link, tarball and local-tarball
...
Also make git resolver return tarball resolution for github hosted packages
2017-01-20 01:20:52 +02:00
Andrey Popp
fd806ac561
refactor: factor out fetch code from resolve
...
I replaved `ResolveResult` with `Resolution` which is more detailed type, a
discriminated union.
Then I removed `fetch` attribute from `ResolveResult` and moved that logic to
`fetchResolution` function. Thus removing `src/resolve/fetch` module entirely.
2017-01-20 01:20:52 +02:00
greenkeeperio-bot
d78ccce693
chore(package): update unpack-stream to version 1.1.0
...
https://greenkeeper.io/
2017-01-19 21:52:39 +02:00
zkochan
48644e9764
chore: release v0.49.2
v0.49.2
2017-01-19 02:20:54 +02:00
zkochan
658b263709
perf(git-resolver): try the GitHub API first to resolve git deps
...
Try the GitHub API first to resolve git deps. If fails due to
API limit, fall back to `git ls-remote`.
Always use codeload to download deps from GitHub.
Close #536
2017-01-18 21:19:15 +02:00
zkochan
b3de7d7d56
chore: release v0.49.1
v0.49.1
2017-01-18 10:19:17 +02:00
zkochan
a8e3648c16
fix(git): git-hosted packages location in store
...
The commit ID has to be the last folder name of a git-hosted
dependency in the store.
2017-01-18 00:15:05 +02:00
zkochan
49932fcd73
revert: "test: temporarily skip GitHub tests"
...
This reverts commit 84878f8750 .
2017-01-18 00:03:04 +02:00
zkochan
61e5eb294d
refactor(git): remove unnecessary code from Git fetch logic
2017-01-18 00:02:24 +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
1754db9034
chore: release v0.49.0
v0.49.0
2017-01-17 01:40:17 +02:00
zkochan
0619600501
refactor: unite to if statements in hardlinkDir
2017-01-17 01:37:07 +02:00
Andrey Popp
2e49815ca1
refactor: log a warning in case of a broken symlink found
2017-01-17 01:37:07 +02:00
Andrey Popp
aadcf0e656
test: rm unused artifacts in the fixture packages
...
Note that has-broken-symlink/has-broken.symlink.tar.gz contains a broken
link so the corresponding test case is useful.
2017-01-17 01:37:07 +02:00
Andrey Popp
d2375370a1
test: add test for a tarball with a broken symlink
2017-01-17 01:37:07 +02:00
Andrey Popp
48e5a1d1c9
refactor: check for ENOENT in safeLink instead of doing a stat
2017-01-17 01:37:07 +02:00
Andrey Popp
d5f6b09806
fix: filter out broken symlinks when linking installs
...
We use `fs.lstat()` so we can gather the info about the link itself then use
`fs.exists()` in case of symbolic link to test if symlink is valid. Skip if it's
not.
Fixes #550
2017-01-17 01:37:07 +02:00
zkochan
08adc17413
test: remove not needed test
2017-01-16 23:43:17 +02:00
Andrey Popp
d0a1be6be8
fix: make fetch atomic
...
We fetch into a temp directory now and then fs.rename() into the target dir.
With fs.rename() being an atomic operation we don't leave target dir in an
inconsistent state if failure happen in some parallel installation process.
2017-01-16 23:43:17 +02:00
Zoltan Kochan
46c3b04ea8
docs(README): remove known issues section
2017-01-16 20:51:12 +02:00
zkochan
eb7c570143
chore: update dependencies
2017-01-16 20:49:18 +02:00
zkochan
ce477172ea
style(logging): fix indentation in streamParser.ts
2017-01-16 20:49:18 +02:00
zkochan
1647adaabe
fix(logging): lifecycle logs text
2017-01-16 20:49:18 +02:00
zkochan
74f8525bc1
refactor: rename pnpm-reporter-default
2017-01-16 20:49:18 +02:00