Skip to content

Commit af7be68

Browse files
authored
Merge pull request #20 from rootstrap/chore/rename_cli_to_create_rootstrap_rn_app
chore(cli): rename CLI to create-rootstrap-rn-app
2 parents 2e27230 + 92800aa commit af7be68

File tree

6 files changed

+59
-39
lines changed

6 files changed

+59
-39
lines changed

.vscode/settings.json

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,20 @@
2424
"editor.formatOnSave": true,
2525
"editor.defaultFormatter": "astro-build.astro-vscode"
2626
},
27-
"cSpell.words": ["Flashlist", "Lato"],
28-
"i18n-ally.localesPaths": ["src/translations/"],
27+
"cSpell.words": [
28+
"Flashlist",
29+
"Lato",
30+
"rootstrap"
31+
],
32+
"i18n-ally.localesPaths": [
33+
"src/translations/"
34+
],
2935
"i18n-ally.keystyle": "nested",
3036
"i18n-ally.disabled": false, // make sure to disable i18n-ally in your global setting and only enable it for such projects
3137
"tailwindCSS.experimental.classRegex": [
32-
["tv\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"]
33-
]
34-
}
38+
[
39+
"tv\\(([^)]*)\\)",
40+
"[\"'`]([^\"'`]*).*?[\"'`]"
41+
]
42+
],
43+
}

cli/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# 🚀 Quick start
1414

1515
```sh
16-
npx create-obytes-app@latest MyApp
16+
npx create-rootstrap-rn-app@latest MyApp
1717

1818
```
1919

cli/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const createObytesApp = async () => {
1212
// check if project name is provided
1313
if (!projectName) {
1414
consola.error(
15-
'Please provide a name for your project: `npx create-obytes-app@latest <project-name>`'
15+
'Please provide a name for your project: `npx create-rootstrap-rn-app@latest <project-name>`'
1616
);
1717
process.exit(1);
1818
}

cli/package.json

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
{
2-
"name": "create-obytes-app",
3-
"version": "1.7.1",
4-
"description": "Obytes expo starter cli",
5-
"homepage": "https://github.com/obytes/react-native-template-obytes",
2+
"name": "create-rootstrap-rn-app",
3+
"version": "1.0.0",
4+
"description": "Rootstrap expo starter cli",
5+
"homepage": "https://github.com/rootstrap/react-native-template",
66
"repository": {
77
"type": "git",
8-
"url": "git+https://github.com/obytes/react-native-template-obytes.git"
8+
"url": "git+https://github.com/rootstrap/react-native-template.git"
99
},
1010
"main": "index.js",
1111
"scripts": {
1212
"start": "node ."
1313
},
1414
"bin": {
15-
"create-obytes-app": "index.js"
15+
"create-rootstrap-rn-app": "index.js"
1616
},
1717
"files": [
1818
"index.js",
@@ -33,6 +33,7 @@
3333
"react-native-boilerplate",
3434
"expo-boilerplate",
3535
"cli",
36-
"obytes"
36+
"obytes",
37+
"rootstrap"
3738
]
3839
}

cli/pnpm-lock.yaml

Lines changed: 32 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/src/content/docs/getting-started/create-new-app.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ First make sure you have `pnpm` installed on your machine, if not you can instal
2727
npm install -g pnpm
2828
```
2929

30-
Start your project using `create-obytes-app` command:
30+
Start your project using `create-rootstrap-rn-app` command:
3131

3232
```bash
33-
npx create-obytes-app@latest MyApp
33+
npx create-rootstrap-rn-app@latest MyApp
3434
```
3535

3636
The command will create an expo app named `MyApp` and install all the dependencies added by the starter.
@@ -46,7 +46,7 @@ The name must satisfy the following rules:
4646
- It must have at least two segments (one or more dots).
4747
- Each segment must start with a letter.
4848
- All characters must be alphanumeric or an underscore [a-zA-Z0-9_].
49-
:::
49+
:::
5050

5151
## Open Project on VS Code
5252

0 commit comments

Comments
 (0)