chore(deps): update dependency knip to v6.29.0 - #1898
Conversation
|
commit: |
This comment has been minimized.
This comment has been minimized.
6bc3f86 to
431a4a8
Compare
This comment has been minimized.
This comment has been minimized.
8e93fd4 to
924b1be
Compare
This comment has been minimized.
This comment has been minimized.
924b1be to
772400b
Compare
This comment has been minimized.
This comment has been minimized.
knip 6.28.0 started reporting unused re-exports when ignoreExportsUsedInFile is set, surfacing 22 barrel specifiers that no consumer reaches. Every consumer imports these symbols directly from the leaf module, so the barrel lines were dead. None of the affected files is a build entry, and the export names of all package.json#exports type declarations are unchanged.
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
Code Metrics Report (packages/sdk)
Details | | main (23e5842) | #1898 (a2da56b) | +/- |
|--------------------|----------------|-----------------|------|
| Coverage | 75.0% | 75.0% | 0.0% |
| Files | 462 | 462 | 0 |
| Lines | 17406 | 17406 | 0 |
| Covered | 13063 | 13063 | 0 |
+ | Code to Test Ratio | 1:0.4 | 1:0.4 | +0.0 |
| Code | 118002 | 117982 | -20 |
| Test | 56044 | 56044 | 0 |Code coverage of files in pull request scope (78.2% → 78.2%)
SDK Configure Bundle Size
Runtime Performance
Type Performance (instantiations)
Reported by octocov |
There was a problem hiding this comment.
Pull request overview
Updates the repo’s static analysis tooling by bumping knip to v6.29.0 and cleaning up newly-detected unused barrel re-export specifiers across internal SDK modules, without changing published @tailor-platform/sdk export surfaces.
Changes:
- Bump
knipfrom6.27.0to6.29.0(and refresh lockfile transitive versions). - Remove unused type/value re-exports from several internal barrel modules (parser/configure/CLI command modules) surfaced by the knip upgrade.
Reviewed changes
Copilot reviewed 7 out of 8 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| package.json | Bumps the knip dev dependency to 6.29.0. |
| pnpm-lock.yaml | Updates lockfile entries for knip@6.29.0 and related transitive dependencies (e.g., oxc-*). |
| packages/sdk/src/parser/service/auth-connection/index.ts | Removes unused re-export of AuthConnectionOAuth2ConfigSchema from the auth-connection parser barrel. |
| packages/sdk/src/configure/services/tailordb/index.ts | Removes unused type re-exports from the TailorDB configure barrel. |
| packages/sdk/src/cli/commands/tailordb/migrate/snapshot.ts | Drops unused snapshot type re-exports while keeping the remaining re-exports used internally. |
| packages/sdk/src/cli/commands/tailordb/migrate/index.ts | Removes unused *Options type re-exports from the migrate command barrel. |
| packages/sdk/src/cli/commands/generate/types.ts | Removes unused TailorDB type-source re-exports from the generate types module. |
| packages/sdk/src/cli/commands/generate/service.ts | Removes an unused CodeGenerator type re-export from the generate service module. |
Files not reviewed (1)
- pnpm-lock.yaml: Generated file
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Summary
Bumps
knipto 6.29.0 and removes the dead code the upgrade uncovered.knip 6.28.0 added "Report unused re-exports when
ignoreExportsUsedInFileis set"(webpro-nl/knip#1895).
packages/sdk/knip.tssets that option, so the upgradesurfaced 22 barrel re-export specifiers that no consumer reaches — every consumer
imports those symbols directly from the leaf module. They are removed in
64c510a5f:parser/service/auth-connection/index.ts—AuthConnectionOAuth2ConfigSchemacli/commands/generate/service.ts—CodeGeneratorcli/commands/generate/types.ts—UserDefinedTypeSource,PluginGeneratedTypeSourcecli/commands/tailordb/migrate/index.ts— the five*Optionstype re-exportscli/commands/tailordb/migrate/snapshot.ts— sevenSnapshot*type re-exportsconfigure/services/tailordb/index.ts—Hook,TypeFeatures,TailorDBServiceConfig,DBFieldMetadata,GqlOperationsConfig,TailorDBServiceInputNo public API change: none of these files is a build entry, and the export names
of every
package.json#exportstype declaration are byte-identical before andafter (594 entries across all 15 subpaths).
This PR contains the following updates:
6.27.0→6.29.0Release Notes
webpro-nl/knip (knip)
v6.29.0: Release 6.29.0Compare Source
b7d5ce2) - thanks @mogelbrod!db05e01)932b926)v6.28.0: Release 6.28.0Compare Source
1444f6a)94967c1)5c026ba)a5fa3b0)404a53e)6ae48aa)02ca17a)323b96f) - thanks @Zamiell!009e509)ead489f)node:specifiers as unlisted dependencies (1a7114f)0d47a45)e01f21c)cd00306)73a2d7d)9ae5fee)fb9e048)74de516)a99a206)8443583)3c8594f) - thanks @danielroe!a113a5f) - thanks @mlm20!ea8c8ac)b75768d)81be1d4)baff301)86ffab7)b7266ee) - thanks @davidkna-sap!4236253)630d5f9)810147b)140a25a)Configuration
📅 Schedule: (in timezone Asia/Tokyo)
* 9-18 * * 1-5)🚦 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.
This PR was generated by Mend Renovate. View the repository job log.