Brandon Cheng
0fba8f8b84
test: fix silently failing tests in default-reporter package ( #9253 )
...
* test: move expect blocks (without other changes) to end of test
This is required for the refactor in the next commit. The log statements
have to run before consuming the output stream, otherwise the output
stream will be empty.
* test: fix swallowed Jest expect errors in `default-reporter` package
* test: fix expected to match actual values in default-reporter tests
* refactor: remove redundant `.pipe(take(1))`
With the refactor to use `firstValueFrom`, the `take(1)` is now
redundant in many places.
```ts
firstValueFrom(output$.pipe(take(1)))
```
```ts
firstValueFrom(output$)
```
2025-03-10 00:48:21 +01:00
Zoltan Kochan
81b66c7031
chore(release): 9.15.8
2025-03-09 15:15:05 +01:00
Zoltan Kochan
4bc9c310ad
fix: don't show info messages on --loglevel=error ( #9241 )
2025-03-08 12:19:54 +01:00
Zoltan Kochan
052cc515be
fix: reporting with --loglevel=error ( #9230 )
2025-03-07 02:26:15 +01:00
Zoltan Kochan
3dffca6f40
chore(release): 9.15.7
2025-03-06 11:21:06 +01:00
Naru
bf9ce1c992
fix: allow scope registry cli option without --config. prefix ( #9089 )
...
close #9084 .
close #9085
2025-02-25 02:30:52 +01:00
Zoltan Kochan
a904ba78a3
chore(release): 9.15.6
2025-02-24 09:11:43 +01:00
Brandon Cheng
a4bd30bd4f
fix: avoid printing undefined for package version when reporting error ( #9153 )
2025-02-24 02:42:40 +01:00
Zoltan Kochan
92ff417ec8
feat: print pnpm version at the end of the console output ( #9108 )
2025-02-16 14:58:26 +01:00
Thomas Scholtes
ec70032dc2
fix: correct corepack self-update instructions ( #9101 )
...
* fix: correct corepack self-update instructions
The previous instructions did not actually update the pnpm version used
by corepack in the local project.
See https://github.com/nodejs/corepack/issues/587
2025-02-14 00:24:57 +01:00
Zoltan Kochan
70d38c5cd3
chore(release): 9.15.5
2025-02-02 18:29:48 +01:00
v1rtl
8dc032e899
refactor: replace strip-ansi with built-in util.stripVTControlCharacters ( #9009 )
2025-01-28 18:52:03 +01:00
Zoltan Kochan
3e7e864086
chore(release): 9.15.4
2025-01-13 17:06:38 +01:00
Zoltan Kochan
c056fe054b
chore(release): 9.15.2
2024-12-27 15:22:25 +01:00
Zoltan Kochan
62697ee053
fix: improve how ignored lifecycle scripts are reported ( #8899 )
2024-12-22 21:22:55 +01:00
Zoltan Kochan
ac15953bfa
chore(release): 9.15.0
2024-12-06 15:39:08 +01:00
Zoltan Kochan
aae57a6e02
refactor!: bumper logger version in peer deps
2024-11-28 15:04:54 +01:00
Zoltan Kochan
67c7595564
refactor!: all lib versions should start with pnpm major version
2024-11-28 14:07:03 +01:00
Zoltan Kochan
740fd810c7
chore(release): 9.14.0
2024-11-20 00:47:14 +01:00
btea
59b5cd789c
fix: remove link to X from update notifier ( #8773 )
...
close #8770
2024-11-19 23:44:17 +01:00
Zoltan Kochan
d9988f17af
chore(release): 9.13.0
2024-11-13 13:08:23 +01:00
Zoltan Kochan
0309365fda
chore(release): 9.12.3
2024-10-28 03:11:09 +01:00
Shion Ichikawa
9335a45c2d
style: fix lint errors ( #8699 )
...
close #8698
2024-10-26 12:56:26 +02:00
Zoltan Kochan
1dd419cbb4
test: fix killing the registry mock server on teardown ( #8695 )
2024-10-25 21:24:08 +02:00
Zoltan Kochan
f066efcbd8
fix: every command should read settings from the root workspace project ( #8671 )
...
close #8667
2024-10-20 03:11:55 +02:00
Zoltan Kochan
5da5e75e08
chore(release): 9.12.0
2024-10-02 12:19:20 +02:00
Matthew Berryman
ce2b420903
fix: incorrect self update command provided ( #8544 )
...
close #8543
2024-09-20 12:25:44 +02:00
Zoltan Kochan
fe996fee1d
chore(release): 9.10.0
2024-09-09 15:43:02 +02:00
Zoltan Kochan
10d8007747
chore(release): 9.9.0
2024-08-26 17:12:28 +02:00
Zoltan Kochan
ed3ca011ce
chore(release): 9.8.0
2024-08-22 12:22:59 +02:00
Zoltan Kochan
eb8bf2a993
feat: self-update command ( #8424 )
2024-08-19 14:26:17 +02:00
Zoltan Kochan
56861a569a
chore(release): 9.7.1
2024-08-14 16:43:15 +02:00
Khải
9b4f73caaf
chore(scripts): typecheck-only ( #8395 )
...
* chore(scripts): typecheck-only
* feat: change all configuration
* feat: include pnpm/ and pnpm/test/
* chore(deps): remove unused dependency
* refactor(typescript-only): use find-packages
* refactor(typescript-only): refactor paths
* fix: typescript-only
* fix: update compile-only
* fix: compile pnpm
* fix: windows
* fix: windows
* chore: meta-updater
* refactor(tsconfig): remove explicit composite
* fix: path in windows
* feat: don't depend on cwd
---------
Co-authored-by: Zoltan Kochan <z@kochan.io >
2024-08-11 08:26:01 +02:00
Zoltan Kochan
97c95cca48
chore: update typescript to v5.5 ( #8364 )
...
* chore: update typescript to v5.5
* fix: some errors
* chore(deps): update @pnpm/logger
* chore(deps): use catalogs
* refactor: remove a type no longer necessary
* chore(deps): revert the catalog changes
This reverts commit 5a3d4394f1 .
* refactor: move types to their own files
* refactor: change logger error type
* feat: add pkgsStack to LogBase
* feat: add type param to StreamParser
* refactor: move error fields out for clarity
* style: fix eslint
* feat: nullify non existence fields
* feat: add hint
* feat: remove the nullifications
This reverts commit 955e196032 .
* feat: add `package` field
* feat: extend `RequestRetryMessage.error`
* fix: missing `id` field
* fix: statsLogger
* fix: correct types
* fix: pkgsDiff
* refactor: use interfaces
* fix: reportSummary
* fix: revert erroneous change
This reverts commit 81042a0783 .
* fix: audit
* fix: silentReporter
* fix: reporter
* fix: eslint
* fix: main.ts
* fix: errorHandler
* refactor: share code
* fix: test/reportingPeerDependencyIssues
* fix: default-reporter/test/index.ts
* fix: test/reportingErrors.ts
* fix: test/execPnpm
---------
Co-authored-by: khai96_ <hvksmr1996@gmail.com >
2024-08-09 19:18:32 +02:00
Zoltan Kochan
449041c5aa
chore(release): libs
2024-08-07 18:07:03 +02:00
Khải
5bf6aaa407
refactor: move @pnpm/logger to the monorepo ( #8385 )
...
* chore: create @pnpm/logger
* fix: workaround typescript error
* chore: update manifests
* chore(deps): link @pnpm/logger from workspace
2024-08-07 18:02:08 +02:00
Zoltan Kochan
a64e440740
fix(default-reporter): use stdout from context ( #8387 )
2024-08-07 18:01:32 +02:00
Zoltan Kochan
2d3a119bb4
chore(release): 9.7.0
2024-08-07 02:13:26 +02:00
Zoltan Kochan
26b065c193
feat: automatically switch to the right pnpm version ( #8363 )
...
close #8360
2024-08-06 21:59:43 +02:00
Zoltan Kochan
87439cdf35
chore(release): libs
2024-08-05 13:45:55 +02:00
Munif Tanjim
98c8bd69cb
fix: print warnings to stderr ( #8342 )
2024-08-04 01:53:52 +02:00
Zoltan Kochan
64e2e4f86f
refactor: add a function for corepack context detection
2024-08-02 23:02:15 +02:00
Zoltan Kochan
e7f6330372
refactor: add detectIfCurrentPkgIsExecutable to cli-meta package ( #8362 )
2024-07-31 19:19:52 +02:00
Zoltan Kochan
5d059765a8
chore(release): libs
2024-07-29 15:58:56 +02:00
Zoltan Kochan
3b82169faf
chore(release): 9.6.0
2024-07-22 01:41:03 +02:00
Simon He
b6acfcf8d1
refactor(cli): conditional branch ( #8290 )
2024-07-08 16:03:17 +02:00
Zoltan Kochan
07a7ac4a93
chore(release): 9.5.0
2024-07-07 18:27:55 +02:00
Zoltan Kochan
a3d5f609d0
chore(release): 9.5.0-beta.1
2024-07-04 15:54:08 +02:00
Brandon Cheng
9bf9f71ad3
fix: show better error when encountering external catalog protocol usage ( #8254 )
...
* fix: show better error when encountering external catalog protocol usage
* refactor: reuse SPEC_NOT_SUPPORTED error
* Apply suggestions from code review
---------
Co-authored-by: Zoltan Kochan <z@kochan.io >
2024-06-30 09:53:39 +02:00
Zoltan Kochan
79830ff0b9
chore: use catalogs
2024-06-27 21:18:27 +02:00