Correct library dependencies and library attachments
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3549285. -->
Reported by: [igor mashevskyi](https://www.drupal.org/user/3591413)
Related to !175
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>To improve the module's architecture, I recommend adjusting the library dependency definitions in *.libraries.yml.</p>
<p>Currently, the tagify and tagify_polyfils libraries declare dependencies on several Drupal core assets (e.g., core/jquery, core/once, core/drupal). However, since these are independent, third-party libraries, they should be defined without any dependencies on Drupal core to ensure proper decoupling and maintainability.</p>
<p>Additionally, the theme-specific libraries, tagify/gin and tagify/claro, list tagify/tagify as a dependency. These libraries should be defined independently.</p>
issue