ignite-parse-auth-kit 1.0.0 → 1.0.1
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/bin/cli.js +4 -2
- package/package.json +1 -1
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')
|
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.1",
|
|
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",
|