rescript-lang / create-rescript-app

npm create rescript-app@latest
https://www.npmjs.com/package/create-rescript-app
56 stars 8 forks source link

Add .gitignore when creating from Basic template #52

Closed DZakh closed 5 months ago

DZakh commented 5 months ago

In my case it should include:

node_modules
lib
fhammerschmidt commented 5 months ago

There is a gitignore and it contains the folders you suggest. https://github.com/rescript-lang/create-rescript-app/blob/master/templates/rescript-template-basic/_gitignore

I just tried creating a project again with npm and pnpm and it correctly copies it over.

DZakh commented 5 months ago

Hmm, is that because it used an older version 🤔

fhammerschmidt commented 5 months ago

Probably. What version (of create-rescript-app I assume) did you use?

fhammerschmidt commented 5 months ago

Closing this, we documented now that you should use npm create rescript-app@latest