@vidavidorra/create-project
Version:
Interactively create a GitHub project
25 lines • 997 B
JavaScript
import { CiCd } from './ci-cd.js';
import { File } from './file.js';
import { LintStaged } from './lint-staged.js';
import { Npmrc } from './npmrc.js';
import { Package } from './package.js';
import { Readme } from './readme/index.js';
import { TsConfig } from './ts-config.js';
function files(options) {
return [
new File('.github/husky/commit-msg', { ...options, mode: 0o755 }),
new File('.github/husky/pre-commit', { ...options, mode: 0o755 }),
new CiCd('.github/workflows/ci-cd.yml', options),
new LintStaged('.github/lint-staged.js', options),
new File('.github/renovate.json', options),
new File('.editorconfig', options),
new File('.gitignore', options),
new Npmrc('.npmrc', options),
new File('LICENSE.md', options),
new Package('package.json', options),
new Readme('README.md', options),
new TsConfig('tsconfig.json', options),
];
}
export { files };
//# sourceMappingURL=files.js.map