brownfield 0.0.1 → 3.0.0-rc.2
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/README.md +62 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +3 -0
- package/package.json +63 -8
- package/src/index.ts +5 -0
package/README.md
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
<a href="https://www.callstack.com/open-source?utm_campaign=generic&utm_source=github&utm_medium=referral&utm_content=react-native-brownfield" align="center">
|
|
2
|
+
<img alt="Brownfield CLI" src="https://github.com/callstack/react-native-brownfield/raw/refs/heads/main/img/brownfield-banner.jpg">
|
|
3
|
+
</a>
|
|
4
|
+
|
|
5
|
+
<p align="center">
|
|
6
|
+
CLI for Brownie and Brownfield, a tool for generating state management code, packaging & publishing Brownfield artifacts.
|
|
7
|
+
</p>
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
[![Build Status][build-badge]][build]
|
|
12
|
+
[![Version][version-badge]][package]
|
|
13
|
+
[![MIT License][license-badge]][license]
|
|
14
|
+
|
|
15
|
+
[![PRs Welcome][prs-welcome-badge]][prs-welcome]
|
|
16
|
+
[![Chat][chat-badge]][chat]
|
|
17
|
+
[![Code of Conduct][coc-badge]][coc]
|
|
18
|
+
[![Sponsored by Callstack][callstack-badge]][callstack]
|
|
19
|
+
|
|
20
|
+
[![tweet][tweet-badge]][tweet]
|
|
21
|
+
|
|
22
|
+
## Features
|
|
23
|
+
|
|
24
|
+
- **Shared State** - Single source of truth accessible from both TypeScript and Swift
|
|
25
|
+
- **Type Safety** - Full type inference from TypeScript schema to generated Swift types
|
|
26
|
+
- **React Integration** - `useStore` hook with selector support for optimal re-renders
|
|
27
|
+
- **SwiftUI Integration** - `@UseStore` property wrapper for reactive UI updates
|
|
28
|
+
- **UIKit Support** - Subscribe-based API for imperative UI updates
|
|
29
|
+
|
|
30
|
+
## Documentation
|
|
31
|
+
|
|
32
|
+
For full documentation, visit [our documentation](https://oss.callstack.com/react-native-brownfield/brownie/overview).
|
|
33
|
+
|
|
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
|
+
<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">
|
|
36
|
+
</a>
|
|
37
|
+
|
|
38
|
+
## Made with ❤️ at Callstack
|
|
39
|
+
|
|
40
|
+
React Native Brownfield is an open source project and will always remain free to use. If you think it's cool, please star it 🌟. [Callstack](https://callstack.com) is a group of React and React Native geeks, contact us at [hello@callstack.com](mailto:hello@callstack.com) if you need any help with these or just want to say hi!
|
|
41
|
+
|
|
42
|
+
Like the project? ⚛️ [Join the team](https://callstack.com/careers/?utm_campaign=Senior_RN&utm_source=github&utm_medium=readme) who does amazing stuff for clients and drives React Native Open Source! 🔥
|
|
43
|
+
|
|
44
|
+
<!-- badges -->
|
|
45
|
+
|
|
46
|
+
[build-badge]: https://img.shields.io/circleci/build/github/callstack/react-native-brownfield/master.svg?style=flat-square
|
|
47
|
+
[build]: https://circleci.com/gh/callstack/react-native-brownfield
|
|
48
|
+
[ci]: https://github.com/callstack/react-native-brownfield/actions/workflows/ci.yml/badge.svg
|
|
49
|
+
[version-badge]: https://img.shields.io/npm/v/@callstack/react-native-brownfield.svg?style=flat-square
|
|
50
|
+
[package]: https://www.npmjs.com/package/@callstack/react-native-brownfield
|
|
51
|
+
[license-badge]: https://img.shields.io/npm/l/@callstack/react-native-brownfield.svg?style=flat-square
|
|
52
|
+
[license]: https://opensource.org/licenses/MIT
|
|
53
|
+
[prs-welcome-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square
|
|
54
|
+
[prs-welcome]: http://makeapullrequest.com
|
|
55
|
+
[coc-badge]: https://img.shields.io/badge/code%20of-conduct-ff69b4.svg?style=flat-square
|
|
56
|
+
[coc]: https://github.com/callstack/react-native-brownfield/blob/master/CODE_OF_CONDUCT.md
|
|
57
|
+
[chat-badge]: https://img.shields.io/discord/613446453762719798.svg?style=flat-square&colorB=758ED3
|
|
58
|
+
[chat]: https://discord.gg/2SR9Mua
|
|
59
|
+
[tweet-badge]: https://img.shields.io/badge/tweet-%23reactnativebrownfield-blue.svg?style=flat-square&colorB=1DA1F2&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAUCAYAAACXtf2DAAAAAXNSR0IArs4c6QAAAaRJREFUOBGtlM8rBGEYx3cWtRHJRaKcuMtBSitxkCQ3LtzkP9iUUu5ODspRHLhRLtq0FxeicEBC2cOivcge%2FMgan3fNM8bbzL4zm6c%2BPT%2Fe7%2FO8887svrFYBWbbtgWzsAt3sAcpqJFxxF1QV8oJFqFPFst5dLWQAT87oTgPB7DtziFRT1EA4yZolsFkhwjGYFRO8Op0KD8HVe7unoB6PRTBZG8IctAmG1xrHcfkQ2B55sfI%2ByGMXSBqV71xZ8CWdxBxN6ThFuECDEAL%2Bc9HIzDYumVZ966GZnX0SzCZvEqTbkaGywkyFE6hKAsBPhFQ18uPUqh2ggJ%2BUor%2F4M%2F%2FzOC8g6YzR1i%2F8g4vvSI%2ByD7FFNjexQrjHd8%2BnjABI3AU4Wl16TuF1qANGll81jsi5qu%2Bw6XIsCn4ijhU5FmCJpkV6BGNw410hfSf6JKBQ%2FUFxHGYBnWnmOwDwYQ%2BwzdHqO75HtiAMJfaC7ph32FSRJCENUhDHsLaJkL%2FX4wMF4%2BwA5bgAcrZE4sr0Cu9Jq9fxyrvBHWbNkMD5CEHWTjjT2m6r5D92jfmbbKJEWuMMAAAAABJRU5ErkJggg%3D%3D
|
|
60
|
+
[tweet]: https://twitter.com/intent/tweet?text=Check%20out%20react-native-brownfield!%20https://github.com/callstack/react-native-brownfield%20%F0%9F%91%8D
|
|
61
|
+
[callstack-badge]: https://callstack.com/images/callstack-badge.svg
|
|
62
|
+
[callstack]: https://callstack.com/open-source/?utm_source=github.com&utm_medium=referral&utm_campaign=rnbrownfield&utm_term=readme
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":""}
|
package/dist/index.js
ADDED
package/package.json
CHANGED
|
@@ -1,13 +1,68 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "brownfield",
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
"
|
|
3
|
+
"version": "3.0.0-rc.2",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"author": "Artur Morys-Magiera <artus9033@gmail.com>",
|
|
6
|
+
"bin": {
|
|
7
|
+
"brownfield": "dist/index.js"
|
|
8
|
+
},
|
|
9
|
+
"type": "module",
|
|
10
|
+
"contributors": [
|
|
11
|
+
"Artur Morys-Magiera <artus9033@gmail.com>",
|
|
12
|
+
"Oskar Kwasniewski <oskarkwasniewski@icloud.com>"
|
|
13
|
+
],
|
|
14
|
+
"homepage": "https://oss.callstack.com/react-native-brownfield",
|
|
15
|
+
"repository": {
|
|
16
|
+
"url": "https://github.com/callstack/react-native-brownfield/packages/brownfield"
|
|
17
|
+
},
|
|
18
|
+
"description": "Brownfield CLI for React Native, gathering all packages of the RN brownfield ecosystem",
|
|
19
|
+
"exports": {
|
|
20
|
+
".": {
|
|
21
|
+
"source": "./src/index.ts",
|
|
22
|
+
"types": "./dist/index.d.ts",
|
|
23
|
+
"default": "./dist/index.js"
|
|
24
|
+
},
|
|
25
|
+
"./package.json": "./package.json"
|
|
26
|
+
},
|
|
10
27
|
"scripts": {
|
|
11
|
-
"
|
|
28
|
+
"lint": "eslint .",
|
|
29
|
+
"typecheck": "tsc --noEmit",
|
|
30
|
+
"build": "tsc -p tsconfig.json",
|
|
31
|
+
"dev": "tsc -p tsconfig.json --watch",
|
|
32
|
+
"test": "echo 'No tests'"
|
|
33
|
+
},
|
|
34
|
+
"keywords": [
|
|
35
|
+
"react-native-brownfield",
|
|
36
|
+
"brownfield",
|
|
37
|
+
"native",
|
|
38
|
+
"react native integration",
|
|
39
|
+
"cli"
|
|
40
|
+
],
|
|
41
|
+
"files": [
|
|
42
|
+
"src",
|
|
43
|
+
"dist",
|
|
44
|
+
"!**/__tests__",
|
|
45
|
+
"!**/__fixtures__",
|
|
46
|
+
"!**/__mocks__",
|
|
47
|
+
"!**/.*",
|
|
48
|
+
"README.md"
|
|
49
|
+
],
|
|
50
|
+
"publishConfig": {
|
|
51
|
+
"access": "public"
|
|
52
|
+
},
|
|
53
|
+
"dependencies": {
|
|
54
|
+
"@callstack/brownfield-cli": "workspace:^"
|
|
55
|
+
},
|
|
56
|
+
"devDependencies": {
|
|
57
|
+
"@types/node": "^25.0.8",
|
|
58
|
+
"eslint": "^9.28.0",
|
|
59
|
+
"eslint-config-prettier": "^10.1.8",
|
|
60
|
+
"eslint-plugin-node-import": "^1.0.5",
|
|
61
|
+
"eslint-plugin-prettier": "^5.1.3",
|
|
62
|
+
"prettier": "^3.7.4",
|
|
63
|
+
"typescript": "5.9.3"
|
|
64
|
+
},
|
|
65
|
+
"engines": {
|
|
66
|
+
"node": ">=20"
|
|
12
67
|
}
|
|
13
68
|
}
|