angular-challenges
v0.2.0
Published
Start and submit Angular Challenges (https://angular-challenges.vercel.app) from your terminal: fork, clone, install, branch, serve and open a PR.
Maintainers
Readme
angular-challenges CLI
Try a challenge from Angular Challenges with one command:
npx angular-challenges start 19This will:
- find your GitHub account (via the
ghCLI if signed in, otherwise it asks), - fork
tomalaforge/angular-challengesto your account (or reuse your fork), - ask where to clone your fork — default
./angular-challenges(or reuse an existing clone), - create an
answer-19branch from the latest upstreammain, - run
pnpm install, - open the project in your editor (VS Code, Cursor, Windsurf or JetBrains), and
- serve the challenge app.
When your solution is ready:
npx angular-challenges submitpushes your branch and opens a pre-filled pull request page (Answer:19).
Options
--dir <path>— clone location. Skips the question, so it also works in scripts:npx angular-challenges start 19 --dir ~/code. If the folder already has files in it, the clone goes into<path>/angular-challenges.
Requirements
- Node.js ≥ 20 and git.
pnpmis enabled automatically through corepack. - A GitHub account. The GitHub CLI is optional but makes forking seamless.
Publishing (maintainers)
cd cli && npm publish