UNPKG

starlight-auto-drafts

Version:

Starlight plugin to tweak draft pages default behavior and automatically remove sidebar links to draft pages in production mode.

51 lines 1.37 kB
{ "name": "starlight-auto-drafts", "version": "0.2.1", "license": "MIT", "description": "Starlight plugin to tweak draft pages default behavior and automatically remove sidebar links to draft pages in production mode.", "author": "HiDeoo <github@hideoo.dev> (https://hideoo.dev)", "type": "module", "exports": { ".": "./index.ts", "./middleware": "./middleware.ts", "./styles": "./styles.css", "./package.json": "./package.json" }, "dependencies": { "github-slugger": "^2.0.0", "gray-matter": "^4.0.3", "tinyglobby": "^0.2.14" }, "devDependencies": { "@playwright/test": "^1.54.1" }, "peerDependencies": { "@astrojs/starlight": ">=0.35.0" }, "engines": { "node": ">=18.17.1" }, "publishConfig": { "access": "public" }, "sideEffects": false, "keywords": [ "starlight", "drafts", "sidebar", "links", "documentation", "astro" ], "homepage": "https://github.com/HiDeoo/starlight-auto-drafts", "repository": { "type": "git", "url": "https://github.com/HiDeoo/starlight-auto-drafts.git", "directory": "packages/starlight-auto-drafts" }, "bugs": "https://github.com/HiDeoo/starlight-auto-drafts/issues", "scripts": { "test": "playwright install --with-deps chromium && playwright test", "lint": "eslint . --cache --max-warnings=0" } }