fix(deps): bump dependencies and update README CLI usage to pnpm dlx
This commit is contained in:
@@ -9,11 +9,11 @@ For reporting bugs, issues, or security vulnerabilities, please visit [community
|
||||
## Install
|
||||
|
||||
```bash
|
||||
# Global install (recommended for CLI usage)
|
||||
npm install -g @git.zone/tsdeno
|
||||
# One-off CLI usage
|
||||
pnpm dlx @git.zone/tsdeno compile --help
|
||||
|
||||
# Or as a project dev dependency
|
||||
pnpm install --save-dev @git.zone/tsdeno
|
||||
# Project dev dependency
|
||||
pnpm add --save-dev @git.zone/tsdeno
|
||||
```
|
||||
|
||||
## 🔥 The Problem
|
||||
@@ -160,11 +160,11 @@ steps:
|
||||
with:
|
||||
node-version: '22'
|
||||
|
||||
- name: Install tsdeno
|
||||
run: npm install -g @git.zone/tsdeno
|
||||
- name: Enable pnpm
|
||||
run: corepack enable pnpm
|
||||
|
||||
- name: Compile binary
|
||||
run: tsdeno compile --allow-all --no-check --output myapp mod.ts
|
||||
run: pnpm dlx @git.zone/tsdeno compile --allow-all --no-check --output myapp mod.ts
|
||||
```
|
||||
|
||||
## 🧠 How It Works — Deep Dive
|
||||
|
||||
Reference in New Issue
Block a user