Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce CLI install wizard [WIP] (#153)
* Migrate back to Cloudflare Workers (#147) * Migrate back to Cloudflare Workers * Delete deprecated CF pages files * First attempt at CLI * CLI checks if env variables already set first * Add loading spinner (ora pkg) to CLI * Create .counterscale dir * Update commands for new Turbo layout * Put CLI colors in constant * Create db in home dir * Get account id * Store worker in db, pass as wrangler CLI param * Use shell exec variable substitution * More messin around * Remove sqlite/db code * Dont prompt for Cloudflare account id, fix errors not emitting * Fix a host of issues * Add cli package * Add inquirer types * Fix parsing account id * Try to figure out where @counterscale/server is located * Add missing package.json fields and LICENSE * Fix bad dep * More package/dist fixes for CLI install * alpha 4 * Back to wrangler.json * alpha 5 * alpha 6 * fix paths + alpha 7 * alpha 8 * bundle app w/ server pkg, alpha 9 * Get default names from wrangler.json * Better styling + colors * Tick out output so it looks more natural * Remove test boilerplate from cli (no tests yet) * Fix tests, lint, typecheck * Add basic test suite for CLI * Add more tests * Make wrangler a peerdep * Switch to pnpm to solve subdep issues * Fix missing ora dep * Add npmrc, link workspace packages, add node types * Fix tests * Fix eslint * Fix path resolution * alpha 12 * Fix relative path in import
- Loading branch information