@appxdigital/appx-core-cli 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/README.md +1 -1
- package/package.json +1 -1
- package/wizard.js +2 -2
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@ This project is a foundational Node.js boilerplate built with <a href="https://
|
|
|
14
14
|
|
|
15
15
|
1. Open your terminal and run the following command:
|
|
16
16
|
```bash
|
|
17
|
-
npm install appx-core-cli -g
|
|
17
|
+
npm install @appxdigital/appx-core-cli -g
|
|
18
18
|
appx-core create
|
|
19
19
|
```
|
|
20
20
|
2. Follow the prompts provided by the setup wizard. This will scaffold a new NestJS project with `appx-core` pre-integrated.
|
package/package.json
CHANGED
package/wizard.js
CHANGED
|
@@ -70,7 +70,7 @@ program.command('generate')
|
|
|
70
70
|
.description('Updates Prisma client and generates the GraphQL schema')
|
|
71
71
|
.action(() => {
|
|
72
72
|
// run file inside node_modules/appx-core/dist/config/generate-all.js
|
|
73
|
-
const generatePath = path.join(process.cwd(), 'node_modules', '
|
|
73
|
+
const generatePath = path.join(process.cwd(), 'node_modules', 'appx-core', 'dist', 'config', 'generate-all.js');
|
|
74
74
|
if (!fsCore.existsSync(generatePath)) {
|
|
75
75
|
console.error('❌ Not inside a valid AppX Core project directory. Please run this command inside your project directory.');
|
|
76
76
|
process.exit(1);
|
|
@@ -89,7 +89,7 @@ program.command('setup:fileupload')
|
|
|
89
89
|
.description('Add file upload configuration to the project')
|
|
90
90
|
.action(() => {
|
|
91
91
|
// run file inside node_modules/appx-core/dist/config/setup-fileupload.js
|
|
92
|
-
const generatePath = path.join(process.cwd(), 'node_modules', '
|
|
92
|
+
const generatePath = path.join(process.cwd(), 'node_modules', 'appx-core', 'dist', 'config', 'setup-fileupload.js');
|
|
93
93
|
if (!fsCore.existsSync(generatePath)) {
|
|
94
94
|
console.error('❌ Not inside a valid AppX Core project directory. Please run this command inside your project directory.');
|
|
95
95
|
process.exit(1);
|