Skip to content

ShipKit 3.0.0

Latest

Choose a tag to compare

@ianlabicani ianlabicani released this 06 Nov 00:49
· 17 commits to main since this release

Requires shipwithian/shipkit-core 3.0.

  • Short frontend files: pages stay at or under 200 lines and other frontend files at or under 400, checked by shipkit-core's FrontendFileLengthTest, so a page composes partials instead of growing into one large file.

shipwithian/shipkit-core 3.0.0

A major release because a new check can fail a project that passed 2.x. UPGRADE.md has the fix.

  • Checks: FrontendFileLengthTest fails when a page in resources/js/pages is over 200 lines or any other frontend file is over 400, so pages stay a list of partials instead of growing into thousand-line files. The vendored components/ui primitives are exempt, and shipkit.architecture.long_frontend_files records deliberate exceptions with their reasons.
  • Guidance: the js rule says how to split a file before it reaches the limit.
  • Internals: ProjectLayout::frontendFiles() lists the project's own TypeScript sources, shared by both frontend checks.

Upgrading

Existing projects update the package with composer require shipwithian/shipkit-core:^3.0 and follow the 3.0 upgrade notes. Template changes are not applied to existing projects: compare the release tags and copy what you want.