Shouldn't the 'platforms' folder be in .gitignore?

deployment

#1

i’ve created a test project (jovo new testproject) and got a .gitignore file

node_modules/
db/
bundle/
bundle.zip
.env

This makes sense, but shouldn’t the platforms folder be mentioned there too? It has just generated content doesn’t it?


#2

Hi @robbertw,

That’s a great point. We usually do that in our own projects and use the project.js file as single source of truth. However, others sometimes prefer to work on the files directly in the platforms folder, e.g. if they heavily use Alexa In-Skill Purchase documents and use some of the ASK CLI commands.

Worth discussing though if we should add the platforms folder to the .gitigore file (-> default/recommended case) and let people remove it if they prefer to work on the generated files (-> edge case).

What do you think @AlexSwe and others?