Commit Graph

51 Commits

Author SHA1 Message Date
Zoltan Kochan
b734b45ea2 feat: publishConfig.executableFiles (#3628) 2021-07-30 11:19:10 +03:00
Zoltan Kochan
47ed7b163a fix(publish): run scripts when publishConfig.directory is used (#3627)
close #3626
2021-07-29 19:39:15 +03:00
Zoltan Kochan
612c52953c fix(pack): executables should be packed with exec mode (#3617) 2021-07-25 00:09:41 +03:00
Zoltan Kochan
f63c034c6a feat(pack): do not pass thru to npm pack (#3608) 2021-07-22 04:15:07 +03:00
Zoltan Kochan
691f647137 feat: save the metadata separately from the CAFS (#3578)
ref #2574
2021-07-04 19:35:53 +03:00
Zoltan Kochan
40ce0eb6b5 fix(publish): copy .npmrc from the root of repository (#3511)
close #3508
2021-06-08 01:54:07 +03:00
Pablo Sáez
b5e9284c38 fix: publishConfig.directory script (#3497)
Co-authored-by: Zoltan Kochan <z@kochan.io>
2021-06-03 01:48:33 +03:00
Pablo Sáez
724c5abd80 feat(publish): support "publishConfig.directory" field (#3490) 2021-05-31 03:21:40 +03:00
Zoltan Kochan
819f678942 feat(publish): --report-summary (#3461)
* feat(publish): --report-summary

* fix: typo

* fix: write a report summary even if packages were not published
2021-05-21 02:31:14 +03:00
javier-garcia-meteologica
85fb21a837 feat: workspace:^ and workspace:~ aliases (#3116) (#3368)
* feat: workspace:^ and workspace:~ aliases (#3116)

* fix: apply suggestions and add changeset

* fix(npm-resolver): workspace aliases

* refactor: implement suggestions

* refactor: use only one regex
2021-04-21 18:22:08 +03:00
Zoltan Kochan
561276d2c8 fix: npm should not run lifecycle events on pnpm publish (#3340)
close #3332
2021-04-13 00:57:34 +03:00
Zoltan Kochan
91eabf8df4 feat: use .cjs extension for the CLI bundle file (#3305) 2021-04-03 15:44:31 +03:00
Zoltan Kochan
aed7124557 fix: cli has no write access to the selected global dir (#3206)
close #1203
2021-02-28 20:19:42 +02:00
Zoltan Kochan
30f963febc feat: pnpm publish -r --force (#3181)
`pnpm publish -r --force` publishes packages even if their current
version is already in the registry.

close #3154
2021-02-22 00:29:07 +02:00
Zoltan Kochan
09e950fdc5 feat: rename pnpmfile.js to .pnpmfile.cjs (#3149)
close #3145
close #1339
2021-02-21 03:57:10 +02:00
Zoltan Kochan
44d52f7995 test: use .toContain() in assertions 2021-02-20 14:42:42 +02:00
Zoltan Kochan
d6d091f249 style: use es2015 imports (#3143) 2021-02-15 05:06:10 +02:00
Zoltan Kochan
c3968b39c0 test(publish): skip failing test on Windows CI 2021-02-13 19:53:25 +02:00
Zoltan Kochan
d32960d4b7 test(publish): improve assertions 2021-02-13 16:02:11 +02:00
Zoltan Kochan
7201b9785a ci: install npm v6 before running tests 2021-02-13 15:20:54 +02:00
Zoltan Kochan
3503951d39 perf: don't use graceful-fs and mz/fs (#3129) 2021-02-09 13:44:07 +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
Zoltan Kochan
68a349db2e test: use the shared timeout settings in all tests 2020-12-22 18:11:49 +02:00
Zoltan Kochan
7b9a7f63c5 refactor: test utils 2020-12-11 02:06:44 +02:00
Zoltan Kochan
2096f1a254 test: make publish tests more stable 2020-11-26 00:45:07 +02:00
Zoltan Kochan
284e95c5e4 feat: specifying a path to workspace packages in version specs
close #2959
PR #2972
2020-11-14 14:22:30 +02:00
Zoltan Kochan
084614f559 feat: aliases for workspace packages
close #2970
PR #2976
2020-11-12 11:28:15 +02:00
Zoltan Kochan
c0af79da4c test(plugin-commands-publishing): use Jest
ref #2858
2020-11-11 02:14:08 +02:00
Zoltan Kochan
892e2b1551 fix(publish): check branch after checking if branch is clean 2020-09-23 00:32:47 +03:00
Zoltan Kochan
88e1eaa908 style: use no delimiters in type declarations 2020-08-26 01:42:36 +03:00
Zoltan Kochan
d717e344ee test: tests pass even if git is not configured 2020-08-25 01:57:42 +03:00
Zoltan Kochan
1c8a02e996 style: use eslint instead of tslint
PR #2796
close #2300
2020-08-24 02:01:25 +03:00
Zoltan Kochan
dc64a6c6da test(publishing): use local pnpm 2020-08-10 03:28:51 +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
e8a6305282 test(publishing): don't publish the store dir 2020-07-26 12:07:09 +03:00
Zoltan Kochan
c75a921e36 style: no trailing commas in functions 2020-05-12 19:00:16 +03:00
Zoltan Kochan
4063f1bee7 feat(publish)!: git checks are on by default
ref #2329
2020-04-30 02:14:22 +03:00
Zoltan Kochan
041f9bf8ca fix: publish should support --ignore-scripts 2020-03-29 20:57:45 +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
715610d2c8 refactor: command plugins API 2020-03-09 00:19:08 +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
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