Skip to content

Commit 95ca0a9

Browse files
committed
Implement with new Bob version
1 parent 39a2355 commit 95ca0a9

File tree

123 files changed

+21779
-18386
lines changed

Some content is hidden

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

123 files changed

+21779
-18386
lines changed

Diff for: .circleci/config.yml

-98
This file was deleted.

Diff for: .github/actions/setup/action.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
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@v3
9+
with:
10+
node-version-file: .nvmrc
11+
12+
- name: Cache dependencies
13+
id: yarn-cache
14+
uses: actions/cache@v3
15+
with:
16+
path: |
17+
**/node_modules
18+
.yarn/install-state.gz
19+
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('**/package.json') }}
20+
restore-keys: |
21+
${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
22+
${{ runner.os }}-yarn-
23+
24+
- name: Install dependencies
25+
if: steps.yarn-cache.outputs.cache-hit != 'true'
26+
run: yarn install --immutable
27+
shell: bash

Diff for: .github/dependabot.yml

-11
This file was deleted.

Diff for: .github/workflows/ci.yml

+61
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
name: CI
2+
on:
3+
push:
4+
branches:
5+
- main
6+
pull_request:
7+
branches:
8+
- main
9+
10+
jobs:
11+
lint:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v3
16+
17+
- name: Setup
18+
uses: ./.github/actions/setup
19+
20+
- name: Lint files
21+
run: yarn lint
22+
23+
- name: Typecheck files
24+
run: yarn typecheck
25+
26+
test:
27+
runs-on: ubuntu-latest
28+
steps:
29+
- name: Checkout
30+
uses: actions/checkout@v3
31+
32+
- name: Setup
33+
uses: ./.github/actions/setup
34+
35+
- name: Run unit tests
36+
run: yarn test --maxWorkers=2 --coverage
37+
38+
build-library:
39+
runs-on: ubuntu-latest
40+
steps:
41+
- name: Checkout
42+
uses: actions/checkout@v3
43+
44+
- name: Setup
45+
uses: ./.github/actions/setup
46+
47+
- name: Build package
48+
run: yarn prepare
49+
50+
build-web:
51+
runs-on: ubuntu-latest
52+
steps:
53+
- name: Checkout
54+
uses: actions/checkout@v3
55+
56+
- name: Setup
57+
uses: ./.github/actions/setup
58+
59+
- name: Build example for Web
60+
run: |
61+
yarn example expo export:web

Diff for: .gitignore

+20-2
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,22 @@ project.xcworkspace
3131

3232
# Android/IJ
3333
#
34-
.idea
34+
.classpath
35+
.cxx
3536
.gradle
37+
.idea
38+
.project
39+
.settings
3640
local.properties
3741
android.iml
3842

3943
# Cocoapods
4044
#
4145
example/ios/Pods
4246

47+
# Ruby
48+
example/vendor/
49+
4350
# node.js
4451
#
4552
node_modules/
@@ -53,8 +60,19 @@ buck-out/
5360
android/app/libs
5461
android/keystores/debug.keystore
5562

63+
# Yarn
64+
.yarn/*
65+
!.yarn/patches
66+
!.yarn/plugins
67+
!.yarn/releases
68+
!.yarn/sdks
69+
!.yarn/versions
70+
5671
# Expo
57-
.expo/*
72+
.expo/
73+
74+
# Turborepo
75+
.turbo/
5876

5977
# generated by bob
6078
lib/

Diff for: .husky/.gitignore

-1
This file was deleted.

Diff for: .husky/commit-msg

-4
This file was deleted.

Diff for: .husky/pre-commit

-4
This file was deleted.

Diff for: .nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v18

Diff for: .watchmanconfig

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

Diff for: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

+541
Large diffs are not rendered by default.

Diff for: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs

+28
Large diffs are not rendered by default.

Diff for: .yarn/releases/yarn-3.6.1.cjs

+874
Large diffs are not rendered by default.

Diff for: .yarnrc

-3
This file was deleted.

Diff for: .yarnrc.yml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
nodeLinker: node-modules
2+
nmHoistingLimits: workspaces
3+
4+
plugins:
5+
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
6+
spec: "@yarnpkg/plugin-interactive-tools"
7+
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
8+
spec: "@yarnpkg/plugin-workspace-tools"
9+
10+
yarnPath: .yarn/releases/yarn-3.6.1.cjs

0 commit comments

Comments
 (0)