mirror of
https://github.com/forketyfork/obsidian-youtrack-fetcher.git
synced 2026-07-22 05:46:13 +00:00
- Switch package manager to pnpm 10.33.4: regenerate the lockfile, update package.json scripts, justfile, release.mjs, README, and CLAUDE.md. - Use the hoisted node-modules layout via .npmrc to preserve the resolution behavior the project relied on under yarn's nodeLinker: node-modules. - Replace yarn with pnpm in the nix flake's dev shell. - Update CI workflows to use pnpm/action-setup and pnpm install --frozen-lockfile. - Run dependabot weekly instead of daily and require a 7-day cooldown on any update.
81 lines
1.2 KiB
Makefile
81 lines
1.2 KiB
Makefile
# Obsidian YouTrack Fetcher - Development Commands
|
|
|
|
# List all available commands
|
|
default:
|
|
@just --list
|
|
|
|
# Clean build artifacts and dependencies
|
|
clean:
|
|
rm -rf node_modules
|
|
rm -rf main.js
|
|
rm -rf styles.css
|
|
rm -rf coverage
|
|
|
|
# Install dependencies
|
|
install:
|
|
pnpm install
|
|
|
|
# Full production build (typecheck, lint, format, build, test)
|
|
build:
|
|
pnpm build
|
|
|
|
# Development build
|
|
dev:
|
|
pnpm dev
|
|
|
|
# Development build with watch mode
|
|
watch:
|
|
pnpm dev:watch
|
|
|
|
# Production build without tests
|
|
prod:
|
|
pnpm prod
|
|
|
|
# Run TypeScript type checking
|
|
typecheck:
|
|
pnpm typecheck
|
|
|
|
# Run tests
|
|
test:
|
|
pnpm test
|
|
|
|
# Run tests in development mode
|
|
test-dev:
|
|
pnpm test:dev
|
|
|
|
# Run tests in watch mode
|
|
test-watch:
|
|
pnpm test:watch
|
|
|
|
# Run tests with coverage
|
|
coverage:
|
|
pnpm coverage
|
|
|
|
# Run ESLint
|
|
lint:
|
|
pnpm lint
|
|
|
|
# Run Stylelint on CSS sources
|
|
lint-css:
|
|
pnpm lint:css
|
|
|
|
# Format code with Prettier
|
|
format:
|
|
pnpm format
|
|
|
|
# Build CSS from source
|
|
build-css:
|
|
pnpm build:css
|
|
|
|
# Bump version
|
|
version VERSION:
|
|
npm version --no-git-tag-version {{VERSION}}
|
|
pnpm run version
|
|
|
|
# Full release (version, push, tags)
|
|
release VERSION:
|
|
pnpm release {{VERSION}}
|
|
|
|
# Tag release (after release command)
|
|
tag-release:
|
|
pnpm tag-release
|