Commit Graph

10667 Commits

Author SHA1 Message Date
Zoltan Kochan
a5b36b7355 fix: don't remove ignored builds list on repeat install (#9083)
close #9045
2025-02-12 01:30:44 +01:00
btea
b60661af3b fix: do not output ignored scripts warnings and error messages at the same time (#9078)
Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-02-11 22:29:07 +01:00
btea
483384af68 feat: init command create file add packageManager field (#9069)
close #9068

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-02-11 11:30:11 +01:00
btea
4304d8e3e7 fix: packageManager specified version should not start with v (#9057)
close #9046

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-02-11 02:16:18 +01:00
Zoltan Kochan
1dc2804f7a chore(release): 10.3.0 v10.3.0 2025-02-11 00:34:43 +01:00
Zoltan Kochan
f6006f2b4b feat: add an option to fail on unapproved dependency builds (#9071) 2025-02-11 00:26:25 +01:00
Zoltan Kochan
e209a3559f chore: override request with postmap-request 2025-02-10 15:46:40 +01:00
Zoltan Kochan
2d21dedda1 chore: update registry-mock to v4 2025-02-10 15:18:47 +01:00
Zoltan Kochan
371734043a fix: make the warning about blocked install scripts more prominent (#9067) 2025-02-09 01:34:18 +01:00
Zoltan Kochan
c52f55af30 refactor: create exec.pnpm-cli-runner (#9064) 2025-02-08 22:34:19 +01:00
Khải
265946bb6d fix: verify-deps-before-run after install --prod|--no-optional (#9055)
close #9019
2025-02-07 12:36:58 +01:00
Zoltan Kochan
31fdf358ac ci: update pnpm/action-setup to v4.1.0 2025-02-06 22:34:42 +01:00
Zoltan Kochan
d40dfebdca chore(release): 10.2.1 v10.2.1 2025-02-06 20:00:29 +01:00
Zoltan Kochan
e9d8f48987 fix: add hints to the error on deploy (#9051) 2025-02-06 11:10:20 +01:00
Zoltan Kochan
43e8a79b14 fix: normalize the pnpm version from the packageManager field (#9049) 2025-02-06 10:44:53 +01:00
Zoltan Kochan
96cdfa3958 fix(deploy): legacy deploy should work without injected dependencies (#9050) 2025-02-06 01:17:18 +01:00
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