UNPKG

@vidavidorra/create-project

Version:
13 lines (12 loc) 583 B
export const gitIgnore: string; export const npmIgnore: string; /** * Workaround for [Rename `.gitignore` to `.npmignore` in package if no * `.npmignore` found](https://github.com/npm/npm/issues/1862) and ['npm pack'/ * `publish` option to not rename or keep a copy of `.gitignore` files]( * https://github.com/npm/npm/issues/7252) issues. With npm v9 or newer, the * `npm pack` includes the `.gitignore` in the tarball and `npm install` renames * the file to `.npmignore`. This script simply reverts that rename if it has * occurred. */ export function postinstall(): void;