Skip to content

Commit

Permalink
feat: independently version packages (#3513)
Browse files Browse the repository at this point in the history
* feat: remove core version lock

* chore: v6.4.1

* chore: v6.4.1

* chore: configure lerna for independent versions

* chore: configure lerna for independent versions

* chore: only check docs folder

skipping elsewhere due to generated files such as changelogs
  • Loading branch information
Salakar authored Apr 22, 2020
1 parent a800cdb commit e2c2d64
Show file tree
Hide file tree
Showing 47 changed files with 1,370 additions and 136 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
name: Documentation

on:
push:
branches:
- master
paths:
- '**/*.md'
pull_request:
paths:
- '**/*.md'
branches:
- '**'

jobs:
spelling:
Expand All @@ -21,4 +16,4 @@ jobs:
sudo npm install --global spellchecker-cli
- name: Spell check
run: |
spellchecker --quiet --files="**/*.md" --dictionaries="./.spellcheck.dict.txt" --reports="spelling.json" --plugins spell indefinite-article repeated-words syntax-mentions syntax-urls frontmatter
spellchecker --quiet --files="docs/**/*.md" --dictionaries="./.spellcheck.dict.txt" --reports="spelling.json" --plugins spell indefinite-article repeated-words syntax-mentions syntax-urls frontmatter
33 changes: 33 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Publish

on:
push:
branches:
- master

jobs:
publish_npm:
if: "! contains(toJSON(github.event.commits.*.message), '[skip-ci]')"
name: 'NPM'
timeout-minutes: 5
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: GIT Setup
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config --global user.name '@Salakar'
git config --global user.email '[email protected]'
git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/$GITHUB_REPOSITORY
- name: Publish Packages
run: |
npm whoami
npx lerna publish --yes
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Deploy Documentation
env:
NETLIFY_TRIGGER_URL: ${{ secrets.NETLIFY_TRIGGER_URL }}
run: |
curl -X POST -d {} "$NETLIFY_TRIGGER_URL"
3 changes: 0 additions & 3 deletions .github/workflows/tests_e2e.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: Testing E2E

on:
push:
branches:
- master
pull_request:
branches:
- '**'
Expand Down
21 changes: 9 additions & 12 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,16 @@
{
"npmClient": "yarn",
"npmClientArgs": [
"--no-lockfile"
],
"packages": [
"packages/*",
"tests"
],
"npmClientArgs": ["--no-lockfile"],
"packages": ["packages/*", "tests"],
"useWorkspaces": true,
"command": {
"publish": {
"ignoreChanges": [
"*.md"
]
"version": {
"conventionalCommits": true,
"exact": true,
"gitRemote": "origin",
"message": "chore(release): publish [skip-ci]"
}
},
"version": "6.4.0"
"ignoreChanges": ["**/docs/**", "**/.github/**", "**/e2e/**", "**/tests/**"],
"version": "independent"
}
5 changes: 0 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"lerna:link": "lerna link",
"lerna:clean": "lerna clean",
"gen:reference": "node scripts/generate-typedoc.js",
"generate-changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -t -v -l",
"tests:packager:chrome": "cd tests && node_modules/.bin/react-native start --reset-cache",
"tests:packager:jet": "cd tests && cross-env REACT_DEBUGGER=\"echo nope\" node_modules/.bin/react-native start --no-interactive",
"tests:packager:jet-reset-cache": "cd tests && cross-env REACT_DEBUGGER=\"echo nope\" node_modules/.bin/react-native start --reset-cache --no-interactive",
Expand All @@ -29,10 +28,6 @@
"tests:ios:test-cover": "cd tests && ./node_modules/.bin/nyc ./node_modules/.bin/detox test --configuration ios.sim.debug",
"tests:ios:test-cover-reuse": "cd tests && node_modules/.bin/nyc ./node_modules/.bin/detox test --configuration ios.sim.debug --reuse --loglevel warn",
"tests:ios:pod:install": "cd tests && cd ios && rm -rf ReactNativeFirebaseDemo.xcworkspace && pod install && cd ..",
"npm:version:release:patch": "echo '!!🔴!! RELEASE !!🔴!!' && lerna version patch --no-git-tag-version --no-push --exact --force-publish=*",
"npm:version:release:minor": "echo '!!🔴!! RELEASE !!🔴!!' && lerna version minor --no-git-tag-version --no-push --exact --force-publish=*",
"npm:version:release:major": "echo '!!🔴!! RELEASE !!🔴!!' && lerna version major --no-git-tag-version --no-push --exact --force-publish=*",
"npm:publish:release": "echo '!!🔴!! RELEASE !!🔴!!' && echo '!!!!! RELEASE !!!!!!' && lerna publish from-package --dist-tag latest --no-git-reset",
"format:markdown": "prettier --write \"docs/**/*.md\""
},
"devDependencies": {
Expand Down
63 changes: 63 additions & 0 deletions packages/admob/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# Change Log

All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# 6.5.0 (2020-04-22)


### Bug Fixes

* **android,build:** conditionally check `app` dependency, fixes… ([#3215](https://github.com/invertase/react-native-firebase/tree/master/packages/admob/issues/3215)) ([b4eaa39](https://github.com/invertase/react-native-firebase/tree/master/packages/admob/commit/b4eaa39ea8022535696d28e6eacb5c3e3ce9578f))
* **android,build:** use correct plugin & BoM versions ([fb763eb](https://github.com/invertase/react-native-firebase/tree/master/packages/admob/commit/fb763ebde216d8c789b08bd0d77c078089776627))


### Features

* **ios:** allow static_framework usage via Podfile global ([#3388](https://github.com/invertase/react-native-firebase/tree/master/packages/admob/issues/3388)) ([530f8bb](https://github.com/invertase/react-native-firebase/tree/master/packages/admob/commit/530f8bbb51f89f106854dbf1df5ec80211e2cf8b)), closes [#3253](https://github.com/invertase/react-native-firebase/tree/master/packages/admob/issues/3253)
* **messaging:** ios & android messaging updates & fixes ([#3339](https://github.com/invertase/react-native-firebase/tree/master/packages/admob/issues/3339)) ([d66a611](https://github.com/invertase/react-native-firebase/tree/master/packages/admob/commit/d66a6118f82005087f53b86571990fc071402153))



# 6.3.0 (2020-02-04)


### Bug Fixes

* **admob,android:** null check activity in consent form ([#2985](https://github.com/invertase/react-native-firebase/tree/master/packages/admob/issues/2985)) ([b5243cf](https://github.com/invertase/react-native-firebase/tree/master/packages/admob/commit/b5243cf25a130d10160635c23846a20435995cad))



# 6.2.0 (2019-12-08)



# 6.1.0 (2019-11-26)


### Bug Fixes

* **admob:** add null checks for getCurrentActivity() usages ([#2913](https://github.com/invertase/react-native-firebase/tree/master/packages/admob/issues/2913)) ([1fb296d](https://github.com/invertase/react-native-firebase/tree/master/packages/admob/commit/1fb296dc3bc2ffcf2db1d09f5f17b0209ff8276a))
* **admob,ios:** use `AdMob` vs `Admob` for Pod name ([#2922](https://github.com/invertase/react-native-firebase/tree/master/packages/admob/issues/2922)) ([88a0167](https://github.com/invertase/react-native-firebase/tree/master/packages/admob/commit/88a01672a8e443e87c7e1513cdb0d0594dd47ed9))


### Features

* **firestore:** array-contains, array-contains-any & in filters ([#2868](https://github.com/invertase/react-native-firebase/tree/master/packages/admob/issues/2868)) ([42e034c](https://github.com/invertase/react-native-firebase/tree/master/packages/admob/commit/42e034c4807da54441d2baeab9f57bbf1a137a4a))
* **ios:** upgrade Firebase iOS SDK version to 6.13.0 ([547d0a2](https://github.com/invertase/react-native-firebase/tree/master/packages/admob/commit/547d0a2d74a68808b29063f9b3aa3e1ac38551fc))



## 6.0.4 (2019-11-17)



## 6.0.3 (2019-10-25)



## 6.0.2 (2019-10-18)



## 6.0.1 (2019-10-07)
4 changes: 2 additions & 2 deletions packages/admob/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native-firebase/admob",
"version": "6.4.0",
"version": "6.5.0",
"author": "Invertase <[email protected]> (http://invertase.io)",
"description": "React Native Firebase - Google AdMob is an easy way to monetize mobile apps with targeted, in-app advertising.",
"main": "lib/index.js",
Expand Down Expand Up @@ -29,7 +29,7 @@
"peerDependencies": {
"@react-native-firebase/app": "*"
},
"gitHead": "aa127b844418db58d33d00b7ba08872273e6f658",
"gitHead": "b5bbbef8f0e46a7b979f4e884b9e9b98aaf810f4",
"publishConfig": {
"access": "public"
}
Expand Down
68 changes: 68 additions & 0 deletions packages/analytics/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# Change Log

All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# 6.5.0 (2020-04-22)


### Bug Fixes

* **analytics:** logEvent params can be objects, further fix for… ([#3351](https://github.com/invertase/react-native-firebase/tree/master/packages/analytics/issues/3351)) ([eebfb04](https://github.com/invertase/react-native-firebase/tree/master/packages/analytics/commit/eebfb04a7c0a856a9d5d311ae99138df9ab90c3b)), closes [#3219](https://github.com/invertase/react-native-firebase/tree/master/packages/analytics/issues/3219) [#3219](https://github.com/invertase/react-native-firebase/tree/master/packages/analytics/issues/3219)
* **android,build:** conditionally check `app` dependency, fixes… ([#3215](https://github.com/invertase/react-native-firebase/tree/master/packages/analytics/issues/3215)) ([b4eaa39](https://github.com/invertase/react-native-firebase/tree/master/packages/analytics/commit/b4eaa39ea8022535696d28e6eacb5c3e3ce9578f))
* **android,build:** use correct plugin & BoM versions ([fb763eb](https://github.com/invertase/react-native-firebase/tree/master/packages/analytics/commit/fb763ebde216d8c789b08bd0d77c078089776627))
* **types,analytics:** logEvent types for [#3219](https://github.com/invertase/react-native-firebase/tree/master/packages/analytics/issues/3219) ([65ec7eb](https://github.com/invertase/react-native-firebase/tree/master/packages/analytics/commit/65ec7eb431712f8c4d3cf96c24489e6a13ef4e13))


### Features

* **ios:** allow static_framework usage via Podfile global ([#3388](https://github.com/invertase/react-native-firebase/tree/master/packages/analytics/issues/3388)) ([530f8bb](https://github.com/invertase/react-native-firebase/tree/master/packages/analytics/commit/530f8bbb51f89f106854dbf1df5ec80211e2cf8b)), closes [#3253](https://github.com/invertase/react-native-firebase/tree/master/packages/analytics/issues/3253)
* **messaging:** ios & android messaging updates & fixes ([#3339](https://github.com/invertase/react-native-firebase/tree/master/packages/analytics/issues/3339)) ([d66a611](https://github.com/invertase/react-native-firebase/tree/master/packages/analytics/commit/d66a6118f82005087f53b86571990fc071402153))



# 6.3.0 (2020-02-04)



# 6.2.0 (2019-12-08)



# 6.1.0 (2019-11-26)


### Bug Fixes

* **analytics:** ts logEvent params arg should be optional ([#2822](https://github.com/invertase/react-native-firebase/tree/master/packages/analytics/issues/2822)) ([3b8757c](https://github.com/invertase/react-native-firebase/tree/master/packages/analytics/commit/3b8757c0d4f6787c2e5f1ca2c04e73e809d3deae))


### Features

* **firestore:** array-contains, array-contains-any & in filters ([#2868](https://github.com/invertase/react-native-firebase/tree/master/packages/analytics/issues/2868)) ([42e034c](https://github.com/invertase/react-native-firebase/tree/master/packages/analytics/commit/42e034c4807da54441d2baeab9f57bbf1a137a4a))
* **ios:** upgrade Firebase iOS SDK version to 6.13.0 ([547d0a2](https://github.com/invertase/react-native-firebase/tree/master/packages/analytics/commit/547d0a2d74a68808b29063f9b3aa3e1ac38551fc))



## 6.0.4 (2019-11-17)


### Bug Fixes

* **analytics:** Use correct add_to_cart event name ([#2882](https://github.com/invertase/react-native-firebase/tree/master/packages/analytics/issues/2882)) ([2369c62](https://github.com/invertase/react-native-firebase/tree/master/packages/analytics/commit/2369c629fc21705f32f2a4b6487260e3ab05569e))



## 6.0.3 (2019-10-25)



## 6.0.2 (2019-10-18)



## 6.0.1 (2019-10-07)



# 0.1.0 (2019-07-30)
4 changes: 2 additions & 2 deletions packages/analytics/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native-firebase/analytics",
"version": "6.4.0",
"version": "6.5.0",
"author": "Invertase <[email protected]> (http://invertase.io)",
"description": "React Native Firebase - The analytics module provides out of the box support with Google Analytics for Firebase. Integration with the Android & iOS allows for in-depth analytical insight reporting, such as device information, location, user actions and more.",
"main": "lib/index.js",
Expand All @@ -24,7 +24,7 @@
"peerDependencies": {
"@react-native-firebase/app": "*"
},
"gitHead": "aa127b844418db58d33d00b7ba08872273e6f658",
"gitHead": "b5bbbef8f0e46a7b979f4e884b9e9b98aaf810f4",
"publishConfig": {
"access": "public"
}
Expand Down
43 changes: 43 additions & 0 deletions packages/app-types/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Change Log

All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# 6.5.0 (2020-04-22)


### Features

* **messaging:** ios & android messaging updates & fixes ([#3339](https://github.com/invertase/react-native-firebase/tree/master/packages/app-types/issues/3339)) ([d66a611](https://github.com/invertase/react-native-firebase/tree/master/packages/app-types/commit/d66a6118f82005087f53b86571990fc071402153))



# 6.3.0 (2020-02-04)



# 6.2.0 (2019-12-08)



# 6.1.0 (2019-11-26)



## 6.0.4 (2019-11-17)



## 6.0.3 (2019-10-25)



## 6.0.2 (2019-10-18)



## 6.0.1 (2019-10-07)



# 0.1.0 (2019-07-30)
4 changes: 2 additions & 2 deletions packages/app-types/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native-firebase/app-types",
"version": "6.4.0",
"version": "6.5.0",
"author": "Invertase <[email protected]> (http://invertase.io)",
"description": "@react-native-firebase/app-types",
"files": [
Expand All @@ -13,7 +13,7 @@
"url": "https://github.com/invertase/react-native-firebase/tree/master/packages/app-types"
},
"license": "Apache-2.0",
"gitHead": "aa127b844418db58d33d00b7ba08872273e6f658",
"gitHead": "b5bbbef8f0e46a7b979f4e884b9e9b98aaf810f4",
"publishConfig": {
"access": "public"
}
Expand Down
Loading

0 comments on commit e2c2d64

Please sign in to comment.