@qwickapps/cms 0.2.0 → 0.2.1
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/LICENSE
CHANGED
|
@@ -1,45 +1,58 @@
|
|
|
1
|
-
#
|
|
1
|
+
# PolyForm Shield License 1.0.0
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
<https://polyformproject.org/licenses/shield/1.0.0>
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Acceptance
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
- **Source code available** for learning and development
|
|
9
|
-
- **Cannot be used** to compete with QwickApps
|
|
10
|
-
- **Cannot be reverse engineered** for competitive purposes
|
|
11
|
-
- **Cannot be redistributed** in competitive products
|
|
7
|
+
In order to receive this license, you must agree to its rules. The rules of this license are both obligations under that agreement and conditions to your license. You must not do anything with this software that triggers a rule that you cannot or will not follow.
|
|
12
8
|
|
|
13
|
-
##
|
|
9
|
+
## Copyright License
|
|
14
10
|
|
|
15
|
-
|
|
11
|
+
Each contributor licenses you to do everything with this software that would otherwise infringe that contributor's copyright in it.
|
|
16
12
|
|
|
17
|
-
##
|
|
13
|
+
## Notices
|
|
18
14
|
|
|
19
|
-
|
|
20
|
-
- Internal business applications
|
|
21
|
-
- Learning and educational projects
|
|
22
|
-
- Non-competitive commercial applications
|
|
23
|
-
- Academic research and teaching
|
|
24
|
-
- Contributing to this project
|
|
25
|
-
- Building websites and applications using this CMS package
|
|
15
|
+
You must ensure that everyone who gets a copy of any part of this software from you, with or without changes, also gets the text of this license and the contributor and source disclosure requirements below.
|
|
26
16
|
|
|
27
|
-
|
|
28
|
-
- Creating competing CMS frameworks
|
|
29
|
-
- Building competing content management systems
|
|
30
|
-
- Reselling or redistributing as a competing product
|
|
31
|
-
- Reverse engineering to create competitive products
|
|
17
|
+
## Excuse
|
|
32
18
|
|
|
33
|
-
|
|
19
|
+
If anyone notifies you in writing that you have not complied with *Notices*, you can keep your license by taking all practical steps to comply within 30 days after the notice. If you do not do so, your license ends immediately.
|
|
34
20
|
|
|
35
|
-
|
|
21
|
+
## Patent License
|
|
36
22
|
|
|
37
|
-
|
|
23
|
+
Each contributor licenses you to do everything with this software that would otherwise infringe any patent claims they can license or become able to license.
|
|
38
24
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
25
|
+
## Reliability
|
|
26
|
+
|
|
27
|
+
No contributor can revoke this license.
|
|
28
|
+
|
|
29
|
+
## No Liability
|
|
30
|
+
|
|
31
|
+
***As far as the law allows, this software comes as is, without any warranty or condition, and no contributor will be liable to anyone for any damages related to this software or this license, under any kind of legal claim.***
|
|
32
|
+
|
|
33
|
+
## Defensive Termination
|
|
34
|
+
|
|
35
|
+
If you make any written claim that this software infringes or contributes to infringement of any patent, your license for this software granted under these terms ends immediately. If your company makes such a claim, your license ends immediately for work on behalf of your company.
|
|
36
|
+
|
|
37
|
+
## Shield
|
|
38
|
+
|
|
39
|
+
You may not use this software to compete with the software provider.
|
|
40
|
+
|
|
41
|
+
## Source Disclosure
|
|
42
|
+
|
|
43
|
+
You must ensure that everyone who gets a copy of any part of this software from you, with or without changes, also gets or can get a copy of the source code of this software by the same means, without any additional charge.
|
|
44
|
+
|
|
45
|
+
## Contributor Disclosure
|
|
46
|
+
|
|
47
|
+
You must ensure that everyone who gets a copy of any part of this software from you also gets the following information:
|
|
48
|
+
|
|
49
|
+
* The name of each contributor.
|
|
50
|
+
* A link to [the original source repository](https://github.com/qwickapps/qwickapps).
|
|
42
51
|
|
|
43
52
|
---
|
|
44
53
|
|
|
45
|
-
|
|
54
|
+
**QwickApps Interpretation Notes:**
|
|
55
|
+
|
|
56
|
+
- **"Compete with the software provider"** means using this software to create competing CMS packages, React frameworks, or application builders that would be considered direct competitors to QwickApps.
|
|
57
|
+
- **Permitted uses** include: building websites and applications, internal business applications, learning/education, non-competitive commercial applications, academic research.
|
|
58
|
+
- **Contact us** at legal@qwickapps.com for commercial licensing if your use case might be competitive.
|
package/README.md
CHANGED
|
@@ -184,20 +184,63 @@ This package requires the following peer dependencies:
|
|
|
184
184
|
|
|
185
185
|
## Examples
|
|
186
186
|
|
|
187
|
-
|
|
187
|
+
The `examples/` directory contains complete, runnable website examples:
|
|
188
188
|
|
|
189
|
-
|
|
189
|
+
| Example | Description | Theme |
|
|
190
|
+
|---------|-------------|-------|
|
|
191
|
+
| [Photography Portfolio](./examples/photography-portfolio) | Professional photographer portfolio with galleries | Midnight (dark) |
|
|
192
|
+
| [Restaurant](./examples/restaurant) | Restaurant website with menu and reservations | Autumn (light) |
|
|
193
|
+
| [DJ Portfolio](./examples/dj-portfolio) | Music artist/DJ website with events and music | Cosmic (dark) |
|
|
194
|
+
| [Travel Blog](./examples/travel-blog) | Travel blog with destinations and stories | Ocean (light) |
|
|
190
195
|
|
|
191
|
-
###
|
|
196
|
+
### Running Examples
|
|
192
197
|
|
|
193
|
-
|
|
198
|
+
Each example can be run with Docker:
|
|
199
|
+
|
|
200
|
+
```bash
|
|
201
|
+
# Navigate to an example
|
|
202
|
+
cd examples/photography-portfolio
|
|
203
|
+
|
|
204
|
+
# Start with Docker Compose
|
|
205
|
+
docker compose up
|
|
206
|
+
|
|
207
|
+
# Open in browser
|
|
208
|
+
open http://localhost:3000
|
|
209
|
+
|
|
210
|
+
# Admin panel
|
|
211
|
+
open http://localhost:3000/admin
|
|
212
|
+
```
|
|
213
|
+
|
|
214
|
+
Default credentials for all examples:
|
|
215
|
+
- Email: `admin@example.com`
|
|
216
|
+
- Password: `admin123`
|
|
217
|
+
|
|
218
|
+
### Running All Examples
|
|
219
|
+
|
|
220
|
+
```bash
|
|
221
|
+
cd examples
|
|
222
|
+
docker compose up
|
|
223
|
+
|
|
224
|
+
# Photography: http://localhost:3001
|
|
225
|
+
# Restaurant: http://localhost:3002
|
|
226
|
+
# DJ: http://localhost:3003
|
|
227
|
+
# Travel Blog: http://localhost:3004
|
|
228
|
+
```
|
|
194
229
|
|
|
195
230
|
## License
|
|
196
231
|
|
|
197
|
-
|
|
232
|
+
This package is licensed under the [PolyForm Shield License 1.0.0](./LICENSE).
|
|
233
|
+
|
|
234
|
+
**Permitted uses:**
|
|
235
|
+
- Building websites and applications
|
|
236
|
+
- Internal business applications
|
|
237
|
+
- Learning and educational projects
|
|
238
|
+
- Non-competitive commercial applications
|
|
239
|
+
|
|
240
|
+
**Contact:** legal@qwickapps.com for commercial licensing questions.
|
|
198
241
|
|
|
199
242
|
## Links
|
|
200
243
|
|
|
201
|
-
- [QwickApps Framework](
|
|
202
|
-
- [
|
|
244
|
+
- [QwickApps Framework](https://www.npmjs.com/package/@qwickapps/react-framework)
|
|
245
|
+
- [QwickApps Schema](https://www.npmjs.com/package/@qwickapps/schema)
|
|
203
246
|
- [Payload CMS](https://payloadcms.com)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ServerQwickApp.d.ts","sourceRoot":"","sources":["../../src/nextjs/ServerQwickApp.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"ServerQwickApp.d.ts","sourceRoot":"","sources":["../../src/nextjs/ServerQwickApp.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,kBAAkB,CAAC;AAEvC,OAAO,aAAa,CAAC;AAYrB,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAEtC,MAAM,WAAW,mBAAmB;IAClC,QAAQ,EAAE,SAAS,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;CACvB;AAqJD;;;GAGG;AACH,wBAAsB,cAAc,CAAC,EAAE,QAAQ,EAAE,aAAa,EAAE,EAAE,mBAAmB,oDAYpF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ServerQwickApp.js","sourceRoot":"","sources":["../../src/nextjs/ServerQwickApp.tsx"],"names":[],"mappings":";AAAA,MAAM,CAAC,MAAM,OA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 -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qwickapps/cms",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "QwickApps CMS - Reusable Payload CMS collections, globals, and components",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -85,7 +85,8 @@
|
|
|
85
85
|
"dependencies": {
|
|
86
86
|
"@mui/material-nextjs": "^7.3.5",
|
|
87
87
|
"@payloadcms/email-nodemailer": "^3.63.0",
|
|
88
|
-
"@payloadcms/live-preview-react": "^3.65.0"
|
|
88
|
+
"@payloadcms/live-preview-react": "^3.65.0",
|
|
89
|
+
"server-only": "^0.0.1"
|
|
89
90
|
},
|
|
90
91
|
"optionalDependencies": {
|
|
91
92
|
"@qwickapps/log-client": "^1.0.0",
|