Skip to content

Commit

Permalink
⬆️ Update dependency publint to ^0.3.0 (#5575)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [publint](https://publint.dev)
([source](https://redirect.github.com/bluwy/publint/tree/HEAD/packages/publint))
| [`^0.2.12` ->
`^0.3.0`](https://renovatebot.com/diffs/npm/publint/0.2.12/0.3.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/publint/0.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/publint/0.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/publint/0.2.12/0.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/publint/0.2.12/0.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>bluwy/publint (publint)</summary>

###
[`v0.3.0`](https://redirect.github.com/bluwy/publint/blob/HEAD/packages/publint/CHANGELOG.md#030)

[Compare
Source](https://redirect.github.com/bluwy/publint/compare/[email protected])

##### Minor Changes

- The `vfs` option is removed in favour of an extended support of `pack:
{ tarball: ArrayBuffer | ReadableStream }` and `pack: { files:
PackFile[] }` APIs. Now, it is even easier to use `publint` in the
browser or against a packed `.tgz` file in Node.js. See the docs for
more examples of how to use these new options.
([#&#8203;122](https://redirect.github.com/bluwy/publint/pull/122))

- Bump node version support to >=18
([`cb2ed8b`](https://redirect.github.com/bluwy/publint/commit/cb2ed8b052146b25607f2f19d9a2c53c3d8b2f2e))

- `publint` now runs your project's package manager's `pack` command to
get the list of packed files for linting. The previous `npm-packlist`
dependency is now removed.
([#&#8203;120](https://redirect.github.com/bluwy/publint/pull/120))

A new `pack` option is added to the node API to allow configuring this.
It defaults to `'auto'` and will automatically detect your project's
package manager using
[`package-manager-detector`](https://redirect.github.com/antfu-collective/package-manager-detector).
See its JSDoc for more information of the option.

This change is made as package managers have different behaviors for
packing files, so running their `pack` command directly allows for more
accurate linting. However, as a result of executing these commands in a
child process, it may take 200-500ms longer to lint depending on the
package manager used and the project size. The new handling also does
not support yarn 1. See [this
comment](https://redirect.github.com/bluwy/publint/issues/11#issuecomment-2176160022)
for more information.

If you use yarn 1, you should upgrade to the latest yarn version or a
different package manager. Otherwise, no other changes are required for
this new behavior.

##### Patch Changes

- Initial setup to publish with Changesets
([`24a62f5`](https://redirect.github.com/bluwy/publint/commit/24a62f57dd1e5fc6e6410d3e2f99811475b61480))

- When a dependency with the `file:` or `link:` protocol is specified in
the `package.json`, it will now error to prevent accidentally publishing
dependencies that will likely not work when installed by end-users
([`6e6ab33`](https://redirect.github.com/bluwy/publint/commit/6e6ab33dd2180cc7d770a92353f67cb674964102))

- Fix `EXPORT_TYPES_INVALID_FORMAT` linting to detect `.d.mts` and
`.d.cts` files
([`af5e88b`](https://redirect.github.com/bluwy/publint/commit/af5e88b4d3d5260b532a6cdbbde7216a785c0e07))

- Updated dependencies
\[[`d0b406b`](https://redirect.github.com/bluwy/publint/commit/d0b406befb0f76efc0936f9afb1e6c4679bcbdfb)]:
-
[@&#8203;publint/pack](https://redirect.github.com/publint/pack)[@&#8203;0](https://redirect.github.com/0).1.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/dubzzz/fast-check).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS44NS4wIiwidXBkYXRlZEluVmVyIjoiMzkuODUuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Jan 7, 2025
1 parent 4483a18 commit 8202450
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 64 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"globals": "^15.14.0",
"pkg-pr-new": "^0.0.39",
"prettier": "3.4.2",
"publint": "^0.2.12",
"publint": "^0.3.0",
"typescript": "~5.7.2",
"typescript-eslint": "^8.19.0"
}
Expand Down
82 changes: 19 additions & 63 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3697,7 +3697,7 @@ __metadata:
globals: "npm:^15.14.0"
pkg-pr-new: "npm:^0.0.39"
prettier: "npm:3.4.2"
publint: "npm:^0.2.12"
publint: "npm:^0.3.0"
typescript: "npm:~5.7.2"
typescript-eslint: "npm:^8.19.0"
languageName: unknown
Expand Down Expand Up @@ -5134,6 +5134,13 @@ __metadata:
languageName: node
linkType: hard

"@publint/pack@npm:^0.1.0":
version: 0.1.0
resolution: "@publint/pack@npm:0.1.0"
checksum: 10c0/7dd9c56ba8dd140ea64d5c3dcd7cb57dad21188540ec810a6d9a812dc9fd0f8292278d65d9e88c61c6b3a1ea62d58dfafaf1d5be5d3abcf502998d3e51dcac00
languageName: node
linkType: hard

"@react-hook/intersection-observer@npm:^3.1.1":
version: 3.1.2
resolution: "@react-hook/intersection-observer@npm:3.1.2"
Expand Down Expand Up @@ -11393,19 +11400,6 @@ __metadata:
languageName: node
linkType: hard

"glob@npm:^8.0.1":
version: 8.1.0
resolution: "glob@npm:8.1.0"
dependencies:
fs.realpath: "npm:^1.0.0"
inflight: "npm:^1.0.4"
inherits: "npm:2"
minimatch: "npm:^5.0.1"
once: "npm:^1.3.0"
checksum: 10c0/cb0b5cab17a59c57299376abe5646c7070f8acb89df5595b492dba3bfb43d301a46c01e5695f01154e6553168207cb60d4eaf07d3be4bc3eb9b0457c5c561d0f
languageName: node
linkType: hard

"global-dirs@npm:^3.0.0":
version: 3.0.1
resolution: "global-dirs@npm:3.0.1"
Expand Down Expand Up @@ -12137,15 +12131,6 @@ __metadata:
languageName: node
linkType: hard

"ignore-walk@npm:^5.0.1":
version: 5.0.1
resolution: "ignore-walk@npm:5.0.1"
dependencies:
minimatch: "npm:^5.0.1"
checksum: 10c0/0d157a54d6d11af0c3059fdc7679eef3b074e9a663d110a76c72788e2fb5b22087e08b21ab767718187ac3396aca4d0aa6c6473f925b19a74d9a00480ca7a76e
languageName: node
linkType: hard

"ignore-walk@npm:^7.0.0":
version: 7.0.0
resolution: "ignore-walk@npm:7.0.0"
Expand Down Expand Up @@ -15566,15 +15551,6 @@ __metadata:
languageName: node
linkType: hard

"npm-bundled@npm:^2.0.0":
version: 2.0.1
resolution: "npm-bundled@npm:2.0.1"
dependencies:
npm-normalize-package-bin: "npm:^2.0.0"
checksum: 10c0/5b2dc1de455d38200e49c6205dee185ce919ea6b608672c693bec8907116bc5686dabcc150347630d351c1c533315fd60a1910ce00bdad6bb204cef016b90b7d
languageName: node
linkType: hard

"npm-bundled@npm:^4.0.0":
version: 4.0.0
resolution: "npm-bundled@npm:4.0.0"
Expand All @@ -15593,13 +15569,6 @@ __metadata:
languageName: node
linkType: hard

"npm-normalize-package-bin@npm:^2.0.0":
version: 2.0.0
resolution: "npm-normalize-package-bin@npm:2.0.0"
checksum: 10c0/9b5283a2e423124c60fbc14244d36686b59e517d29156eacf9df8d3dc5d5bf4d9444b7669c607567ed2e089bbdbef5a2b3678cbf567284eeff3612da6939514b
languageName: node
linkType: hard

"npm-normalize-package-bin@npm:^4.0.0":
version: 4.0.0
resolution: "npm-normalize-package-bin@npm:4.0.0"
Expand Down Expand Up @@ -15628,20 +15597,6 @@ __metadata:
languageName: node
linkType: hard

"npm-packlist@npm:^5.1.3":
version: 5.1.3
resolution: "npm-packlist@npm:5.1.3"
dependencies:
glob: "npm:^8.0.1"
ignore-walk: "npm:^5.0.1"
npm-bundled: "npm:^2.0.0"
npm-normalize-package-bin: "npm:^2.0.0"
bin:
npm-packlist: bin/index.js
checksum: 10c0/a8bea97661b2a7132bc8832d5560da24f823ee5324429bd16eb82b7873557de14641bc3fed8a7611b0d88b9771e59e99e01a9e551a53adb164327ded6128aada
languageName: node
linkType: hard

"npm-pick-manifest@npm:^10.0.0":
version: 10.0.0
resolution: "npm-pick-manifest@npm:10.0.0"
Expand Down Expand Up @@ -16017,10 +15972,10 @@ __metadata:
languageName: node
linkType: hard

"package-manager-detector@npm:^0.2.0":
version: 0.2.0
resolution: "package-manager-detector@npm:0.2.0"
checksum: 10c0/1ad699098018f9425b0f0a197537e085420ebcb7b6c49ef5a8dcff198f50d8de206f52ed10867624b7cb01bebac76396f5ac020dcff96f44154d59e6a5dcf36a
"package-manager-detector@npm:^0.2.0, package-manager-detector@npm:^0.2.8":
version: 0.2.8
resolution: "package-manager-detector@npm:0.2.8"
checksum: 10c0/2d24dd6e50a196a0b1e3ce7bf6db8aff403bdbe333cf81383bec54fa441dac958ec87a7e6865cf86e614704f349c7effaf8d0c2474a6a50a164e6218689f02db
languageName: node
linkType: hard

Expand Down Expand Up @@ -17495,16 +17450,17 @@ __metadata:
languageName: node
linkType: hard

"publint@npm:^0.2.12":
version: 0.2.12
resolution: "publint@npm:0.2.12"
"publint@npm:^0.3.0":
version: 0.3.0
resolution: "publint@npm:0.3.0"
dependencies:
npm-packlist: "npm:^5.1.3"
"@publint/pack": "npm:^0.1.0"
package-manager-detector: "npm:^0.2.8"
picocolors: "npm:^1.1.1"
sade: "npm:^1.8.1"
bin:
publint: lib/cli.js
checksum: 10c0/f95b81a39cb5ec63bc5cdc7a8dcf8f8fffe6d21020a13bbf79a9e582d79895537c2a316fa6be9bc5a10d66714c53f1658d5e684509f3d94f6fff44b5a919debe
publint: src/cli.js
checksum: 10c0/2d617811c55f680018324d4c5b12cfb5b7c4ea5cf912027472dd56654a569a179ad9be23ba25257bd3875f52ba1bead1b3d341a560737fbdaa1dc545014df849
languageName: node
linkType: hard

Expand Down

0 comments on commit 8202450

Please sign in to comment.