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
Zoltan Kochan
3a5bfaa94f
chore: update zkochan packages to latest versions ( #10930 )
...
Update all packages from zkochan/packages to their latest major versions
and exclude them from minimumReleaseAge requirement. This includes
updating catalog entries, adapting to breaking API changes (default
exports replaced with named exports, sync functions renamed with Sync
suffix), and updating type declarations.
2026-03-11 13:47:46 +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
Johan Quan Vo
7b1c189f2e
feat!: remove deprecated patch options ( #10505 )
...
* refactor: remove allowNonAppliedPatches
* refactor: remove ignorePatchFailures
* refactor: remove `strict` field in groupPatchedDependencies
* test: update test failure in package patching
* test: fix
* docs: update changesets
---------
Co-authored-by: Zoltan Kochan <z@kochan.io >
2026-01-27 17:08:45 +01:00
Zoltan Kochan
f307b9a130
Merge remote-tracking branch 'origin/main' into v11
2025-09-24 10:51:53 +02:00
xiaoliyooo
6633eb3eb0
fix: fix the state.json creation path when execute pnpm patch in sub package ( #9733 )
...
---------
Co-authored-by: Zoltan Kochan <z@kochan.io >
2025-09-20 02:51:23 +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
Zoltan Kochan
8a9f3a4835
refactor: rename pref to bare specifier ( #9445 )
2025-04-20 22:58:08 +02:00
btea
013285a01b
fix: patch command error message add editDir ( #9363 )
2025-04-03 07:34:57 +02:00
btea
e9e4c594e6
feat: setting patchedDependencies write to pnpm-workspace.yaml ( #9248 )
...
close #9305
Co-authored-by: Zoltan Kochan <z@kochan.io >
2025-03-19 16:56:18 +01:00
btea
e1a5fbc592
fix: terminalLink does not support ( #9277 )
2025-03-13 12:16:27 +01:00
Khải
0f35416e6e
fix(patching): reuse patch without version ( #8936 )
...
close #8919
2025-01-04 11:33:42 +01:00
Rantetsu Inori
f74070d72f
fix: command suggestion to apply patch on Windows ( #8851 )
...
close #7546
---------
Co-authored-by: Zoltan Kochan <z@kochan.io >
2024-12-20 10:38:17 +01:00
btea
da3fa97c8d
fix: should not delete state.json info after apply patch ( #8401 )
...
* fix: should not delete state.json info after apply patch
* Update .changeset/yellow-dodos-press.md
Co-authored-by: Khải <hvksmr1996@gmail.com >
* Update .changeset/yellow-dodos-press.md
Co-authored-by: Khải <hvksmr1996@gmail.com >
* test: patch-commit multiple times
* refactor: remove unused deleteEditDirState
* fix: read patch state from correct directory
---------
Co-authored-by: Khải <hvksmr1996@gmail.com >
Co-authored-by: Zoltan Kochan <z@kochan.io >
2024-08-15 02:09:49 +02:00
Khải
ed2bc5d161
fix(patching): commit now accepts relative path ( #8405 )
...
* fix(patching): commit now accepts relative path
* fix: correct the solution
* fix: correct again
* test: fix
* refactor: revert not needed changes
---------
Co-authored-by: Zoltan Kochan <z@kochan.io >
2024-08-13 00:54:12 +02:00
Khải
1731386aa7
feat(patching): move edit dir to node_modules ( #8379 )
...
---------
Co-authored-by: Zoltan Kochan <z@kochan.io >
2024-08-07 01:57:53 +02:00
Khải
cb006df38c
feat(patching): apply patch to all versions ( #8337 )
...
Related issue: #5686
2024-08-01 15:05:15 +02:00
Christoph Nakazawa
fd884c1915
fix(patch): improve printing of the pnpm patch command ( #8239 )
...
* style(patch): improve printin of the `pnpm patch` command
* fix: add missing dep
* test: fix
---------
Co-authored-by: Zoltan Kochan <z@kochan.io >
2024-06-28 01:28:00 +02:00
Khải
ffd3dc3b37
refactor(patching): return type annotations ( #7872 )
...
* refactor(patching): return type annotations
* lint: fix
* refactor(patching): type alias
2024-04-08 21:33:49 +02:00
Ahmed Abdelbaset
06ac802b04
fix(patch-commit): wrap out patch dir in quotes in the log statement ( #7437 )
2023-12-18 10:52:06 +01:00
Hiroshi Ogawa
2dfc8c80af
fix(plugin-commands-patching): fix reusing existing patch when shared-workspace-file=false ( #7252 )
2023-11-07 01:13:44 +02:00
Zoltan Kochan
ee61ca4cb7
style: update eslint ( #6236 )
2023-03-18 14:57:29 +02:00
await-ovo
185ab01adf
feat: when patch package does not specify a version, use locally installed version by default. ( #6197 )
...
close #6192
2023-03-13 16:40:21 +02:00
Zoltan Kochan
50ecad2390
refactor: move plugin-commands-patching
2023-01-13 18:36:31 +02:00