Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C create-react-app
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,547
    • Issues 1,547
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 417
    • Merge requests 417
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Meta
  • create-react-app
  • Merge requests
  • !4605

ignore intellij module files when generating an app

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/denofevil/ignore_intellij_modules into master Jun 13, 2018
  • Overview 8
  • Commits 1
  • Pipelines 0
  • Changes 1

Created by: denofevil

When IntelliJ IDEA generates a project, it creates a module file (*.iml) in the root directory of the project by default. IDEA does that before it launches project generator process which is causing CRA to abort due to these extra files. We used to workaround that via generating the project in a temporary directory, but that causes another set of problems, such as: WEB-29489 (aka #200 (closed)) WEB-33257 and additionally is just slower due to copying the generated project to the proper location. It would be better to ignore *.iml files in the generator script.

These changes were checked by generating the project from the terminal and from IntelliJ (with temp dir workaround disabled).

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/denofevil/ignore_intellij_modules