-
Notifications
You must be signed in to change notification settings - Fork 17
Commit d34d549
authored
chore(deps): update dependency publint to ^0.3.0 (#556)
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) |
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](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/publint@0.3.0...publint@0.3.1)
##### Patch Changes
- Correctly process the `pack` option
([#​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/v0.2.12...publint@0.3.0)
##### 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.
([#​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.
([#​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)]:
-
[@​publint/pack](https://redirect.github.com/publint/pack)[@​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>1 parent de53700 commit d34d549Copy full SHA for d34d549
2 files changed
+44
-213
lines changed+43-212
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
+1-1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
84 | 84 |
| |
85 | 85 |
| |
86 | 86 |
| |
87 |
| - | |
| 87 | + | |
88 | 88 |
| |
89 | 89 |
| |
90 | 90 |
| |
|
0 commit comments