zkochan
f5f5621cd7
perf: change sync directory lookup to async
...
PR #372
2016-09-27 00:02:10 +03:00
zkochan
c27b8ddf48
feat: prune
...
Close #299
2016-09-27 00:02:10 +03:00
zkochan
d0e6f0f199
fix(uninstall): dependency is removed from store.json on uninstall
...
This issue was caused by #371 . It was not released yet.
2016-09-26 01:21:00 +03:00
zkochan
4d8f1817aa
refactor(uninstall): create an uninstall function for internal usage
2016-09-26 01:19:47 +03:00
zkochan
c5bad8a28c
fix(store.json): repeat installations
...
Repeat installations don't remove useful info from the store
2016-09-26 00:37:32 +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
de91d56fed
fix: fix typo in breaking change tips
2016-09-25 21:26:28 +03:00
zkochan
0993635003
refactor(tests): use async/await
2016-09-25 18:26:29 +03:00
zkochan
138440ce1f
refactor(tests): divide tests into several files
2016-09-25 17:22:53 +03:00
zkochan
f81becee9b
docs(README): improve
2016-09-25 00:55:03 +03:00
zkochan
26a6577c07
chore: release v0.36.0
v0.36.0
2016-09-24 13:41:12 +03:00
zkochan
f7b8a074aa
chore(CI): use pnpm instead of pnpm-rocket
...
pnpm-rocket is experimental. Use pnpm for installing the dependencies
of itself.
2016-09-24 13:32:28 +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
Zoltan Kochan
ad49cd5971
fix: fix issues caused by update to TypeScript@2.0.3
2016-09-22 19:11:03 +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
6084df2e31
docs: add LICENSE
2016-09-22 00:43:00 +03:00
zkochan
a563a189c1
chore: release v0.35.0
v0.35.0
2016-09-22 00:08:03 +03:00
zkochan
f33e9b8341
feat: support dependencies from GIT
...
Close #285 , PR #366
2016-09-21 23:07:50 +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
zkochan
c869e1026c
refactor: move pkgFullName.ts to resolve/
2016-09-21 00:59:59 +03:00
zkochan
5d0c5f03f0
refactor: return a dedicated fetch for each source
2016-09-20 00:35:54 +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
0799e7e65f
style: use jsdocs for function descriptions
2016-09-18 18:45:29 +03:00
zkochan
5ac87837d0
docs(recipes): fix URL to monorepo example
2016-09-18 17:53:49 +03:00
zkochan
d16c7bf995
chore: release v0.34.0
v0.34.0
2016-09-18 17:32:41 +03:00
zkochan
2d1e039874
docs(recipes): create a monorepo recipe
2016-09-18 11:31:52 +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
34394b9485
feat: add an option to make local dependencies linked
...
If the link-local config key is true, local dependencies are
not copy-pasted into the store but linked to the node_modules
folder.
This option makes pnpm suitable for usage in monorepos.
Ref #349
2016-09-18 00:21:56 +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.
v0.33.0
2016-09-17 19:41:23 +03:00
zkochan
d64d1a163a
refactor: simplify types
2016-09-17 18:25:51 +03:00
zkochan
a27b71f1b2
refactor: better naming for package spec objects
2016-09-16 09:12:58 +03:00
zkochan
dc0a79aee0
chore: release v0.32.1
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
v0.32.0
2016-09-15 20:45:23 +03:00
zkochan
d6675dd52b
fix: log file is removed synchronously
...
Everything in an exit event has to be syncrhronous.
2016-09-15 20:42:39 +03:00
zkochan
eb7fc6fa24
refactor(*.ts): move files with folder names to appropriate folders
2016-09-15 10:15:56 +03:00
zkochan
05f72fc525
chore(package.json): add watch task
2016-09-15 09:40:26 +03:00
zkochan
140befe91b
fix(log): pretty logger works
2016-09-15 09:39:49 +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
f2b0960f8a
style(*.ts): .ts files have camelCase names
2016-09-14 22:06:28 +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
zkochan
880657cc48
fix(lifecycle): use the correct PATH env variable on Windows
...
Sometimes PATH env variable is called Path on Windows
2016-09-14 01:20:34 +03:00
zkochan
5760d9376d
refactor(*.ts): strictNullChecks = true
...
close #358
2016-09-14 00:46:51 +03:00
zkochan
9667d8122f
refactor(*.ts): no-any = true
2016-09-13 00:41:22 +03:00
zkochan
261d968876
refactor(*.ts): use async/await
...
PR #357 , Close #347
2016-09-12 22:04:02 +03:00
zkochan
356b8b27c4
refactor(*.ts): noImplicitReturns = true
...
PR #357 , Ref #347
2016-09-12 22:02:48 +03:00