Commit Graph

207 Commits

Author SHA1 Message Date
zkochan
4a76fa57fd chore(package.json): compilte TypeScript on prepublish 2016-10-06 21:50:22 +03:00
zkochan
2b94a596b6 chore: release v0.39.1 2016-10-05 23:04:55 +03:00
zkochan
38dc0f99c1 fix(scripts): build native addons 2016-10-05 22:30:23 +03:00
zkochan
95f9d41613 chore: release v0.39.0 2016-10-04 10:34:43 +03:00
zkochan
58aaa0d6fd feat: bundle dependencies
Close #338
2016-10-04 10:24:17 +03:00
zkochan
579a2584a8 chore: release v0.38.2 2016-10-04 01:37:28 +03:00
zkochan
a53f7217da chore: release v0.38.1 2016-10-03 10:26:50 +03:00
zkochan
ab15942757 refactor: use rimraf-then and cash-rm instead of rimraf 2016-10-02 22:35:30 +03:00
zkochan
1f99193656 fix(install): overwriting removes the previous version
If a different version of a package is installed, the previous
version should be removed from the store if no other package is
dependent on it.
2016-10-02 01:31:38 +03:00
zkochan
61d653f891 refactor: normalize the structure of store.json on Windows
BREAKING CHANGE:

Paths used in store.json is normalized on Windows.

Paths in store.json don't have the redundant package.json specified.
2016-10-01 00:52:51 +03:00
greenkeeperio-bot
483a68f35a chore(package): update tape to version 4.6.1
https://greenkeeper.io/
2016-09-30 20:47:27 +03:00
greenkeeperio-bot
08c0918c26 chore(package): update os-homedir to version 1.0.2
https://greenkeeper.io/
2016-09-30 20:47:17 +03:00
greenkeeperio-bot
6c5b51fe4f chore(package): update standard to version 8.3.0
https://greenkeeper.io/
2016-09-30 20:46:40 +03:00
greenkeeperio-bot
b532a9e1cb chore(package): update cross-spawn to version 4.0.2
https://greenkeeper.io/
2016-09-30 20:46:24 +03:00
zkochan
f5f5621cd7 perf: change sync directory lookup to async
PR #372
2016-09-27 00:02:10 +03:00
zkochan
40621818bc fix(uninstall): dependencies from all sources can be deleted
pnpm uninstall could not always link the dependency name to the
dependency ID (used in the store). To solve this issue, a dependency
name to ID map is added to the dependencies section of `store.json`.

PR #371

BREAKING CHANGE:

The structure of the `store.json` has been changed.

Previously the dependencies property contained just a list of
dependency IDs. E.g.:

```json
{
  "dependencies": {
    "math": [
      "sum@1.0.0",
      "@zkochan+max@2.1.0"
    ]
  }
}
```

With this structure it was hard to link the dependencies to their IDs.
The new structure uses a map which links the dependency to its ID:

```json
{
  "dependencies": {
    "map": {
      "sum": "sum@1.0.0",
      "@zkochan/max": "@zkochan+max@2.1.0"
    }
  }
}
```

Unfortunately the stores created by older version of pnpm are not usable
after this breaking change. They have to be removed before using the new
version of pnpm.
2016-09-25 21:28:47 +03:00
zkochan
0993635003 refactor(tests): use async/await 2016-09-25 18:26:29 +03:00
zkochan
26a6577c07 chore: release v0.36.0 2016-09-24 13:41:12 +03:00
zkochan
6127592bde feat: use npm-registry-client
Use npm-registry-client for communicating with the npm registry.
This will guarantee that pnpm communicates to the registry the
same way npm does.

Close #367, PR #369
2016-09-24 01:43:59 +03:00
greenkeeperio-bot
52625a71bc chore(package): update typescript to version 2.0.3
https://greenkeeper.io/
2016-09-23 00:09:41 +08:00
zkochan
a563a189c1 chore: release v0.35.0 2016-09-22 00:08:03 +03:00
zkochan
21f58028e5 chore(tests): use tap-diff instead of tap-spec
tap-spec does not print all the available infor when an error
happens in a test.
2016-09-21 22:09:42 +03:00
greenkeeperio-bot
c7c8f9c9b0 chore(package): update sorted-object to version 2.0.1
https://greenkeeper.io/
2016-09-18 21:04:25 +03:00
greenkeeperio-bot
8e0f276801 chore(package): update camelcase-keys to version 4.0.0
https://greenkeeper.io/
2016-09-18 21:04:13 +03:00
greenkeeperio-bot
b72dcef17a chore(package): update standard to version 8.1.0
https://greenkeeper.io/
2016-09-18 21:04:00 +03:00
zkochan
d16c7bf995 chore: release v0.34.0 2016-09-18 17:32:41 +03:00
zkochan
6121ec4683 feat: change local deps to semver deps before publish
Only when link-local = true

Close 349, PR #365
2016-09-18 09:50:20 +03:00
zkochan
7925b64f91 fix(install): GitHub API rate limit issue
GitHub API usage removed. The tarball is used from codeload.github.com

Close #361, PR #363

BREAKING CHANGE:

The folder names of packages fetched from GitHub changed to not contain
information that would require an API request to get.

Old folder name: is-negative@github+kevva+is-negative+HEAD

New folder name: github+kevva+is-negative+HEAD

Users are forced to redownload their stores to avoid orphan folders after
the naming change.
2016-09-17 19:41:23 +03:00
zkochan
dc0a79aee0 chore: release v0.32.1 2016-09-15 21:20:12 +03:00
zkochan
f046e0e3ed fix(package.json): include the bin folder to the published package 2016-09-15 21:19:12 +03:00
zkochan
fbe0bd869e chore: release v0.32.0 2016-09-15 20:45:23 +03:00
zkochan
05f72fc525 chore(package.json): add watch task 2016-09-15 09:40:26 +03:00
zkochan
afa5425576 chore(package.json): remove lib/ before compile
If the lib/ folder is not removed before compile, it may
contain files that were removed. As a consequnce, redundant
files will be published.
2016-09-14 23:06:14 +03:00
zkochan
ab4c89f3d3 refactor: rewrite the bin file to TypeScript 2016-09-14 22:54:09 +03:00
zkochan
857c9b7bb9 style(*.js): use standard instead of eslint 2016-09-14 21:48:20 +03:00
Zoltan Kochan
554e8ccb6e refactor(tests): rewrite tests to TypeScript 2016-09-14 21:37:47 +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
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
06cbb58faa chore: release v0.31.2 2016-09-07 10:18:46 +03:00
Zoltan Kochan
5f707c3d90 chore: release v0.31.1 2016-09-06 20:54:33 +03:00
Zoltan Kochan
86244a8589 chore: release v0.31.0 2016-09-04 18:22:04 +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
e1abc46bd1 feat: create a pnpm-debug.log file on fail
close #336
2016-09-03 23:57:34 +03:00
Zoltan Kochan
f3878716c3 refactor: use @zkochan/logger to log progress 2016-09-03 23:36:21 +03:00
Zoltan Kochan
458c97faa6 chore: release v0.30.0 2016-09-03 11:35:52 +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
3af84df0e2 chore: release v0.29.1 2016-09-01 00:57:45 +03:00