@callstack/brownie 3.0.0-rc.2 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# @callstack/brownie
|
|
2
|
+
|
|
3
|
+
## 3.0.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#255](https://github.com/callstack/react-native-brownfield/pull/255) [`48358b2`](https://github.com/callstack/react-native-brownfield/commit/48358b2dcce578aa5052e66cc3454524da8c7992) Thanks [@artus9033](https://github.com/artus9033)! - chore: release stable v3
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`48358b2`](https://github.com/callstack/react-native-brownfield/commit/48358b2dcce578aa5052e66cc3454524da8c7992)]:
|
|
10
|
+
- @callstack/brownfield-cli@3.0.0
|
|
11
|
+
|
|
12
|
+
## 0.0.5
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- [#216](https://github.com/callstack/react-native-brownfield/pull/216) [`8ce3ea1`](https://github.com/callstack/react-native-brownfield/commit/8ce3ea10e0719adac7396dea8f171753e901b31d) Thanks [@thymikee](https://github.com/thymikee)! - chore: remove release-it
|
|
17
|
+
|
|
18
|
+
- Updated dependencies [[`8ce3ea1`](https://github.com/callstack/react-native-brownfield/commit/8ce3ea10e0719adac7396dea8f171753e901b31d)]:
|
|
19
|
+
- @callstack/brownfield-cli@1.0.4
|
|
20
|
+
|
|
21
|
+
## 0.0.4
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- Updated dependencies [[`2347775`](https://github.com/callstack/react-native-brownfield/commit/23477753b16ee189b82c1aee3eac98a56c79f52a)]:
|
|
26
|
+
- @callstack/brownfield-cli@1.0.3
|
|
27
|
+
|
|
28
|
+
## 0.0.3
|
|
29
|
+
|
|
30
|
+
### Patch Changes
|
|
31
|
+
|
|
32
|
+
- Updated dependencies [[`2a8563f`](https://github.com/callstack/react-native-brownfield/commit/2a8563f65ed152054ad1290caf963791a368ee9a)]:
|
|
33
|
+
- @callstack/brownfield-cli@1.0.2
|
|
34
|
+
|
|
35
|
+
## 0.0.2
|
|
36
|
+
|
|
37
|
+
### Patch Changes
|
|
38
|
+
|
|
39
|
+
- [#197](https://github.com/callstack/react-native-brownfield/pull/197) [`af95d9c`](https://github.com/callstack/react-native-brownfield/commit/af95d9ce3b380f4bd4cc554de31fa4acff030515) Thanks [@okwasniewski](https://github.com/okwasniewski)! - fix: add cpp dir to published files
|
|
40
|
+
|
|
41
|
+
- [#198](https://github.com/callstack/react-native-brownfield/pull/198) [`c8c903d`](https://github.com/callstack/react-native-brownfield/commit/c8c903d0d2b78a8c06a41213dfbe781a2daf3d25) Thanks [@artus9033](https://github.com/artus9033)! - docs: added README files to all packages
|
|
42
|
+
|
|
43
|
+
- Updated dependencies [[`c8c903d`](https://github.com/callstack/react-native-brownfield/commit/c8c903d0d2b78a8c06a41213dfbe781a2daf3d25)]:
|
|
44
|
+
- @callstack/brownfield-cli@1.0.1
|
package/README.md
CHANGED
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
|
|
30
30
|
## Documentation
|
|
31
31
|
|
|
32
|
-
For full documentation, visit [our documentation](https://oss.callstack.com/react-native-brownfield/brownie/overview).
|
|
32
|
+
For full documentation, visit [our documentation](https://oss.callstack.com/react-native-brownfield/docs/api-reference/brownie/overview).
|
|
33
33
|
|
|
34
34
|
<a href="https://www.callstack.com/ebooks/incremental-react-native-adoption-in-native-apps?utm_campaign=brownfield&utm_source=github&utm_medium=referral&utm_content=react-native-brownfield" align="center">
|
|
35
35
|
<img alt="Download a free copy of Incremental React Native adoption in native apps ebook" src="https://github.com/user-attachments/assets/ba42bb29-1e7a-4683-80c5-2602afb1a7e6">
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@callstack/brownie",
|
|
3
|
-
"version": "3.0.0
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Oskar Kwaśniewski <oskarkwasniewski@icloud.com>",
|
|
6
6
|
"bin": {
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"react-native": "*"
|
|
70
70
|
},
|
|
71
71
|
"dependencies": {
|
|
72
|
-
"@callstack/brownfield-cli": "
|
|
72
|
+
"@callstack/brownfield-cli": "^3.0.0",
|
|
73
73
|
"ts-morph": "^27.0.2"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
@@ -100,4 +100,4 @@
|
|
|
100
100
|
"engines": {
|
|
101
101
|
"node": ">=20"
|
|
102
102
|
}
|
|
103
|
-
}
|
|
103
|
+
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
// This file was generated from JSON Schema using quicktype, do not modify it directly.
|
|
2
|
-
// To parse the JSON, add this file to your project and do:
|
|
3
|
-
//
|
|
4
|
-
// let brownfieldStore = try? JSONDecoder().decode(BrownfieldStore.self, from: jsonData)
|
|
5
|
-
|
|
6
|
-
//
|
|
7
|
-
// Hashable or Equatable:
|
|
8
|
-
// The compiler will not be able to synthesize the implementation of Hashable or Equatable
|
|
9
|
-
// for types that require the use of JSONAny, nor will the implementation of Hashable be
|
|
10
|
-
// synthesized for types that have collections (such as arrays or dictionaries).
|
|
11
|
-
|
|
12
|
-
import Foundation
|
|
13
|
-
|
|
14
|
-
// MARK: - BrownfieldStore
|
|
15
|
-
public struct BrownfieldStore: Codable, Equatable {
|
|
16
|
-
public var counter: Double
|
|
17
|
-
public var user: User
|
|
18
|
-
|
|
19
|
-
public init(counter: Double, user: User) {
|
|
20
|
-
self.counter = counter
|
|
21
|
-
self.user = user
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
//
|
|
26
|
-
// Hashable or Equatable:
|
|
27
|
-
// The compiler will not be able to synthesize the implementation of Hashable or Equatable
|
|
28
|
-
// for types that require the use of JSONAny, nor will the implementation of Hashable be
|
|
29
|
-
// synthesized for types that have collections (such as arrays or dictionaries).
|
|
30
|
-
|
|
31
|
-
// MARK: - User
|
|
32
|
-
public struct User: Codable, Equatable {
|
|
33
|
-
public var name: String
|
|
34
|
-
|
|
35
|
-
public init(name: String) {
|
|
36
|
-
self.name = name
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
extension BrownfieldStore: BrownieStoreProtocol {
|
|
41
|
-
public static let storeName = "BrownfieldStore"
|
|
42
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
// This file was generated from JSON Schema using quicktype, do not modify it directly.
|
|
2
|
-
// To parse the JSON, add this file to your project and do:
|
|
3
|
-
//
|
|
4
|
-
// let settingsStore = try? JSONDecoder().decode(SettingsStore.self, from: jsonData)
|
|
5
|
-
|
|
6
|
-
//
|
|
7
|
-
// Hashable or Equatable:
|
|
8
|
-
// The compiler will not be able to synthesize the implementation of Hashable or Equatable
|
|
9
|
-
// for types that require the use of JSONAny, nor will the implementation of Hashable be
|
|
10
|
-
// synthesized for types that have collections (such as arrays or dictionaries).
|
|
11
|
-
|
|
12
|
-
import Foundation
|
|
13
|
-
|
|
14
|
-
// MARK: - SettingsStore
|
|
15
|
-
public struct SettingsStore: Codable, Equatable {
|
|
16
|
-
public var notificationsEnabled, privacyMode: Bool
|
|
17
|
-
public var theme: Theme
|
|
18
|
-
|
|
19
|
-
public init(notificationsEnabled: Bool, privacyMode: Bool, theme: Theme) {
|
|
20
|
-
self.notificationsEnabled = notificationsEnabled
|
|
21
|
-
self.privacyMode = privacyMode
|
|
22
|
-
self.theme = theme
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
public enum Theme: String, Codable, Equatable {
|
|
27
|
-
case dark = "dark"
|
|
28
|
-
case light = "light"
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
extension SettingsStore: BrownieStoreProtocol {
|
|
32
|
-
public static let storeName = "SettingsStore"
|
|
33
|
-
}
|