Skip to content

Commit 3089bdb

Browse files
authored
Initial commit
0 parents  commit 3089bdb

34 files changed

Lines changed: 59782 additions & 0 deletions

.changeset/config.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"$schema": "https://unpkg.com/@changesets/config@3.0.2/schema.json",
3+
"changelog": [
4+
"@changesets/changelog-github",
5+
{
6+
"repo": "<PLACEHOLDER>"
7+
}
8+
],
9+
"commit": false,
10+
"fixed": [],
11+
"linked": [],
12+
"access": "restricted",
13+
"baseBranch": "main",
14+
"updateInternalDependencies": "patch",
15+
"ignore": []
16+
}

.github/actions/setup/action.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Setup
2+
description: Perform standard setup and install dependencies using pnpm.
3+
inputs:
4+
node-version:
5+
description: The version of Node.js to install
6+
required: true
7+
default: 20.16.0
8+
9+
runs:
10+
using: composite
11+
steps:
12+
- name: Install pnpm
13+
uses: pnpm/action-setup@v3
14+
- name: Install node
15+
uses: actions/setup-node@v6
16+
with:
17+
cache: pnpm
18+
node-version: ${{ inputs.node-version }}
19+
- name: Install dependencies
20+
shell: bash
21+
run: pnpm install

.github/workflows/check.yml

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
name: Check
2+
3+
on:
4+
workflow_dispatch:
5+
pull_request:
6+
branches: [main]
7+
push:
8+
branches: [main]
9+
10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.ref }}
12+
cancel-in-progress: true
13+
14+
permissions: {}
15+
16+
jobs:
17+
build:
18+
name: Build
19+
runs-on: ubuntu-latest
20+
timeout-minutes: 10
21+
steps:
22+
- uses: actions/checkout@v6
23+
- name: Install dependencies
24+
uses: ./.github/actions/setup
25+
26+
types:
27+
name: Types
28+
runs-on: ubuntu-latest
29+
timeout-minutes: 10
30+
steps:
31+
- uses: actions/checkout@v6
32+
- name: Install dependencies
33+
uses: ./.github/actions/setup
34+
- run: pnpm check
35+
36+
lint:
37+
name: Lint
38+
runs-on: ubuntu-latest
39+
timeout-minutes: 10
40+
steps:
41+
- uses: actions/checkout@v6
42+
- name: Install dependencies
43+
uses: ./.github/actions/setup
44+
# vibecode-linter uses npx internally for dependency checks
45+
# In pnpm workspaces, npx doesn't find local packages correctly
46+
# Install TypeScript and Biome globally as a workaround
47+
# See: https://github.com/ton-ai-core/vibecode-linter/issues (pending issue)
48+
- name: Install global linter dependencies
49+
run: npm install -g typescript @biomejs/biome
50+
- run: pnpm lint
51+
52+
test:
53+
name: Test
54+
runs-on: ubuntu-latest
55+
timeout-minutes: 10
56+
steps:
57+
- uses: actions/checkout@v6
58+
- name: Install dependencies
59+
uses: ./.github/actions/setup
60+
# vibecode-linter uses npx internally for dependency checks (lint:tests runs first)
61+
- name: Install global linter dependencies
62+
run: npm install -g typescript @biomejs/biome
63+
- run: pnpm test
64+
65+
lint-effect:
66+
name: Lint Effect-TS
67+
runs-on: ubuntu-latest
68+
timeout-minutes: 10
69+
steps:
70+
- uses: actions/checkout@v6
71+
- name: Install dependencies
72+
uses: ./.github/actions/setup
73+
- run: pnpm lint:effect

.github/workflows/release.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Release
2+
on:
3+
push:
4+
branches: [main]
5+
6+
concurrency:
7+
group: ${{ github.workflow }}-${{ github.ref }}
8+
9+
permissions: {}
10+
11+
jobs:
12+
release:
13+
name: Release
14+
runs-on: ubuntu-latest
15+
timeout-minutes: 10
16+
permissions:
17+
contents: write
18+
id-token: write
19+
pull-requests: write
20+
steps:
21+
- uses: actions/checkout@v6
22+
- name: Install dependencies
23+
uses: ./.github/actions/setup
24+
- name: Create Release Pull Request or Publish
25+
uses: changesets/action@v1
26+
with:
27+
version: pnpm changeset-version
28+
publish: pnpm changeset-publish
29+
env:
30+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/snapshot.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Snapshot
2+
3+
on:
4+
pull_request:
5+
branches: [main, next-minor, next-major]
6+
workflow_dispatch:
7+
8+
permissions: {}
9+
10+
jobs:
11+
snapshot:
12+
name: Snapshot
13+
if: github.repository_owner == 'skulidropek'
14+
runs-on: ubuntu-latest
15+
timeout-minutes: 10
16+
steps:
17+
- uses: actions/checkout@v6
18+
- name: Install dependencies
19+
uses: ./.github/actions/setup
20+
- name: Build package
21+
run: pnpm build
22+
- name: Create snapshot
23+
id: snapshot
24+
run: pnpx pkg-pr-new@0.0.24 publish --pnpm --comment=off

.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
node_modules/
2+
dist/
3+
build/
4+
coverage/
5+
packages/*/dist/
6+
npm-debug.log*
7+
yarn-debug.log*
8+
yarn-error.log*
9+
pnpm-debug.log*
10+
reports/

0 commit comments

Comments
 (0)