@browserbasehq/bb9
Advanced tools
Comparing version 1.0.9 to 1.0.12
@@ -43,3 +43,2 @@ #!/usr/bin/env node | ||
execSync("git init", { cwd: projectPath }); | ||
yield fs.writeFile(path.join(projectPath, ".gitignore"), "node_modules\ndist\n.DS_Store\n*.log\n"); | ||
} | ||
@@ -78,4 +77,2 @@ // Create README.md | ||
} | ||
const __filename = fileURLToPath(import.meta.url); | ||
const __dirname = dirname(__filename); | ||
const packageJson = JSON.parse(readFileSync(new URL("../package.json", import.meta.url), "utf8")); | ||
@@ -88,3 +85,3 @@ program | ||
.option("-t, --template <type>", "project template type (react, node)", "react") | ||
.option("--git", "initialize git repository", false) | ||
.option("--git", "initialize git repository", true) | ||
.action((projectName, options) => __awaiter(void 0, void 0, void 0, function* () { | ||
@@ -96,7 +93,5 @@ try { | ||
yield createProjectStructure(projectPath, projectName, options); | ||
console.log(chalk.green(`✨ Successfully created TypeScript project ${projectName}`)); | ||
console.log(chalk.blue("\nNext steps:")); | ||
console.log(` cd ${projectName}`); | ||
console.log(" npm install"); | ||
console.log(" npm start"); | ||
console.log(chalk.green(` 🤘 Successfully created new Stagehand project: "${projectName}"`)); | ||
console.log(chalk.yellow("Lights, Camera, act()!")); | ||
console.log(chalk.gray(` cd ${projectName}\n npm install\n npm start\n npm test`)); | ||
} | ||
@@ -103,0 +98,0 @@ catch (error) { |
@@ -7,3 +7,3 @@ { | ||
"scripts": { | ||
"example": "tsx", | ||
"start": "tsx index.ts", | ||
"postinstall": "playwright install" | ||
@@ -10,0 +10,0 @@ }, |
{ | ||
"name": "@browserbasehq/bb9", | ||
"version": "1.0.9", | ||
"version": "1.0.12", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21049
284