Commit Graph

831 Commits

Author SHA1 Message Date
zkochan
59cd8cbede fix: packages can require themself
node_modules structure changed
2017-01-11 08:51:01 +02:00
zkochan
f678dd55d2 test: add new testing package
Add uses-pkg-with-self-usage testing package and rebuild sinopia cache
2017-01-11 08:31:22 +02:00
zkochan
190ac69e54 chore: release v0.47.1 v0.47.1 2017-01-10 22:10:18 +02:00
greenkeeperio-bot
81ea88c51d chore(package): update cache-manager-fs to version 1.0.6
https://greenkeeper.io/
2017-01-10 22:09:54 +02:00
greenkeeperio-bot
6a99b2d5d2 chore(package): update node-gyp to version 3.5.0
https://greenkeeper.io/
2017-01-10 22:09:50 +02:00
zkochan
344b057784 fix: cmd shim should work on Windows
⬆️ @zkochan/cmd-shim@2.2.1
2017-01-10 21:59:18 +02:00
zkochan
8d228124dc fix(install): ignore EEXIST errors when linking
Ref #531
2017-01-10 21:57:40 +02:00
zkochan
147a68da45 chore: use the standard store location 2017-01-09 23:46:36 +02:00
zkochan
16fa79ed07 fix: no hardcoded store loc for global package
The store location for the global package is not hardcoded.
2017-01-09 23:12:18 +02:00
zkochan
82e4e7a1ab chore: release v0.47.0 v0.47.0 2017-01-09 18:40:29 +02:00
zkochan
884f1083d8 fix(bin): add root modules to NODE_PATH 2017-01-09 18:24:58 +02:00
zkochan
f90aaed777 chore(tsconfig): add missing files 2017-01-09 18:19:26 +02:00
zkochan
1c00eb025e refactor: use is-windows package
For detecting Windows OS, use the is-windows package.
2017-01-09 18:08:15 +02:00
zkochan
af4d86b523 chore(package): ⬆️ @zkochan/cmd-shim@2.2.0 2017-01-09 17:46:20 +02:00
zkochan
6c946ee2cf feat: support preserve-symlinks config
preserve-symlinks is true by default on Node versions that
support it
2017-01-09 17:46:20 +02:00
zkochan
c912ababf3 fix(bin): set NODE_PATH
When links are not preserved, set NODE_PATH for binstubs

Ref #527
2017-01-09 17:46:20 +02:00
zkochan
5810c446ba test: fix CLI tests 2017-01-08 20:48:28 +02:00
zkochan
832252192d test: move the testing folder out of the project
When the testing folder is inside the project folder, the lookup
includes the node_modules folder inside the project.
2017-01-08 19:46:10 +02:00
zkochan
4bf01fec55 chore: release v0.46.0
PuSto (pure store)
v0.46.0
2017-01-08 16:06:22 +02:00
greenkeeperio-bot
144a38860f chore(package): update tslint to version 4.3.1
https://greenkeeper.io/
2017-01-08 15:55:29 +02:00
greenkeeperio-bot
2c62567337 chore(package): update npm-run-all to version 4.0.0
https://greenkeeper.io/
2017-01-08 15:54:30 +02:00
greenkeeperio-bot
cf034f5206 chore(package): update debug to version 2.6.0
https://greenkeeper.io/
2017-01-08 15:53:32 +02:00
greenkeeperio-bot
bcd8c340a8 chore(package): update cache-manager to version 2.3.0
https://greenkeeper.io/
2017-01-08 15:53:19 +02:00
greenkeeperio-bot
cd23ed7a15 chore(package): update ghooks to version 2.0.0
https://greenkeeper.io/
2017-01-08 15:53:05 +02:00
Zoltan Kochan
38837b131c Pure store (#524)
* feat: drop Node.js <= 6.3 support

BREAKING CHANGE:

drop support of Node.js pre-6.3

* refactor: remove the redundant subfolder in store

* refactor: rename linkPeers

* refactor: remove not used code

* feat: link each file separately

* refactor: change store structure

* refactor: resolve github dependencies to commits

* chore(package.json): pass --preserve-symlinks to ts-node

* test: temporarily skip failing tests

* refactor(git): use more human-friendly Git IDs

* refactor: resolve

* refactor: divide resolution and fetching

* refactor(fetch): better variable naming

* feat: add shrinkwrap.yaml

* test(shrinkwrap): shrinkwrap locks dependencies

* style: fix typing issue

* fix(fetch): properly link node_modules on repeat install

* refactor: comment skipped test with single-line comments

* fix: circular symlinks are avoided

* refactor(fetch): remove redundant type properties

* test: additional check for circular symlinks

* feat: saving dependency graph in node_modules instead of in store

BREAKING CHANGE:

Dependency graph moved out from store

* feat: add store.yaml with info about dependent projects

* refactor: remove name from FetchedPackage

* refactor: change the location of packages from npm in store

BREAKING CHANGE:

Structure of store changed

* refactor: change global store path

BREAKING CHANGE:

Move the store path out of ~/.pnpm

* refactor: remove justFetched from FetchedPackage

* refactor(install): use functional programming to filter deps

* refactor(install): remove redundant node_modules creation

* fix(install): installation of concurent circular dependencies

* feat: copy not link some packages

Packages that have install lifecycle events are copied not linked.

* fix(store.yaml): don't duplicate records

* perf: resolve a package only once per project

* test: concurrent installation of the same dependency

* fix: packages are not removed in the middle of fetch

* fix: dependencies are linked only once

* fix: make linking work on Windows

* fix: installing local dependencies on Windows

* fix: don't reinstall dependencies of the same package

* fix(bin): the run function always returns a Promise

* fix: use hard links to link files to the .resolutions folder

* fix: peers are linked into the correct location

* fix: bundled dependencies are not reinstalled

* refactor: remove unsymlink

It is not used anymore

* chore(CI): test on Node.js v4 as well

* refactor: use UPPER_CASE for constants

* chore(package): return support of Node.js v4

* fix: make pnpm Node.js 4 compatible again

* test: don't run tsnode with --preserve-symlinks

--preserve-symlinks makes tests fail on Node.js 4

* fix(bin): don't use --preserve-symlinks on Node pre-6.3

* test: use global stores in tests

* fix: flat-tree installation should not work on Node 4

* fix: show warning

When trying to install into a node_modules created by older pnpm

* refactor: change the global store location

From `~/.store` to `~/.pnpm-store`

* docs: note that some of the info is out of date

* test: fix typing error

* test: fix frequently failing test
2017-01-08 15:47:50 +02:00
zkochan
dd1d98f96b docs: fix docpress by removing .tmp/ 2017-01-08 14:13:10 +02:00
greenkeeperio-bot
5c833374a9 chore(package): update ts-node to version 2.0.0
https://greenkeeper.io/
2017-01-08 14:11:49 +02:00
zkochan
5dfa71daf7 chore(scripts): document what each script does
Use `npm-scripts-info` to document the most important scripts.
2017-01-08 11:59:17 +02:00
zkochan
4689befcc3 fix: set NODE_PRESERVE_SYMLINKS=1 for all npm commands 2017-01-02 17:42:53 +02:00
zkochan
6a40852708 test: add missing awaits to CLI tests 2016-12-30 19:31:31 +02:00
zkochan
2571e35ab2 chore: remove Visual Studio Code configs 2016-12-24 13:47:11 +02:00
zkochan
cbf964e445 test: update sinopia store 2016-12-24 03:18:54 +02:00
zkochan
b96e9e9f0d test: fix package that uses plugins example 2016-12-24 02:33:14 +02:00
zkochan
519512cec1 chore(package.json): use rimraf instead of cash-rm 2016-12-24 02:32:42 +02:00
zkochan
a19922f66b refactor(tests): move out some shared logic 2016-12-21 22:58:53 +02:00
zkochan
897d29984f chore(package): shorter links to the repo 2016-12-18 20:18:11 +02:00
zkochan
208fc82f13 test: cache sinopia storage 2016-12-18 20:06:38 +02:00
zkochan
d6fc5af71e test: log the testing package folder names 2016-12-18 01:36:11 +02:00
zkochan
0548a98c8f chore(package): update dependencies 2016-12-18 00:19:35 +02:00
zkochan
d8a12359b0 chore: update linting rules 2016-12-18 00:19:16 +02:00
zkochan
f85149db83 chore(package): update dependencies 2016-12-09 22:17:16 +02:00
Zoltan Kochan
6191504173 chore(package): update test:e2e script 2016-11-30 21:43:48 -08:00
greenkeeperio-bot
d70c495a14 chore(package): update npm-run-all to version 3.1.2
https://greenkeeper.io/
2016-12-01 00:14:40 -05:00
Zoltan Kochan
712358efd5 chore: update dependencies 2016-11-25 14:58:38 -08:00
greenkeeperio-bot
5a1d51e5c5 chore(package): update npm-registry-client to version 7.4.1
https://greenkeeper.io/
2016-11-23 20:28:19 -08:00
greenkeeperio-bot
d9d5000484 chore(package): update standard to version 8.6.0
https://greenkeeper.io/
2016-11-23 20:28:03 -08:00
greenkeeperio-bot
bf581487aa chore(package): update debug to version 2.3.3
https://greenkeeper.io/
2016-11-23 09:59:30 -08:00
greenkeeperio-bot
d0b0c4cfd1 chore(package): update tslint to version 4.0.2
https://greenkeeper.io/
2016-11-23 09:59:18 -08:00
greenkeeperio-bot
48b0345368 chore(package): update tape to version 4.6.3
https://greenkeeper.io/
2016-11-22 23:05:10 -08:00
greenkeeperio-bot
cc9f395e73 chore(package): update mz to version 2.6.0
https://greenkeeper.io/
2016-11-22 23:04:52 -08:00