Skip to content

fix: update dependencies #453

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open

fix: update dependencies #453

wants to merge 9 commits into from

Conversation

janniks
Copy link
Collaborator

@janniks janniks commented May 6, 2025

This PR was published to npm with versions:

  • Updates dependencies (stencil, eslint, changeset-action etc.)
  • Switches from Stencil Sass to CSS (file rename)
  • Resolves some minor eslint errors (e.g. {} → object) — All code changes in this PR are for linter happiness

Copy link

vercel bot commented May 6, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
connect ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 5, 2025 2:22pm
connect-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 5, 2025 2:22pm

Copy link

changeset-bot bot commented May 6, 2025

🦋 Changeset detected

Latest commit: cf73276

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@stacks/connect-react Patch
@stacks/connect-ui Patch
@stacks/connect Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@janniks janniks requested a review from Copilot May 22, 2025 12:55
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the Stencil-related configuration and dependency versions across the packages while migrating styling from SASS to CSS and improving some code practices.

  • Changed type for transaction amount from BigInt to bigint.
  • Updated dependency versions, ESLint config, and Stencil configuration.
  • Modified UI components to use CSS styling and added keys for list items.

Reviewed Changes

Copilot reviewed 23 out of 23 changed files in this pull request and generated no comments.

Show a summary per file
File Description
packages/connect/src/types/transactions.ts Updated the transaction amount type to use the built-in primitive.
packages/connect/src/stories/ConnectPage.tsx Updated the handleSubmit callback parameter to use an underscore.
packages/connect/src/stories/Connect.stories.tsx Adjusted escaped quote formatting in story content.
packages/connect/package.json Updated dependency versions for stacks libraries and other tools.
packages/connect-ui/stencil.config.ts Migrated SASS configuration to CSS and updated tailwind plugin usage.
packages/connect-ui/src/components/modal/readme.md Revised attribute table to reflect new attribute names.
packages/connect-ui/src/components/modal/modal.tsx Updated styleUrl, fixed text escaping, and added key prop to list items.
packages/connect-ui/src/components/modal/modal.scss Removed SCSS file as it was replaced by modal.css.
packages/connect-ui/src/components/modal/modal.css Added the new CSS file for modal component styling.
packages/connect-ui/package.json Updated dependency versions for Stencil and tailwind related packages.
packages/connect-react/src/react/hooks/use-scroll-lock.tsx Changed Set types to use object instead of {}.
packages/connect-react/src/react/hooks/use-connect.ts Simplified authOptions update logic.
package.json Upgraded various devDependencies and dependency versions.
eslint.config.ts Introduced updated ESLint flat config.
.eslintrc.js Removed legacy ESLint configuration.
Comments suppressed due to low confidence (2)

packages/connect-ui/src/components/modal/modal.tsx:114

  • [nitpick] Consider using a unique identifier for the key prop in the mapped list items instead of using the array index to improve rendering stability.
<li class="flex items-center gap-3 rounded-[10px] border border-[#EFEFF2] p-[14px]"

packages/connect/src/stories/Connect.stories.tsx:132

  • [nitpick] Verify that the use of escaped quotes results in the intended display in the UI, ensuring consistency with the design.
This demo combines approvedProviderIds with custom defaultProviders. Only `&quot;Custom

Copilot

This comment was marked as outdated.

@janniks janniks requested a review from Copilot August 5, 2025 14:04
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates dependencies across the repository, switches from Stencil Sass to CSS, and resolves minor ESLint errors. The changes primarily focus on keeping dependencies current and ensuring linter compliance without introducing functional modifications.

  • Updates various dependencies including Stencil, ESLint, Storybook, and Stacks packages
  • Migrates from Stencil Sass to CSS configuration and file format
  • Fixes ESLint issues by replacing {} with object and improving code style

Reviewed Changes

Copilot reviewed 17 out of 25 changed files in this pull request and generated no comments.

Show a summary per file
File Description
packages/connect/src/types/transactions.ts Changes BigInt to bigint primitive type
packages/connect/src/stories/ConnectPage.tsx Replaces unused parameter {} with _
packages/connect/src/stories/Connect.stories.tsx Updates quotes in JSX text content
packages/connect/package.json Updates Stacks package dependencies to newer versions
packages/connect-ui/stencil.config.ts Simplifies Stencil config, removes Sass plugin
packages/connect-ui/src/components/modal/readme.md Fixes table formatting in component documentation
packages/connect-ui/src/components/modal/modal.tsx Changes file extension reference and adds React keys
packages/connect-ui/src/components/modal/modal.scss Removes Sass file (deleted)
packages/connect-ui/src/components/modal/modal.css Adds CSS replacement with Tailwind variables
packages/connect-ui/package.json Updates Stencil and related dependencies
packages/connect-react/src/react/hooks/use-scroll-lock.tsx Replaces {} with object type
packages/connect-react/src/react/hooks/use-connect.ts Improves conditional statement formatting
package.json Updates root-level development dependencies
eslint.config.ts Adds new flat ESLint configuration
.github/workflows/version.yml Updates changeset action version
.eslintrc.js Removes legacy ESLint configuration (deleted)
.changeset/late-bushes-boil.md Adds changeset for dependency updates
Comments suppressed due to low confidence (1)

packages/connect-ui/package.json:20

  • The version "^4.1.4" for tailwindcss does not exist. The latest version of tailwindcss is 3.x series. Version 4.x is still in development and not yet released as a stable version.
    "tailwindcss": "^4.1.4",

Copy link

@hugoclrd hugoclrd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm 👍

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.

2 participants