Skip to content

Commit 14c9153

Browse files
committed
chore: update yarn to v4
1 parent bf1c482 commit 14c9153

File tree

12 files changed

+16132
-12688
lines changed

12 files changed

+16132
-12688
lines changed

.yarn/install-state.gz

1.85 KB
Binary file not shown.

.yarnrc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nodeLinker: node-modules

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,16 @@ If you love this boilerplate, give us a star, you will be a ray of sunshine in o
2222

2323
Node 18 or greater is required. Development for iOS requires a Mac and Xcode 10 or up, and will target iOS 11 and up.
2424

25-
You also need to install the dependencies required by React Native.
26-
Go to the [React Native environment setup](https://reactnative.dev/docs/environment-setup), then select `React Native CLI Quickstart` tab.
25+
You also need to install the dependencies required by React Native.
26+
Go to the [React Native environment setup](https://reactnative.dev/docs/environment-setup), then select `React Native CLI Quickstart` tab.
2727
Follow instructions for your given `development OS` and `target OS`.
2828

2929
## Quick start
3030

3131
To create a new project using the boilerplate simply run :
3232

3333
```
34-
npx react-native@latest init MyApp --template @thecodingmachine/react-native-boilerplate
34+
npx @react-native-community/cli@latest init MyApp --template @thecodingmachine/react-native-boilerplate
3535
```
3636

3737
Assuming you have all the requirements installed, you can run the project by running:

documentation/.yarn/install-state.gz

1.46 MB
Binary file not shown.

documentation/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
},
2727
"devDependencies": {
2828
"@docusaurus/eslint-plugin": "3.1.1",
29-
"@docusaurus/types": "3.0.0",
3029
"@docusaurus/module-type-aliases": "3.1.1",
3130
"@docusaurus/tsconfig": "3.0.0",
31+
"@docusaurus/types": "3.0.0",
3232
"@types/react": "^18.2.29",
3333
"@typescript-eslint/eslint-plugin": "^6.21.0",
3434
"@typescript-eslint/parser": "^6.21.0",
@@ -46,5 +46,6 @@
4646
},
4747
"engines": {
4848
"node": ">=18.0"
49-
}
49+
},
50+
"packageManager": "[email protected]"
5051
}

documentation/src/components/Quickstart.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,16 @@ export default function Quickstart() {
2323
title=">_ terminal"
2424
metastring="bash"
2525
>
26-
npx react-native@latest init MyApp --template
27-
@thecodingmachine/react-native-boilerplate
26+
npx @react-native-community/cli@latest init MyApp
27+
--template @thecodingmachine/react-native-boilerplate
2828
</CodeBlock>
2929

3030
<div>
3131
<button
3232
type="button"
3333
className="transition-all ease-in mt-5 hover:bg-green-700 hover:text-white hover:text text-md text-white
3434
font-bold py-3 px-4 rounded bg-green-500 shadow-lg shadow-green-500/50"
35-
onClick={() => { navigator.clipboard.writeText('npx react-native@latest init MyApp --template @thecodingmachine/react-native-boilerplate'); }}
35+
onClick={() => { navigator.clipboard.writeText('npx @react-native-community/cli@latest init MyApp --template @thecodingmachine/react-native-boilerplate'); }}
3636
>
3737
Copy and test it
3838
<span className="ml-3">🧪</span>

documentation/yarn.lock

Lines changed: 15183 additions & 10885 deletions
Large diffs are not rendered by default.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@
2828
"kleur": "^4.1.4",
2929
"prompts": "^2.4.1"
3030
},
31-
"devDependencies": {}
31+
"packageManager": "[email protected]"
3232
}

template/.yarn/releases/yarn-4.5.0.cjs

Lines changed: 0 additions & 925 deletions
This file was deleted.

template/.yarnrc.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
11
nodeLinker: node-modules
2-
3-
yarnPath: .yarn/releases/yarn-4.5.0.cjs

0 commit comments

Comments
 (0)