Ember CLI Deprecation Workflow 使用教程
ember-cli-deprecation-workflow项目地址:https://gitcode.com/gh_mirrors/em/ember-cli-deprecation-workflow
1. 项目的目录结构及介绍
Ember CLI Deprecation Workflow 项目的目录结构如下:
ember-cli-deprecation-workflow/
├── addon/
├── app/
├── blueprints/
├── config/
├── tests/
├── vendor/
├── .editorconfig
├── .ember-cli
├── .eslintignore
├── .eslintrc.js
├── .gitignore
├── .npmignore
├── .prettierignore
├── .prettierrc.js
├── .stylelintignore
├── .stylelintrc.js
├── .template-lintrc.js
├── .watchmanconfig
├── CHANGELOG.md
├── CONTRIBUTING.md
├── LICENSE.md
├── README.md
├── RELEASE.md
├── ember-cli-build.js
├── index.js
├── package.json
└── pnpm-lock.yaml
目录介绍
addon/
: 包含插件的核心代码。app/
: 包含应用级别的代码。blueprints/
: 包含项目蓝图。config/
: 包含项目的配置文件。tests/
: 包含项目的测试文件。vendor/
: 包含第三方依赖。.editorconfig
: 编辑器配置文件。.ember-cli
: Ember CLI 配置文件。.eslintignore
: ESLint 忽略文件。.eslintrc.js
: ESLint 配置文件。.gitignore
: Git 忽略文件。.npmignore
: npm 忽略文件。.prettierignore
: Prettier 忽略文件。.prettierrc.js
: Prettier 配置文件。.stylelintignore
: Stylelint 忽略文件。.stylelintrc.js
: Stylelint 配置文件。.template-lintrc.js
: 模板 lint 配置文件。.watchmanconfig
: Watchman 配置文件。CHANGELOG.md
: 变更日志。CONTRIBUTING.md
: 贡献指南。LICENSE.md
: 许可证。README.md
: 项目说明文档。RELEASE.md
: 发布指南。ember-cli-build.js
: Ember CLI 构建配置文件。index.js
: 项目入口文件。package.json
: npm 包配置文件。pnpm-lock.yaml
: pnpm 锁定文件。
2. 项目的启动文件介绍
项目的启动文件主要是 index.js
和 ember-cli-build.js
。
index.js
这是项目的入口文件,负责初始化插件和应用。
ember-cli-build.js
这是 Ember CLI 的构建配置文件,定义了如何构建项目。
3. 项目的配置文件介绍
项目的配置文件主要位于 config/
目录下,以及一些根目录下的配置文件。
config/
目录
ember-cli-build.js
: Ember CLI 构建配置文件。environment.js
: 环境配置文件,定义不同环境的配置。
根目录下的配置文件
.eslintrc.js
: ESLint 配置文件。.prettierrc.js
: Prettier 配置文件。.stylelintrc.js
: Stylelint 配置文件。.template-lintrc.js
: 模板 lint 配置文件。package.json
: npm 包配置文件,包含项目的依赖和脚本。
这些配置文件共同确保项目的代码质量和构建过程的一致性。
ember-cli-deprecation-workflow项目地址:https://gitcode.com/gh_mirrors/em/ember-cli-deprecation-workflow