foxglove/create-foxglove-extension

.gitignore file from template is not copied

rgov opened this issue · 1 comments

rgov commented

Description

The .gitignore file from the template does not get copied into my new extension's directory.

  • Version: 0.4.0
  • Platform: macOS

Steps To Reproduce

% npx @foxglove/fox create test                          
creating /private/tmp/test/.eslintrc.yaml
creating /private/tmp/test/.prettierrc.yaml
creating /private/tmp/test/CHANGELOG.md
creating /private/tmp/test/LICENSE
creating /private/tmp/test/README.md
creating /private/tmp/test/package.json
creating /private/tmp/test/src/ExamplePanel.tsx
creating /private/tmp/test/src/index.ts
creating /private/tmp/test/tsconfig.json
...
✨  Done in 19.89s.
Created Foxglove Studio extension "test" at /private/tmp/test

% stat test/.gitignore
stat: test/.gitignore: stat: No such file or directory

Seems to be due to npm dropping the .gitignore file from the package when publishing: npm/npm#3763