Skip to content

Commit

Permalink
chore(deps): update dependency publint to ^0.3.0 (#556)
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.7` ->
`^0.3.0`](https://renovatebot.com/diffs/npm/publint/0.2.12/0.3.1) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/publint/0.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/publint/0.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/publint/0.2.12/0.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/publint/0.2.12/0.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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

##### Patch Changes

- Correctly process the `pack` option
([#&#8203;124](https://redirect.github.com/publint/publint/pull/124))

###
[`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/publint/publint/pull/122))

- Bump node version support to >=18
([`cb2ed8b`](https://redirect.github.com/publint/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/publint/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/publint/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/publint/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/publint/publint/commit/6e6ab33dd2180cc7d770a92353f67cb674964102))

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

- Updated dependencies
\[[`d0b406b`](https://redirect.github.com/publint/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 - "* 0-3 * * 1" (UTC), Automerge - At
any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **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/netlify/functions).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS45Mi4wIiwidXBkYXRlZEluVmVyIjoiMzkuOTIuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwiamF2YXNjcmlwdCJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Jan 13, 2025
1 parent de53700 commit d34d549
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 213 deletions.
255 changes: 43 additions & 212 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"@vitest/coverage-v8": "^2.1.8",
"husky": "^7.0.4",
"npm-run-all2": "^5.0.0",
"publint": "^0.2.7",
"publint": "^0.3.0",
"semver": "^7.5.4",
"tsd": "^0.31.0",
"tsup": "^8.0.2",
Expand Down

0 comments on commit d34d549

Please sign in to comment.