Commit Graph

17 Commits

Author SHA1 Message Date
Zoltan Kochan
bb5d41f337 style: add missing trailing commas and fix the linting rule 2020-01-01 19:18:25 +02:00
Zoltan Kochan
f8b927391e refactor: rename importers & workspace pkgs to projects
WsPkg=>Project
WorkspacePackage=>Project
mporterManifest=>ProjectManifest
importers=>projects
importerDir=>projectDir
LockfileImporter=>ProjectSnapshot

PR #2242
2020-01-01 18:57:14 +02:00
Zoltan Kochan
8fc6fc4ad7 refactor: rename prefix options to dir options
BREAKING CHANGE:

- @pnpm/build-modules
- @pnpm/filter-lockfile
- @pnpm/headless
- @pnpm/lifecycle
- @pnpm/modules-cleaner
- @pnpm/package-is-installable
- @pnpm/read-importers-context
- @pnpm/resolve-dependencies
- supi
2019-11-03 17:08:57 +02:00
Zoltan Kochan
c36abf8535 fix(lifecycle): use same pkg id convention as npm
close #2005
2019-10-14 22:40:57 +03:00
Zoltan Kochan
7e0563e3b4 refactor: use optional chaining 2019-10-14 21:44:54 +03:00
Yao Ding
d7dbadbad5 fix: show emptry string instead of undefined when package.json has no name
close #2005
PR #2059

Co-Authored-By: Zoltan Kochan <zkochan@users.noreply.github.com>
2019-10-08 21:35:24 +03:00
Zoltan Kochan
fc0fe15938 refactor: rawNpmConfig=>rawConfig 2019-10-04 01:29:26 +03:00
Zoltan Kochan
b8a75b2be6 refactor: use more destructuring 2019-06-23 21:38:10 +03:00
Zoltan Kochan
6a26c5b21f feat: prepend workspace bins to PATH for lifecycle scripts
PR #1870
close #1355
2019-06-12 01:32:24 +03:00
Zoltan Kochan
bb3fd532fb feat: script runner commands support package.{json5,yaml}
pr #1805
ref #1803
2019-05-03 23:02:40 +03:00
Zoltan Kochan
4612a42a5b refactor: don't read/write package.json inside supi
PR #1776

BREAKING CHANGE:

`supi`, `@pnpm/headless`, `@pnpm/resolve-dependencies`, `@pnpm/lifecycle`
2019-04-20 03:38:44 -07:00
Zoltan Kochan
33a5830637 feat: "recursive rebuild" supports "shared-workspace-shrinkwrap"
PR #1597

* feat: "recursive rebuild" supports "shared-workspace-shrinkwarp"

close #1596

* fix: recursive rebuild + independen-leaves and shared shrinkwrap

* fix: build workspace package in correct order during r-ve install

* test: always create the store in the current test's temp folder

* style: sort imports in tests

* test: correct order of workspace package builds

* feat: build workspace packages concurrently during headless install

* refactor: use run-groups

* test: stages should run in correct order
2019-01-07 22:16:25 +02:00
Zoltan Kochan
46425eedf5 fix: lifecycle scripts should run concurrently
close #1578
2018-12-27 20:19:39 +02:00
Zoltan Kochan
ded5171a49 feat: better reporting of child processes output
PR #1573

* feat(reporting): collapse build output of deps inside node_modules

ref #1440

* feat(reporting): nicer reporting of lifecycle output

* feat(reporting): print the number of collapsed lines

* feat(reporting): always print the status of the child processes

* refactor: reporting

* feat(reporting): nicer indentation

* feat(reporting): report duration of script run

close #1440
2018-12-23 16:42:27 +02:00
Zoltan Kochan
e02fb790d7 style(lifecycle): fix 2018-12-15 22:56:20 +02:00
Zoltan Kochan
29769bcc93 fix(lifecycle): use loggers from @pnpm/core-loggers 2018-12-15 22:53:51 +02:00
Zoltan Kochan
358034bd3d refactor: move @pnpm/lifecycle to monorepo 2018-12-15 21:47:22 +02:00