Zoltan Kochan
4a36b9a110
refactor: rename internal packages to @pnpm/<domain>.<leaf> convention ( #10997 )
...
## Summary
Rename all internal packages so their npm names follow the `@pnpm/<domain>.<leaf>` convention, matching their directory structure. Also rename directories to remove redundancy and improve clarity.
### Bulk rename (94 packages)
All `@pnpm/` packages now derive their name from their directory path using dot-separated segments. Exceptions: `packages/`, `__utils__/`, and `pnpm/artifacts/` keep leaf names only.
### Directory renames (removing redundant prefixes)
- `cli/cli-meta` → `cli/meta`, `cli/cli-utils` → `cli/utils`
- `config/config` → `config/reader`, `config/config-writer` → `config/writer`
- `fetching/fetching-types` → `fetching/types`
- `lockfile/lockfile-to-pnp` → `lockfile/to-pnp`
- `store/store-connection-manager` → `store/connection-manager`
- `store/store-controller-types` → `store/controller-types`
- `store/store-path` → `store/path`
### Targeted renames (clarity improvements)
- `deps/dependency-path` → `deps/path` (`@pnpm/deps.path`)
- `deps/calc-dep-state` → `deps/graph-hasher` (`@pnpm/deps.graph-hasher`)
- `deps/inspection/dependencies-hierarchy` → `deps/inspection/tree-builder` (`@pnpm/deps.inspection.tree-builder`)
- `bins/link-bins` → `bins/linker`, `bins/remove-bins` → `bins/remover`, `bins/package-bins` → `bins/resolver`
- `installing/get-context` → `installing/context`
- `store/package-store` → `store/controller`
- `pkg-manifest/manifest-utils` → `pkg-manifest/utils`
### Manifest reader/writer renames
- `workspace/read-project-manifest` → `workspace/project-manifest-reader` (`@pnpm/workspace.project-manifest-reader`)
- `workspace/write-project-manifest` → `workspace/project-manifest-writer` (`@pnpm/workspace.project-manifest-writer`)
- `workspace/read-manifest` → `workspace/workspace-manifest-reader` (`@pnpm/workspace.workspace-manifest-reader`)
- `workspace/manifest-writer` → `workspace/workspace-manifest-writer` (`@pnpm/workspace.workspace-manifest-writer`)
### Workspace package renames
- `workspace/find-packages` → `workspace/projects-reader`
- `workspace/find-workspace-dir` → `workspace/root-finder`
- `workspace/resolve-workspace-range` → `workspace/range-resolver`
- `workspace/filter-packages-from-dir` merged into `workspace/filter-workspace-packages` → `workspace/projects-filter`
### Domain moves
- `pkg-manifest/read-project-manifest` → `workspace/project-manifest-reader`
- `pkg-manifest/write-project-manifest` → `workspace/project-manifest-writer`
- `pkg-manifest/exportable-manifest` → `releasing/exportable-manifest`
### Scope
- 1206 files changed
- Updated: package.json names/deps, TypeScript imports, tsconfig references, changeset files, renovate.json, test fixtures, import ordering
2026-03-17 21:50:40 +01:00
Zoltan Kochan
5d5818e44f
style: enforce node: protocol for builtin imports ( #10951 )
...
Add n/prefer-node-protocol rule and autofix all bare builtin imports
to use the node: prefix. Simplify the simple-import-sort builtins
pattern to just ^node: since all imports now use the prefix.
2026-03-13 07:59:51 +01:00
Zoltan Kochan
1c8c4e49f5
style: add eslint-plugin-simple-import-sort ( #10947 )
...
Add eslint-plugin-simple-import-sort to enforce consistent import ordering:
- Node.js builtins first
- External packages second
- Relative imports last
- Named imports sorted alphabetically within each statement
2026-03-13 02:02:38 +01:00
Brandon Cheng
01914345d5
build: enable @typescript-eslint/no-import-type-side-effects ( #10630 )
...
* build: enable `@typescript-eslint/no-import-type-side-effects`
* build: disable `@typescript-eslint/consistent-type-imports`
* chore: apply fixes for `no-import-type-side-effects`
pnpm exec eslint "**/src/**/*.ts" "**/test/**/*.ts" --fix
2026-03-08 00:02:48 +01:00
Zoltan Kochan
e18a879d72
feat!: drop Node.js 22.12 support
2026-02-18 14:54:09 +01:00
Zoltan Kochan
1b4df57a01
feat!: drop Node.js 20 and 21 support ( #10569 )
2026-02-08 19:16:24 +01:00
Zoltan Kochan
e3b35b6f37
style: update eslint to v9 ( #10474 )
2026-01-17 12:01:23 +01:00
Zoltan Kochan
a00f9e515c
chore: use typescript-go ( #10452 )
2026-01-14 01:18:13 +01:00
Brandon Cheng
db72923b5c
fix: forward $NODE_OPTIONS when running jest for debug terminals ( #10364 )
...
* fix: forward existing `$NODE_OPTIONS` when running jest
* chore: update `package.json` files for meta-updater changes
---------
Co-authored-by: Zoltan Kochan <z@kochan.io >
2025-12-27 22:10:52 +01:00
Ryo Matsukawa
b51bb42da5
feat!: support lowercase options in pnpm add (-d, -p, -o, -e) ( #10079 )
...
close #9197
2025-11-17 23:52:11 +01:00
Zoltan Kochan
7e2910e70f
chore(release): 11.0.0-alpha.0
2025-11-13 15:44:27 +01:00
Zoltan Kochan
dab9abef5c
Merge remote-tracking branch 'origin/main' into v11
2025-10-24 14:19:07 +02:00
Zoltan Kochan
0cde1287c8
chore: update repository fields
2025-10-23 11:57:12 +02:00
Zoltan Kochan
cb0c5b94c6
Merge remote-tracking branch 'origin/main' into v11
2025-09-19 14:31:36 +02:00
Zoltan Kochan
ea44ff979f
chore(release): 10.16.1
2025-09-13 19:20:27 +02:00
Zoltan Kochan
6f861bccaa
Merge remote-tracking branch 'origin/main' into v11
2025-09-12 22:35:14 +02:00
Zoltan Kochan
a3c1498403
chore(release): 10.16.0
2025-09-12 14:24:30 +02:00
Zoltan Kochan
46a65def8e
Merge remote-tracking branch 'origin/main' into v11
2025-08-29 13:30:11 +02:00
Zoltan Kochan
cf9f14aa9e
fix: update tempy
2025-08-28 14:00:51 +02:00
Zoltan Kochan
491a84fb26
feat: use ESM instead of commonjs ( #9870 )
2025-08-25 10:02:00 +02:00
Zoltan Kochan
27cbc09206
style: fix jest-related linting issues ( #9894 )
2025-08-22 21:56:49 +02:00
Zoltan Kochan
979ce80c87
chore(release): 10.15.0
2025-08-19 17:50:28 +02:00
Zoltan Kochan
7d2fd48215
feat!: drop Node.js 18 support ( #9858 )
2025-08-14 14:06:03 +02:00
Khải
778ba1e632
fix(dlx): regression with --help ( #9830 )
...
Fixes https://github.com/pnpm/pnpm/issues/9823
2025-08-09 02:05:49 +02:00
Zoltan Kochan
a4d654807c
chore(release): 10.14.0
2025-07-31 15:00:26 +02:00
Zoltan Kochan
fb9de7ac3a
chore(release): 10.14.0-0
2025-07-23 14:54:13 +02:00
btea
4a8243a00d
chore: package.json add type field ( #9765 )
...
* chore: `package.json` add type field
* chore: add type field to every package.json
* chore: add type field to every package.json
---------
Co-authored-by: Zoltan Kochan <z@kochan.io >
2025-07-20 03:21:46 +02:00
Khải
6bcfa69964
feat(cli): parse options after dlx ( #9735 )
...
close #9719
2025-07-10 01:23:40 +02:00
Zoltan Kochan
5e78da2d57
style: order the keys in package.json files
2025-03-01 21:45:13 +01:00
Zoltan Kochan
70d565cf79
chore(release): 10.5.1
2025-02-26 12:56:43 +01:00
Zoltan Kochan
0e9fff7bef
chore(release): 10.5.0
2025-02-25 12:27:14 +01:00
Naru
48b487177e
fix: allow scope registry cli option without --config. prefix ( #9089 )
...
close #9084 .
close #9085
2025-02-25 02:29:39 +01:00
Zoltan Kochan
c5a0b9ea43
chore(release): 10.1.0
2025-01-26 22:26:45 +01:00
Zoltan Kochan
3278c588cd
chore(release): 10.0.0-rc.0
2024-12-16 02:31:45 +01:00
Zoltan Kochan
3fe70e7897
refactor!: all lib versions should start with pnpm major version
2024-11-29 01:04:45 +01:00
Zoltan Kochan
9fcc7e808e
chore(release): 10.0.0-beta.0
2024-11-28 12:35:01 +01:00
Zoltan Kochan
26a910cbf8
chore(release): 10.0.0-alpha.0
2024-10-28 04:16:49 +01:00
Zoltan Kochan
0309365fda
chore(release): 9.12.3
2024-10-28 03:11:09 +01: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
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
26b065c193
feat: automatically switch to the right pnpm version ( #8363 )
...
close #8360
2024-08-06 21:59:43 +02:00
Simon He
b6acfcf8d1
refactor(cli): conditional branch ( #8290 )
2024-07-08 16:03:17 +02:00
Zoltan Kochan
79830ff0b9
chore: use catalogs
2024-06-27 21:18:27 +02:00
Zoltan Kochan
7678113d79
chore: use catalogs ( #8249 )
2024-06-27 17:22:38 +02: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
Brandon Cheng
5de89d81a6
chore: remove top-level composite property from tsconfig.json files ( #8130 )
...
* chore: remove no-op composite property
* chore: remove top-level composite property from existing files
2024-05-28 02:37:40 +02:00
Zoltan Kochan
c8655b465e
chore(release): libs
2024-05-12 01:57:58 +02:00
Khải
1effaf012d
refactor(cli): return type annotations ( #7920 )
2024-04-13 22:36:31 +02:00