Skip to content

Commit

Permalink
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/cli/src/lib/commands/workspace-init.ts
Original file line number Diff line number Diff line change
@@ -56,6 +56,10 @@ export async function workspaceInit({
const initProject = `yarn nx g @nxpm/stack:init web --web-style-library ${webStyleLibrary}`
runCommand(initProject, target)

log('Rewrite git history')
const rewriteGitHistory = `git checkout -B main && git commit --amend -CHEAD --no-verify`
runCommand(rewriteGitHistory)

info('Installation finished')
info(`To get started : ${gray(`cd ${name}`)}`)
info(`Start database servers : ${gray(`docker-compose up`)}`)

0 comments on commit de59e70

Please sign in to comment.