@supertiny99/easy-create
Advanced tools
+1
-1
| { | ||
| "name": "@supertiny99/easy-create", | ||
| "version": "1.0.2", | ||
| "version": "1.0.3", | ||
| "description": "A universal CLI tool to create projects using official framework scaffolding", | ||
@@ -5,0 +5,0 @@ "type": "module", |
+60
-6
@@ -32,9 +32,9 @@ # easy-create | ||
| # Using pnpm (recommended) | ||
| pnpm dlx easy-create | ||
| pnpm dlx @supertiny99/easy-create | ||
| # Using npx | ||
| npx easy-create | ||
| npx @supertiny99/easy-create | ||
| # Global installation | ||
| pnpm add -g easy-create | ||
| pnpm add -g @supertiny99/easy-create | ||
| easy-create | ||
@@ -76,3 +76,3 @@ ``` | ||
| ```bash | ||
| pnpm dlx easy-create vue my-vue-app | ||
| pnpm dlx @supertiny99/easy-create vue my-vue-app | ||
| ``` | ||
@@ -82,3 +82,3 @@ | ||
| ```bash | ||
| pnpm dlx easy-create react my-react-app | ||
| pnpm dlx @supertiny99/easy-create react my-react-app | ||
| ``` | ||
@@ -88,3 +88,3 @@ | ||
| ```bash | ||
| pnpm dlx easy-create next my-next-app | ||
| pnpm dlx @supertiny99/easy-create next my-next-app | ||
| ``` | ||
@@ -109,4 +109,58 @@ | ||
| ## Publishing | ||
| This project uses GitHub Actions to automatically publish to npm when a version tag is pushed. | ||
| ### Setup (First Time) | ||
| 1. **Create npm token** with Automation permissions: | ||
| - Visit https://www.npmjs.com/settings/tokens | ||
| - Click "Generate New Token" → "Granular Access Token" | ||
| - Set token name (e.g., `github-actions`) | ||
| - Select `@supertiny99` scope | ||
| - **Check "Automation"** (bypasses 2FA for CI/CD) | ||
| - Copy the generated token | ||
| 2. **Add token to GitHub Secrets**: | ||
| - Visit https://github.com/supertiny99/easy-create/settings/secrets/actions | ||
| - Click "New repository secret" | ||
| - Name: `NPM_TOKEN` | ||
| - Secret: paste the npm token | ||
| - Click "Add secret" | ||
| ### Release Process | ||
| To publish a new version: | ||
| ```bash | ||
| # Bump version and create git tag | ||
| npm version patch # or minor, major | ||
| # Push commits and tags | ||
| git push origin main | ||
| git push origin v1.0.3 # replace with actual version | ||
| ``` | ||
| GitHub Actions will automatically: | ||
| 1. Build the project | ||
| 2. Publish to npm | ||
| 3. Make the package available as `@supertiny99/easy-create` | ||
| ### Verification | ||
| After publishing, verify with: | ||
| ```bash | ||
| npm view @supertiny99/easy-create | ||
| ``` | ||
| Or install globally: | ||
| ```bash | ||
| pnpm add -g @supertiny99/easy-create | ||
| easy-create list | ||
| ``` | ||
| ## License | ||
| MIT |
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
43681
3.12%162
50%