Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

chore(deps): drop shadcn_flutter: barrel re-export, imports, third_party, guard (#1465)

オープン
#1,736 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
38/100
issue の種類
リファクタリング
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
dart, flutter

調査の方向性

Start with lib/shared/widgets/widgets.dart, shared_does_not_import_shadcn_test.dart, and the shadcn_flutter entries in pubspec.yaml; the issue describes the affected imports and dependency cleanup. Check how the existing guard test is structured, then use the stated grep and flutter pub get checks as initial verification. Done means no package references remain in lib/ or the dependency configuration, tests and goldens pass, and Linux, Windows, and macOS release builds succeed.

索引モデルが issue の本文から書いたものです。

説明

frontend P2 ui

Part of #1465 (step 6, the last).

Problem

After #1729–#1735 nothing in lib/ needs shadcn, but about 500 files still get Flutter itself (Text, Widget, setState, Row, BuildContext...) through export 'package:shadcn_flutter/shadcn_flutter.dart' in lib/shared/widgets/widgets.dart, and 59 files import the package directly. A probe on dev (2026-10-18) that removed the import from all of them left 174 files needing only a Flutter import.

Change
  • Add import 'package:flutter/widgets.dart'; (or material.dart) where a file used the barrel for Flutter types.
  • Remove the shadcn re-export from the barrel and every package:shadcn_flutter import.
  • Drop third_party/shadcn_flutter and its dependency_overrides / dependencies entries; flutter pub get.
  • Guard test: no package:shadcn_flutter anywhere in lib/ (extends shared_does_not_import_shadcn_test.dart).
Acceptance
  • grep -r "package:shadcn_flutter" lib is empty; the package is gone from pubspec.yaml and third_party/.
  • All tests and goldens pass; release builds for Linux, Windows and macOS build.
主要言語
Dart
スター
23
フォーク
1
平均マージ
31分
マージ済み PR(30日)
570

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

QueryaHub/Querya-Desktop のほかの issue

QueryaHub/Querya-Desktop の issue をすべて見る

似ている issue

Dart の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。