ignite-parse-auth-kit 1.0.0 → 1.0.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/.env.example +16 -0
- package/bin/cli.js +5 -2
- package/package.json +3 -2
package/.env.example
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# This file contains environment variables for the Expo app.
|
|
2
|
+
# Copy this file to .env and fill in the actual values for your environment.
|
|
3
|
+
# Only includes environment variables that are actually used in the codebase.
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
# Parse Server Configuration (Required)
|
|
7
|
+
# These variables are used to configure the Expo app and connect it to the Parse server.
|
|
8
|
+
EXPO_PUBLIC_APP_ID=your_app_id
|
|
9
|
+
EXPO_PUBLIC_JAVASCRIPT_KEY=your_javascript_key
|
|
10
|
+
EXPO_PUBLIC_SERVER_URL=https://your-server.domain.com/parse
|
|
11
|
+
|
|
12
|
+
# Google Authentication (Required)
|
|
13
|
+
# These variables are used to configure Google Sign-In functionality.
|
|
14
|
+
EXPO_PUBLIC_GOOGLE_CLIENT_ID=your_google_client_id.apps.googleusercontent.com
|
|
15
|
+
EXPO_PUBLIC_IOS_GOOGLE_CLIENT_ID=your_ios_google_client_id.apps.googleusercontent.com
|
|
16
|
+
EXPO_PUBLIC_ANDROID_GOOGLE_CLIENT_ID=your_android_google_client_id.apps.googleusercontent.com
|
package/bin/cli.js
CHANGED
|
@@ -5,16 +5,18 @@ const path = require('path');
|
|
|
5
5
|
const fs = require('fs');
|
|
6
6
|
|
|
7
7
|
const chalk = require('chalk');
|
|
8
|
-
const {
|
|
8
|
+
const { Command } = require('commander');
|
|
9
9
|
const ora = require('ora');
|
|
10
10
|
|
|
11
11
|
const packageJson = require('../package.json');
|
|
12
12
|
|
|
13
|
+
const program = new Command();
|
|
14
|
+
|
|
13
15
|
program
|
|
14
16
|
.name('ignite-parse-auth-kit')
|
|
15
17
|
.description('Create a new React Native app with Parse authentication')
|
|
16
18
|
.version(packageJson.version)
|
|
17
|
-
.
|
|
19
|
+
.arguments('[project-name]')
|
|
18
20
|
.option('-d, --directory <path>', 'Directory to create the project in')
|
|
19
21
|
.option('--skip-install', 'Skip installing dependencies')
|
|
20
22
|
.option('--use-npm', 'Use npm instead of yarn')
|
|
@@ -65,6 +67,7 @@ program
|
|
|
65
67
|
'tsconfig.json',
|
|
66
68
|
'jest.config.js',
|
|
67
69
|
'.gitignore',
|
|
70
|
+
'.env.example',
|
|
68
71
|
'README.md',
|
|
69
72
|
'LICENSE',
|
|
70
73
|
'CONTRIBUTING.md'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ignite-parse-auth-kit",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A comprehensive React Native (Expo) template powered by Ignite CLI and Parse Server, providing production-ready authentication solutions.",
|
|
6
6
|
"main": "index.tsx",
|
|
@@ -154,7 +154,8 @@
|
|
|
154
154
|
"jest.config.js",
|
|
155
155
|
"README.md",
|
|
156
156
|
"LICENSE",
|
|
157
|
-
"CONTRIBUTING.md"
|
|
157
|
+
"CONTRIBUTING.md",
|
|
158
|
+
".env.example"
|
|
158
159
|
],
|
|
159
160
|
"expo": {
|
|
160
161
|
"install": {
|