Zoltan Kochan
2bdeeeb9b9
feat: save server connection info in a subdir inside the store
2018-05-07 23:03:31 +03:00
Zoltan Kochan
3265ac2e36
fix(help): the recursive commands are not experimental anymore
2018-05-05 11:09:11 +03:00
Zoltan Kochan
d7652e8564
feat(recursive): read local package configs
...
close #1093
2018-04-20 01:24:57 +03:00
Zoltan Kochan
fed56040a8
feat: new hook that is called after the resolution stage
...
The afterAllResolved hook is called with a context argument when
all dependencies are resolved. The context object contain a log
function.
A sample of a `pnpmfile.js` that declares afterAllResolved:
```js
module.exports = {
hooks: {
afterAllResolved (shr, context) {
context.log('Resolution done')
return shr
}
}
}
```
close #1088
2018-04-20 01:09:12 +03:00
Zoltan Kochan
df31d3b8af
fix(run): pass through the right exit code
...
close #1123
2018-04-19 23:09:33 +03:00
Zoltan Kochan
b71383dd8c
feat: pass a log() function to readPackage hooks
...
close #1074
2018-04-16 11:22:30 +03:00
Zoltan Kochan
08d2656f05
perf: fix performance regression introduced in v1.37.5
...
The shrinkwrap.yaml format updated to include requiresBuild: bool
ref #1109
2018-04-13 01:34:18 +03:00
Zoltan Kochan
72440db38d
fix(recursive): pipe the projects' lifecycle hooks output
...
To reduce noise during recursive installation, pipe the output of
the projects' lifecycle hooks.
ref #1089
2018-04-09 22:43:33 +03:00
Zoltan Kochan
94f147bee1
feat: global pnpmfile
...
A global pnpmfile can be used by setting the `global-pnpmfile`.
The global pnpmfile is composed with any local pnpmfile.
ref #1106
ref #910
2018-04-08 23:52:21 +03:00
Zoltan Kochan
4b96200401
feat: custom location of pnpmfile
...
close #910
2018-04-07 19:48:35 +03:00
Zoltan Kochan
f838512429
refactor: remove mentions of concurrency from recursive --help
2018-04-07 14:28:06 +03:00
Zoltan Kochan
ad12700452
fix(recursive): store.json is saved only once during recursive link
2018-04-06 15:10:53 +03:00
Zoltan Kochan
63c84d3c0b
feat: --frozen-shrinkwrap and --prefer-frozen-shrinkwrap
...
close #1065
2018-03-24 16:08:20 +02:00
Zoltan Kochan
816e896f7d
fix(recursive): don't ignore the registry config when linking
2018-03-13 00:32:14 +02:00
Zoltan Kochan
561434e9e3
fix: don't check for updates during the actual update of pnpm
2018-03-07 22:56:39 +02:00
Zoltan Kochan
f45fc70ad9
fix: correct prefix is used during globall install/update/remove
...
ref #1052
2018-03-07 22:40:32 +02:00
Zoltan Kochan
7807b30600
fix(deps): update supi to version ^0.14.1
2018-03-05 11:38:47 +02:00
Zoltan Kochan
29982286c7
fix(recursive): run only for packages in subdirs of CWD
2018-03-01 22:41:10 +02:00
Zoltan Kochan
6093ee0021
fix: refetch local tarball when its integrity has changed
...
close #1054
2018-02-28 02:41:56 +02:00
Zoltan Kochan
05eb261e26
fix(recursive): fail when action in a workspace package fails
2018-02-24 21:10:13 +02:00
Zoltan Kochan
adac6a02ab
fix(cli): -P is a shorthand of --save-prod
2018-02-24 18:42:55 +02:00
Zoltan Kochan
ba57704c84
feat(recursive): running commands on a subset of packages
...
A `pnpm-workspace.yaml` file can be used in the root of a
multi-package repository to specify an array of globs to use
as package locations.
Example of a `pnpm-workspace.yaml` file:
```yaml
packages:
- 'packages/**'
- 'components/**'
```
close #1038
2018-02-24 18:34:35 +02:00
Zoltan Kochan
ae5c58a489
refactor: move pnpmfile requiring to separate module
2018-02-24 14:10:35 +02:00
Emanuele Tamponi
f4288ac2a3
feat: add shamefully-flatten option ( #1050 )
...
* feat: add shamefully-flatten option
* feat: add --shamefully-flatten to help
* feat: --shamefully-flatten
* test: add simple test for --shamefully-flatten in pnpm
* fix: update supi
2018-02-22 21:47:35 +02:00
Zoltan Kochan
18bdb73ad4
refactor: use @pnpm/config
2018-02-19 01:47:29 +02:00
Zoltan Kochan
322ab833d5
feat: getting rid of native dependencies
...
close #1036
2018-02-17 23:06:49 +02:00
Zoltan Kochan
813402938a
perf: faster config reading
...
ref #1006
2018-02-16 23:41:55 +02:00
Zoltan Kochan
4fca11e5e2
perf: make "pnpm -v" and "pnpm help" faster
2018-02-14 22:23:16 +02:00
Zoltan Kochan
9ae44aa088
fix(reporting): print progress when invoked from CI
...
ref #1028
2018-02-10 22:32:25 +02:00
Zoltan Kochan
9abd5ca831
feat: --no-shrinkwrap
...
close #1025
2018-02-04 22:03:57 +02:00
Zoltan Kochan
6ac52f7b6e
feat(recursive): pnpm recursive dislink
...
Add a command for recursively dislinking packages
close #825
2018-02-04 12:27:46 +02:00
Zoltan Kochan
5204158b06
feat(recursive): pnpm recursive link
...
A new command for installation in a monorepo
ref #825
2018-02-04 12:27:46 +02:00
Zoltan Kochan
4aef51c417
fix: throttle progress reporting
...
ref #1017
2018-01-31 01:49:11 +02:00
Zoltan Kochan
e2b46cf7b2
fix(reporting): revert throttle
2018-01-30 01:21:11 +02:00
Zoltan Kochan
18d5997313
fix(reporting): report resolving/fetching progress less frequently
...
ref #1017
2018-01-30 00:53:34 +02:00
Zoltan Kochan
1dc1f85b0f
fix(server): use correct store location when running in background
2018-01-28 18:17:01 +02:00
Zoltan Kochan
1f44ed1f82
fix(recursive): pass correct bin location
2018-01-26 23:23:50 +02:00
Zoltan Kochan
6bd11b1f41
fix(recursive): report prefix when one of the installs fail
2018-01-26 23:12:06 +02:00
Emanuele Tamponi
7efaf408d0
feat: flag to ignore upload requests ( #1010 )
...
* feat: flag to ignore upload requests
* chore: bump up @pnpm/server dep to 0.7.1
* test: ignore upload requests
* fix: add help for ignore upload requests
* fix: use promisify instead of thenify
2018-01-24 21:39:25 +02:00
Zoltan Kochan
71b23ea68e
fix: --no-optional
...
ref #1014
2018-01-24 09:17:16 +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
Neil Gentleman
f520a2fe82
fix: wait for recursive package installation
...
`await [Promise]` returns immediately; we want to wait for each
installation to complete before advancing to the next chunk.
enabling tslint's await-promise rule could have caught this, but
only if the typings for p-limit and graph-sequencer were improved.
2018-01-22 21:39:33 +02:00
Emanuele Tamponi
ef70230f96
feat: parse side-effects-cache(-readonly) options ( #994 )
...
* feat: parse side-effects-cache(-readonly) options
* fix: add new options to help
* fix(deps): update
* test: side effects cache tests, same as supi
* test; remove unused variables and imports
* test: do not use spread syntax
2018-01-22 19:57:49 +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
3b1fcc9360
feat(server): add stop command ( #993 )
...
* feat(server): add stop command
ref #960
* feat(server): `pnpm server` becomes `pnpm server start`
SEMI-BREAKING CHANGE:
`pnpm server` doesn't start a server but only prints help
`pnpm server start` starts a store server
* refactor: rename unstoppable to ignore-stop-requests
2018-01-17 00:03:12 +02:00
Zoltan Kochan
a22068096b
fix: don't be silent on CI servers
...
ref #873
2018-01-14 15:05:45 +02:00
Zoltan Kochan
a785110447
feat: use append-only reporter for non-tty stdout
...
close #873
2018-01-14 14:18:09 +02:00
Zoltan Kochan
b553c5cfe0
feat: --prefer-offline flag
...
close #975
2018-01-13 19:02:24 +02:00
Zoltan Kochan
abdc2a856c
feat(server): choosing the communication protocol ( #988 )
...
* feat(server): choosing the communication protocol
close #987
* feat(server): choosing port
2018-01-10 09:47:00 +02:00
Zoltan Kochan
20459cb18a
fix: pass packageImportMethod to the store server
2018-01-09 03:06:51 +02:00