@qwickapps/react-framework 1.4.6 → 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.
- package/QUICK_START_GUIDE.md +1 -1
- package/README.md +1 -1
- package/package.json +1 -1
- package/scripts/create-qwickapps-project.js +21 -20
package/QUICK_START_GUIDE.md
CHANGED
|
@@ -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
|
|
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
|
+
### 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.
|
|
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,14 +19,22 @@ import { fileURLToPath } from 'url';
|
|
|
19
19
|
|
|
20
20
|
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
|
21
21
|
|
|
22
|
-
|
|
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);
|
|
28
30
|
}
|
|
29
31
|
|
|
32
|
+
// Convert project name to title case for display
|
|
33
|
+
const appDisplayName = projectName
|
|
34
|
+
.split(/[-_\s]+/)
|
|
35
|
+
.map(word => word.charAt(0).toUpperCase() + word.slice(1).toLowerCase())
|
|
36
|
+
.join(' ');
|
|
37
|
+
|
|
30
38
|
console.log(`🚀 Creating QwickApps React project: ${projectName}`);
|
|
31
39
|
console.log('This will:');
|
|
32
40
|
console.log(' 1. Create a new React app with TypeScript');
|
|
@@ -85,7 +93,6 @@ import '@qwickapps/react-framework/index.css';
|
|
|
85
93
|
import './App.css';
|
|
86
94
|
import {
|
|
87
95
|
QwickApp,
|
|
88
|
-
Button,
|
|
89
96
|
Section,
|
|
90
97
|
HeroBlock
|
|
91
98
|
} from '@qwickapps/react-framework';
|
|
@@ -94,7 +101,7 @@ function App() {
|
|
|
94
101
|
return (
|
|
95
102
|
<QwickApp
|
|
96
103
|
appId="my-qwickapps-project"
|
|
97
|
-
appName="${
|
|
104
|
+
appName="${appDisplayName}"
|
|
98
105
|
enableScaffolding={true}
|
|
99
106
|
showThemeSwitcher={true}
|
|
100
107
|
showPaletteSwitcher={true}
|
|
@@ -105,22 +112,16 @@ function App() {
|
|
|
105
112
|
height="medium"
|
|
106
113
|
backgroundGradient="linear-gradient(135deg, #667eea 0%, #764ba2 100%)"
|
|
107
114
|
actions={[
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
variant
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
variant="outlined"
|
|
119
|
-
color="secondary"
|
|
120
|
-
onClick={() => window.open('https://github.com/raajkumars/qwickapps', '_blank')}
|
|
121
|
-
>
|
|
122
|
-
View Documentation
|
|
123
|
-
</Button>
|
|
115
|
+
{
|
|
116
|
+
label: 'Get Started',
|
|
117
|
+
variant: 'primary'
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
label: 'View Documentation',
|
|
121
|
+
variant: 'secondary',
|
|
122
|
+
href: 'https://github.com/raajkumars/qwickapps',
|
|
123
|
+
target: '_blank'
|
|
124
|
+
}
|
|
124
125
|
]}
|
|
125
126
|
/>
|
|
126
127
|
|