Skip to content

Conversation

@EGAMAGZ
Copy link
Contributor

@EGAMAGZ EGAMAGZ commented Mar 8, 2025

Import cleaned up as requested in #967

@AugustinMauroy
Copy link
Contributor

In my opinon we should use

"@preact-icons/tb": "jsr:@preact-icons/tb@^1.0.13"

because it's what deno generate when you do deno add jsr:@preact-icons/tb.

@EGAMAGZ
Copy link
Contributor Author

EGAMAGZ commented Mar 8, 2025

The import in deno.json was changed from "@preact-icons/tb": "jsr:@preact-icons/tb@^1.0.12", to "tb-icons": "jsr:@preact-icons/tb@^1.0.12", as requested in issue #967, which is mentioned in the main comment. This update helps clean up imports by eliminating the need to append /tb everywhere.

Deno allows you to use import aliases instead of relying solely on the default name generated by deno add jsr:@preact-icons/tb, ensuring greater flexibility without affecting functionality.

@AugustinMauroy
Copy link
Contributor

As said it's my opinion. Let's wait to see what's the opinion of maintainers

Copy link
Collaborator

@crowlKats crowlKats left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@crowlKats crowlKats added this pull request to the merge queue Mar 10, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to a conflict with the base branch Mar 10, 2025
@EGAMAGZ
Copy link
Contributor Author

EGAMAGZ commented Mar 10, 2025

@crowlKats fixed merge conflicts 😅

@crowlKats crowlKats added this pull request to the merge queue Mar 10, 2025
Merged via the queue into jsr-io:main with commit 96139df Mar 10, 2025
7 checks passed
@EGAMAGZ EGAMAGZ deleted the refactor/tabler-icons-import branch March 10, 2025 06:14
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.

3 participants