🛠️ 工程化工具

共 124 道题目

#1 初级 CICD

什么是CI/CD?解决了什么问题?

What is CI/CD? What problems does it solve?

**What is CI/CD? What problems does it solve?**
- *考察点:CI/CD基础概念。*
#2 初级 CICD

持续集成和持续部署的区别?

What's the difference between continuous integration and continuous deployment?

**What's the difference between continuous integration and continuous deployment?**
- *考察点:CI与CD的区分。*
#3 初级 CICD

常见的CI/CD工具有哪些?

What are the common CI/CD tools?

**What are the common CI/CD tools?**
- *考察点:工具了解程度。*
#4 初级 CICD

Git hooks在CI/CD中的作用?

What is the role of Git hooks in CI/CD?

**What is the role of Git hooks in CI/CD?**
- *考察点:版本控制集成。*
#5 初级 CICD

前端项目的构建流程包括哪些步骤?

What steps are included in the build process of front-end projects?

**What steps are included in the build process of front-end projects?**
- *考察点:构建流程理解。*
#1 中级 CICD

如何设计前端项目的CI/CD流水线?

How to design CI/CD pipelines for front-end projects?

**How to design CI/CD pipelines for front-end projects?**
- *考察点:流水线设计能力。*
#2 中级 CICD

Docker在前端部署中的应用?

What are the applications of Docker in front-end deployment?

**What are the applications of Docker in front-end deployment?**
- *考察点:容器化部署理解。*
#3 中级 CICD

多环境部署的管理策略?

What are the management strategies for multi-environment deployment?

**What are the management strategies for multi-environment deployment?**
- *考察点:环境管理能力。*
#4 中级 CICD

自动化测试在CI/CD中的集成?

How to integrate automated testing in CI/CD?

**How to integrate automated testing in CI/CD?**
- *考察点:测试自动化集成。*
#5 中级 CICD

部署回滚的实现和策略?

What are the implementation and strategies for deployment rollback?

**What are the implementation and strategies for deployment rollback?**
- *考察点:部署风险控制。*
#1 高级 CICD

大型前端应用的CI/CD架构设计?

How to design CI/CD architecture for large front-end applications?

**How to design CI/CD architecture for large front-end applications?**
- *考察点:CI/CD架构思维。*
#2 高级 CICD

微前端架构的CI/CD实现?

How to implement CI/CD for micro-frontend architecture?

**How to implement CI/CD for micro-frontend architecture?**
- *考察点:微前端部署方案。*
#3 高级 CICD

CI/CD安全性的考虑和实现?

What are the security considerations and implementations in CI/CD?

**What are the security considerations and implementations in CI/CD?**
- *考察点:DevSecOps理念。*

---

*CI/CD是提高开发效率和代码质量的重要实践,需要根据项目规模和团队情况制定合适的策略。*
#1 初级 GIT

Git和SVN的主要区别是什么?

What are the main differences between Git and SVN?

**What are the main differences between Git and SVN?**
- *考察点:版本控制系统对比。*
#2 初级 GIT

Git的工作区、暂存区、版本库分别是什么?

What are Git's working directory, staging area, and repository?

**What are Git's working directory, staging area, and repository?**
- *考察点:Git基础概念。*
#3 初级 GIT

如何初始化一个Git仓库?本地仓库和远程仓库如何关联?

How to initialize a Git repository? How to associate local and remote repositories?

**How to initialize a Git repository? How to associate local and remote repositories?**
- *考察点:仓库初始化与远程关联。*
#4 初级 GIT

git add、git commit、git push的作用和使用顺序?

What are the functions of git add, git commit, git push and their usage order?

**What are the functions of git add, git commit, git push and their usage order?**
- *考察点:基本提交流程。*
#5 初级 GIT

如何查看当前仓库的状态和文件变化?

How to view the current repository status and file changes?

**How to view the current repository status and file changes?**
- *考察点:状态查看命令。*
#6 初级 GIT

如何查看Git的提交历史?有哪些常用参数?

How to view Git commit history? What are the common parameters?

**How to view Git commit history? What are the common parameters?**
- *考察点:历史查看操作。*
#7 初级 GIT

什么是远程仓库?如何克隆和更新远程仓库?

What is a remote repository? How to clone and update remote repositories?

**What is a remote repository? How to clone and update remote repositories?**
- *考察点:远程仓库基础操作。*
#8 初级 GIT

Git分支的作用是什么?如何创建和切换分支?

What is the role of Git branches? How to create and switch branches?

**What is the role of Git branches? How to create and switch branches?**
- *考察点:分支基础操作。*
#9 初级 GIT

Git中的HEAD指针是什么?它指向哪里?

What is the HEAD pointer in Git? Where does it point to?

**What is the HEAD pointer in Git? Where does it point to?**
- *考察点:Git核心概念理解。*
#10 初级 GIT

如何查看文件的修改内容?git diff命令的使用?

How to view file modifications? How to use the git diff command?

**How to view file modifications? How to use the git diff command?**
- *考察点:差异比较操作。*
#11 初级 GIT

如何撤销工作区的修改?如何撤销暂存区的修改?

How to undo working directory changes? How to undo staging area changes?

**How to undo working directory changes? How to undo staging area changes?**
- *考察点:撤销操作基础。*
#12 初级 GIT

Git配置的作用和常用配置项有哪些?

What is the role of Git configuration and what are the common configuration items?

**What is the role of Git configuration and what are the common configuration items?**
- *考察点:Git环境配置。*
#13 初级 GIT

什么是.gitignore文件?如何配置忽略规则?

What is the .gitignore file? How to configure ignore rules?

**What is the .gitignore file? How to configure ignore rules?**
- *考察点:文件忽略配置。*
#14 初级 GIT

git log和git reflog的区别是什么?

What's the difference between git log and git reflog?

**What's the difference between git log and git reflog?**
- *考察点:日志查看命令对比。*
#15 初级 GIT

如何查看某个文件的修改历史和责任人?

How to view the modification history and authorship of a specific file?

**How to view the modification history and authorship of a specific file?**
- *考察点:文件历史追踪。*
#16 初级 GIT

Git中的快照机制是如何工作的?

How does the snapshot mechanism work in Git?

**How does the snapshot mechanism work in Git?**
- *考察点:Git存储原理。*
#17 初级 GIT

什么是Git的三种状态?文件如何在这些状态间转换?

What are the three states in Git? How do files transition between these states?

**What are the three states in Git? How do files transition between these states?**
- *考察点:文件状态管理。*
#1 中级 GIT

Git Flow工作流程的原理和实践?

What are the principles and practices of Git Flow workflow?

**What are the principles and practices of Git Flow workflow?**
- *考察点:团队协作流程。*
#2 中级 GIT

如何解决Git合并冲突?有哪些解决策略?

How to resolve Git merge conflicts? What are the resolution strategies?

**How to resolve Git merge conflicts? What are the resolution strategies?**
- *考察点:冲突解决能力。*
#3 中级 GIT

Git rebase和merge的区别?何时使用哪种方式?

What's the difference between Git rebase and merge? When to use which approach?

**What's the difference between Git rebase and merge? When to use which approach?**
- *考察点:合并策略选择。*
#4 中级 GIT

如何进行代码回滚?不同场景的处理方式?

How to perform code rollback? What are the handling methods for different scenarios?

**How to perform code rollback? What are the handling methods for different scenarios?**
- *考察点:版本回退处理。*
#5 中级 GIT

Git hooks的作用和使用场景?如何配置?

What are the roles and use cases of Git hooks? How to configure them?

**What are the roles and use cases of Git hooks? How to configure them?**
- *考察点:Git自动化工具。*
#6 中级 GIT

如何使用git stash临时保存工作进度?

How to use git stash to temporarily save work progress?

**How to use git stash to temporarily save work progress?**
- *考察点:工作流程管理。*
#7 中级 GIT

git fetch和git pull的区别?何时使用哪个?

What's the difference between git fetch and git pull? When to use which one?

**What's the difference between git fetch and git pull? When to use which one?**
- *考察点:远程同步策略。*
#8 中级 GIT

如何进行交互式rebase?有什么用途?

How to perform interactive rebase? What are its uses?

**How to perform interactive rebase? What are its uses?**
- *考察点:历史记录精细化管理。*
#9 中级 GIT

Git标签的作用和使用方法?轻量标签和注释标签的区别?

What are the roles and usage of Git tags? What's the difference between lightweight and annotated tags?

**What are the roles and usage of Git tags? What's the difference between lightweight and annotated tags?**
- *考察点:版本标记管理。*
#10 中级 GIT

如何查找引入bug的具体提交?git bisect的使用?

How to find the specific commit that introduced a bug? How to use git bisect?

**How to find the specific commit that introduced a bug? How to use git bisect?**
- *考察点:问题定位技能。*
#11 中级 GIT

Git子模块是什么?如何管理项目依赖?

What are Git submodules? How to manage project dependencies?

**What are Git submodules? How to manage project dependencies?**
- *考察点:模块化项目管理。*
#12 中级 GIT

如何优雅地修改历史提交信息?

How to gracefully modify historical commit messages?

**How to gracefully modify historical commit messages?**
- *考察点:提交历史管理。*
#13 中级 GIT

分支保护规则的设置和作用是什么?

What are the settings and roles of branch protection rules?

**What are the settings and roles of branch protection rules?**
- *考察点:团队协作规范。*
#14 中级 GIT

如何处理大型二进制文件?Git LFS的基础使用?

How to handle large binary files? Basic usage of Git LFS?

**How to handle large binary files? Basic usage of Git LFS?**
- *考察点:特殊文件管理。*
#15 中级 GIT

什么是Cherry-pick?如何选择性合并提交?

What is Cherry-pick? How to selectively merge commits?

**What is Cherry-pick? How to selectively merge commits?**
- *考察点:精确提交管理。*
#16 中级 GIT

如何配置多个SSH密钥管理不同的Git仓库?

How to configure multiple SSH keys for managing different Git repositories?

**How to configure multiple SSH keys for managing different Git repositories?**
- *考察点:多仓库环境配置。*
#17 中级 GIT

Git工作流中的代码审查流程是怎样的?

What is the code review process in Git workflows?

**What is the code review process in Git workflows?**
- *考察点:质量控制流程。*
#1 高级 GIT

大型项目的Git分支管理策略?如何设计合适的分支模型?

What are the Git branch management strategies for large projects? How to design appropriate branch models?

**What are the Git branch management strategies for large projects? How to design appropriate branch models?**
- *考察点:分支管理架构。*
#2 高级 GIT

如何设计Git工作流以提高团队效率?

How to design Git workflows to improve team efficiency?

**How to design Git workflows to improve team efficiency?**
- *考察点:流程设计能力。*
#3 高级 GIT

Git在CI/CD中的集成和自动化实践?

What are the integration and automation practices of Git in CI/CD?

**What are the integration and automation practices of Git in CI/CD?**
- *考察点:版本控制自动化。*
#4 高级 GIT

如何设计适合大型团队的Git分支保护策略和权限管理?

How to design Git branch protection strategies and permission management suitable for large teams?

**How to design Git branch protection strategies and permission management suitable for large teams?**
- *考察点:团队协作架构设计。*
#5 高级 GIT

Git LFS的底层原理和在大型项目中的最佳实践?

What are the underlying principles of Git LFS and best practices in large projects?

**What are the underlying principles of Git LFS and best practices in large projects?**
- *考察点:大文件管理方案。*
#6 高级 GIT

如何实现Git仓库的安全策略?包括签名验证和权限控制?

How to implement Git repository security strategies? Including signature verification and access control?

**How to implement Git repository security strategies? Including signature verification and access control?**
- *考察点:安全性架构设计。*
#7 高级 GIT

Git性能优化的最佳实践?如何处理超大仓库?

What are the best practices for Git performance optimization? How to handle extremely large repositories?

**What are the best practices for Git performance optimization? How to handle extremely large repositories?**
- *考察点:性能优化能力。*
#8 高级 GIT

如何设计和实现自定义Git工作流?包括自动化脚本?

How to design and implement custom Git workflows? Including automation scripts?

**How to design and implement custom Git workflows? Including automation scripts?**
- *考察点:流程设计与自动化。*
#9 高级 GIT

Git的垃圾回收机制和仓库维护策略?

What are Git's garbage collection mechanisms and repository maintenance strategies?

**What are Git's garbage collection mechanisms and repository maintenance strategies?**
- *考察点:系统维护能力。*
#10 高级 GIT

如何实现Git仓库的备份和灾难恢复方案?

How to implement Git repository backup and disaster recovery solutions?

**How to implement Git repository backup and disaster recovery solutions?**
- *考察点:数据安全保障。*
#11 高级 GIT

多仓库项目的管理策略?Monorepo vs Multirepo的选择?

What are the management strategies for multi-repository projects? Monorepo vs Multirepo choices?

**What are the management strategies for multi-repository projects? Monorepo vs Multirepo choices?**
- *考察点:架构决策能力。*
#12 高级 GIT

Git服务器的搭建和管理?包括性能调优?

How to set up and manage Git servers? Including performance tuning?

**How to set up and manage Git servers? Including performance tuning?**
- *考察点:基础设施管理。*
#13 高级 GIT

如何实现复杂的Git自动化工作流?包括条件触发和错误处理?

How to implement complex Git automation workflows? Including conditional triggers and error handling?

**How to implement complex Git automation workflows? Including conditional triggers and error handling?**
- *考察点:高级自动化设计。*
#14 高级 GIT

Git在微服务架构中的版本管理策略?

What are the version management strategies for Git in microservice architectures?

**What are the version management strategies for Git in microservice architectures?**
- *考察点:现代架构适配。*

---

*Git是团队协作的基础,从基础命令到高级架构设计,需要在实际项目中不断实践和优化工作流程。掌握Git不仅是技术要求,更是现代软件开发协作的核心能力。*
#1 初级 ROLLUP

Rollup 是什么?它的主要作用是什么?

What is Rollup? What is its main purpose?

**What is Rollup? What is its main purpose?**
- *考察点:基础概念与应用场景。*
#2 初级 ROLLUP

Rollup 与 Webpack 有哪些核心区别?

What are the core differences between Rollup and Webpack?

**What are the core differences between Rollup and Webpack?**
- *考察点:工具对比与适用场景。*
#3 初级 ROLLUP

如何在 Rollup 中配置入口文件?

How to configure entry files in Rollup?

**How to configure entry files in Rollup?**
- *考察点:input 字段用法。*
#4 初级 ROLLUP

Rollup 支持哪些输出格式?如何配置?

What output formats does Rollup support? How to configure them?

**What output formats does Rollup support? How to configure them?**
- *考察点:output 格式类型。*
#5 初级 ROLLUP

Rollup 配置文件中 input、output、plugins 字段分别有什么作用?

What are the roles of input, output, and plugins fields in Rollup configuration files?

**What are the roles of input, output, and plugins fields in Rollup configuration files?**
- *考察点:核心配置项理解。*
#6 初级 ROLLUP

如何在 Rollup 中实现多入口打包?

How to implement multi-entry bundling in Rollup?

**How to implement multi-entry bundling in Rollup?**
- *考察点:多入口配置方法。*
#7 初级 ROLLUP

什么是 Tree-shaking?Rollup 如何实现这一特性?

What is Tree-shaking? How does Rollup implement this feature?

**What is Tree-shaking? How does Rollup implement this feature?**
- *考察点:Tree-shaking 原理。*
#8 初级 ROLLUP

Rollup 中 external 配置的作用是什么?

What is the role of external configuration in Rollup?

**What is the role of external configuration in Rollup?**
- *考察点:外部依赖处理。*
#9 初级 ROLLUP

ES 模块和 CommonJS 模块在 Rollup 中有什么区别?

What are the differences between ES modules and CommonJS modules in Rollup?

**What are the differences between ES modules and CommonJS modules in Rollup?**
- *考察点:模块系统理解。*
#10 初级 ROLLUP

如何在 Rollup 中集成 Babel 或 TypeScript?

How to integrate Babel or TypeScript in Rollup?

**How to integrate Babel or TypeScript in Rollup?**
- *考察点:工具集成方式。*
#1 中级 ROLLUP

Rollup 插件的生命周期有哪些关键钩子?

What are the key hooks in the Rollup plugin lifecycle?

**What are the key hooks in the Rollup plugin lifecycle?**
- *考察点:插件钩子机制。*
#2 中级 ROLLUP

如何开发一个自定义 Rollup 插件?需要哪些基本结构?

How to develop a custom Rollup plugin? What basic structures are needed?

**How to develop a custom Rollup plugin? What basic structures are needed?**
- *考察点:插件开发流程。*
#3 中级 ROLLUP

@rollup/plugin-node-resolve 的作用是什么?如何配置?

What is the role of @rollup/plugin-node-resolve? How to configure it?

**What is the role of @rollup/plugin-node-resolve? How to configure it?**
- *考察点:主流插件用途。*
#4 中级 ROLLUP

@rollup/plugin-commonjs 解决了什么问题?

What problem does @rollup/plugin-commonjs solve?

**What problem does @rollup/plugin-commonjs solve?**
- *考察点:CommonJS 支持。*
#5 中级 ROLLUP

rollup-plugin-terser 在项目中如何使用?

How to use rollup-plugin-terser in projects?

**How to use rollup-plugin-terser in projects?**
- *考察点:代码压缩优化。*
#6 中级 ROLLUP

插件的执行顺序会影响打包结果吗?为什么?

**Does the execution order of plugins affect the bundling results? Why?**
- *考察点:插件顺序影响。*
#7 中级 ROLLUP

Rollup 插件如何与外部工具(如 Babel、TypeScript)协作?

How do Rollup plugins collaborate with external tools (like Babel, TypeScript)?

**How do Rollup plugins collaborate with external tools (like Babel, TypeScript)?**
- *考察点:插件与工具集成。*
#8 中级 ROLLUP

如何进行 Rollup 打包结果的性能优化?

How to optimize the performance of Rollup bundling results?

**How to optimize the performance of Rollup bundling results?**
- *考察点:性能优化策略。*
#9 中级 ROLLUP

如何调试和排查 Rollup 插件相关问题?

How to debug and troubleshoot Rollup plugin-related issues?

**How to debug and troubleshoot Rollup plugin-related issues?**
- *考察点:插件调试方法。*
#10 中级 ROLLUP

Rollup 的打包过程中如何处理循环依赖?

How does Rollup handle circular dependencies during the bundling process?

**How does Rollup handle circular dependencies during the bundling process?**
- *考察点:依赖关系处理。*
#1 初级 TESTING

前端测试的分类有哪些?各自的作用?

What are the categories of front-end testing? What are their respective roles?

**What are the categories of front-end testing? What are their respective roles?**
- *考察点:测试分类理解。*
#2 初级 TESTING

什么是单元测试?为什么要写单元测试?

What is unit testing? Why write unit tests?

**What is unit testing? Why write unit tests?**
- *考察点:单元测试基础。*
#3 初级 TESTING

Jest测试框架的基本使用方法?

What are the basic usage methods of Jest testing framework?

**What are the basic usage methods of Jest testing framework?**
- *考察点:测试工具基础。*
#4 初级 TESTING

如何测试JavaScript函数?

How to test JavaScript functions?

**How to test JavaScript functions?**
- *考察点:函数测试方法。*
#5 初级 TESTING

什么是Mock?在测试中的作用?

What is Mock? What is its role in testing?

**What is Mock? What is its role in testing?**
- *考察点:Mock概念理解。*
#1 中级 TESTING

React/Vue组件的测试策略?

What are the testing strategies for React/Vue components?

**What are the testing strategies for React/Vue components?**
- *考察点:组件测试方法。*
#2 中级 TESTING

如何测试异步代码?

How to test asynchronous code?

**How to test asynchronous code?**
- *考察点:异步测试处理。*
#3 中级 TESTING

端到端测试的实现和工具选择?

How to implement end-to-end testing and tool selection?

**How to implement end-to-end testing and tool selection?**
- *考察点:E2E测试实践。*
#4 中级 TESTING

测试覆盖率的意义和提升方法?

What is the significance of test coverage and methods to improve it?

**What is the significance of test coverage and methods to improve it?**
- *考察点:测试质量评估。*
#5 中级 TESTING

如何在CI/CD中集成测试?

How to integrate testing in CI/CD?

**How to integrate testing in CI/CD?**
- *考察点:测试自动化集成。*
#1 高级 TESTING

大型应用的测试架构设计?

How to design testing architecture for large applications?

**How to design testing architecture for large applications?**
- *考察点:测试架构思维。*
#2 高级 TESTING

测试驱动开发(TDD)的实践?

What are the practices of Test-Driven Development (TDD)?

**What are the practices of Test-Driven Development (TDD)?**
- *考察点:TDD开发模式。*
#3 高级 TESTING

性能测试和安全测试的实现?

How to implement performance testing and security testing?

**How to implement performance testing and security testing?**
- *考察点:专项测试能力。*

---

*测试是软件质量的重要保障,需要结合项目特点选择合适的测试策略和工具。*
#1 初级 WEBPACK

什么是Webpack?它解决了什么问题?

What is Webpack? What problems does it solve?

**What is Webpack? What problems does it solve?**
- *考察点:基础概念理解。*
#2 初级 WEBPACK

Webpack的entry配置项有什么作用?如何配置多入口?

What is the role of Webpack's entry configuration? How to configure multiple entries?

**What is the role of Webpack's entry configuration? How to configure multiple entries?**
- *考察点:入口配置基础。*
#3 初级 WEBPACK

output配置中的filename和path有什么区别?

What's the difference between filename and path in output configuration?

**What's the difference between filename and path in output configuration?**
- *考察点:输出配置理解。*
#4 初级 WEBPACK

Webpack的mode配置有哪些值?分别用于什么环境?

What are the values of Webpack's mode configuration? What environments are they used for?

**What are the values of Webpack's mode configuration? What environments are they used for?**
- *考察点:构建模式区分。*
#5 初级 WEBPACK

什么是loader?css-loader和style-loader有什么区别?

What is a loader? What's the difference between css-loader and style-loader?

**What is a loader? What's the difference between css-loader and style-loader?**
- *考察点:loader概念与CSS处理。*