Skip to content

Commit c7399ad

Browse files
committed
feat: migrate to monorepo
1 parent 44d43fe commit c7399ad

955 files changed

Lines changed: 12915 additions & 15053 deletions

File tree

Some content is hidden

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

‎.github/actions/setup/action.yml‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Setup
2+
description: Setup Node.js and install dependencies
3+
4+
runs:
5+
using: composite
6+
steps:
7+
- name: Setup Node.js
8+
uses: actions/setup-node@v4
9+
with:
10+
node-version: 'lts/*'
11+
cache: 'yarn'
12+
13+
- name: Install dependencies
14+
run: yarn install
15+
shell: bash

‎.github/workflows/ci.yml‎

Lines changed: 12 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Lint & Type Check
1+
name: CI
22

33
on:
44
push:
@@ -7,32 +7,20 @@ on:
77
branches: [main]
88

99
jobs:
10-
analyse:
10+
lint:
1111
runs-on: ubuntu-latest
12-
13-
env:
14-
SKIP_YARN_COREPACK_CHECK: 0
15-
1612
steps:
17-
- uses: actions/checkout@v3
18-
19-
- name: Setup Node.js
20-
uses: actions/setup-node@v3
21-
with:
22-
node-version: 'lts/*'
23-
cache: 'yarn'
13+
- name: Checkout
14+
uses: actions/checkout@v4
2415

25-
- name: Install root dependencies
26-
run: yarn install
16+
- name: Setup
17+
uses: ./.github/actions/setup
2718

28-
- name: Install example dependencies
29-
run: |
30-
cd example
31-
yarn install
32-
cd ..
19+
- name: Build package
20+
run: yarn build
3321

34-
- name: Lint JS Code (ESLint)
35-
run: yarn run lint
22+
- name: Lint files
23+
run: yarn lint
3624

37-
- name: Typescript Type Checking (tsc)
38-
run: yarn run typecheck
25+
- name: Typecheck files
26+
run: yarn typecheck

‎.gitignore‎

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ build/
3030
.gradle
3131
local.properties
3232
*.iml
33-
example/kotlin/build/
34-
*.iml
3533
*.hprof
3634
**/.cxx/
3735
*.keystore
@@ -47,7 +45,6 @@ yarn-error.log
4745
# BUCK
4846
buck-out/
4947
\.buckd/
50-
*.keystore
5148

5249
# fastlane
5350
#
@@ -66,18 +63,19 @@ buck-out/
6663
# CocoaPods
6764
**/Pods
6865

69-
7066
# Yarn
7167
.yarn/*
7268
!.yarn/patches
7369
!.yarn/plugins
7470
!.yarn/releases
7571
!.yarn/sdks
7672
!.yarn/versions
77-
.yarnrc.yml
78-
example/.yarn/*
7973

8074
# generated by bob
8175
lib/
8276

77+
# Turbo
78+
.turbo
79+
80+
# Gradle
8381
secring.gpg

‎.npmignore‎

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

‎.yarn/releases/yarn-4.12.0.cjs‎

Lines changed: 942 additions & 0 deletions
Large diffs are not rendered by default.

‎.yarnrc.yml‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
1+
compressionLevel: mixed
2+
3+
enableGlobalCache: false
4+
15
nodeLinker: node-modules
6+
7+
yarnPath: .yarn/releases/yarn-4.12.0.cjs
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)