A standardized template for creating Obsidian plugins within the firstsun-dev organization.
- Shared CI/CD: Uses
firstsun-dev/.githubshared workflows for linting, testing, and automatic releases via semantic-release. - TypeScript Support: Pre-configured TypeScript environment.
- Build System: Includes
esbuildfor fast builds. - Linting & Testing: Pre-configured ESLint and Vitest.
- Click "Use this template" to create a new repository.
- Update
manifest.jsonwith your plugin's ID, name, and description. - Update
package.jsonname and description. - In
.github/workflows/ci.yml, update theplugin-idinput. - Install dependencies:
npm install - Start development:
npm run dev
npm run dev: Build and watch for changes.npm run build: Production build.npm run test: Run tests.npm run lint: Lint code.npm run version: Bump version (used by CI).