Skip to content

Commit 02fea41

Browse files
committed
refactor: change structure to turborepo
1 parent cd97658 commit 02fea41

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+4031
-15884
lines changed

.actions/setup/action.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: setup
2+
description: clone repository, and start turbo cache server locally
3+
4+
inputs:
5+
cache-key:
6+
description: cache key for turbo cache server
7+
required: true
8+
9+
runs:
10+
using: composite
11+
steps:
12+
- name: checkout
13+
uses: actions/checkout@v4
14+
with:
15+
fetch-depth: 2
16+
17+
- name: turbo
18+
uses: dtinth/setup-github-actions-caching-for-turbo@v1
19+
20+
- name: pnpm
21+
uses: pnpm/action-setup@v4
22+
23+
- name: node
24+
uses: actions/setup-node@v4
25+
with:
26+
node-version: 22
27+
cache: pnpm
28+
29+
- name: install
30+
shell: bash
31+
run: pnpm install --frozen-lockfile

.changeset/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Changesets
2+
3+
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
4+
with multi-package repos, or single-package repos to help you version and publish your code. You can
5+
find the full documentation for it [in our repository](https://github.com/changesets/changesets)
6+
7+
We have a quick list of common questions to get you started engaging with this project in
8+
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)

.changeset/config.json

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

.github/workflows/changeset.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Changeset
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
concurrency:
9+
group: changeset
10+
cancel-in-progress: true
11+
12+
jobs:
13+
changeset:
14+
name: changeset
15+
runs-on: ubuntu-latest
16+
permissions:
17+
id-token: write
18+
contents: write
19+
packages: write
20+
pull-requests: write
21+
issues: read
22+
steps:
23+
- name: setup
24+
uses: ./.actions/setup
25+
with:
26+
cache-key: changeset
27+
- name: build
28+
run: pnpm build --filter='./packages/*'
29+
- name: changesets
30+
id: changesets
31+
uses: changesets/action@v1
32+
with:
33+
publish: pnpm changeset publish
34+
env:
35+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36+
NPM_TOKEN: ${{ secrets.npm_token }}
37+
NPM_CONFIG_PROVENANCE: true

.github/workflows/checks.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: setup
14+
uses: ./.actions/setup
15+
with:
16+
cache-key: ci-build
17+
18+
- name: build
19+
run: pnpm build
20+
21+
test:
22+
runs-on: ubuntu-latest
23+
steps:
24+
- name: setup
25+
uses: ./.actions/setup
26+
with:
27+
cache-key: ci-test
28+
29+
- name: test
30+
run: pnpm test
31+
32+
types:
33+
runs-on: ubuntu-latest
34+
steps:
35+
- name: setup
36+
uses: ./.actions/setup
37+
with:
38+
cache-key: ci-types
39+
40+
- name: types
41+
run: pnpm check-types

.github/workflows/npm-build-test.yml

Lines changed: 0 additions & 48 deletions
This file was deleted.

.github/workflows/npm-publish.yml

Lines changed: 0 additions & 50 deletions
This file was deleted.

.gitignore

Lines changed: 36 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,42 @@
1-
# See http://help.github.com/ignore-files/ for more about ignoring files.
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
22

3-
# compiled output
3+
# Dependencies
4+
node_modules
5+
.pnp
6+
.pnp.js
7+
8+
# Local env files
9+
.env
10+
.env.local
11+
.env.development.local
12+
.env.test.local
13+
.env.production.local
14+
15+
# Testing
16+
coverage
17+
18+
# Turbo
19+
.turbo
20+
21+
# Vercel
22+
.vercel
23+
24+
# Build Outputs
25+
.next/
26+
out/
27+
build
428
dist
5-
tmp
6-
out-tsc
729

8-
# dependencies
9-
node_modules
1030

11-
# IDEs and editors
12-
/.idea
13-
.project
14-
.classpath
15-
.c9/
16-
*.launch
17-
.settings/
18-
*.sublime-workspace
19-
20-
# IDE - VSCode
21-
.vscode/*
22-
!.vscode/settings.json
23-
!.vscode/tasks.json
24-
!.vscode/launch.json
25-
!.vscode/extensions.json
26-
27-
# misc
28-
/.sass-cache
29-
/connect.lock
30-
/coverage
31-
/libpeerconnection.log
32-
npm-debug.log
33-
yarn-error.log
34-
testem.log
35-
/typings
36-
37-
# System Files
38-
.DS_Store
39-
Thumbs.db
31+
# Debug
32+
npm-debug.log*
33+
yarn-debug.log*
34+
yarn-error.log*
4035

41-
.nx/cache
42-
.nx/workspace-data
36+
# Misc
37+
.DS_Store
38+
*.pem
4339

44-
vite.config.*.timestamp*
45-
vitest.config.*.timestamp*
40+
tsconfig.tsbuildinfo
41+
.idea
42+
.vscode
File renamed without changes.

.prettierignore

Lines changed: 0 additions & 5 deletions
This file was deleted.

.verdaccio/config.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

.vscode/extensions.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

.vscode/settings.json

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)