Commit Graph

9501 Commits

Author SHA1 Message Date
Zoltan Kochan
e03cd44ccb docs: update sponsors 2025-02-06 01:07:32 +01:00
Zoltan Kochan
9843aedd76 fix: don't read from side-effects cache packages that aren't allowed to be built (#9047)
close #9042
2025-02-06 00:12:54 +01:00
Zoltan Kochan
afbb65495e fix: running approve-builds from a subdirectory of a workspace (#9048) 2025-02-05 23:45:26 +01:00
Zoltan Kochan
bdaf892000 test: fix self-update test 2025-02-03 23:31:15 +01:00
Zoltan Kochan
a70a355c52 ci: new versions should be tagged with latest-10
close #9031
2025-02-03 22:10:16 +01:00
Zoltan Kochan
17d6494ef4 chore: use pnpm v10.2 2025-02-03 22:08:55 +01:00
Zoltan Kochan
97e0f5da61 chore(release): 10.2.0 v10.2.0 2025-02-03 18:32:38 +01:00
Zoltan Kochan
b5ba5350bf feat(dlx): add an option to dlx for providing a list of deps that are allowed to run install scripts (#9026) 2025-02-03 14:46:28 +01:00
Khải
a08a5a9896 fix(deploy): current directory as source (#9030)
close #9001
2025-02-03 14:21:41 +01:00
pralkarz
1e229d701d chore: replace lodash.clonedeep with the built-in structuredClone (#9028) 2025-02-02 22:27:19 +01:00
btea
5d7192c3de fix: exit approve-builds command when getAutomaticallyIgnoredBuilds return empty list (#9024)
* fix: exit `approve-builds` command when `getAutomaticallyIgnoredBuilds` return empty list

* feat: print an info message when there are no packages to approve

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-02-02 22:02:27 +01:00
btea
926542cc09 chore: remove unecessary number type (#9027) 2025-02-02 21:49:30 +01:00
Zoltan Kochan
4af6f8f99b chore: turn on optimistic-repeat-install 2025-02-02 11:33:41 +01:00
Zoltan Kochan
ffc667809c chore: update lockfile 2025-02-02 11:19:19 +01:00
Zoltan Kochan
df63e8b388 docs: update SECURITY.md
close #8981
2025-01-30 00:10:19 +01:00
Junxiao Shi
c0d1c0191b fix(lifecycle): properly quote args (#9018)
* fix(lifecycle): properly quote args

close #8980
close #7641
2025-01-29 23:32:46 +01:00
Zoltan Kochan
a2a4509af5 fix: sort keys in pnpm.onlyBuiltDependencies 2025-01-29 11:06:23 +01:00
Zoltan Kochan
bb1ac27463 chore: add list of dependencies that are allowed to be built 2025-01-29 09:41:13 +01:00
mato533
d6a4ff1892 feat(git-resolver): respect proxy settings when resolving git (#9016)
close: #6530
2025-01-28 18:48:37 +01: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
Zoltan Kochan
c63c4ea8b6 chore: update pnpm to v10.1 2025-01-27 10:46:57 +01:00
Zoltan Kochan
c5a0b9ea43 chore(release): 10.1.0 v10.1.0 2025-01-26 22:26:45 +01:00
Zoltan Kochan
aabbc5bc20 docs: fix changeset 2025-01-26 22:24:17 +01:00
Zoltan Kochan
3540b5f38e chore: update changesets in deps 2025-01-26 22:20:04 +01:00
btea
2b49ee77c7 fix: install dependencies execute preprepare and postprepare scripts (#8989)
* fix: install dependencies execute preprepare script

* chore: remove unnecessary code

* fix: postprepare should run

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-01-26 20:31:00 +01:00
Patrick Kerschbaum
0858c0660d test: add tests for pnpm rebuild in deployed packages (#8990)
* test: implement e2e test cases for "pnpm deploy" and "pnpm rebuild" lifecycle scripts things

* test(plugin-commands-deploy): add test case for keeping files created by lifecycle scripts

* improve

* test: remove try-catch for now

* refactor: prefer `expectSuccess`

* test: specify `rootProjectManifest[Dir]`

* refactor: prefer `expectSuccess` at more places

* test: fix test case

* test: fix test case

* test: remove undesired package.json modification

---------

Co-authored-by: khai96_ <hvksmr1996@gmail.com>
2025-01-26 19:51:31 +01:00
Richard Peach
b562debaf4 fix: deploy should maintain type on new manifest (#9002) 2025-01-26 19:41:05 +01:00
Khải
9a44e6ce87 fix(deploy): inherit pnpm from the root manifest (#8991)
* fix(deploy): inherit `pnpm` from the root manifest

* fix: eslint

* refactor: share code

* test: add

* fix: eslint

* fix: remove duplicate dep from package.json
2025-01-26 17:26:16 +01:00
Ryan
cb33ff59d2 ci: update winget releaser action (#8985) 2025-01-26 12:02:14 +01:00
Khải
f3ffaed009 feat(install): option to disable fast reinstall (#8977) 2025-01-26 11:53:16 +01:00
v1rtl
acdf26d8cd refactor: replace strip-ansi with built-in util.stripVTControlCharacters (#9009) 2025-01-26 11:44:40 +01:00
btea
b65303dc6c fix: check package name when run publish (#8973)
* fix: check package name when run publish

* feat: use validate-npm-package-name

* Update .changeset/cuddly-items-own.md
2025-01-25 20:38:34 +01:00
Khải
5c8654f300 fix: check for delete modules dir in sub-project (#8967)
* fix: check for delete modules dir in sub-project

Fixes https://github.com/pnpm/pnpm/issues/8959

* docs: remove todo

* refactor: merge branching

* docs: explain

* fix: actually return `upToDate: false`

* test: issue 8959

* test: add assertions to `multiProjectWorkspace.ts`

* feat: delete `optionalDependencies`

* fix: filtered install
2025-01-25 19:42:57 +01:00
Zoltan Kochan
961dc5d29d feat: add ignored-builds command (#8963)
* feat: add ignored-builds command

* test: ignored-builds

* test: ignored-builds

* fix: document the new command

* refactor: update text

* feat: add approve-builds command

* feat: rebuild approved packages

* fix: ignored builds

* feat: add final approval prompt

* test: approve builds

* refactor: approve-builds
2025-01-25 18:51:35 +01:00
Khải
0bc7a3f746 refactor: replace statIfExists with safeStat (#8966) 2025-01-14 01:04:10 +01:00
btea
7a9473b237 fea: pnpm.ignoredBuiltDependencies for muting warnings about ignored dependency builds (#8958)
close #8935

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-01-12 02:17:44 +01:00
Zoltan Kochan
040e67b88d fix: don't print patched dependencies in list of non-built deps (#8961)
close #8952
2025-01-11 02:20:12 +01:00
Khải
c96eb2b042 fix(lifecycle): skip verify for install hooks (#8957)
close #8954

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-01-10 23:14:27 +01:00
Zoltan Kochan
4ca321903c ci: print only the major Node.js version in the job name 2025-01-10 13:24:05 +01:00
Zoltan Kochan
ab74e6a169 ci: pin Node.js versions
Sometimes new versions of Node.js make pnpm fail. We are spending more time than needed to investigate such issues because we cannot know that a new Node.js version got installed in CI
2025-01-09 01:56:29 +01:00
Khải
ea58bfdc47 fix(validatePeerDependencies): allow combinations (#8946) 2025-01-08 11:31:37 +01:00
Zoltan Kochan
c27856e789 chore: update pnpm to v10.0 2025-01-07 15:49:40 +01:00
Zoltan Kochan
42ecf04fd0 chore(release): 10.0.0 v10.0.0 2025-01-07 15:28:17 +01:00
Khải
26fe99440d feat!: prevent nonsense peerDependencies (#8942)
* feat!: prevent nonsense `peerDependencies`

close #8934

* fix: eslint

* feat: refuse aliases

* feat: only validate packages from the workspace

* refactor: change call signature and error messages

* docs(hint): improve wordings

* docs: add quotes to make it more readable

* test: remove `use-`
2025-01-07 14:55:22 +01:00
Zoltan Kochan
e050221384 fix: pnpm link should keep the indentations in the updated manifest 2025-01-07 02:48:02 +01:00
Zoltan Kochan
c0c63ef5b5 docs: update years 2025-01-07 02:47:01 +01:00
Fotis Papadogeorgopoulos
dde650b96f fix: ensure that recursive pnpm update --latest <pkg> updates only the specified package (#8933)
* test(pnpm): expand dedupePeers test to account for other dependencies in same package

Previously, this test only asserted that _other_ monorepo packages were unaffected,
but it did not check other dependencies of the _same_ monorepo package.

* fix: ensure that recursive update --latest only updates matched packages

* fix: move update check to resolveDependendency

* refactor: move updateToLatest conditional up in resolveDependency

* refactor: make update types mutually exclusive in resolveDependencies

* refactor: rename 'in-range' update type to 'compatible'

Co-authored-by: Zoltan Kochan <z@kochan.io>

* refactor: use update union type in package-requester and store-controller-type

* docs: add changesets

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-01-07 02:08:26 +01:00
Zoltan Kochan
c5080ded56 chore(release): 10.0.0-rc.3 v10.0.0-rc.3 2025-01-05 13:26:28 +01:00
yuna0x0
b28a533507 fix(pack): missing end of line anchor in package.json regex filter (#8938) 2025-01-05 12:18:27 +01:00
Zoltan Kochan
cc3bbc950d fix: don't load side-effects cache for packages that are not allowed to be built (#8901)
* fix: don't read ignored deps from side effects cache

* test: fix

* test: fix
2025-01-05 03:17:54 +01:00