-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #167 from GetStream/vishal/fixing-example-apps
v1.0.0
- Loading branch information
Showing
319 changed files
with
17,220 additions
and
28,770 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
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
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,40 @@ | ||
name: build | ||
|
||
on: | ||
push: | ||
branches: | ||
- vishal/fixing-example-apps | ||
- master | ||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node: [10, 12, 14] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v2-beta | ||
with: | ||
node-version: ${{ matrix.node }} | ||
|
||
- name: Get yarn cache directory path | ||
id: yarn-cache-path | ||
run: echo "::set-output name=dir::$(yarn cache dir)" | ||
|
||
- uses: actions/cache@master | ||
id: yarn-cache | ||
with: | ||
path: ${{ steps.yarn-cache-path.outputs.dir }} | ||
key: yarn-${{ hashFiles('**/yarn.lock') }} | ||
restore-keys: yarn- | ||
|
||
- name: Install dependencies | ||
run: yarn install | ||
|
||
- name: Lint and Test with ${{ matrix.node }} | ||
env: | ||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | ||
run: | | ||
yarn lint | ||
yarn docs | ||
yarn validate-translations |
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,14 +1,7 @@ | ||
{ | ||
"singleQuote": true, | ||
"trailingComma": "all", | ||
"arrowParens": "always", | ||
"jsxSingleQuote": true, | ||
"singleQuote": true, | ||
"tabWidth": 2, | ||
"overrides": [ | ||
{ | ||
"files": "*.ts", | ||
"options": { | ||
"trailingComma": "all" | ||
} | ||
} | ||
] | ||
"trailingComma": "all" | ||
} |
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 |
---|---|---|
|
@@ -5,9 +5,34 @@ All notable changes to this project will be documented in this file. | |
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## Unreleased | ||
## 1.0.0-rc.1 - 2021-01-11 | ||
|
||
Nothing yet | ||
- Added support for Expo 40 and react-native 0.63 | ||
- Removed [flow types](https://flow.org/) and added traditional [`PropTypes`](https://reactjs.org/docs/typechecking-with-proptypes.html) | ||
- Upgrade to `[email protected]` | ||
- Cleanup around examples | ||
|
||
Removed following existing examples: | ||
|
||
- example | ||
- examples/one | ||
- native-example | ||
|
||
Added new examples: | ||
|
||
- examples/expo (Expo 40) | ||
- examples/native (RN 0.63.x) | ||
|
||
- Replace `react-native-image-picker` with [`react-native-image-crop-picker`](https://github.com/ivpusic/react-native-image-crop-picker) to allow compression. | ||
|
||
- Fixed pending issues: | ||
- https://github.com/GetStream/react-native-activity-feed/issues/156 | ||
- https://github.com/GetStream/react-native-activity-feed/issues/154 | ||
- https://github.com/GetStream/react-native-activity-feed/issues/152 | ||
- https://github.com/GetStream/react-native-activity-feed/issues/126 | ||
- https://github.com/GetStream/react-native-activity-feed/issues/99 | ||
- https://github.com/GetStream/react-native-activity-feed/issues/160 | ||
- https://github.com/GetStream/react-native-activity-feed/issues/165 | ||
|
||
## 0.9.1 - 2020-03-31 | ||
|
||
|
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,37 @@ | ||
.PHONY: netlify | ||
.PHONY: example-build example-deps | ||
|
||
EXAMPLES_PATH = examples | ||
EXAMPLES = expo native | ||
EXAMPLES_APPS = $(addprefix $(EXAMPLES_PATH)/,$(EXAMPLES)) | ||
EXAMPLES_APPS_DEPS = $(addsuffix /node_modules/installed_dependencies,$(EXAMPLES_APPS)) | ||
|
||
WRAPPER_PACKAGES = native-package expo-package | ||
WRAPPER_PACKAGES_DEPS = $(addsuffix /node_modules/installed_dependencies,$(WRAPPER_PACKAGES)) | ||
|
||
SOURCES = $(filter(%$(EXAMPLES_PATH)/, $(wildcard *.js) $(wildcard */*.js) $(wildcard */*.scss) $(wildcard */*.png) $(wildcard */*.html) $(wildcard ../client/*/*.js) $(wildcard ../client/*.js)) | ||
LIB_SOURCES = $(wildcard *.js) $(wildcard */*.js) $(wildcard */*.scss) $(wildcard */*.png) $(wildcard */*.html) $(wildcard ../client/*/*.js) $(wildcard ../client/*.js) | ||
|
||
example-deps: $(EXAMPLES_APPS_DEPS) | ||
|
||
$(EXAMPLES_APPS_DEPS): %/node_modules/installed_dependencies: %/yarn.lock %/package.json $(SOURCES) $(WRAPPER_PACKAGES_DEPS) | ||
cd $* && yarn install | ||
touch $@ | ||
|
||
$(WRAPPER_PACKAGES_DEPS): %/node_modules/installed_dependencies: %/yarn.lock %/package.json $(SOURCES) node_modules/installed_dependencies | ||
cd $* && yarn install | ||
touch $@ | ||
|
||
node_modules/installed_dependencies: yarn.lock package.json | ||
yarn install | ||
touch $@ | ||
|
||
dist/built: $(LIB_SOURCES) node_modules/installed_dependencies | ||
yarn build | ||
touch $@ q | ||
|
||
clean: | ||
rm -rf $(addsuffix /node_modules,$(EXAMPLES_APPS)) || true | ||
rm -rf $(addsuffix /node_modules,$(WRAPPER_PACKAGES)) || true | ||
rm -rf dist || true | ||
rm -rf node_modules || true |
Oops, something went wrong.