Commit Graph

10701 Commits

Author SHA1 Message Date
zkochan
2dc2711914 feat(reporter): report everything via ndjson 2017-01-16 20:49:18 +02:00
zkochan
1087d87bb8 refactor: remove redundant reporter import from extendOptions 2017-01-16 20:49:18 +02:00
zkochan
b96e30cf3f refactor(reporter): remove debug option
Debug option was used with the debug package.
debug was substituted with bole.
To have more info printed a new reporter have to be created.

BREAKING CHANGE:

--debug option removed
2017-01-16 20:49:18 +02:00
zkochan
04c104c614 refactor(reporter): move reporter selection out of API 2017-01-16 20:49:18 +02:00
zkochan
b748c213db refactor: rename logger to reporter
Reporter is a better name for specifying console output themes.

BREAKING CHANGE: the logger config renamed to reporter
2017-01-16 20:49:18 +02:00
zkochan
53f94417e7 feat(log): use ndjson for console output
Close #538
2017-01-16 20:49:18 +02:00
zkochan
fd4185fce9 chore: release v0.0.1 pnpm-default-reporter/0.0.1 2017-01-15 21:20:18 +02:00
zkochan
83dab10b6a refactor: change pkgid property of InstallCheck
BREAKING CHANGE:

pkgid changed to pkgId
2017-01-15 21:19:22 +02:00
zkochan
383e772921 test: use verdaccio instead of sinopia
Unfortunately sinopia is not maintained anymore.
2017-01-15 18:43:18 +02:00
Zoltan Kochan
cab64a98ef docs(README): update preview 2017-01-15 16:54:29 +02:00
zkochan
5b18710702 refactor: rename the package to pnpm-default-reporter 2017-01-15 15:35:11 +02:00
zkochan
898eb91cbb feat(bin): add CLI 2017-01-15 01:54:00 +02:00
zkochan
1d7215c67c fix: print errors 2017-01-14 21:54:54 +02:00
Zoltan Kochan
8c986b5082 feat: initial commit pnpm-default-reporter/0.0.0 2017-01-14 20:29:43 +02:00
zkochan
84878f8750 test: temporarily skip GitHub tests
Ref #536
2017-01-13 23:24:22 +02:00
zkochan
dca99b8817 chore: release v0.48.1 v0.48.1 2017-01-13 01:03:32 +02:00
zkochan
924b584f6b fix(install): logging of cached packages should show resolved version 2017-01-13 01:02:46 +02:00
Zoltan Kochan
aadede005a docs(LICENSE): update years 2017-01-11 22:44:37 +02:00
zkochan
110e403503 docs(README): fix store structure example 2017-01-11 09:29:11 +02:00
zkochan
eb1ec303f2 refactor: force users to reinstall old node_modules v0.48.0 2017-01-11 09:06:23 +02:00
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