-
-
Notifications
You must be signed in to change notification settings - Fork 440
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: rework module using react native bob (#421)
* feat: rework module using react native bob * chore: rebase * Added windows example (not working for the moment) * Fixed implementation of the Windows example * Fixed Lint issues * Fixed a missing Lint issue * Fixed another missing Lint issue * fix: fixed all the pending Lint issues * Added pickDirectory() implementation for Windows (proper PR) (#444) * feat: added pickDirectory implementation for Windows * fix: fixed typo in property name Co-authored-by: Matteo Pagani <[email protected]>
- Loading branch information
Showing
111 changed files
with
38,253 additions
and
2,450 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
version: 2.1 | ||
|
||
executors: | ||
default: | ||
docker: | ||
- image: circleci/node:10 | ||
working_directory: ~/project | ||
|
||
commands: | ||
attach_project: | ||
steps: | ||
- attach_workspace: | ||
at: ~/project | ||
|
||
jobs: | ||
install-dependencies: | ||
executor: default | ||
steps: | ||
- checkout | ||
- attach_project | ||
- restore_cache: | ||
keys: | ||
- dependencies-{{ checksum "package.json" }} | ||
- dependencies- | ||
- restore_cache: | ||
keys: | ||
- dependencies-example-{{ checksum "example/package.json" }} | ||
- dependencies-example- | ||
- run: | ||
name: Install dependencies | ||
command: | | ||
yarn install --cwd example --frozen-lockfile | ||
yarn install --frozen-lockfile | ||
- save_cache: | ||
key: dependencies-{{ checksum "package.json" }} | ||
paths: node_modules | ||
- save_cache: | ||
key: dependencies-example-{{ checksum "example/package.json" }} | ||
paths: example/node_modules | ||
- persist_to_workspace: | ||
root: . | ||
paths: . | ||
|
||
lint: | ||
executor: default | ||
steps: | ||
- attach_project | ||
- run: | ||
name: Lint files | ||
command: | | ||
yarn lint | ||
typescript: | ||
executor: default | ||
steps: | ||
- attach_project | ||
- run: | ||
name: Typecheck files | ||
command: | | ||
yarn typescript | ||
unit-tests: | ||
executor: default | ||
steps: | ||
- attach_project | ||
- run: | ||
name: Run unit tests | ||
command: | | ||
yarn test --coverage | ||
- store_artifacts: | ||
path: coverage | ||
destination: coverage | ||
|
||
build-package: | ||
executor: default | ||
steps: | ||
- attach_project | ||
- run: | ||
name: Build package | ||
command: | | ||
yarn prepare | ||
workflows: | ||
build-and-test: | ||
jobs: | ||
- install-dependencies | ||
- lint: | ||
requires: | ||
- install-dependencies | ||
- typescript: | ||
requires: | ||
- install-dependencies | ||
- unit-tests: | ||
requires: | ||
- install-dependencies | ||
- build-package: | ||
requires: | ||
- install-dependencies |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# EditorConfig helps developers define and maintain consistent | ||
# coding styles between different editors and IDEs | ||
# editorconfig.org | ||
|
||
root = true | ||
|
||
[*] | ||
|
||
indent_style = space | ||
indent_size = 2 | ||
|
||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
*.pbxproj -text | ||
# specific for windows script files | ||
*.bat text eol=crlf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
module.exports = { | ||
printWidth: 100, | ||
singleQuote: true, | ||
trailingComma: 'es5', | ||
}; | ||
trailingComma: 'all', | ||
quoteProps: 'consistent', | ||
useTabs: false, | ||
semi: false, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Override Yarn command so we can automatically setup the repo on running `yarn` | ||
|
||
yarn-path "scripts/bootstrap.js" |
Oops, something went wrong.