Skip to content

Commit

Permalink
gitignore for infra
Browse files Browse the repository at this point in the history
  • Loading branch information
Quan Nguyen Ba committed Nov 8, 2024
1 parent 8a1afed commit 85e2c3d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/cli/src/actions/new.action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ export default async function newAction(
const gitignore = path.join(destDir, 'gitignore')
copyFileSync(gitignore, path.join(destDir, '.gitignore'))
unlinkSync(gitignore)
// mv infra/gitignore infra/.gitignore
const infraGitignore = path.join(destDir, 'infra/gitignore')
copyFileSync(infraGitignore, path.join(destDir, 'infra/.gitignore'))
unlinkSync(infraGitignore)
// cp .env.local .env
copyFileSync(path.join(destDir, '.env.local'), path.join(destDir, '.env'))

Expand Down
File renamed without changes.

0 comments on commit 85e2c3d

Please sign in to comment.