📦 deps(thirdparty): update snapshots

This commit is contained in:
ci[bot]
2026-06-26 12:11:04 +00:00
parent a225b70c17
commit 18ce71c489
182 changed files with 3065 additions and 370 deletions
+3 -3
View File
@@ -1,11 +1,11 @@
# uipro-cli
# ui-ux-pro-max-cli
CLI to install UI/UX Pro Max skill for AI coding assistants.
## Installation
```bash
npm install -g uipro-cli
npm install -g ui-ux-pro-max-cli
```
## Usage
@@ -70,7 +70,7 @@ uipro update # updates the global CLI to the latest release
uipro init --ai codex --force # regenerate skill files from the new package
```
`uipro update` runs `npm install -g uipro-cli@latest` for you (it shells out to `npm` only on Windows, where `npm` is a `.cmd`). You can still run that command manually if you prefer. When the CLI is already current, `uipro update` just refreshes the installed skill files.
`uipro update` runs `npm install -g ui-ux-pro-max-cli@latest` for you (it shells out to `npm` only on Windows, where `npm` is a `.cmd`). You can still run that command manually if you prefer. When the CLI is already current, `uipro update` just refreshes the installed skill files.
## Development
+2 -2
View File
@@ -1,11 +1,11 @@
{
"name": "uipro-cli",
"name": "ui-ux-pro-max-cli",
"version": "2.5.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "uipro-cli",
"name": "ui-ux-pro-max-cli",
"version": "2.5.0",
"license": "MIT",
"dependencies": {
+1 -1
View File
@@ -1,5 +1,5 @@
{
"name": "uipro-cli",
"name": "ui-ux-pro-max-cli",
"version": "2.5.0",
"description": "CLI to install UI/UX Pro Max skill for AI coding assistants",
"type": "module",
+4 -3
View File
@@ -10,6 +10,7 @@ import { initCommand } from './init.js';
import type { AIType } from '../types/index.js';
const __dirname = dirname(fileURLToPath(import.meta.url));
const CLI_PACKAGE_NAME = 'ui-ux-pro-max-cli';
interface UpdateOptions {
ai?: AIType;
@@ -44,7 +45,7 @@ export async function updateCommand(options: UpdateOptions): Promise<void> {
// reach the shell that npm.cmd requires on Windows.
if (!/^\d+\.\d+\.\d+([.-][0-9A-Za-z.-]+)?$/.test(latestVersion)) {
logger.warn(`Installed CLI is ${chalk.cyan(currentVersion)}; latest release is ${chalk.cyan(release.tag_name)}.`);
logger.info(`Update the CLI package: ${chalk.cyan(`npm install -g uipro-cli@${latestVersion}`)}`);
logger.info(`Update the CLI package: ${chalk.cyan(`npm install -g ${CLI_PACKAGE_NAME}@${latestVersion}`)}`);
logger.info('Then rerun: uipro init --ai <platform> --force');
return;
}
@@ -58,13 +59,13 @@ export async function updateCommand(options: UpdateOptions): Promise<void> {
// On Windows npm is npm.cmd, which Node only spawns via a shell.
execFileSync(
isWindows ? 'npm.cmd' : 'npm',
['install', '-g', `uipro-cli@${latestVersion}`],
['install', '-g', `${CLI_PACKAGE_NAME}@${latestVersion}`],
{ stdio: 'inherit', shell: isWindows }
);
} catch {
console.log();
logger.error('Automatic update failed (you may need elevated/admin permissions).');
logger.info(`Update manually: ${chalk.cyan(`npm install -g uipro-cli@${latestVersion}`)}`);
logger.info(`Update manually: ${chalk.cyan(`npm install -g ${CLI_PACKAGE_NAME}@${latestVersion}`)}`);
process.exit(1);
}
+4 -3
View File
@@ -4,6 +4,7 @@ import type { Release } from '../types/index.js';
const REPO_OWNER = 'nextlevelbuilder';
const REPO_NAME = 'ui-ux-pro-max-skill';
const API_BASE = 'https://api.github.com';
const USER_AGENT = 'ui-ux-pro-max-cli';
export class GitHubRateLimitError extends Error {
constructor(message: string) {
@@ -56,7 +57,7 @@ export async function fetchReleases(token?: string): Promise<Release[]> {
const response = await fetch(url, {
headers: {
'Accept': 'application/vnd.github.v3+json',
'User-Agent': 'uipro-cli',
'User-Agent': USER_AGENT,
...getAuthHeaders(token),
},
});
@@ -76,7 +77,7 @@ export async function getLatestRelease(token?: string): Promise<Release> {
const response = await fetch(url, {
headers: {
'Accept': 'application/vnd.github.v3+json',
'User-Agent': 'uipro-cli',
'User-Agent': USER_AGENT,
...getAuthHeaders(token),
},
});
@@ -93,7 +94,7 @@ export async function getLatestRelease(token?: string): Promise<Release> {
export async function downloadRelease(url: string, dest: string, token?: string): Promise<void> {
const response = await fetch(url, {
headers: {
'User-Agent': 'uipro-cli',
'User-Agent': USER_AGENT,
'Accept': 'application/octet-stream',
...getAuthHeaders(token),
},