@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.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. 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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@appxdigital/appx-core-cli",
4
- "version": "1.0.0",
4
+ "version": "1.0.2",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
7
  "npm:publish": "npm publish --access public",
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', '@appxdigital/appx-core', 'dist', 'config', 'generate-all.js');
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', '@appxdigital/appx-core', 'dist', 'config', 'setup-fileupload.js');
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);