@teamhitori/logic-platform-shared
v0.0.0-beta.20251024152955.5afe307
Published
A TypeScript library for shared platform functionality
Maintainers
Readme
Logic Platform Shared 🚀
A TypeScript library providing shared platform functionality for Team Hitori projects.
🎯 Purpose
Logic Platform Shared provides core shared functionality for platform integration across Team Hitori projects.
📦 Installation
npm install @teamhitori/logic-platform-shared🚀 Quick Start
Basic Usage
import { storage } from '@teamhitori/logic-platform-shared';
// Use the storage object
console.log(storage);📡 API Reference
storage
An object providing shared storage functionality.
export const storage: {};🏗️ Development Setup
Prerequisites
- Node.js 18.x or higher
- npm or yarn package manager
Local Development
Clone the repository
git clone https://github.com/teamhitori/logic-platform-shared.git cd logic-platform-sharedInstall dependencies
npm installBuild the project
npm run build
Available Scripts
npm run build- Build the TypeScript projectnpm run build:watch- Build with watch modenpm run clean- Clean build artifactsnpm test- Run tests
🚀 CI/CD & Publishing
The project uses GitHub Actions for automated building and publishing:
Branch Strategy
main- Stable branch, no automatic actionsfeature/*- Feature branches trigger build-only workflowrelease/*- Release branches trigger prerelease → approval → stable release
Release Process
Create release branch
git checkout -b release/v0.0.1 git push origin release/v0.0.1Automatic prerelease - GitHub Actions will:
- Build and test the code
- Publish prerelease to npm with unique version
- Create GitHub prerelease
- Wait for manual approval
Manual approval - Review and approve in GitHub Actions
Stable release - After approval:
- Publishes stable version to npm
- Creates GitHub release
- Uses version from package.json
Version Management
Update version in package.json before creating release branch:
{
"version": "0.0.1"
}📄 License
MIT License - see LICENSE file for details.
🤝 Contributing
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
📞 Support
- 📧 Issues: GitHub Issues
- 📖 Documentation: GitHub Wiki
- 💬 Discussions: GitHub Discussions
Made with ❤️ by Team Hitori
