Skip to content

Commit

Permalink
feat: add x-basic to the after create hook (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
yusukebe committed May 11, 2024
1 parent 1c53691 commit 9cd0304
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/after-create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { afterCreateHook } from '../hook'
const PROJECT_NAME = new RegExp(/%%PROJECT_NAME.*%%/g)

afterCreateHook.addHook(
['cloudflare-workers', 'cloudflare-pages'],
['cloudflare-workers', 'cloudflare-pages', 'x-basic'],
({ projectName, directoryPath }) => {
const wranglerPath = path.join(directoryPath, 'wrangler.toml')
const wrangler = readFileSync(wranglerPath, 'utf-8')
Expand Down

0 comments on commit 9cd0304

Please sign in to comment.