Commit Graph

36 Commits

Author SHA1 Message Date
btea
f72215107a fix: remove the prefix for view version info (#10498) 2026-02-06 16:50:49 +01:00
Zoltan Kochan
57e99b6996 chore: update pnpm-lock.yaml (#10558)
---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-02-06 03:28:39 +01:00
Zoltan Kochan
e3b35b6f37 style: update eslint to v9 (#10474) 2026-01-17 12:01:23 +01:00
Zoltan Kochan
3df6702bcb fix: update load-json-file, write-json-file, write-pkg 2025-08-28 11:37:38 +02:00
Zoltan Kochan
491a84fb26 feat: use ESM instead of commonjs (#9870) 2025-08-25 10:02:00 +02:00
Zoltan Kochan
facd7656e8 refactor: always use extensions in relative imports (#9878) 2025-08-19 15:25:11 +02:00
Nikita Prokopov
43bd37f504 fix(reporting): remove whiteBright highlighting (#9389) 2025-04-08 18:41:26 +02:00
Zoltan Kochan
960f1f8d13 fix: make improvements to the update box (#9279)
close #9262
2025-03-13 14:50:59 +01:00
Brandon Cheng
b217edbfd8 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:47:58 +01:00
Zoltan Kochan
aa29bde199 feat: print pnpm version at the end of the console output (#9108) 2025-02-15 11:12:21 +01:00
Thomas Scholtes
7b9a9af38f 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:01:23 +01:00
v1rtl
acdf26d8cd refactor: replace strip-ansi with built-in util.stripVTControlCharacters (#9009) 2025-01-26 11:44:40 +01:00
Zoltan Kochan
ac5b9d8e16 feat!: ignore the NODE_ENV env variable (#8839)
close #8827
2024-12-15 20:24:51 +01:00
btea
e5d0063b42 fix: remove link to X from update notifier (#8773)
close #8770
2024-11-19 13:05:11 +01:00
Zoltan Kochan
eb8bf2a993 feat: self-update command (#8424) 2024-08-19 14:26:17 +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
Steven
9bfebc5b13 fix: update twitter.com to x.com (#8156) 2024-06-02 00:49:50 +02:00
Steven
48506e7e5b fix: update corepack install command for outdated version (#8121) 2024-06-01 13:28:52 +00:00
Brandon Cheng
c7e1b6fae8 chore: configure TypeScript project references for tests (#8128)
* refactor: store link values before converting to references

* fix: use .sort() without localeCompare

https://github.com/pnpm/pnpm/pull/8128#discussion_r1614031566

> Nit, but you probably just want to call sort without a comparison
> function; these are already strings and locale compare is not a good
> comparison for anything but human readable strings since it will
> differ on different people's machines based on their language setting.
> I've hit this too many times before for code gen.

* feat: configure meta-updater to write test/tsconfig.json files

* fix: relative imports for __typings__

* chore: `pnpm run meta-updater`

* fix: explicitly use test/tsconfig.json for ts-jest
2024-05-31 12:48:13 +02:00
Young Jin Park
e6428d85d7 fix: print correctly aggregate output when mixing stages (#7557)
close #7556
2024-01-25 23:43:22 +01:00
Zoltan Kochan
733d612ad1 test: check spelling with cspell (#7229) 2023-10-20 15:58:27 +03:00
Chris
ee328fd25e feat(reporter): add --hide-reporter-prefix option (#7086)
close #7061

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2023-09-23 03:56:36 +03:00
Zoltan Kochan
61b9ca1896 feat: print a summary about deprecated subdeps (#7090)
close #6707
2023-09-15 01:56:14 +03:00
Zoltan Kochan
bc5d3ceda9 feat(reporting): an option to hide directory location 2023-08-21 17:52:39 +03:00
Felix Wolfsteller
8a4dac63c3 feat(cli-output): harmonize download progress out (#6902)
When running the CLI, downloads will show their progress,
e.g. `1.12 MB/ 3 MB`, showing only significant digits.

As the output is constantly updated, the length of the line in the
output might constantly change (2.99 -> 3 -> 3.3 -> 3.33), leading
to a visually very noisy display.

close #6901

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2023-08-04 04:08:28 +03:00
Zoltan Kochan
751c157cd0 fix: don't print added stats when installing lockfile only (#6868)
Related PR: https://github.com/teambit/bit/pull/7703
2023-07-26 17:46:07 +03:00
Zoltan Kochan
31ca5a218b fix(reporter): don't print empty sections in summary 2023-04-17 21:51:58 +03:00
Zoltan Kochan
6cfaf31a13 feat(default-reporter): a new option added (#6373)
In order to filter out packages from the installation summary,
a filter function may be passed to the reporter: filterPkgsDiff.

This feature is only useful for Bit CLI currently.
Related PR: https://github.com/teambit/bit/pull/7176
2023-04-10 02:24:04 +03:00
await-ovo
af3e5559d3 fix(default-reporter): should print error summary as expected (#6345)
* fix(default-reporter): should print error summary as expected

* docs: add changeset
2023-04-03 16:33:46 +03:00
Zoltan Kochan
ee61ca4cb7 style: update eslint (#6236) 2023-03-18 14:57:29 +02:00
Zoltan Kochan
583e3954be fix: remove suppressImplicitAnyIndexErrors from typescript settings (#5991) 2023-01-28 18:19:26 +02:00
Zoltan Kochan
ec97a31057 fix: print a better error message on prepare pkg failure (#5847)
ref #5845
2023-01-01 23:28:33 +02:00
Zoltan Kochan
3f644a514d fix(reporter): update notifier instructions (#5750)
ref #5747
2022-12-06 01:49:38 +02:00
Zoltan Kochan
9cbe293876 refactor: put all non-public projects to directories that start with __ 2022-11-20 02:40:44 +02:00
Zoltan Kochan
4ca53b0b50 refactor: group projects in different subdirectories (#5659) 2022-11-20 01:35:22 +02:00