Skip to content

Commit fed9d95

Browse files
authored
chore: unify versioning (#247)
* chore: bump up versions to rc.2 * chore: normalize package.json files * chore: unify version across packages * docs: update docs * chore: enforce synchronized versioning for all packages in changesets * chore: normalize git repo url in brownfield package
1 parent b33224d commit fed9d95

6 files changed

Lines changed: 14 additions & 10 deletions

File tree

.changeset/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
{ "repo": "callstack/react-native-brownfield" }
66
],
77
"commit": false,
8-
"fixed": [],
8+
"fixed": [["*"]],
99
"linked": [],
1010
"access": "public",
1111
"baseBranch": "main",

docs/docs/docs/getting-started/introduction.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,9 @@ React Native Brownfield is a library that simplifies integrating React Native in
1919

2020
| Tested React Native Version | React Native Brownfield Version |
2121
| --------------------------- | ------------------------------- |
22-
| 0.81.x, 0.82.x | 2.x |
22+
| 0.81.x, 0.82.x | 2.x, 3.x |
2323
| 0.78.x | ^1.2.0 |
24+
25+
## Cross-package Compatibility
26+
27+
For all versions >= `3.0.0`, the packages in the Brownfield ecosystem are guaranteed to be compatible with each other within the same major version (e.g. `3.*.*` brownfield CLI package is compatible with all versions `3.*.*` of other packages).

packages/brownfield/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "brownfield",
3-
"version": "1.0.4",
3+
"version": "3.0.0-rc.2",
44
"license": "MIT",
55
"author": "Artur Morys-Magiera <artus9033@gmail.com>",
66
"bin": "dist/index.js",
@@ -11,7 +11,7 @@
1111
],
1212
"homepage": "https://oss.callstack.com/react-native-brownfield",
1313
"repository": {
14-
"url": "https://github.com/callstack/react-native-brownfield/packages/brownfield"
14+
"url": "git+https://github.com/callstack/react-native-brownfield/packages/brownfield"
1515
},
1616
"description": "Brownfield CLI for React Native, gathering all packages of the RN brownfield ecosystem",
1717
"exports": {

packages/brownie/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@callstack/brownie",
3-
"version": "0.0.5",
3+
"version": "3.0.0-rc.2",
44
"license": "MIT",
55
"author": "Oskar Kwaśniewski <oskarkwasniewski@icloud.com>",
66
"bin": {
@@ -12,7 +12,7 @@
1212
],
1313
"homepage": "https://github.com/callstack/react-native-brownfield",
1414
"repository": {
15-
"url": "https://github.com/callstack/react-native-brownfield"
15+
"url": "git+https://github.com/callstack/react-native-brownfield.git"
1616
},
1717
"description": "Shared state management between React Native and Native apps",
1818
"main": "lib/commonjs/index",

packages/cli/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@callstack/brownfield-cli",
3-
"version": "2.0.0-rc.1",
3+
"version": "3.0.0-rc.2",
44
"license": "MIT",
55
"author": "Artur Morys-Magiera <artus9033@gmail.com>",
66
"bin": {
@@ -13,7 +13,7 @@
1313
],
1414
"homepage": "https://github.com/callstack/react-native-brownfield",
1515
"repository": {
16-
"url": "https://github.com/callstack/react-native-brownfield"
16+
"url": "git+https://github.com/callstack/react-native-brownfield.git"
1717
},
1818
"description": "Brownfield CLI for React Native, gathering all packages of the RN brownfield ecosystem",
1919
"exports": {

packages/react-native-brownfield/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@callstack/react-native-brownfield",
3-
"version": "3.0.0-rc.1",
3+
"version": "3.0.0-rc.2",
44
"license": "MIT",
55
"author": "Michal Chudziak <mike.chudziak@callstack.com>",
66
"bin": {
@@ -11,7 +11,7 @@
1111
],
1212
"homepage": "https://github.com/callstack/react-native-brownfield",
1313
"repository": {
14-
"url": "https://github.com/callstack/react-native-brownfield"
14+
"url": "git+https://github.com/callstack/react-native-brownfield.git"
1515
},
1616
"description": "Brownfield helpers for React Native",
1717
"main": "lib/commonjs/index",

0 commit comments

Comments
 (0)