@qwickapps/react-framework 1.4.7 → 1.4.8

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.
@@ -13,7 +13,7 @@ Customers were getting the error: `'react-scripts' is not recognized as an inter
13
13
  Create a new QwickApps project in one command:
14
14
 
15
15
  ```bash
16
- npx @qwickapps/react-framework/scripts/create-qwickapps-project my-project-name
16
+ npx @qwickapps/react-framework create my-project-name
17
17
  cd my-project-name
18
18
  npm start
19
19
  ```
package/README.md CHANGED
@@ -4,7 +4,7 @@ A complete React framework for building modern, responsive applications with int
4
4
 
5
5
  ## What's New
6
6
 
7
- ### September 29, 2025 - Production Ready Release (v1.4.7)
7
+ ### September 29, 2025 - Production Ready Release (v1.4.8)
8
8
 
9
9
  - **NPM Publishing Ready**: Package prepared for official NPM distribution with optimized build configuration and comprehensive exports
10
10
  - **Enhanced Build System**: Improved rollup configuration with both development and production builds, automatic CSS bundling, and TypeScript declarations
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qwickapps/react-framework",
3
- "version": "1.4.7",
3
+ "version": "1.4.8",
4
4
  "type": "module",
5
5
  "description": "Complete React framework with responsive navigation, flexible layouts, theming system, and reusable components for building modern applications.",
6
6
  "main": "dist/index.js",
@@ -19,9 +19,11 @@ import { fileURLToPath } from 'url';
19
19
 
20
20
  const __dirname = path.dirname(fileURLToPath(import.meta.url));
21
21
 
22
- const projectName = process.argv[2];
22
+ // When run as: npx @qwickapps/react-framework create my-project
23
+ // argv[0] = node, argv[1] = script, argv[2] = "create", argv[3] = "my-project"
24
+ const projectName = process.argv[3] || process.argv[2];
23
25
 
24
- if (!projectName) {
26
+ if (!projectName || projectName === 'create') {
25
27
  console.error('❌ Error: Please provide a project name');
26
28
  console.log('Usage: npx @qwickapps/react-framework create my-app-name');
27
29
  process.exit(1);