Commit Graph

33 Commits

Author SHA1 Message Date
Hiroshi Ogawa
d55b2595dd fix(dependency-path)!: escape # character in directory name (#8557) 2024-09-23 03:21:04 +02:00
Zoltan Kochan
dcd2917ec7 feat!: use sha256 for hashing long paths inside node_modules/.pnpm 2024-09-15 18:51:51 +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
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
Zoltan Kochan
c649954e41 refactor: create a separate type for DepPath (#8094) 2024-05-20 16:11:46 +02:00
Zoltan Kochan
9719a42d0e feat: configurable max length of directories inside node_modules/.pnpm (#7994)
close #7355
2024-04-28 11:07:29 +02:00
Zoltan Kochan
21878e7ae4 feat(lockfile)!: change the keys format (#7752) 2024-03-17 23:01:39 +01:00
Zoltan Kochan
46d38a8744 fix: parsing dependency path 2024-02-09 02:27:34 +01:00
Zoltan Kochan
862c707610 fix: converting dep path to file name (#7632)
close #7631
2024-02-09 01:51:29 +01:00
Zoltan Kochan
cdd83654dd feat!: don't include registry URL in package ID (#7476) 2024-01-08 11:57:44 +01:00
Zoltan Kochan
d381a6001c feat!: use dependency path format from lockfile v6 (#7470)
Drop lockfile v5 support.
2024-01-08 11:57:44 +01:00
Zoltan Kochan
94f94eed63 fix: installing local dep from directory that starts with @ (#6350)
close #6332
2023-04-04 02:36:30 +03:00
Zoltan Kochan
5087636b66 fix: installation of packages with () in scope name (#6349)
close #6348
2023-04-04 00:18:43 +03:00
Zoltan Kochan
ca8f51e60b feat: change the way directory names are shortened inside .pnpm 2023-02-10 16:30:00 +02:00
Zoltan Kochan
47e45d717d feat!: breaking config changes in v8 (#6035)
* auto-install-peers=true
* save-workspace-protocol=rolling
* publishConfig.linkDirectory true by default
* resolve-peers-from-workspace-root is true by default
* set dedupeDirectDeps to true by default in @pnpm/core.
2023-02-05 11:43:22 +02:00
Zoltan Kochan
9247f6781b fix: issues with storybook and the new lockfile format (#5998)
close #5976
2023-01-30 17:28:20 +02:00
Zoltan Kochan
0f6e95872a fix: lockfile v6 should not be corrupted on repeat install (#5905)
* fix: lockfile v6 should not be corrupted on repeat install

* fix: don't add empty specifiers to lockfile v6

* fix: lockfile v6 should be saved to node_modules/.pnpm/lock.yaml

* fix: frozen lockfile with lockfile v6
2023-01-10 11:41:17 +02:00
Zoltan Kochan
3ebce5db7a feat!: lockfile format v6 (#5810) 2023-01-09 14:37:05 +02:00
Zoltan Kochan
313702d76b refactor: all packages should be in the @pnpm scope (#5785) 2022-12-13 03:46:56 +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
c576955506 fix: sanitize dir names in the store (#4726)
close #4716
2022-05-13 13:28:22 +03:00
Zoltan Kochan
0a70aedb1c feat: use a shorter hash for dep path (#4552) 2022-04-13 12:05:07 +03:00
Zoltan Kochan
faf830b8f6 feat: improve dep path of local deps 2022-03-19 20:39:10 +02:00
Zoltan Kochan
6c418943c3 fix: don't break the lockfile if it has peer deps with underscores (#3546)
close #3542
2021-06-20 02:40:33 +03:00
Zoltan Kochan
20e2f235da fix: installing two packages with same name in different case (#3417) 2021-05-03 23:30:36 +03:00
Zoltan Kochan
9ceab68f06 fix: use + instead of # in package paths inside node_modules/.pnpm (#3314) 2021-04-07 01:07:13 +03:00
Zoltan Kochan
e4efddbd22 fix: don't use colon in path to dependency 2021-02-20 02:06:55 +02:00
Zoltan Kochan
f2bb5cbeba feat: reduce directory nesting in virtual store directory (#3117)
ref #3115
2021-02-04 02:18:09 +02:00
Zoltan Kochan
e27dcf0dcc refactor(dependency-path): add depPathToFilename() 2020-12-30 12:12:08 +02:00
Juan Picado
afa00997c2 test: use Jest instead of tape
PR #2894
2020-09-27 21:03:15 +03:00
Zoltan Kochan
1c8a02e996 style: use eslint instead of tslint
PR #2796
close #2300
2020-08-24 02:01:25 +03:00
Zoltan Kochan
41d92948b1 fix: installing tarballs from registry origin via non-standard URLs
close #2549
PR #2620
2020-06-09 10:55:02 +03:00
ExE Boss
4b56b860bc feat(dependency‑path): Expose peersSuffix
PR #2032

Co-Authored-By: Zoltan Kochan <zoltan.kochan@gmail.com>
2019-09-24 22:59:11 +03:00