ionic-team / ionic-team/ionic-cli

Default Folder Structure Changed Over Times for v7

オープン
#5,006 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
triage
主要言語
TypeScript
スター
2k
フォーク
682
PR マージ指標
30日以内にマージされた PR はありません

説明

**Prerequisites**
I have read the [Contributing Guidelines](https://github.com/ionic-team/ionic-framework/blob/main/.github/CONTRIBUTING.md#creating-an-issue).
I agree to follow the [Code of Conduct](https://ionicframework.com/code-of-conduct).
I have searched for [existing issues](https://github.com/ionic-team/ionic-framework/issues) that already report this problem, without success.

**Description:**

On release of ionic v7, introduced a new default folder structure with no app.module.ts file and app-routing.module.ts named as app.routes.ts and standalone home pages and other addition. Now when we create a new project we get the older folder structure as it was in v6.

**Steps to Reproduce:**

#ionic start

**Output:**

Pasted the screenshot of the output generated by #ionic start

**My `ionic info`:**

```
Ionic:

Ionic CLI : 7.0.1 (C:\Users\SA20066233\AppData\Roaming\npm\node_modules\@ionic\cli)
Ionic Framework : @ionic/angular 7.0.1
@angular-devkit/build-angular : 15.2.5
@angular-devkit/schematics : 15.2.5
@angular/cli : 15.2.5
@ionic/angular-toolkit : 9.0.0

Capacitor:

Capacitor CLI : 4.7.3
@capacitor/android : not installed
@capacitor/core : 4.7.3
@capacitor/ios : not installed

Utility:

cordova-res : not installed globally
native-run : 1.7.2

System:

NodeJS : v18.14.2 (C:\Program Files\nodejs\node.exe)
npm : 9.5.0
OS : Windows 10

```

**Other Information:**

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Start with the ionic start entry point and reproduce the generated project using the reported Ionic CLI, Ionic Angular, and Angular versions. Compare the resulting folder structure with the v7 structure described in the issue; done means new projects consistently use the intended v7 defaults or the version-specific behavior is documented.

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

評価

技術スタック
angular, typescript
領域
cli
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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