Skip to content
This repository was archived by the owner on Dec 17, 2025. It is now read-only.

Commit 2c869c5

Browse files
committed
add v2.4.0 scaffold
1 parent e659197 commit 2c869c5

File tree

14 files changed

+165
-9
lines changed

14 files changed

+165
-9
lines changed

CHANGELOG.md

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
# Changelog
2+
3+
Based on [Common Changelog](https://common-changelog.org/).
4+
5+
## 2.4.0 - 2023-07-17
6+
7+
### Changed
8+
9+
- added support for react-native-paper in scaffold
10+
11+
12+
## 2.3.0 - 2023-07-10
13+
14+
### Changed
15+
16+
- update the welcome screen, move styles to the `index.js` file
17+
- added into the index.html, at the header, some style to support 100% height of all screens
18+
19+
## 2.2.0 - 2023-06-20
20+
21+
### Added
22+
23+
Introduced the ability to use Fastlane lanes from a shared repository [fastlane-config](https://github.com/crowdbotics/fastlane-config)
24+
25+
- Added 'import_from_git' command to import the Fastfile from an external repository.
26+
- Added 'FASTLANE_CONFIG_VERSION' environment variable which refers to a tag on the fastlane-config repo.
27+
28+
### Changed
29+
30+
Changed the Fastfile to use instance variables instead of local variables to pass to the inherited lanes.
31+
32+
## 2.1.1 - 2023-06-19
33+
34+
### Fixed
35+
36+
- Fixed web build issue with node_modules compilation.
37+
38+
## 2.1.0 - 2023-06-19
39+
40+
### Added
41+
42+
- Support for csrf token to the Django Web build version.
43+
44+
## 2.0.0 - 2023-05-31
45+
46+
_If you are upgrading: please see [scaffold-upgrade.md](/docs/scaffold-upgrade.md)._
47+
48+
### Added
49+
50+
- Support for [typescript](https://www.typescriptlang.org/), see [tsconfig.json](/scaffold/template/tsconfig.json).
51+
- Support for configuring options for your `react-navigation` screens in global options.
52+
- User documentation for `@modules`, see [modules/README.md](/scaffold/template/custom/modules/README.md).
53+
54+
### Changed
55+
56+
- Upgrade React Native to [0.71.7](https://github.com/facebook/react-native/releases/tag/v0.71.7).
57+
- Upgrade React to [18.2](https://github.com/facebook/react/releases/tag/v18.2.0).
58+
- Target Android SDK version 33, minimum level 21 - [build.gradle](/scaffold/template/android/build.gradle).
59+
- Target iOS SDK minimum level set at 12.4 - [Podfile](/scaffold/template/ios/Podfile).
60+
61+
## 1.2.0 - 2023-05-31
62+
63+
### Added
64+
65+
- Support for Appetize-only deployments (skipping store submissions/fastlane/fastflight).
66+
67+
## Changed
68+
69+
- Upgraded `.python-version` to [3.8.13](https://www.python.org/downloads/release/python-3813/).
70+
71+
### Fixed
72+
73+
- Removed unused code in the `.circleci` directory.
74+
75+
## 1.1.0 - 2022-06-01
76+
77+
### Added
78+
79+
React Native Web support (#343) - include a Webpack configuration in the scaffold.
80+
81+
## 1.0.0 - 2021-04-07
82+
83+
_First release._

dist/cookie/{{cookiecutter.project_slug}}/.crowdbotics.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"scaffold": {
33
"type": "react-native",
4-
"version": "2.3.0",
4+
"version": "2.4.0",
55
"cookiecutter_context": {
66
"project_name": "{{cookiecutter.project_name}}",
77
"project_slug": "{{cookiecutter.project_slug}}",

dist/cookie/{{cookiecutter.project_slug}}/App.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { Provider } from "react-redux"
33
import "react-native-gesture-handler"
44
import { NavigationContainer } from "@react-navigation/native"
55
import { createStackNavigator } from "@react-navigation/stack"
6+
import { Provider as PaperProvider } from "react-native-paper";
67
import {
78
configureStore,
89
createReducer,
@@ -87,7 +88,9 @@ const App = () => {
8788

8889
return (
8990
<Provider store={store}>
90-
<Navigation />
91+
<PaperProvider>
92+
<Navigation />
93+
</PaperProvider>
9194
</Provider>
9295
)
9396
}

dist/cookie/{{cookiecutter.project_slug}}/babel.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
module.exports = {
22
presets: ["module:metro-react-native-babel-preset"],
3+
env: {
4+
production: {
5+
plugins: ["react-native-paper/babel"]
6+
}
7+
},
38
plugins: [
49
[
510
"module:react-native-dotenv",

dist/cookie/{{cookiecutter.project_slug}}/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@
3333
"react-native-vector-icons": "^9.2.0",
3434
"react-native-web": "^0.18.10",
3535
"react-redux": "^8.0.5",
36-
"redux": "^4.2.1"
36+
"redux": "^4.2.1",
37+
"react-native-paper": "^5.9.1"
3738
},
3839
"devDependencies": {
3940
"@babel/core": "^7.20.0",

dist/cookie/{{cookiecutter.project_slug}}/webpack.config.js

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,19 @@ const typescriptLoaderConfiguration = {
9595
exclude: /node_modules/
9696
}
9797

98+
const babelExclusionConfiguration = {
99+
test: /\.js$/,
100+
exclude:
101+
/node_modules\/(?!(react-native-elements|react-native-vector-icons)\/).*/,
102+
loader: "babel-loader"
103+
}
104+
105+
const urlLoaderConfiguration = {
106+
test: /\.ttf$/,
107+
loader: "url-loader",
108+
include: path.resolve(__dirname, "node_modules/react-native-vector-icons")
109+
}
110+
98111
module.exports = {
99112
entry: [
100113
// load any web API polyfills
@@ -117,7 +130,9 @@ module.exports = {
117130
rules: [
118131
babelLoaderConfiguration,
119132
imageLoaderConfiguration,
120-
typescriptLoaderConfiguration
133+
typescriptLoaderConfiguration,
134+
babelExclusionConfiguration,
135+
urlLoaderConfiguration
121136
]
122137
},
123138
plugins: [HTMLWebpackPluginConfig, DevEnvPlugin, JestWorkerPlugin],

dist/cookie/{{cookiecutter.project_slug}}/yarn.lock

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1084,6 +1084,14 @@
10841084
resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39"
10851085
integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==
10861086

1087+
"@callstack/react-theme-provider@^3.0.9":
1088+
version "3.0.9"
1089+
resolved "https://registry.yarnpkg.com/@callstack/react-theme-provider/-/react-theme-provider-3.0.9.tgz#01035fa1231f1fffc1a806be1b55eb82716e80c1"
1090+
integrity sha512-tTQ0uDSCL0ypeMa8T/E9wAZRGKWj8kXP7+6RYgPTfOPs9N07C9xM8P02GJ3feETap4Ux5S69D9nteq9mEj86NA==
1091+
dependencies:
1092+
deepmerge "^3.2.0"
1093+
hoist-non-react-statics "^3.3.0"
1094+
10871095
"@discoveryjs/json-ext@^0.5.0":
10881096
version "0.5.7"
10891097
resolved "https://registry.yarnpkg.com/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz#1d572bfbbe14b7704e0ba0f39b74815b84870d70"
@@ -7170,6 +7178,15 @@ react-native-gradle-plugin@^0.71.17:
71707178
resolved "https://registry.yarnpkg.com/react-native-gradle-plugin/-/react-native-gradle-plugin-0.71.17.tgz#cf780a27270f0a32dca8184eff91555d7627dd00"
71717179
integrity sha512-OXXYgpISEqERwjSlaCiaQY6cTY5CH6j73gdkWpK0hedxtiWMWgH+i5TOi4hIGYitm9kQBeyDu+wim9fA8ROFJA==
71727180

7181+
react-native-paper@^5.9.1:
7182+
version "5.10.6"
7183+
resolved "https://registry.yarnpkg.com/react-native-paper/-/react-native-paper-5.10.6.tgz#922f25bd258140f3b7600c9b67674593e90ea19e"
7184+
integrity sha512-n5r2S53/pGpHRyQV/n75W8ibU+VyamMGSqKWGSti9ZmChcgEWC0s4o/TnpUvmAKNZCQwcYwKSLrmMq5wR5nUNA==
7185+
dependencies:
7186+
"@callstack/react-theme-provider" "^3.0.9"
7187+
color "^3.1.2"
7188+
use-latest-callback "^0.1.5"
7189+
71737190
react-native-radio-buttons-group@^2.3.2:
71747191
version "2.3.2"
71757192
resolved "https://registry.yarnpkg.com/react-native-radio-buttons-group/-/react-native-radio-buttons-group-2.3.2.tgz#3dd50e9137b722d98543ae038671308af1421a9c"

scaffold/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
Based on [Common Changelog](https://common-changelog.org/).
44

5+
## 2.4.0 - 2023-07-17
6+
7+
### Changed
8+
9+
- added support for react-native-paper in scaffold
10+
11+
512
## 2.3.0 - 2023-07-10
613

714
### Changed

scaffold/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "template",
33
"description": "React Native Template",
4-
"version": "2.3.0",
4+
"version": "2.4.0",
55
"author": "Crowdbotics"
66
}

scaffold/template/custom/.crowdbotics.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"scaffold": {
33
"type": "react-native",
4-
"version": "2.3.0",
4+
"version": "2.4.0",
55
"cookiecutter_context": {
66
"project_name": "{{cookiecutter.project_name}}",
77
"project_slug": "{{cookiecutter.project_slug}}",

0 commit comments

Comments
 (0)