Commit Graph

20 Commits

Author SHA1 Message Date
Marc Rousavy
96fba0b925 ci: Upgrade cache@v2 to cache@v3 2023-09-21 19:10:22 +02:00
Marc Rousavy
a417be6292
ci: Upgrade checkout@v2 to checkout@v4 (#1826) 2023-09-21 19:02:10 +02:00
Marc Rousavy
036856aed5
chore: Move everything into package/ (#1745)
* Move everything into package

* Remove .DS_Store

* Move scripts and eslintrc to package

* Create CODE_OF_CONDUCT.md

* fix some links

* Update all links (I think)

* Update generated docs

* Update notice-yarn-changes.yml

* Update validate-android.yml

* Update validate-cpp.yml

* Delete notice-yarn-changes.yml

* Update validate-cpp.yml

* Update validate-cpp.yml

* Update validate-js.yml

* Update validate-cpp.yml

* Update validate-cpp.yml

* wrong c++ style

* Revert "wrong c++ style"

This reverts commit 55a3575589c6f13f8b05134d83384f55e0601ab2.
2023-09-01 18:15:28 +02:00
Marc Rousavy
a2293e858d
fix: Fix TypeScript relative imports (#358)
* fix: Fix TypeScript relative imports

* Decouple `example` from tsconfig

* fix ESLint config

* add lint-ci script

* move example running to workflow

* test ts

* test eslint

* test ts

* fix ESLint formatter

* Revert "fix ESLint formatter"

This reverts commit 21aca0dcdb54d4ce98b33d2b4f1decc18bc82e85.

* Revert "test ts"

This reverts commit becc346ad3d097b7d3570ebc8b5bf80390aadf87.

* Revert "test eslint"

This reverts commit 9c9f0b81bf3aa57188f550a34b2a8151e364f3b0.

* Revert "test ts"

This reverts commit 3cbe7200608910087b43e0d9cdae0917b0b4215e.
2021-08-16 10:45:41 +02:00
Marc Rousavy
0ce6f3eddd Add autofix/diff checker to ESLint 2021-03-12 15:10:44 +01:00
Marc Rousavy
04163160ff Also run validate-js for example/ 2021-03-12 14:58:09 +01:00
Marc Rousavy
dee957648b
Fix tsc (again) (#50)
* Test forbid `<View>`

* Update validate-js.yml

* Run yarn lint with custom formatter lib

* Revert "Test forbid `<View>`"

This reverts commit d36ab54b48b7e86e594d360bd71c82b541ed63fa.

* Test: Intentional tsc error

* Update notice-new-dependencies.yml

* Update validate-js.yml

* Use reviewdog again, but with custom efm

* Fix <Camera> props

* Update validate-js.yml

* Try use github-check

* Update validate-js.yml

* Update validate-js.yml

* Add two reporters

* Update validate-js.yml

* Level error

* Use github-pr-review

* Update validate-js.yml

* Revert "Test: Intentional tsc error"

This reverts commit a4e7f6f599d403848729143f1bd87a3435c70826.
2021-03-12 14:19:22 +01:00
Marc Rousavy
33483cba94
Fix tsc (#49)
* Test: Rename a used prop

* Use `github-check` reporter

* Also output to CI

* Update validate-js.yml

* Update validate-js.yml

* Update validate-js.yml

* Revert "Test: Rename a used prop"

This reverts commit 266b2716ea591a1e826279c1f573870bee3b13e5.

* Run tsc and lint in parallel

* Flatten `CameraProps` into single `interface`

* Type NativeCameraViewProps

* Fix native method typings

* Force `as any` for now
2021-03-12 13:21:46 +01:00
Marc Rousavy
168ba054d1 Update workflow glob matchers 2021-03-09 09:45:06 +01:00
Marc Rousavy
fcda8dd75a Reviewdog: Fail on error 2021-03-08 19:34:46 +01:00
Marc Rousavy
f051481010
Devops/reviewdog typescript (#25)
* Use reviewdog for TSC

* Replace all `type Readonly<T>` with `interface T`

* Use --frozen-lockfile for yarn

* Give all actions a name

* Fix yarn example
2021-03-08 17:51:47 +01:00
Marc Rousavy
6438b9a8bc
Bump CameraX versions to alpha2/alpha22 (#7)
* Bump CameraX versions to alpha2/alpha22
* Use `setDefaultResolution` to set format's photoSize
2021-02-26 17:34:28 +01:00
Marc Rousavy
c1a679bf2a Merge Validate JS into single job 2021-02-23 14:52:41 +01:00
Marc Rousavy
4277907af9 Update validate-js.yml 2021-02-23 14:49:17 +01:00
Marc Rousavy
c2908e12e1 Use yarn cache dir for correct caching 2021-02-23 14:46:11 +01:00
Marc Rousavy
e8aa9d81c2 Add cache action 2021-02-23 14:43:23 +01:00
Marc Rousavy
da514bb99b Update validate-js.yml 2021-02-23 14:40:14 +01:00
Marc Rousavy
915492f108 Update validate-js.yml 2021-02-23 14:39:54 +01:00
Marc Rousavy
1cb3a63557 Update validate-js.yml 2021-02-23 14:34:46 +01:00
Marc Rousavy
338e7efa1e Rename 2021-02-23 14:29:59 +01:00