create-tina-app 0.1.2 → 0.1.5

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 (41) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/dist/index.js +50 -16
  3. package/{examples/tina-tailwind-sidebar-demo/next-env.d.ts → dist/util/preRunChecks.d.ts} +1 -3
  4. package/package.json +2 -1
  5. package/examples/tina-tailwind-sidebar-demo/.tina/PageTemplate.ts +0 -427
  6. package/examples/tina-tailwind-sidebar-demo/.tina/ThemeTemplate.ts +0 -42
  7. package/examples/tina-tailwind-sidebar-demo/.tina/__generated__/_graphql.json +0 -4180
  8. package/examples/tina-tailwind-sidebar-demo/.tina/__generated__/_lookup.json +0 -68
  9. package/examples/tina-tailwind-sidebar-demo/.tina/__generated__/_schema.json +0 -851
  10. package/examples/tina-tailwind-sidebar-demo/.tina/__generated__/config/schema.json +0 -479
  11. package/examples/tina-tailwind-sidebar-demo/.tina/__generated__/schema.gql +0 -391
  12. package/examples/tina-tailwind-sidebar-demo/.tina/__generated__/types.ts +0 -520
  13. package/examples/tina-tailwind-sidebar-demo/.tina/schema.ts +0 -35
  14. package/examples/tina-tailwind-sidebar-demo/CHANGELOG.md +0 -95
  15. package/examples/tina-tailwind-sidebar-demo/LICENSE +0 -201
  16. package/examples/tina-tailwind-sidebar-demo/README.md +0 -10
  17. package/examples/tina-tailwind-sidebar-demo/components/PageBlocks.tsx +0 -25
  18. package/examples/tina-tailwind-sidebar-demo/components/actions.js +0 -114
  19. package/examples/tina-tailwind-sidebar-demo/components/features.tsx +0 -171
  20. package/examples/tina-tailwind-sidebar-demo/components/footer.tsx +0 -247
  21. package/examples/tina-tailwind-sidebar-demo/components/hero.js +0 -156
  22. package/examples/tina-tailwind-sidebar-demo/components/icon.js +0 -264
  23. package/examples/tina-tailwind-sidebar-demo/components/modal.js +0 -79
  24. package/examples/tina-tailwind-sidebar-demo/components/nav.tsx +0 -121
  25. package/examples/tina-tailwind-sidebar-demo/components/section.js +0 -53
  26. package/examples/tina-tailwind-sidebar-demo/components/testimonial.tsx +0 -87
  27. package/examples/tina-tailwind-sidebar-demo/components/theme.tsx +0 -81
  28. package/examples/tina-tailwind-sidebar-demo/components/tina-wrapper.js +0 -85
  29. package/examples/tina-tailwind-sidebar-demo/content/data/homepage.json +0 -186
  30. package/examples/tina-tailwind-sidebar-demo/content/theme/NormalTheme.json +0 -5
  31. package/examples/tina-tailwind-sidebar-demo/graphql.config.js +0 -24
  32. package/examples/tina-tailwind-sidebar-demo/package.json +0 -42
  33. package/examples/tina-tailwind-sidebar-demo/pages/_app.js +0 -48
  34. package/examples/tina-tailwind-sidebar-demo/pages/admin.tsx +0 -26
  35. package/examples/tina-tailwind-sidebar-demo/pages/index.tsx +0 -186
  36. package/examples/tina-tailwind-sidebar-demo/postcss.config.js +0 -19
  37. package/examples/tina-tailwind-sidebar-demo/public/canal.jpg +0 -0
  38. package/examples/tina-tailwind-sidebar-demo/public/index.html +0 -42
  39. package/examples/tina-tailwind-sidebar-demo/styles.css +0 -20
  40. package/examples/tina-tailwind-sidebar-demo/tailwind.config.js +0 -83
  41. package/examples/tina-tailwind-sidebar-demo/tsconfig.json +0 -19
@@ -1,479 +0,0 @@
1
- {
2
- "collections": [
3
- {
4
- "label": "Theme",
5
- "name": "theme",
6
- "path": "content/theme",
7
- "format": "json",
8
- "fields": [
9
- {
10
- "name": "color",
11
- "label": "Primary Color",
12
- "type": "string",
13
- "options": [
14
- "blue",
15
- "teal",
16
- "green",
17
- "red",
18
- "pink",
19
- "purple",
20
- "orange",
21
- "yellow"
22
- ]
23
- },
24
- {
25
- "name": "btnStyle",
26
- "label": "Button Style",
27
- "type": "string",
28
- "options": [
29
- "round",
30
- "rounded",
31
- "square"
32
- ]
33
- }
34
- ]
35
- },
36
- {
37
- "label": "Pages",
38
- "name": "page",
39
- "path": "content/data",
40
- "format": "json",
41
- "fields": [
42
- {
43
- "name": "nav",
44
- "type": "object",
45
- "label": "Navbar",
46
- "fields": [
47
- {
48
- "label": "Wordmark",
49
- "name": "wordmark",
50
- "type": "object",
51
- "fields": [
52
- {
53
- "label": "Icon",
54
- "name": "icon",
55
- "type": "object",
56
- "fields": [
57
- {
58
- "name": "color",
59
- "label": "Color",
60
- "type": "string",
61
- "options": [
62
- "primary",
63
- "blue",
64
- "teal",
65
- "green",
66
- "red",
67
- "pink",
68
- "purple",
69
- "orange",
70
- "yellow"
71
- ]
72
- },
73
- {
74
- "name": "name",
75
- "label": "Icon",
76
- "type": "string",
77
- "options": [
78
- "random",
79
- "FiAperture",
80
- "BiCodeBlock",
81
- "BiLike",
82
- "BiMapAlt",
83
- "BiPalette",
84
- "BiPieChartAlt2",
85
- "BiPin",
86
- "BiShield",
87
- "BiSlider",
88
- "BiStore",
89
- "BiTennisBall",
90
- "BiTestTube",
91
- "BiTrophy",
92
- "BiUserCircle",
93
- "BiBeer",
94
- "BiChat",
95
- "BiCloud",
96
- "BiCoffeeTogo",
97
- "BiWorld"
98
- ]
99
- },
100
- {
101
- "name": "style",
102
- "label": "Style",
103
- "type": "string",
104
- "options": [
105
- "circle",
106
- "float"
107
- ]
108
- }
109
- ]
110
- },
111
- {
112
- "label": "Name",
113
- "name": "name",
114
- "type": "string"
115
- }
116
- ]
117
- },
118
- {
119
- "label": "Nav Items",
120
- "name": "items",
121
- "type": "object",
122
- "list": true,
123
- "fields": [
124
- {
125
- "label": "Label",
126
- "name": "label",
127
- "type": "string"
128
- },
129
- {
130
- "label": "Link",
131
- "name": "link",
132
- "type": "string"
133
- }
134
- ]
135
- }
136
- ]
137
- },
138
- {
139
- "name": "blocks",
140
- "type": "object",
141
- "label": "Page Sections",
142
- "list": true,
143
- "templates": [
144
- {
145
- "name": "hero",
146
- "label": "Hero",
147
- "fields": [
148
- {
149
- "name": "tagline",
150
- "label": "Tagline",
151
- "type": "string"
152
- },
153
- {
154
- "name": "headline",
155
- "label": "Headline",
156
- "type": "string"
157
- },
158
- {
159
- "name": "paragraph",
160
- "label": "Paragraph",
161
- "type": "string"
162
- },
163
- {
164
- "name": "string",
165
- "label": "Text",
166
- "type": "object",
167
- "fields": [
168
- {
169
- "name": "color",
170
- "label": "Color",
171
- "type": "string",
172
- "options": [
173
- "default",
174
- "tint",
175
- "primary"
176
- ]
177
- }
178
- ]
179
- },
180
- {
181
- "name": "image",
182
- "label": "Image",
183
- "type": "object",
184
- "fields": [
185
- {
186
- "name": "src",
187
- "label": "Image Source",
188
- "type": "string"
189
- },
190
- {
191
- "name": "alt",
192
- "label": "Alt Text",
193
- "type": "string"
194
- }
195
- ]
196
- },
197
- {
198
- "label": "Actions",
199
- "name": "actions",
200
- "type": "object",
201
- "list": true,
202
- "fields": [
203
- {
204
- "label": "Label",
205
- "name": "label",
206
- "type": "string"
207
- },
208
- {
209
- "label": "Type",
210
- "name": "type",
211
- "type": "string",
212
- "options": [
213
- "button",
214
- "link"
215
- ]
216
- },
217
- {
218
- "label": "Icon",
219
- "name": "icon",
220
- "type": "boolean"
221
- }
222
- ]
223
- },
224
- {
225
- "name": "style",
226
- "label": "Style",
227
- "type": "object",
228
- "fields": [
229
- {
230
- "name": "color",
231
- "label": "Color",
232
- "type": "string",
233
- "options": [
234
- "default",
235
- "tint",
236
- "primary"
237
- ]
238
- }
239
- ]
240
- }
241
- ]
242
- },
243
- {
244
- "name": "testimonial",
245
- "label": "Testimonial",
246
- "fields": [
247
- {
248
- "name": "quote",
249
- "label": "Quote",
250
- "type": "string"
251
- },
252
- {
253
- "name": "author",
254
- "label": "Author",
255
- "type": "string"
256
- },
257
- {
258
- "name": "style",
259
- "label": "Style",
260
- "type": "object",
261
- "fields": [
262
- {
263
- "name": "color",
264
- "label": "Color",
265
- "type": "string",
266
- "options": [
267
- "default",
268
- "tint",
269
- "primary"
270
- ]
271
- }
272
- ]
273
- }
274
- ]
275
- },
276
- {
277
- "name": "features",
278
- "label": "Features",
279
- "fields": [
280
- {
281
- "label": "Features",
282
- "name": "items",
283
- "type": "object",
284
- "list": true,
285
- "fields": [
286
- {
287
- "label": "Icon",
288
- "name": "icon",
289
- "type": "object",
290
- "fields": [
291
- {
292
- "name": "color",
293
- "label": "Color",
294
- "type": "string",
295
- "options": [
296
- "primary",
297
- "blue",
298
- "teal",
299
- "green",
300
- "red",
301
- "pink",
302
- "purple",
303
- "orange",
304
- "yellow"
305
- ]
306
- },
307
- {
308
- "name": "name",
309
- "label": "Icon",
310
- "type": "string",
311
- "options": [
312
- "random",
313
- "Aperture",
314
- "BiCodeBlock",
315
- "BiLike",
316
- "BiMapAlt",
317
- "BiPalette",
318
- "BiPieChartAlt2",
319
- "BiPin",
320
- "BiShield",
321
- "BiSlider",
322
- "BiStore",
323
- "BiTennisBall",
324
- "BiTestTube",
325
- "BiTrophy",
326
- "BiUserCircle",
327
- "BiBeer",
328
- "BiChat",
329
- "BiCloud",
330
- "BiCoffeeTogo",
331
- "BiWorld"
332
- ]
333
- },
334
- {
335
- "name": "style",
336
- "label": "Style",
337
- "type": "string",
338
- "options": [
339
- "circle",
340
- "float"
341
- ]
342
- }
343
- ]
344
- },
345
- {
346
- "name": "title",
347
- "label": "Title",
348
- "type": "string"
349
- },
350
- {
351
- "name": "text",
352
- "label": "Text",
353
- "type": "string"
354
- },
355
- {
356
- "label": "Actions",
357
- "name": "actions",
358
- "type": "object",
359
- "list": true,
360
- "fields": [
361
- {
362
- "label": "Label",
363
- "name": "label",
364
- "type": "string"
365
- },
366
- {
367
- "label": "Type",
368
- "name": "type",
369
- "type": "string",
370
- "options": [
371
- "button",
372
- "link"
373
- ]
374
- },
375
- {
376
- "label": "Icon",
377
- "name": "icon",
378
- "type": "boolean"
379
- }
380
- ]
381
- }
382
- ]
383
- },
384
- {
385
- "name": "style",
386
- "label": "Style",
387
- "type": "object",
388
- "fields": [
389
- {
390
- "name": "color",
391
- "label": "Color",
392
- "type": "string",
393
- "options": [
394
- "default",
395
- "tint",
396
- "primary"
397
- ]
398
- }
399
- ]
400
- }
401
- ]
402
- }
403
- ]
404
- },
405
- {
406
- "label": "Nav List",
407
- "name": "navlist",
408
- "type": "object",
409
- "list": true,
410
- "templates": [
411
- {
412
- "name": "nav",
413
- "label": "Foooter nav",
414
- "fields": [
415
- {
416
- "name": "title",
417
- "label": "Title",
418
- "type": "string"
419
- },
420
- {
421
- "name": "items",
422
- "label": "Nav Items",
423
- "type": "object",
424
- "list": true,
425
- "fields": [
426
- {
427
- "name": "label",
428
- "label": "Label",
429
- "type": "string"
430
- },
431
- {
432
- "name": "link",
433
- "label": "Link",
434
- "type": "string"
435
- }
436
- ]
437
- }
438
- ]
439
- }
440
- ]
441
- },
442
- {
443
- "name": "footer",
444
- "label": "Footer",
445
- "type": "object",
446
- "fields": [
447
- {
448
- "name": "social",
449
- "label": "Social Media",
450
- "type": "object",
451
- "fields": [
452
- {
453
- "name": "facebook",
454
- "label": "Facebook",
455
- "type": "string"
456
- },
457
- {
458
- "name": "twitter",
459
- "label": "Twitter",
460
- "type": "string"
461
- },
462
- {
463
- "name": "instagram",
464
- "label": "Instagram",
465
- "type": "string"
466
- },
467
- {
468
- "name": "github",
469
- "label": "Github",
470
- "type": "string"
471
- }
472
- ]
473
- }
474
- ]
475
- }
476
- ]
477
- }
478
- ]
479
- }