Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fei5815.1.excludebuildinfo] Add .npmignore file (#1022)
## Summary: This adds an `.npmignore` file to the project to exclude unnecessary files from the published package. Any `files` declaration in a `package.json` will override this, so that's something to watch out for, but this is sufficient for now. Issue: FEI-5815 ## Test plan: 1. `yarn` 2. `yarn build` 3. `yarn build:types` 4. `rm .npmignore` 5. `cd packages/wonder-stuff-server` 6. `npm pack --dry-run` 7. Observe that the `tsconfig-build.json` and `tsconfig-build.tsbuildinfo` are included 8. `cd ../..` 9. `git checkout .npmignore` 10. `cd packages/wonder-stuff-server` 11. `npm pack --dry-run` 12. Observe that the `tsconfig-build.json` and `tsconfig-build.tsbuildinfo` are not included Author: somewhatabstract Reviewers: jeresig Required Reviewers: Approved By: jeresig Checks: ✅ codecov/project, ✅ Test (macos-latest, 20.x), ✅ Lint, typecheck, and coverage check (ubuntu-latest, 20.x), ✅ Prime node_modules cache for primary configuration (ubuntu-latest, 20.x), ✅ gerald, ⏭️ dependabot Pull Request URL: #1022
- Loading branch information