Commit Graph

85 Commits

Author SHA1 Message Date
Marc Rousavy
12f6ab5217
Disable dependabot for package.json
It's only devDependencies and some upgrades won't work with the example
2021-03-26 17:34:50 +01:00
Marc Rousavy
8e396c329a
Disable dependabot for docs/ and example/ 2021-03-26 17:33:07 +01:00
Marc Rousavy
48821d50ca
Move Guides to docs/guides directory (#96)
* Move Guides to docs/guides directory

* Rename sidebar

* Fix api/ links

* Update SETUP.mdx
2021-03-23 15:25:27 +01: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
b3881db9b8 Only build iOS if native files changed 2021-03-12 09:59:45 +01:00
Marc Rousavy
1f08a44100 Use Ruby Gemfile (bundle) to optimize pod install times 2021-03-11 19:08:51 +01:00
Marc Rousavy
9cbb5ad68e Update build-ios.yml 2021-03-11 19:02:10 +01:00
Marc Rousavy
832d6155eb Cache Pods in any path that contains "Pods" 2021-03-11 18:36:35 +01:00
Marc Rousavy
c84fa68357
Fix iOS build action (#43) 2021-03-11 18:27:10 +01:00
Marc Rousavy
0d717f0dbe
Build App Actions (#41)
* Adds a "Build Android App" action that builds example/android (I think we can also just build android/, but this is just double safety)
* Adds a "Build iOS App" action that builds example/ios (disabled for now as that is very expensive)
2021-03-11 16:51:28 +01:00
Marc Rousavy
305c11fe7b Dependabot: Also scan example/ and docs/ 2021-03-11 15:53:14 +01:00
Marc Rousavy
47276997e3 Documentation: Use checkout-v2, remove setup-node 2021-03-09 14:16:21 +01:00
Marc Rousavy
630f47da92 Revert "Cleanup Build & Release Documentation action"
This reverts commit a2c85cc7a5.
2021-03-09 14:14:54 +01:00
Marc Rousavy
27f9fec281 Revert "don't use ssh"
This reverts commit 9c3071ec03.
2021-03-09 14:14:52 +01:00
Marc Rousavy
9c3071ec03 don't use ssh 2021-03-09 14:14:30 +01:00
Marc Rousavy
a2c85cc7a5 Cleanup Build & Release Documentation action 2021-03-09 14:11:38 +01:00
Marc Rousavy
cd55596ebd Create notice-new-dependencies.yml 2021-03-09 11:14:45 +01:00
Marc Rousavy
64bb6f6a2a
Run SwiftFormat in GH Action (#28) 2021-03-09 10:53:29 +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
33794d7dc4 Update dependabot.yml 2021-03-04 13:17:44 +01:00
Marc Rousavy
47c57298fc Create dependabot.yml 2021-03-04 13:15:17 +01:00
Marc Rousavy
15709e9f53 Fix old links 2021-03-04 10:45:50 +01:00
Marc Rousavy
138e7bd0ec Ignore example/ for building docs 2021-03-04 10:38:42 +01:00
Marc Rousavy
71b442aeb4 Fix docs build path 2021-03-04 10:36:27 +01:00
Marc Rousavy
0709711b07 Only trigger on source code changes 2021-03-04 10:28:51 +01:00
Marc Rousavy
e7f696112e Install node_modules in build-docs.yml 2021-03-04 10:27:37 +01:00
Marc Rousavy
78aa90109a Update build-docs.yml 2021-03-03 21:31:22 +01:00
Marc Rousavy
734c84579b
build-docs: use ssh 2021-03-03 14:45:57 +01:00
Marc Rousavy
a97a3cf6ec Update build-docs.yml 2021-03-03 13:29:35 +01:00
Marc Rousavy
ef1b9e0d20 Update build-docs.yml 2021-03-03 13:22:40 +01:00
Marc Rousavy
9eb1f5d04c Update build-docs.yml 2021-03-03 13:17:34 +01:00
Marc Rousavy
0fc0dc04ae Add typescript dep 2021-03-03 13:03:29 +01:00
Marc Rousavy
d1516ae622 Create build-docs.yml 2021-03-03 12:53:13 +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
03b9246afe
Devops: KTLint to lint Kotlin code (#6)
* Adds KTLint as a GitHub action
* Adds KTLint to the gradle project for IDE integration
* Adds .editorconfig to configure KTLint (android/)
2021-02-26 10:56:20 +01:00
Marc Rousavy
12236735b0 Update PULL_REQUEST_TEMPLATE.md 2021-02-23 16:47:35 +01:00
Marc Rousavy
3339c19e05 Update BUG_REPORT.md 2021-02-23 16:39:34 +01:00
Marc Rousavy
d60a3a34bc fix issue template emojis 2021-02-23 15:30:42 +01:00
Marc Rousavy
5a863b2bff Create QUESTION.md 2021-02-23 15:29:37 +01:00
Marc Rousavy
ca85d5968a Update FEATURE_REQUEST.md 2021-02-23 15:22:05 +01:00
Marc Rousavy
8c26a1737c rename ISSUE_TEMPLATEs 2021-02-23 15:21:21 +01:00
Marc Rousavy
eef1075776 Update ---bug-report.md 2021-02-23 15:19:43 +01:00
Marc Rousavy
b300b8fad0 Update ---bug-report.md 2021-02-23 15:19:08 +01:00
Marc Rousavy
6134d6cf8a Delete bug_report.md 2021-02-23 15:15:39 +01:00
Marc Rousavy
1e75db6a2e Update issue templates 2021-02-23 15:15:14 +01:00