Commit Graph
218 Commits
Author SHA1 Message Date
zkochan fa8f2e57db fix(user-agent): set the correct user-agent 2017-04-08 15:39:18 +03:00
zkochan 75d9a3da84 test(lifecycle): installation fails when lifecycle script fails 2017-04-08 14:41:53 +03:00
zkochan 76fc444219 fix(lifecycle): run preinstall before general installation
As well as other lifecycle scripts.
2017-04-08 14:35:35 +03:00
zkochan 0a130d310d feat: recreate node_modules only with general installation
Close #674
2017-04-05 23:06:18 +03:00
zkochan ee1b390dfb feat: proper resolving of peer dependencies
BREAKING CHANGE: structure of node_modules changed

Close #678, PR #694
2017-04-04 23:00:48 +03:00
zkochan 8e907023fd test: divide installation tests to separate files 2017-04-02 21:46:37 +03:00
zkochan 40b436cd8c fix: subdeps of not installable packages are ignored 2017-03-31 20:55:27 +03:00
zkochan d88cb274bf style: remove trailing whitespace in template string 2017-03-29 23:43:22 +03:00
zkochan d37f781459 fix: optional dependencies are always resolved
Close #679
2017-03-24 01:22:32 +02:00
zkochan 5a4a46815e feat: rename pnpm verify to pnpm store status
BREAKING CHANGE: `pnpm verify` renamed to `pnpm store status`

BREAKING CHANGE: don't run `pnpm verify` before `pnpm publish`

Ref #430, Ref #658
2017-03-23 21:36:28 +02:00
zkochan e43aa6e8ae fix: installation of circular concurrent deps 2017-03-19 14:48:28 +02:00
zkochan 5d9044553d feat: no tarball paths in shrinkwrap.yaml for default registries
Ref #664, PR #666
2017-03-19 00:35:10 +02:00
zkochan be2b13d6ae feat: smaller shrinkwrap
pkg IDs are shorter for packages hosted on the default registry

Ref #664, PR #666
2017-03-19 00:35:10 +02:00
zkochan 317cac03b6 feat: make shrinkwrap.yaml smaller
Ref #664
2017-03-19 00:35:10 +02:00
zkochan d3b0bb0c75 feat: use a shrinkwrap file instead of graph.yaml
Ref #658

BREAKING CHANGE: no `node_modules/.graph.yaml` used anymore
2017-03-13 21:23:41 +02:00
zkochan e2068c401e feat: always save dependencies
Ref #658

BREAKING CHANGE: cannot insall a dependency w/o saving
2017-03-13 02:41:38 +02:00
zkochan 4f484162d4 feat: add offline support
Close #508, Close #659
2017-03-13 02:31:37 +02:00
zkochan f0ae7a0ff2 fix: the tag config is used only for top-level named installs 2017-03-05 19:14:20 +02:00
zkochan d0add08695 test: skip shrinkwrap breaking change on CI servers 2017-03-04 23:42:35 +02:00
zkochan a85351ea03 test(shrinkwrap): scoped dependency is saved in shrinkwrap.yaml 2017-03-04 23:34:04 +02:00
zkochan 7d48b9d07e feat: remove shrinkwrap.yaml when no deps left in package.json 2017-03-04 22:05:10 +02:00
zkochan ddc69abd9f feat(shrinkwrap): respect shrinkwrap.yaml for top deps 2017-03-04 21:57:39 +02:00
zkochan d68fb703d8 refactor(shinkwrap): not type prop for tarball resolutions
Most of the resolutions are tarball files. Skipping the
type property for these decreases the size of `shrinkwrap.yaml`
significantly.
2017-03-04 16:07:48 +02:00
zkochan 91849fd88a feat(shrinkwrap): don't save empty shrinkwrap files 2017-03-04 16:07:48 +02:00
zkochan 1a8f7628a4 fix(shrinkwrap): ignore shrinkwrap when it is out of date
BREAKING CHANGE: shrinkwrap format changed

Close #634
2017-03-04 16:07:48 +02:00
zkochan f3b0b6f4c1 test(shrinkwrap): deps of deps should satisfy package.json semver
Rel #634
2017-03-04 16:07:48 +02:00
zkochan 4aa3e78e88 fix: use path-exists instead of exists-file 2017-03-02 22:56:56 +02:00
zkochan a1ee21b907 feat: use a local registry similar to sinopia's storage 2017-02-27 00:10:01 +02:00
zkochan 455b40fe87 feat(bin): symlink executables when directories.bin specified
Close #156
2017-02-21 23:38:28 +02:00
zkochan c1a8c71325 test: fix executable checking 2017-02-20 21:39:53 +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 de00178ca3 refactor: link API
BREAKING CHANGE:

Link API functions changed
2017-02-18 20:32:34 +02:00
zkochan c7be0df6cd fix(link): don't reinstall linked packages
Close #597
2017-02-17 20:33:43 +02:00
zkochan c3f4c0537f refactor: tests
Use readPkg and path.resolve instead of path.join+process.cwd()
2017-02-16 22:18:53 +02:00
zkochan 3b6ceaaebd refactor: use mkdirp-promise
Ref #441
2017-02-15 23:30:04 +02:00
zkochan 0eedfd53c3 feat: try to resolve URL dependencies to npm packages 2017-02-14 00:59:42 +02:00
zkochan f763d6a321 fix(resolve): tarball depedencies have readable IDs 2017-02-13 23:32:38 +02:00
zkochan ded4bd237c test(shrinkwrap): installation should fail when incorrect shasum
The installation should fail when the real shasum doesn't match the one in the shrinkwrap.yaml
2017-02-12 21:00:38 +02:00
zkochan 40bd4b630a feat(shrinkwrap): remove uninstalled deps from shrinkwrap.yaml 2017-02-12 18:24:55 +02:00
zkochan 686b88e223 feat(shrinkwrap): prune shrinkwrap file before saving 2017-02-12 15:59:37 +02:00
zkochan da6ab05f5e test(shrinkwrap): add a tests to check shrinkwrap format
Ref #587
2017-02-12 13:45:58 +02:00
zkochan 5169b3725b feat: better shrinkwrap.yaml
Close #587

BREAKING CHANGE:

the `shrinkwrap.yaml` format has been changed
2017-02-12 13:25:04 +02:00
zkochan 04bc56c688 refactor(tests): move supporting functions to utils folder 2017-02-06 21:01:45 +02:00
zkochan 5e032a8512 feat: relink package from store, if it is not linked from there 2017-02-05 21:29:56 +02:00
zkochan d3dcc5d3af feat: relink package to project if it has been refetched 2017-02-05 20:37:48 +02:00
zkochan 3f30c5c062 feat: rewrite packages in store only when they were mutated 2017-02-05 20:07:55 +02:00
zkochan 848922d551 feat(CLI): add pnpm verify command
Rel #585
2017-02-05 17:20:09 +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 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 f7d96ac6e2 feat: reduce nesting in node_modules 2017-02-02 21:10:39 +02:00