Commit Graph

49 Commits

Author SHA1 Message Date
Yao Ding
249c068dd9 fix: return correct scoped registry for alias dependency (#3140)
close #3103

Co-authored-by: Zoltan Kochan <z@kochan.io>
2021-02-14 22:04:00 +02:00
Yao Ding
cc39fc8ad8 fix: remove --publish-branch with branch name to npm publish args (#3107)
close #2996

* fix: remove --publish-branch with branch name to npm publish args

* Update packages/plugin-commands-publishing/src/publish.ts

Co-authored-by: Zoltan Kochan <zkochan@users.noreply.github.com>

Co-authored-by: Zoltan Kochan <zkochan@users.noreply.github.com>
2021-01-30 02:00:09 +02:00
Yao Ding
ff61290417 feat: print an info message when there is no new packages to publish recursively (#3099)
* feat: print an info message when there is no new packages to publish recursively

* feat: use publishedPkgDirs to check

close #2775
2021-01-25 17:17:16 +02:00
Yao Ding
6af60416cb fix: add main to default publish branch
close #2995
PR #3064
2021-01-13 11:56:14 +02:00
Misha Kaletsky
5351791f68 fix: mention CLI flag in git checks hint
PR #2904
Co-authored-by: Zoltan Kochan <z@kochan.io>
2020-10-01 00:47:38 +03:00
Zoltan Kochan
892e2b1551 fix(publish): check branch after checking if branch is clean 2020-09-23 00:32:47 +03:00
Zoltan Kochan
273f11af46 feat(publish): more information added to the Git check errors/prompt 2020-09-08 14:16:05 +03:00
Zoltan Kochan
acc1782c6f style: restrict template expressions 2020-08-27 00:57:58 +03:00
Zoltan Kochan
88e1eaa908 style: use no delimiters in type declarations 2020-08-26 01:42:36 +03:00
Zoltan Kochan
5322cf9b39 style: use nullish coalescing 2020-08-26 01:15:47 +03:00
Zoltan Kochan
1c8a02e996 style: use eslint instead of tslint
PR #2796
close #2300
2020-08-24 02:01:25 +03:00
renovate[bot]
9550b0505a chore(deps): update dependency typescript to v4
PR #2788

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Zoltan Kochan <z@kochan.io>
2020-08-22 02:44:21 +03:00
Zoltan Kochan
855f8b00a6 refactor: add createResolver() to @pnpm/client 2020-08-20 01:47:38 +03:00
Zoltan Kochan
a1cdae3dc7 refactor(npm-resolver): remove options.metaCache 2020-08-17 01:48:12 +03:00
Zoltan Kochan
69a675f416 fix(publish): don't use pnpm-temp dist tag
close ##2686
PR #2767
2020-08-12 11:31:51 +03:00
Zoltan Kochan
edf1f412e2 feat: make-dedicated-lockfile
close #1919
PR #2746
2020-08-05 02:02:42 +03:00
iyegoroff
2a41ce95c4 fix: added workspace peer dependencies substitution
PR #2727 
close #2467
2020-07-29 17:08:53 +03:00
Zoltan Kochan
d44ff97f82 fix: pnpm publish -r --dry-run
close #2712
PR #2715
2020-07-26 15:07:13 +03:00
Zoltan Kochan
c3796a71d5 refactor: proxy 2020-07-01 03:50:55 +03:00
Zoltan Kochan
71aeb9a382 refactor: API of resolvers and fetchers
Instead of creating a separate fetch function for the resolvers
and fetchers, use a single one.

Also, use a single getCredentials function.

close #2652
PR #2655
2020-06-29 17:13:02 +03:00
Zoltan Kochan
db17f6f7b6 refactor: move Project and ProjectsGraph to @pnpm/types 2020-06-21 14:54:49 +03:00
Zoltan Kochan
6808c43faf perf: don't request the full metadata
ref #2632
PR #2633
2020-06-15 23:00:20 +03:00
Zoltan Kochan
906465529a style: reformat multiline unions 2020-05-14 14:30:09 +03:00
Zoltan Kochan
c75a921e36 style: no trailing commas in functions 2020-05-12 19:00:16 +03:00
Zoltan Kochan
e3990787a1 refactor: NodeModules options renamed to Modules 2020-05-09 02:33:54 +00:00
Zoltan Kochan
4063f1bee7 feat(publish)!: git checks are on by default
ref #2329
2020-04-30 02:14:22 +03:00
Zoltan Kochan
8a141e1d82 fix(publish): don't fail when --json is used 2020-04-07 13:40:16 +03:00
Zoltan Kochan
0462fbc501 refactor: remove realNodeModulesDir from utils 2020-04-03 02:29:14 +03:00
Zoltan Kochan
116d5dd70d refactor: create @pnpm/pick-registry-for-package 2020-04-02 02:41:40 +03:00
Zoltan Kochan
a00cd5f540 fix: publish -r should publish in sorted order 2020-03-29 21:23:13 +03:00
Zoltan Kochan
041f9bf8ca fix: publish should support --ignore-scripts 2020-03-29 20:57:45 +03:00
Zoltan Kochan
fb51114473 fix(publish): add more options to help 2020-03-29 20:45:59 +03:00
Zoltan Kochan
114ad02752 fix(publish): support --dry-run 2020-03-29 20:10:01 +03:00
Zoltan Kochan
37b1da3f49 fix(publish): pnpm runs the lifecycle scripts
ref #2374
PR #2445
2020-03-29 15:56:52 +03:00
Zoltan Kochan
1114b88c0d fix: publish should work with -r option
This fixes a regression caused by refactoring done in v4.12.
2020-03-21 15:38:58 +02:00
Zoltan Kochan
9c84fe2955 fix: make git checks only once during publish -r 2020-03-09 03:04:17 +02:00
Zoltan Kochan
715610d2c8 refactor: command plugins API 2020-03-09 00:19:08 +02:00
Zoltan Kochan
b415918d7a fix(publish): allow using the --registry option 2020-02-29 21:23:42 +02:00
Zoltan Kochan
4a19114c26 fix: --git-checks description 2020-02-29 20:40:03 +02:00
Yao Ding
6d8c16b37d feat: check branch is master, clean, and up to date before publish
PR #2383
Close #2382
2020-02-28 18:58:32 +02:00
Yao Ding
d0c1e33915 feat: use env var to specify npm path
close #1790
PR #2275
2020-01-18 19:12:31 +02:00
Zoltan Kochan
6a7eb4c123 fix: --unsafe-perm is a known option
rel #1069
2020-01-09 22:45:42 +02:00
Zoltan Kochan
d756e5057f refactor: don't use the same handlers for different commands
PR #2243
2020-01-02 03:55:00 +02:00
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
9c9a3849d9 refactor: destroying the plugin-commands-recursive package
PR #2237
2019-12-29 18:45:20 +02:00
Tim Suchanek
74ddbf30aa fix(publish): remove workspace from devDependencies
closes #2202
PR #2203
2019-12-10 18:48:49 +02:00
Zoltan Kochan
4f35f24c38 feat: every command plugin returns separate types from CLI vs RC 2019-11-30 16:45:44 +02:00
Zoltan Kochan
5d35e5be15 refactor: create @pnpm/plugin-commands-publishing
ref #2154
2019-11-23 02:34:14 +02:00