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
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
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
Khải
e8c2b173ca
fix(overrides): move invalid peers to prod deps ( #9000 )
...
close #8978
---------
Co-authored-by: Zoltan Kochan <z@kochan.io >
2025-01-28 18:00:59 +01:00
Khải
b7fb704522
feat(overrides): remove dependencies ( #8576 )
...
close #8572
2024-09-28 14:27:13 +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
0f0e44101d
fix: resolve catalogs in overrides ( #8321 )
...
close #8303
2024-07-22 01:35:30 +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
Khải
b1d7f8c6cf
fix(override): relative file in workspace ( #8055 )
...
close #8053
---------
Co-authored-by: Zoltan Kochan <z@kochan.io >
2024-05-10 23:31:33 +02:00
Khải
04310be557
fix(overrides): relative file: ( #7966 )
...
close #7858
2024-04-19 15:42:49 +02:00
Khải
984b976672
refactor: replace deprecated jest methods ( #7840 )
2024-03-29 00:03:58 +01:00
Zoltan Kochan
aa33269f9f
fix: peer dependency rules should not change the lockfile ( #7758 )
...
* fix: peer dependency rules should not change the lockfile
* test: fix
* fix: hide peer issues warning if there nothing to report
2024-03-13 17:55:18 +01:00
PalmPam
0963390d9d
fix: link overrides should be able to use absolute path ( #7749 )
2024-03-10 14:36:37 +01:00
Khải
730929e330
feat: pnpm.ignoredOptionalDependencies ( #7714 )
2024-02-28 13:46:29 +00:00
Zoltan Kochan
733d612ad1
test: check spelling with cspell ( #7229 )
2023-10-20 15:58:27 +03:00
Nacho Aldama
64bf3c860a
fix: override peerDependencies in pnpm.overrides ( #6955 )
...
сlose #6759
2023-08-17 19:47:49 +03:00
Andrew Leedham
ec50dc98cc
fix(overrides): filter overrides by intersection instead of subset ( #6904 )
...
close #6878
2023-08-04 17:39:43 +03:00
await-ovo
df107f2ef9
fix: should use the one with parent syntax when both override rules match the same target ( #6266 )
...
close #6210
2023-03-24 14:47:12 +02:00
Zoltan Kochan
ee61ca4cb7
style: update eslint ( #6236 )
2023-03-18 14:57:29 +02:00
jereklas
d583fbb2ad
fix: allowedVersions corner case when only parent>child selectors exist ( #6148 )
2023-02-28 14:57:02 +02:00
jereklas
f39d608acb
feat: add parent>child selector syntax to allowedVersions for peer dependency override capability ( #6108 )
...
Co-authored-by: Zoltan Kochan <z@kochan.io >
2023-02-25 02:32:29 +02:00
bohan
308eb2c9bc
fix: use Map to prevent odd manifest name ( #6031 )
...
close #6010
2023-02-03 19:11:47 +02:00
Zoltan Kochan
583e3954be
fix: remove suppressImplicitAnyIndexErrors from typescript settings ( #5991 )
2023-01-28 18:19:26 +02:00
Zoltan Kochan
b11a8c363c
fix: it should possible to use abolute file paths in overrides ( #5757 )
...
close #5754
2022-12-06 11:36:47 +02:00
await-ovo
924eca2937
fix(read-package-hook): resolve file overrides should relative to root directory ( #5712 )
...
close #5493
Co-authored-by: Zoltan Kochan <z@kochan.io >
2022-11-30 03:31:43 +02:00
Zoltan Kochan
4ca53b0b50
refactor: group projects in different subdirectories ( #5659 )
2022-11-20 01:35:22 +02:00