@appxdigital/appx-core-cli 1.0.1 → 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/package.json +1 -1
- package/wizard.js +2 -2
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);
|