From 9637cbc5a9c93c7e0cd8798af52450f5727f5f62 Mon Sep 17 00:00:00 2001 From: sickn33 Date: Fri, 3 Apr 2026 18:26:36 +0200 Subject: [PATCH] fix(release): Restore yaml runtime dependency Move yaml into runtime dependencies so the published npm installer works in clean npx environments again. Bump the package to 9.5.1, add the patch release notes, and keep README metadata aligned with the release state. Fixes #445 --- CHANGELOG.md | 20 +++++++++++++++++++ README.md | 4 ++-- docs/users/getting-started.md | 2 +- package-lock.json | 7 +++---- package.json | 4 ++-- .../tests/npm_package_contents.test.js | 6 ++++++ 6 files changed, 34 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a767e739..ce1fb81a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [9.5.1] - 2026-04-03 - "npm Runtime Dependency Fix" + +> **Patch release to restore `npx antigravity-awesome-skills` installs after the published CLI started failing to resolve `yaml` at runtime** + +This release fixes a packaging regression in `9.5.0`. The installer entrypoint loads `tools/lib/skill-utils.js`, which depends on `yaml`, but the published npm package declared that module only as a development dependency. In clean `npx` environments this caused the installer to crash immediately with `Error: Cannot find module 'yaml'`, as reported in issue `#445`. + +## New Skills + +- **None in this release** — `9.5.1` is a focused patch release for the published npm installer. + +## Improvements + +- **Runtime dependency fix**: moved `yaml` from `devDependencies` to runtime `dependencies` so the published CLI bundle installs everything required by `tools/bin/install.js` and `tools/lib/skill-utils.js`. +- **Packaging regression coverage**: extended the npm package contents test to assert that `yaml` remains declared as a runtime dependency for the installer contract. +- **Installer verification**: re-ran the package dry-run and installer-focused tests to confirm the published artifact and filtered install flow no longer reproduce the missing-module failure from issue `#445`. + +## Credits + +- **Issue #445 reporter** for isolating the `yaml` packaging regression in the published npm CLI artifact. + ## [9.5.0] - 2026-04-03 - "Selective Installs and 30K Stars" > Installable skill library update for Claude Code, Cursor, Codex CLI, Gemini CLI, Antigravity, OpenCode, and related AI coding assistants. diff --git a/README.md b/README.md index 4b610fb4..cb70886d 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ - + # 🌌 Antigravity Awesome Skills: 1,344+ Agentic Skills for Claude Code, Gemini CLI, Cursor, Copilot & More > **Installable GitHub library of 1,344+ agentic skills for Claude Code, Cursor, Codex CLI, Gemini CLI, Antigravity, and other AI coding assistants.** @@ -22,7 +22,7 @@ You can use this repo to install a broad multi-tool skill library, start from ro [![OpenCode](https://img.shields.io/badge/OpenCode-CLI-gray?style=for-the-badge)](https://github.com/opencode-ai/opencode) [![Antigravity](https://img.shields.io/badge/Antigravity-AI%20IDE-red?style=for-the-badge)](https://github.com/sickn33/antigravity-awesome-skills) -**Current release: V9.5.0.** Trusted by 30k+ GitHub stargazers, this repository combines official and community skill collections with bundles, workflows, installation paths, and docs that help you go from first install to daily use quickly. +**Current release: V9.5.1.** Trusted by 30k+ GitHub stargazers, this repository combines official and community skill collections with bundles, workflows, installation paths, and docs that help you go from first install to daily use quickly. ## Why This Repo diff --git a/docs/users/getting-started.md b/docs/users/getting-started.md index c966ab5b..1a891f7e 100644 --- a/docs/users/getting-started.md +++ b/docs/users/getting-started.md @@ -1,4 +1,4 @@ -# Getting Started with Antigravity Awesome Skills (V9.5.0) +# Getting Started with Antigravity Awesome Skills (V9.5.1) **New here? This guide will help you supercharge your AI Agent in 5 minutes.** diff --git a/package-lock.json b/package-lock.json index ff037c9b..d683ed19 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,17 +1,17 @@ { "name": "antigravity-awesome-skills", - "version": "9.5.0", + "version": "9.5.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "antigravity-awesome-skills", - "version": "9.5.0", + "version": "9.5.1", "license": "MIT", "bin": { "antigravity-awesome-skills": "tools/bin/install.js" }, - "devDependencies": { + "dependencies": { "yaml": "^2.8.2" } }, @@ -19,7 +19,6 @@ "version": "2.8.2", "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.8.2.tgz", "integrity": "sha512-mplynKqc1C2hTVYxd0PU2xQAc22TI1vShAYGksCCfxbn/dFwnHTNi1bvYsBTkhdUNtGIf5xNOg938rrSSYvS9A==", - "dev": true, "license": "ISC", "bin": { "yaml": "bin.mjs" diff --git a/package.json b/package.json index 0ae881ba..28ea0fcf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "antigravity-awesome-skills", - "version": "9.5.0", + "version": "9.5.1", "description": "1,344+ agentic skills for Claude Code, Gemini CLI, Cursor, Antigravity & more. Installer CLI.", "license": "MIT", "scripts": { @@ -55,7 +55,7 @@ "app:build": "npm run app:setup && cd apps/web-app && npm run build", "app:preview": "cd apps/web-app && npm run preview" }, - "devDependencies": { + "dependencies": { "yaml": "^2.8.2" }, "repository": { diff --git a/tools/scripts/tests/npm_package_contents.test.js b/tools/scripts/tests/npm_package_contents.test.js index bc4ba334..c2a95b7a 100644 --- a/tools/scripts/tests/npm_package_contents.test.js +++ b/tools/scripts/tests/npm_package_contents.test.js @@ -1,6 +1,7 @@ const assert = require("assert"); const { spawnSync } = require("child_process"); const path = require("path"); +const packageJson = require(path.resolve(__dirname, "..", "..", "..", "package.json")); const repoRoot = path.resolve(__dirname, "..", "..", ".."); const npmCommand = process.platform === "win32" ? "npm.cmd" : "npm"; @@ -32,3 +33,8 @@ assert.ok( packagedFiles.has("tools/lib/symlink-safety.js"), "published package must include tools/lib/symlink-safety.js", ); +assert.strictEqual( + packageJson.dependencies?.yaml, + "^2.8.2", + "published package must declare yaml as a runtime dependency for the installer", +);