Skip to content

Commit 4ea8308

Browse files
committed
Initial Commit
0 parents  commit 4ea8308

28 files changed

Lines changed: 5996 additions & 0 deletions

.github/workflows/publish.yml

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
name: Build and Publish
2+
3+
on:
4+
release:
5+
types: [published]
6+
push:
7+
branches: [main]
8+
paths:
9+
- 'src/**'
10+
- 'templates/**'
11+
- 'package.json'
12+
13+
jobs:
14+
build:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v4
18+
19+
- uses: pnpm/action-setup@v4
20+
with:
21+
version: 9
22+
23+
- uses: actions/setup-node@v4
24+
with:
25+
node-version: "20"
26+
registry-url: "https://registry.npmjs.org"
27+
cache: "pnpm"
28+
29+
- run: pnpm install --frozen-lockfile
30+
- run: pnpm run build
31+
- run: pnpm run typecheck
32+
33+
publish:
34+
needs: build
35+
runs-on: ubuntu-latest
36+
if: github.event_name == 'release'
37+
permissions:
38+
contents: read
39+
id-token: write
40+
steps:
41+
- uses: actions/checkout@v4
42+
43+
- uses: pnpm/action-setup@v4
44+
with:
45+
version: 9
46+
47+
- uses: actions/setup-node@v4
48+
with:
49+
node-version: "20"
50+
registry-url: "https://registry.npmjs.org"
51+
cache: "pnpm"
52+
53+
- run: pnpm install --frozen-lockfile
54+
- run: pnpm run build
55+
- run: npm publish --access public
56+
env:
57+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.gitignore

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Dependencies
2+
node_modules/
3+
4+
# Build output
5+
dist/
6+
7+
# Logs
8+
*.log
9+
10+
# OS files
11+
.DS_Store
12+
Thumbs.db
13+
14+
# IDE
15+
.idea/
16+
.vscode/
17+
*.swp
18+
*.swo
19+
20+
# Factory.ai (development artifacts)
21+
.factory/
22+
23+
# Development artifacts
24+
plans/
25+
flow-progress.txt
26+
fix.md
27+
28+
# Test artifacts
29+
coverage/
30+
*.tgz
31+
32+
# Environment
33+
.env
34+
.env.*
35+
!.env.example

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2025 GitMaxd
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)