Ideas for Arc XP

Home| Documentation| Support|

npx fusion zip should ignore sensitive data in /environment/localhost.json

Background

We noticed that the environment/localhost.json file gets picked up in the bundle by fusion zip command. The file is not check-in to our repository and is added to our .gitignore file.

Expected Results

We should be able to have environment/localhost.json locally and generate a new bundle with the file not being part of that bundle

Actual Results

environment/localhost.json file gets picked up in the bundle by fusion zip

Steps to Reproduce

  1. have a environment/localhost.json file

  2. run npx fusion zip

  3. unzip the bundle and observe environment/localhost.json file


  • Arkady Dolina
  • Oct 18 2024
  • Future consideration
  • Attach files
      Drop here to upload
    • Admin
      Fatih Yildiz commented
      10 Feb 14:34

      Hi Arkady,

      Thanks for suggesting this idea. It makes sense to ignore localhost.json which is not used in Arc environments anyway.

      Maybe even to exclude all the files that are added in .gitignore automatically when running npx fusion zip.