You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
2 months ago | |
---|---|---|
.cursor/rules | 2 months ago | |
.husky | 2 months ago | |
android | 2 months ago | |
config/assets | 2 months ago | |
doc | 2 months ago | |
docker | 2 months ago | |
electron | 2 months ago | |
ios | 2 months ago | |
public | 10 months ago | |
resources | 2 months ago | |
scripts | 2 months ago | |
src | 2 months ago | |
sw_scripts | 3 months ago | |
test-playwright | 2 months ago | |
test-scripts | 7 months ago | |
.browserslistrc | 3 years ago | |
.cursor-markdown-rules.md | 3 months ago | |
.dockerignore | 2 months ago | |
.env.development | 2 months ago | |
.env.production | 2 months ago | |
.env.test | 2 months ago | |
.eslintrc.js | 2 months ago | |
.gitignore | 2 months ago | |
.markdownlint.json | 3 months ago | |
.node-version | 2 months ago | |
.npmrc | 4 months ago | |
.nvmrc | 2 months ago | |
BUILDING.md | 2 months ago | |
CHANGELOG.md | 2 months ago | |
CONTRIBUTING.md | 1 year ago | |
Dockerfile | 3 months ago | |
Gemfile | 3 months ago | |
Gemfile.lock | 3 months ago | |
LICENSE | 10 months ago | |
README-BUILD-GUARD.md | 2 months ago | |
README-PR-TEMPLATE.md | 2 months ago | |
README.md | 2 months ago | |
TASK_storage.md | 2 months ago | |
build.sh | 6 months ago | |
capacitor-assets.config.json | 2 months ago | |
capacitor.config.json | 2 months ago | |
capacitor.config.ts | 2 months ago | |
docker-compose.yml | 3 months ago | |
index.html | 2 months ago | |
jest.config.js | 3 months ago | |
package-lock.json | 2 months ago | |
package.json | 2 months ago | |
pkgx.yaml | 4 months ago | |
playwright.config-local.ts | 2 months ago | |
postcss.config.js | 3 years ago | |
project.task.yaml | 2 years ago | |
pull_request_template.md | 2 months ago | |
tailwind.config.js | 3 years ago | |
tsconfig.json | 5 months ago | |
tsconfig.node.json | 2 months ago | |
vite.config.capacitor.mts | 8 months ago | |
vite.config.common.mts | 2 months ago | |
vite.config.dev.mts | 8 months ago | |
vite.config.electron.mts | 3 months ago | |
vite.config.optimized.mts | 2 months ago | |
vite.config.utils.mts | 2 months ago | |
vite.config.web.mts | 2 months ago |
README.md
Time Safari Application
Author: Matthew Raymer Version: 1.0.8-beta Description: Time Safari Application
🛡️ Build Architecture Guard
This project uses Husky Git hooks to protect the build system
architecture. When you modify build-critical files, the system
automatically blocks commits until you update BUILDING.md
.
Quick Setup
npm run guard:setup # Install and activate the guard
How It Works
- Pre-commit: Blocks commits if build files changed without BUILDING.md updates
- Pre-push: Blocks pushes if commits contain undocumented build changes
- Protected paths:
scripts/
,vite.config.*
,electron/
,android/
,ios/
, etc.
Usage
# Test the guard manually
npm run guard:test
# Emergency bypass (use sparingly)
git commit --no-verify
git push --no-verify
📚 Full documentation: See README-BUILD-GUARD.md
🚀 Quick Start
Prerequisites
- Node.js 18+
- npm, yarn, or pnpm
- Git
Installation
npm install
npm run guard:setup # Sets up Build Architecture Guard
Development
npm run build:web:dev # Build web version
npm run build:ios:test # Build iOS test version
npm run build:android:test # Build Android test version
npm run build:electron:dev # Build Electron dev version
Testing
npm run test:web # Run web tests
npm run test:mobile # Run mobile tests
npm run test:all # Run all tests
📁 Project Structure
timesafari/
├── 📁 src/ # Source code
├── 📁 scripts/ # Build and automation scripts
├── 📁 electron/ # Electron configuration
├── 📁 android/ # Android configuration
├── 📁 ios/ # iOS configuration
├── 📁 .husky/ # Git hooks (Build Architecture Guard)
├── 📄 BUILDING.md # Build system documentation
├── 📄 pull_request_template.md # PR template
└── 📄 README-BUILD-GUARD.md # Guard system documentation
🔧 Build System
This project supports multiple platforms:
- Web: Vite-based build with service worker support
- Mobile: Capacitor-based iOS and Android builds
- Desktop: Electron-based cross-platform desktop app
- Docker: Containerized deployment options
📚 Documentation
BUILDING.md
- Complete build system guideREADME-BUILD-GUARD.md
- Build Architecture Guard documentationpull_request_template.md
- PR template for build changes
🤝 Contributing
- Follow the Build Architecture Guard - Update BUILDING.md when modifying build files
- Use the PR template - Complete the checklist for build-related changes
- Test your changes - Ensure builds work on affected platforms
- Document updates - Keep BUILDING.md current and accurate
📄 License
[Add your license information here]
Note: The Build Architecture Guard is active and will block
commits/pushes that modify build files without proper documentation
updates. See README-BUILD-GUARD.md
for complete details.