feat: follow common conventions on folder naming in `$XDG_CONFIG_HOME`
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 48/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- typescript
- 領域
- tooling
調査の方向性
devtools 用の $XDG_CONFIG_HOME パスを構築するコードを見つけ、現在の .nuxt/devtools の場所がどのように選択されているかを調べます。設定場所を $XDG_CONFIG_HOME/nuxt/devtools に更新し、既存のデフォルト動作を壊さずに devtools のファイルが要求されたパスを使用することを確認します。
索引モデルが issue の本文から書いたものです。
説明
🆒 Your use case
While #526 added support for XDG_CONFIG_HOME, it stores files in $XDG_CONFIG_HOME/.nuxt/devtools instead of the convention of $XDG_CONFIG_HOME/<application>, i.e., without the leading .. The leading dot in UNIX conventions is to denote a hidden file, and with the default location of $XDG_CONFIG_HOME being ~/.config, the parent folder is already hidden and there really isn't a need to further hide the folder inside $XDG_CONFIG_HOME.
While the XDG Base Directory specification is unfortunately silent on the naming convention and folder structure inside $XDG_CONFIG_HOME, common convention is to simply name the subdir directly after the application, without the leading dot.
References;
- https://itsfoss.gitlab.io/blog/xdg-base-directory/#xdg_config_home
- https://wiki.archlinux.org/title/XDG_Base_Directory
🆕 The solution you'd like
Store files in $XDG_CONFIG_HOME/nuxt/devtools
🔍 Alternatives you've considered
No response
ℹ️ Additional info
If this is an acceptable feature, I would be willing to contribute a PR.
- 主要言語
- TypeScript
- スター
- 3.3k
- フォーク
- 214
- 平均マージ
- 19時間 45分
- マージ済み PR(30日)
- 12
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
nuxt/devtools のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
-
bug needs reproduction
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
似ている issue
-
bug(cli): hapi doctor inline-media prints a fabricated B:\ helper-script path in packaged installs オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
Crush オープン
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
catppuccin/catppuccin#3125 ·
-
Add a SECURITY.md オープン
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
ElementsProject/cln-application#167 · コメント 1 件 · リアクション 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Quantco/pnpm-licenses#17 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100