Skip to content

Commit 39233b1

Browse files
authored
fix: yarn implementation (#419)
fix: yarn, prettier and eslint - remove .yarn directory - gitignore .yarn - remove .pnp files (add nodeLinker: node-modules) - use expo’s eslint-config-universe preset - simplify eslint configuration - include changes - corepack enable in GitHub action - prettier config - update generate to use eslint-config-universe/universe/native
1 parent cf10608 commit 39233b1

File tree

118 files changed

+2140
-32821
lines changed

Some content is hidden

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

118 files changed

+2140
-32821
lines changed

.eslintignore

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

.eslintrc.js

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

.github/workflows/android-actions.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ on:
77
required: true
88
type: string
99

10-
1110
jobs:
1211
build_example:
1312
runs-on: ubuntu-latest
@@ -26,6 +25,9 @@ jobs:
2625
distribution: 'zulu'
2726
java-version: '17'
2827

28+
- name: Enable Corepack
29+
run: corepack enable
30+
2931
- run: yarn install --immutable --check-cache
3032
working-directory: example
3133

.github/workflows/ios-actions.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
jobs:
1111
build:
1212
runs-on: macos-latest
13-
timeout-minutes: 45 # Figure out why this job can be super slow; runner hardware?
13+
timeout-minutes: 45 # Figure out why this job can be super slow; runner hardware?
1414

1515
defaults:
1616
run:
@@ -25,6 +25,9 @@ jobs:
2525
with:
2626
node-version: ${{ inputs.NVMRC }}
2727

28+
- name: Enable Corepack
29+
run: corepack enable
30+
2831
- name: Install Yarn Dependencies
2932
run: yarn install --immutable --check-cache
3033

.github/workflows/on-push.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ jobs:
1818
with:
1919
node-version: ${{ steps.nvm.outputs.NVMRC }}
2020

21+
- name: Enable Corepack
22+
run: corepack enable
23+
2124
- name: Install
2225
run: yarn install --immutable --check-cache
2326

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,4 +122,5 @@ coverage
122122
# Config plugin
123123
/plugin/build
124124

125-
.env
125+
.env
126+
.yarn

0 commit comments

Comments
 (0)