Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co

## Project Overview

GitHub Action to set up [Vite+](https://github.com/voidzero-dev/vite-plus) (`@voidzero-dev/global`) with dependency caching support. This action installs Vite+ globally and optionally caches project dependencies based on lock file detection.
GitHub Action to set up [Vite+](https://github.com/voidzero-dev/vite-plus) (`vite-plus-global`) with dependency caching support. This action installs Vite+ globally and optionally caches project dependencies based on lock file detection.

## Commands

Expand Down Expand Up @@ -41,7 +41,7 @@ vite run fmt:check
This is a GitHub Action with main and post execution phases (defined in `action.yml`):

- **Main phase** (`src/index.ts` → `runMain`):
1. Install `@voidzero-dev/global` globally via npm
1. Install `vite-plus-global` globally via npm
2. Restore dependency cache if enabled
3. Run `vite install` if requested

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# setup-vite-plus-action

GitHub Action to set up [Vite+](https://github.com/voidzero-dev/vite-plus) (`@voidzero-dev/global`) with dependency caching support.
GitHub Action to set up [Vite+](https://github.com/voidzero-dev/vite-plus) (`vite-plus-global`) with dependency caching support.

## Features

Expand Down Expand Up @@ -90,7 +90,7 @@ steps:

| Input | Description | Required | Default |
|-------|-------------|----------|---------|
| `version` | Version of @voidzero-dev/global to install | No | `latest` |
| `version` | Version of vite-plus-global to install | No | `latest` |
| `registry` | Registry to install from: `npm` or `github` | No | `npm` |
| `github-token` | GitHub PAT for GitHub Package Registry | No | - |
| `run-install` | Run `vite install` after setup. Accepts boolean or YAML object with `cwd`/`args` | No | `true` |
Expand All @@ -101,7 +101,7 @@ steps:

| Output | Description |
|--------|-------------|
| `version` | The installed version of @voidzero-dev/global |
| `version` | The installed version of vite-plus-global |
| `cache-hit` | Boolean indicating if cache was restored |

## Caching
Expand Down
6 changes: 3 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: 'Setup Vite+'
description: 'Install Vite+ (@voidzero-dev/global) and optionally cache project dependencies'
description: 'Install Vite+ (vite-plus-global) and optionally cache project dependencies'
author: 'voidzero-dev'
branding:
icon: zap
color: purple

inputs:
version:
description: 'Version of @voidzero-dev/global to install'
description: 'Version of vite-plus-global to install'
required: false
default: 'latest'
registry:
Expand All @@ -31,7 +31,7 @@ inputs:

outputs:
version:
description: 'The installed version of @voidzero-dev/global'
description: 'The installed version of vite-plus-global'
cache-hit:
description: 'Boolean indicating if cache was restored'

Expand Down
2 changes: 1 addition & 1 deletion dist/index.mjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ async function runMain(inputs: Inputs): Promise<void> {
// Mark that post action should run
saveState(State.IsPost, "true");

// Step 1: Install @voidzero-dev/global
// Step 1: Install vite-plus-global
await installVitePlus(inputs);

// Step 2: Restore cache if enabled
Expand Down
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,5 @@ export enum Outputs {
}

// Package constants
export const PACKAGE_NAME = "@voidzero-dev/global";
export const PACKAGE_NAME = "vite-plus-global";
export const GITHUB_REGISTRY = "https://npm.pkg.github.com";
Loading