This document provides the necessary instructions for setting up, developing, and publishing the Bearded Theme VS Code extension.
# Install dependencies
npm install
npm run dev
This mode uses nodemon to watch for changes in source files and automatically recompile the theme.
npm run build
This command generates the theme files in the themes/ folder.
npm run build:ext
This command creates a VSIX file that can be manually installed in VS Code. The file will be generated in ./releases/{version}.vsix.
package.json./releases/{version}.md with the details of the changes:npm run create:release-notes
This file will be used for GitHub publication and should be modified with relevant information.
To publish the extension, you will need:
These tokens can be configured in a .env file at the root of the project:
VSCE_PAT=your_vscode_marketplace_token
OVSX_TOKEN=your_open_vsx_token
The publish.sh script (for Linux/Mac) or publish.bat (for Windows) guides the user through the publication process:
# Linux/Mac
./publish.sh
# Windows
publish.bat
This script:
If you prefer to publish to each platform separately:
# VS Code Marketplace
npm run publish:vscode
# Open VSX
npm run publish:ovsx
# GitHub Release
npm run release
To build the extension and publish it to all platforms in a single command:
npm run publish:all
src/ - TypeScript source code for theme generationvariations/ - Theme variantsscopes/ - Scope definitions for syntax highlightingthemes/ - Generated theme JSON filesreleases/ - Release notes and VSIX packagesassets/ - Images and graphical resourcesIf you encounter issues during publication:
package.json is unique and doesn't already exist$ claude mcp add bearded-theme \
-- python -m otcore.mcp_server <graph>