Skip to content

chore: version packages#30

Merged
stevensacks merged 1 commit into
mainfrom
changeset-release/main
Jun 25, 2026
Merged

chore: version packages#30
stevensacks merged 1 commit into
mainfrom
changeset-release/main

Conversation

@stevensacks

@stevensacks stevensacks commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@gaia-react/lint@1.6.0

Minor Changes

  • #29 e7a2232 Thanks @stevensacks! - Add two test-honesty lint rules and enforce error-only severity in the test config (no warn).

    • vitest/prefer-called-with (error) — a bare toHaveBeenCalled()/toBeCalled() proves a function ran but asserts nothing about arguments or count; require the *With form. Exempts the .not form.
    • no-restricted-imports in test/story files (error) — consumer test, story, and harness files may not import a server-only (*.server) or internal (**/internals/**) module; reach the behavior through the public interface instead. A dedicated *.server.test.* file is exempt (the right place to import a .server module). Covers static import / export … from only, not dynamic import().
    • playwright/expect-expect promoted warnerror — a Playwright test that asserts nothing is a false green. Custom expect*() helpers still count via assertFunctionPatterns.

    Consumers on --max-warnings=0 already treated the prior warn as blocking, so this only makes the intent explicit. Expect new errors on bare toHaveBeenCalled() and on server/internal imports from consumer tests — treat them as signal.

  • #28 b05f445 Thanks @stevensacks! - Refresh the quarantined toolchain dependencies.

    • eslint-plugin-unicorn 64 → 65. Held at 65 deliberately: unicorn 66 requires ESLint 10.4, and this config stays on ESLint 9 until that migration is coordinated with the consuming app. Unicorn 65 adds a large batch of rules to its recommended preset, which this config spreads, so consumers will see new unicorn findings on upgrade. Most are auto-fixable; treat them as signal.
    • unicorn/prefer-includes-over-repeated-comparisons is disabled. Array#includes returns a plain boolean, not a type predicate, so it cannot narrow a union the way an === comparison chain does. In a typed codebase the chain is the type-safe idiom; forcing .includes() discards the narrowing and the refined type of the value along with it. This joins the config's existing set of disabled unicorn opinions that fight idiomatic typed React.
    • eslint-plugin-storybook 10.4.2 → 10.4.6.
    • @vitest/eslint-plugin 1.6.19 → 1.6.20.
    • eslint-plugin-better-tailwindcss 4.5.0 → 4.6.0.
    • eslint-plugin-perfectionist 5.9.0 → 5.9.1.

    Every bump has cleared the 7-day release-age quarantine, so each installs cleanly under a downstream release-age policy with no new trustPolicyExclude entries.

  • #31 178157f Thanks @stevensacks! - Exempt typed resources+/actions+ data endpoints from the import-x/no-restricted-paths architecture boundary. no-restricted-paths cannot distinguish a type-only import, so it flagged a UI component's import type {action} from a typed data endpoint (the useFetcher<typeof action> pattern). The UI layers (pages, components, hooks/state) now carry an except for routes/{actions+,resources+}; services, utils, and types are deliberately excluded so the carve-out stays within the UI layer.

@stevensacks stevensacks force-pushed the changeset-release/main branch from c1d06c1 to b42dce7 Compare June 25, 2026 07:12
@stevensacks stevensacks merged commit bc6afae into main Jun 25, 2026
1 check passed
@stevensacks stevensacks deleted the changeset-release/main branch June 25, 2026 07:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant