Commit Graph

16 Commits

Author SHA1 Message Date
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
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
btea
81b8a0eacb fix(patch-remove): check if the parameters are valid (#9809) 2025-07-31 14:02:46 +02:00
Khải
0e596f60b8 refactor: use Object.hasOwn (#9674) 2025-06-20 17:49:28 +02:00
btea
17b7e9fbb3 fix(patch): saved path file should be relative path (#9403)
* fix(patch): saved path file should be relative path

* fix: update relative dir

* fix: update

* fix: paths in patchedDependencies should be normalized

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-04-14 11:42:14 +02:00
btea
31b19ae427 fix: patch-remove command failed to remove path file (#9374) 2025-04-07 14:10: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
Zoltan Kochan
0406d4ad3d refactor: use a branded type for project root dir paths (#8272) 2024-07-04 13:13:34 +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
btea
c1fee78a2f fix: remove empty patch dir (#7532)
---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2024-01-19 00:30:06 +01:00
btea
057927cd3b fix: remove patchedDependencies if all patch files are deleted (#6688) 2023-06-19 15:28:42 +03:00
Zoltan Kochan
4b97f1f07a perf: don't use await inside loops (#6617) 2023-06-05 12:12:47 +03:00
await-ovo
793eedb0b2 feat(plugin-commands-patching): add patch-remove command (#6521) 2023-05-09 22:38:30 +03:00