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

config files (.aio, .env) not available to templates for the "no login" case

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

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
javascript
領域
cli

調査の方向性

src/commands/app/init.js の引用された no-login ブランチから始め、他の引用された行付近の logged-in フローと比較してください。no-login フラグが console config を提供する場合に、テンプレートのインストール前に console config がインポートされること、そしてどちらの場合もテンプレートが config にアクセスできることを確認してください。

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

説明

bug

Description

As you can see here, the config is only imported after the templates are installed here, for the "no login" case:
https://github.com/adobe/aio-cli-plugin-app/blob/f1088f1d637178ff2ed457ada2cb779aa2cc79a7/src/commands/app/init.js#L117-L126

For the "logged in" case, the templates are installed after the console config is imported:
https://github.com/adobe/aio-cli-plugin-app/blob/f1088f1d637178ff2ed457ada2cb779aa2cc79a7/src/commands/app/init.js#L157-L164

We should be consistent in both cases.

The Fix

Import the console config (if available via flag for the no login case), before templates are installed.

Code affected: https://github.com/adobe/aio-cli-plugin-app/blob/f1088f1d637178ff2ed457ada2cb779aa2cc79a7/src/commands/app/init.js#L117-L126

主要言語
JavaScript
スター
28
フォーク
41
平均マージ
1日 15時間
マージ済み PR(30日)
10

環境構築

はじめの一歩

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

adobe/aio-cli-plugin-app のほかの issue

adobe/aio-cli-plugin-app の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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