Khải
cc7c0d22df
refactor!: replace npm publish with libnpmpublish (#10591)
* chore(deps): add `libnpmpublish` to catalog
* chore(deps): install `libnpmpublish`
* feat: publishableManifest (wip)
* feat: publishableManifest (wip)
* chore(cspell): libnpmpublish
* test: fix
* feat: validate field and version
* chore: @npm/types
* chore: todo
* refactor: reorganize
* feat: transformRequiredFields
* chore(deps): patch `libnpmpublish`
* fix: `BaseManifest.config`
* fix: eslint
* chore(git): revert a patch that doesn't work
This reverts commit 45f2c6a6c2.
We will use type casting
* feat: `engines.runtime`
* feat: normalize bin
* fix: `bin === ''`
* test: fix
* refactor: inference friendly
* feat: `peerDependenciesMeta`
* refactor: group into a directory
* refactor: use `ramda.pipe`
* refactor: less intrusive type assertion
* feat!: returning `ExportedManifest`
* refactor: remove unnecessary file
* docs: add a todo
* refactor: getNetworkConfigs (#10458)
Some tests are added as a bonus
* feat: `publishPackedPkg` (wip)
* feat: replace `\t` with 4 spaces
* fix: newline
* fix: newline
* refactor: extract `FailedToPublishError`
* test: FailedToPublishError
* feat: registryConfigKeys
* feat: `publishPackedPkg` (wip)
* feat(config/getNetworkConfigs): load auth info
* feat(config/getNetworkConfigs): load auth info (#10491)
* feat: `publishPackedPkg` (wip)
* refactor: extract a `static` function
* fix: inheritance, override, and merge
* feat: `executeTokenHelper`
* fix: use the visible `globalWarn`
* feat: add options
* feat: add more options
* docs: more links
* fix: private packages
* fix: --dry-run
* feat: log more things
* fix: name
* fix: tag
* refactor: remove extraneous `assertPublicPackage`
* feat: use `publishPackedPkg` for directories
* refactor: require only necessary fields
* refactor: extractManifestFromPacked
* fix: extractManifestFromPacked
* test: extractManifestFromPacked
* feat: isTarballPath
* feat: use `publishPackedPkg` for tarballs
* style: add an empty line for clarity
* refactor: remove unnecessary works
* feat: --otp
* feat: PNPM_CONFIG_OTP
* feat: oidc
* test: fix name collision
* fix: eslint
* test: disable a false test
* feat: set `provenance`
* docs(todo): auto provenance
* refactor: run oidc in `createPublishOptions`
* fix: correct auth keys for `libnpmpublish`
* docs: changeset
* fix: incorrect `password` field
* fix: typo, grammar
* chore(git): resolve merge conflict ahead of time
In preparation for https://github.com/pnpm/pnpm/pull/10385
* fix: field name
* fix(config): decoding `_password`
* fix: edge case of partial `cert`/`key`
* fix: ensure `registry` always match its config key
* fix: `_password`
* test: correct a name
* test: more specific assertions
* fix: grammar
* docs(changeset): fix grammar
* docs: fix grammar
* fix: clean up after failure
* test: fix windows
* feat(provenance): auto detect
* refactor: consistent name
* fix: correct error names
* refactor: extract the `provenance` code
* feat: show code and body of an error
* refactor: use `encodeURIComponent`
* refactor: rename a type
* refactor: use the try-catch model
* refactor: move `normalizeBinObject`
* refactor: split `oidc` into `idToken` and `authToken`
* refactor: run `next` on `stream`'s `'end'`
* fix: use the correct encoding
* feat: guard against weird names
* test: `transform/engines`
Closes https://github.com/pnpm/pnpm/pull/10599
* test: `transformPeerDependenciesMeta`
Closes https://github.com/pnpm/pnpm/pull/10600
* refactor: dependency inject the `Date` too
* refactor: export an interface
* test: oidc
Closes https://github.com/pnpm/pnpm/pull/10598
* refactor: re-arrange imports
* refactor: remove unnecessary type casts
* refactor: improve test
2026-02-12 21:10:54 +01:00
..
2025-12-22 14:57:45 +01:00
2025-11-29 11:37:57 +01:00
2025-12-01 14:27:18 +01:00
2025-12-10 12:14:16 +01:00
2025-12-28 02:01:09 +01:00
2026-02-11 02:19:43 +01:00
2025-12-27 12:21:19 +01:00
2025-11-29 14:55:02 +01:00
2026-01-27 16:25:58 +01:00
2026-01-24 21:41:11 +01:00
2026-01-24 21:36:39 +01:00
2025-12-30 17:04:05 +01:00
2026-02-11 02:32:54 +01:00
2025-12-22 17:28:52 +01:00
2025-12-13 22:14:27 +01:00
2024-01-09 23:43:00 +01:00
2026-01-16 17:31:04 +01:00
2025-10-30 11:34:48 +01:00
2026-01-09 18:04:57 +01:00
2025-12-21 12:01:18 +01:00
2025-11-27 14:08:12 +01:00
2026-01-17 14:35:41 +01:00
2026-01-27 01:37:26 +01:00
2026-01-26 07:06:36 +01:00
2025-12-23 12:26:59 +01:00
2026-02-06 15:59:22 +01:00
2025-11-22 16:27:15 +01:00
2025-12-22 14:36:46 +01:00
2026-02-06 16:31:47 +01:00
2026-01-02 12:22:42 +01:00
2025-12-17 11:24:32 +01:00
2025-11-14 15:19:36 +01:00
2025-10-28 17:09:15 +01:00
2025-12-30 19:02:27 +01:00
2025-12-21 15:49:47 +01:00
2025-12-06 16:32:19 +01:00
2025-12-22 12:26:14 +01:00
2025-12-08 11:33:30 +01:00
2026-02-11 02:05:45 +01:00
2025-10-31 17:12:50 +01:00
2025-11-06 15:13:51 +01:00
2025-12-22 14:36:46 +01:00
2025-10-31 17:12:50 +01:00
2025-12-08 11:18:24 +01:00
2025-12-23 12:26:59 +01:00
2026-02-06 17:13:15 +01:00
2025-08-25 10:02:00 +02:00
2025-12-12 14:00:54 +01:00
2025-12-22 23:05:40 +01:00
2026-01-16 20:36:40 +01:00
2026-01-27 15:52:31 +01:00
2026-01-26 01:30:08 +01:00
2026-01-21 15:46:41 +01:00
2026-01-16 19:38:02 +01:00
2026-02-10 12:05:17 +01:00
2025-12-27 12:21:19 +01:00
2026-02-11 00:38:35 +01:00
2025-12-12 17:08:06 +01:00
2026-02-06 17:28:39 +01:00
2026-01-16 01:49:24 +01:00
2026-01-21 15:45:56 +01:00
2026-01-15 17:10:17 +01:00
2025-12-08 11:18:24 +01:00
2026-02-06 18:53:10 +01:00
2026-02-09 15:05:09 +01:00
2025-11-12 14:07:18 +01:00
2025-12-12 20:19:36 +01:00
2026-02-06 14:03:08 +01:00
2025-10-13 14:38:40 +02:00
2026-01-02 12:22:42 +01:00
2025-12-29 02:06:31 +01:00
2026-01-24 21:36:39 +01:00
2026-01-15 11:32:07 +01:00
2025-11-11 11:24:06 +01:00
2026-01-12 15:41:17 +01:00
2025-12-17 03:26:18 +01:00
2025-12-25 21:13:41 +01:00
2026-01-27 17:28:14 +01:00
2025-10-28 17:09:15 +01:00
2026-02-03 01:47:37 +01:00
2026-01-15 17:07:09 +01:00
2026-01-05 12:14:56 +01:00
2025-11-20 02:35:46 +01:00
2025-12-23 12:26:59 +01:00
2025-12-09 18:25:07 +01:00
2025-12-23 12:26:59 +01:00
2025-11-10 01:24:00 +01:00
2026-02-06 19:54:59 +01:00
2025-11-24 14:53:47 +01:00
2026-01-23 01:31:09 +01:00
2026-01-26 07:06:01 +01:00
2026-01-12 13:39:59 +01:00
2026-01-08 00:36:00 +01:00
2025-11-16 23:35:25 +01:00
2025-11-20 12:51:31 +01:00
2025-11-17 16:57:29 +01:00
2025-12-08 15:21:25 +01:00
2026-01-26 01:13:06 +01:00
2026-02-05 23:00:53 +01:00
2026-02-06 14:03:08 +01:00
2025-12-12 14:33:37 +01:00
2026-01-24 21:41:11 +01:00
2026-02-08 19:16:24 +01:00
2025-11-05 23:46:20 +01:00
2025-12-26 01:35:35 +01:00
2026-02-12 21:10:54 +01:00
2025-11-22 02:35:19 +01:00
2025-10-31 17:12:50 +01:00
2025-11-08 14:14:36 +01:00
2025-10-28 17:09:15 +01:00
2025-10-10 09:50:21 +02:00
2026-01-04 16:43:08 +01:00
2026-01-31 01:49:35 +01:00
2026-01-26 01:13:06 +01:00
2026-01-02 12:22:42 +01:00
2026-01-02 12:22:42 +01:00
2026-01-27 17:08:45 +01:00
2025-11-26 01:09:37 +01:00
2025-12-27 11:23:49 +01:00
2025-08-17 10:58:03 +02:00
2026-02-05 22:45:20 +01:00
2025-11-20 01:08:53 +01:00
2025-10-28 17:09:15 +01:00
2026-01-06 01:11:17 +01:00
2026-01-17 14:44:51 +01:00
2025-12-06 16:32:19 +01:00
2025-12-30 18:01:53 +01:00
2025-11-19 21:46:03 +01:00
2025-08-19 17:40:11 +02:00
2025-10-30 11:34:48 +01:00
2025-12-27 22:41:53 +01:00
2025-11-21 15:29:56 +01:00
2025-11-09 23:23:58 +01:00
2025-11-09 12:07:11 +01:00
2025-11-12 14:06:56 +01:00
2026-01-26 07:07:28 +01:00
2026-02-07 02:09:45 +01:00
2025-12-11 08:04:39 +01:00
2025-12-30 00:35:08 +01:00
2025-11-30 14:19:04 +01:00
2025-12-27 12:21:19 +01:00
2025-11-25 20:36:52 +01:00
2025-10-28 17:09:15 +01:00
2025-10-27 13:36:35 +01:00
2025-11-26 01:10:36 +01:00
2026-01-16 16:12:33 +01:00
2025-11-17 23:52:11 +01:00
2026-02-12 21:10:54 +01:00
2026-02-11 02:39:23 +01:00
2025-12-06 16:32:19 +01:00
2026-02-06 15:59:22 +01:00
2025-12-29 02:05:54 +01:00
2025-10-28 17:09:15 +01:00
2025-11-17 23:45:48 +01:00
2025-11-21 01:48:20 +01:00
2025-11-11 13:00:20 +01:00
2025-12-11 11:55:02 +01:00
2025-12-08 23:38:27 +01:00
2025-10-31 17:12:50 +01:00
2025-11-11 01:18:23 +01:00
2025-11-09 23:23:58 +01:00
2025-10-31 17:12:50 +01:00
2026-02-06 16:04:19 +01:00
2026-01-06 01:11:17 +01:00
2026-01-15 11:57:48 +01:00
2025-11-06 15:42:21 +01:00
2025-12-02 15:31:52 +01:00