From c48d92284bea62543d5e56aade4e399d658b7bda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hanno=20J=2E=20G=C3=B6decke?= Date: Thu, 17 Oct 2024 12:17:52 +0200 Subject: [PATCH] wip: repair CI --- .github/workflows/validate-js.yml | 12 ++++++------ bun.lockb | Bin 771888 -> 771904 bytes example/tsconfig.json | 13 ++++--------- package/package.json | 4 +++- 4 files changed, 13 insertions(+), 16 deletions(-) diff --git a/.github/workflows/validate-js.yml b/.github/workflows/validate-js.yml index 89844c17e9..4880c65000 100644 --- a/.github/workflows/validate-js.yml +++ b/.github/workflows/validate-js.yml @@ -45,13 +45,13 @@ jobs: - name: Run TypeScript # Reviewdog tsc errorformat: %f:%l:%c - error TS%n: %m run: | - cd package && yarn typescript | reviewdog -name="tsc" -efm="%f(%l,%c): error TS%n: %m" -reporter="github-pr-review" -filter-mode="nofilter" -fail-on-error -tee + cd package && bun typescript | reviewdog -name="tsc" -efm="%f(%l,%c): error TS%n: %m" -reporter="github-pr-review" -filter-mode="nofilter" -fail-on-error -tee env: REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Run TypeScript in example/ # Reviewdog tsc errorformat: %f:%l:%c - error TS%n: %m run: | - cd example && yarn typescript | reviewdog -name="tsc" -efm="%f(%l,%c): error TS%n: %m" -reporter="github-pr-review" -filter-mode="nofilter" -fail-on-error -tee && cd .. + cd example && bun typescript | reviewdog -name="tsc" -efm="%f(%l,%c): error TS%n: %m" -reporter="github-pr-review" -filter-mode="nofilter" -fail-on-error -tee && cd .. env: REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -67,16 +67,16 @@ jobs: run: bun install - name: Run ESLint - run: cd ./package && yarn lint -f @jamesacarr/github-actions && cd .. + run: cd ./package && bun lint -f @jamesacarr/github-actions - name: Run ESLint with auto-fix - run: cd ./package && yarn lint --fix && cd .. + run: cd ./package && bun lint --fix - name: Run ESLint in example/ - run: cd example && yarn lint -f @jamesacarr/github-actions && cd .. + run: cd example && bun lint -f @jamesacarr/github-actions - name: Run ESLint in example/ with auto-fix - run: cd example && yarn lint --fix && cd .. + run: cd example && bun lint --fix - name: Verify no files have changed after auto-fix run: git diff --exit-code HEAD diff --git a/bun.lockb b/bun.lockb index 57dcacfbe972fe1c4015b6bf2d6ee5773186ae3b..02b29e09f47a3f2e9709d00ba003c384913dcc8e 100755 GIT binary patch delta 14300 zcmd^mi(gg6`uAE3mh1r$@q)ls5zA2S7h!{lK;A$_#k*+|DjJG{fVb2DJ7%7|M7wXeaRV=&eDUgHA50jG0+ptT|5VS_|MiClud5+_f=nLgsv{MxP4mkKWSqLP(@( z8ScF?eM4S6qhu&8E1J%&#T7BLD@ru2n>#$VO;yx)>fMcJ)yM?O`t|r;wJ(FdLBKVj ztl#t>)Eot%tWkf^R-mb%EkPqdS@PoPGiDZ-7nM&rukaX9<{x0u%4uaROh0Yb1*OV_ z2Mfz57FB9lVBm?CW~laLU=}DEludM(Ma$<*VY_RSOG?L&pQ~wW-FjS`E;T>tniE`= z5SL9cxfq7SOzkhJw+lhpF)z5Y;|i*ZEoY9kxZ{4+wNB_g_lu?E6{XxjP*!RW`q`bi zSCvsx(ay%X3d}Ng24;6Xd`1TPrGa5`{sAj45@?6SalzE(u|yE6~gSn+(eC8J(g@dOt8r zwAM7_+a*P_WRyJ#%{GPn^;s-7E@fI4Yl6u=iZPIRu$$@+^26VJM08z?hjxO zHn0bjW&d!Qu7!ej@l~_^OV=cy6PO)i_!-jePlLZB@Nr-^xCfM_pH@^ln}cR&Q-v$a zN{TBJHFsvBs9KFSw#%SqhSY2gD8JJilr>2SP%>3MSYA4F@`GBH#Xko0ZuB3(94zbU zKsD!t7HXV{rIj&d<)vlYfLW)5R{v&D_Rms&aoV~Uiib_c0ZqtVW4H3#KcqcCeEs4r+Z z=*8wrih58M(=uUI_0o2Rw5`!z+1j@0OP1|-qn!tSd8w|2fzAeHb*efTS_jY@VTO#i zqv6VKDWJ@^82`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wFa_|1tAEki#KUU6${;{49Q-2dtPhEE0lQtsaem_HI8 zN&h2n_ReYhh5$DMUU7I;*drAoNtF{VhUfNo9MR&dW#1H73~BRzUA1BNn=uQ3d4O&= zzQ4J^KY7qHJmVB0`k_UY6GV081iymMs_%07f3Q?IKEOEm)0S%A_iuN{s4t@3%dh== zI%T~y==&=*L+_fm>AmpC4OLStwts)%PbE3Xufsp^-zK8=sm>V`xX(Y`|49q3-)Aw+ J+UI}p{{iU6rqTca diff --git a/example/tsconfig.json b/example/tsconfig.json index 404882e1f2..36e34e0930 100644 --- a/example/tsconfig.json +++ b/example/tsconfig.json @@ -1,15 +1,10 @@ { - "extends": "../tsconfig", + "extends": "../package/tsconfig", "compilerOptions": { "paths": { "react-native-vision-camera": ["../src/index"] - }, + } }, - "include": [ - "src", - "index.js" - ], - "exclude": [ - "node_modules" - ] + "include": ["src", "index.js"], + "exclude": ["node_modules"] } diff --git a/package/package.json b/package/package.json index 9d6e9d7464..f8b2082f0c 100644 --- a/package/package.json +++ b/package/package.json @@ -27,7 +27,9 @@ "README.md" ], "scripts": { - "typescript": "tsc --noEmit", + "postinstall": "tsc || exit 0;", + "typecheck": "tsc --noEmit", + "typescript": "tsc --noEmit false", "lint": "eslint \"**/*.{js,ts,tsx}\"", "lint-ci": "yarn lint -f ./node_modules/@firmnav/eslint-github-actions-formatter/dist/formatter.js", "start": "cd example && yarn start",