@trigger.dev/cli: create-integration - Generate the README.md file
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@trigger.dev/cli": patch
|
||||
---
|
||||
|
||||
Generate the README for a new integration package
|
||||
@@ -174,6 +174,12 @@ export async function createIntegrationCommand(path: string, cliOptions: any) {
|
||||
JSON.stringify(tsconfigJson, null, 2)
|
||||
);
|
||||
|
||||
const readme = `
|
||||
# ${resolvedOptions.packageName}
|
||||
`;
|
||||
|
||||
await createFileInPath(resolvedPath, "README.md", readme);
|
||||
|
||||
// Create the tsup.config.ts
|
||||
const tsupConfig = `
|
||||
import { defineConfig } from "tsup";
|
||||
|
||||
Reference in New Issue
Block a user