@reactful/create 0.0.57 → 0.0.59

Sign up to get free protection for your applications and to get access to all the features.
Files changed (131) hide show
  1. package/index.js +39 -19
  2. package/package.json +6 -4
  3. package/bun.lockb +0 -0
  4. package/common/package.json +0 -22
  5. package/common/tsconfig.json +0 -24
  6. package/templates/empty/index.html +0 -12
  7. package/templates/empty/index.ts +0 -5
  8. package/templates/minimal/index.html +0 -12
  9. package/templates/minimal/index.ts +0 -5
  10. package/templates/sampling/apis/auth/db.ts +0 -15
  11. package/templates/sampling/apis/auth/index.ts +0 -28
  12. package/templates/sampling/apis/hello.ts +0 -3
  13. package/templates/sampling/apis/quotes.ts +0 -16
  14. package/templates/sampling/apis/sub/index.ts +0 -3
  15. package/templates/sampling/apis/sub/sub.ts +0 -3
  16. package/templates/sampling/assets/SLIDEME.png +0 -0
  17. package/templates/sampling/assets/default.css +0 -91
  18. package/templates/sampling/assets/favicon.ico +0 -0
  19. package/templates/sampling/assets/icon.png +0 -0
  20. package/templates/sampling/assets/icon.svg +0 -6
  21. package/templates/sampling/assets/logo-144.png +0 -0
  22. package/templates/sampling/assets/logo-168.png +0 -0
  23. package/templates/sampling/assets/logo-192.png +0 -0
  24. package/templates/sampling/assets/logo-48.png +0 -0
  25. package/templates/sampling/assets/logo-512.png +0 -0
  26. package/templates/sampling/assets/logo-72.png +0 -0
  27. package/templates/sampling/assets/logo-96.png +0 -0
  28. package/templates/sampling/assets/manifest.json +0 -57
  29. package/templates/sampling/assets/markdown.css +0 -274
  30. package/templates/sampling/assets/robots.txt +0 -1
  31. package/templates/sampling/assets/system.css +0 -7
  32. package/templates/sampling/builds/about.html +0 -27
  33. package/templates/sampling/builds/bundle.js +0 -13116
  34. package/templates/sampling/builds/bundle.ts +0 -25
  35. package/templates/sampling/builds/client.ts +0 -1
  36. package/templates/sampling/builds/clock.html +0 -30
  37. package/templates/sampling/builds/counter.html +0 -30
  38. package/templates/sampling/builds/forms/form.html +0 -48
  39. package/templates/sampling/builds/forms/index.html +0 -48
  40. package/templates/sampling/builds/hello.html +0 -60
  41. package/templates/sampling/builds/htmlx.html +0 -24
  42. package/templates/sampling/builds/htmlx.tsx +0 -13
  43. package/templates/sampling/builds/index.html +0 -98
  44. package/templates/sampling/builds/login.html +0 -45
  45. package/templates/sampling/builds/profile/index.html +0 -54
  46. package/templates/sampling/builds/quotes.html +0 -26
  47. package/templates/sampling/builds/shared.js +0 -76
  48. package/templates/sampling/builds/system.html +0 -27
  49. package/templates/sampling/components/header.tsx +0 -7
  50. package/templates/sampling/directives/index.ts +0 -1
  51. package/templates/sampling/directives/shown.ts +0 -6
  52. package/templates/sampling/index.html +0 -20
  53. package/templates/sampling/index.ts +0 -19
  54. package/templates/sampling/routes/about.html +0 -13
  55. package/templates/sampling/routes/clock.tsx +0 -35
  56. package/templates/sampling/routes/counter.tsx +0 -21
  57. package/templates/sampling/routes/forms/form.css +0 -19
  58. package/templates/sampling/routes/forms/form.tsx +0 -51
  59. package/templates/sampling/routes/forms/index.tsx +0 -3
  60. package/templates/sampling/routes/hello.tsx +0 -62
  61. package/templates/sampling/routes/htmlx.html +0 -15
  62. package/templates/sampling/routes/index.md +0 -15
  63. package/templates/sampling/routes/login.tsx +0 -36
  64. package/templates/sampling/routes/profile/detail.css +0 -13
  65. package/templates/sampling/routes/profile/detail.tsx +0 -48
  66. package/templates/sampling/routes/profile/index.tsx +0 -14
  67. package/templates/sampling/routes/profile/profile.css +0 -8
  68. package/templates/sampling/routes/profile/tester.tsx +0 -11
  69. package/templates/sampling/routes/quotes.tsx +0 -25
  70. package/templates/sampling/routes/system.tsx +0 -23
  71. package/templates/sampling/tests/access.spec.ts +0 -29
  72. package/templates/sampling/tests/counter.spec.ts +0 -19
  73. package/templates/sampling/tests/form.spec.ts +0 -51
  74. package/templates/sampling/tests/hello.spec.ts +0 -25
  75. package/templates/sampling/tests/path.test.ts +0 -20
  76. package/testings/apis/auth/db.ts +0 -15
  77. package/testings/apis/auth/index.ts +0 -28
  78. package/testings/apis/hello.ts +0 -3
  79. package/testings/apis/quotes.ts +0 -16
  80. package/testings/apis/sub/index.ts +0 -3
  81. package/testings/apis/sub/sub.ts +0 -3
  82. package/testings/assets/SLIDEME.png +0 -0
  83. package/testings/assets/default.css +0 -91
  84. package/testings/assets/favicon.ico +0 -0
  85. package/testings/assets/icon.png +0 -0
  86. package/testings/assets/icon.svg +0 -6
  87. package/testings/assets/logo-144.png +0 -0
  88. package/testings/assets/logo-168.png +0 -0
  89. package/testings/assets/logo-192.png +0 -0
  90. package/testings/assets/logo-48.png +0 -0
  91. package/testings/assets/logo-512.png +0 -0
  92. package/testings/assets/logo-72.png +0 -0
  93. package/testings/assets/logo-96.png +0 -0
  94. package/testings/assets/manifest.json +0 -57
  95. package/testings/assets/markdown.css +0 -274
  96. package/testings/assets/robots.txt +0 -1
  97. package/testings/assets/system.css +0 -7
  98. package/testings/builds/forms/form.html +0 -48
  99. package/testings/builds/forms/index.html +0 -48
  100. package/testings/builds/profile/index.html +0 -54
  101. package/testings/bun.lockb +0 -0
  102. package/testings/components/header.tsx +0 -7
  103. package/testings/directives/index.ts +0 -1
  104. package/testings/directives/shown.ts +0 -6
  105. package/testings/index.html +0 -20
  106. package/testings/index.ts +0 -19
  107. package/testings/package.json +0 -22
  108. package/testings/routes/about.html +0 -13
  109. package/testings/routes/clock.tsx +0 -35
  110. package/testings/routes/counter.tsx +0 -21
  111. package/testings/routes/forms/form.css +0 -19
  112. package/testings/routes/forms/form.tsx +0 -51
  113. package/testings/routes/forms/index.tsx +0 -3
  114. package/testings/routes/hello.tsx +0 -62
  115. package/testings/routes/htmlx.html +0 -15
  116. package/testings/routes/index.md +0 -15
  117. package/testings/routes/login.tsx +0 -36
  118. package/testings/routes/profile/detail.css +0 -13
  119. package/testings/routes/profile/detail.tsx +0 -48
  120. package/testings/routes/profile/index.tsx +0 -14
  121. package/testings/routes/profile/profile.css +0 -8
  122. package/testings/routes/profile/tester.tsx +0 -11
  123. package/testings/routes/quotes.tsx +0 -25
  124. package/testings/routes/system.tsx +0 -23
  125. package/testings/tests/access.spec.ts +0 -29
  126. package/testings/tests/counter.spec.ts +0 -19
  127. package/testings/tests/form.spec.ts +0 -51
  128. package/testings/tests/hello.spec.ts +0 -25
  129. package/testings/tests/path.test.ts +0 -20
  130. package/testings/tsconfig.json +0 -24
  131. package/tsconfig.json +0 -22
@@ -1,274 +0,0 @@
1
- /*---------------------------------------------------------------------------------------------
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for license information.
4
- *--------------------------------------------------------------------------------------------*/
5
- @import url('https://fonts.cdnfonts.com/css/agave');
6
- @import url('https://fonts.googleapis.com/css2?family=Fira+Sans:wght@100;200;300;400&display=swap');
7
- @import url('https://fonts.googleapis.com/css2?family=Fira+Sans:wght@100;200;300;400&family=Quicksand:wght@300;400;500;600;700&display=swap');
8
-
9
-
10
-
11
- :root {
12
- --base-font: 'fira-sans';
13
- --code-font: 'agave';
14
- }
15
-
16
- @media (prefers-color-scheme: dark) {
17
- /* :root { filter: invert(80%) contrast(150%); }
18
- input { filter: invert(10%); } */
19
- }
20
-
21
- label > input { margin-left:10px; }
22
-
23
- input {
24
- font-family: var(--code-font);
25
- padding: 5px 7px;
26
- color: black;
27
- }
28
-
29
- html, body {
30
- font-family: var(--base-font, -apple-system, BlinkMacSystemFont, "Segoe WPC", "Segoe UI", system-ui, "Ubuntu", "Droid Sans", sans-serif);
31
- font-size: var(--markdown-font-size, 14px);
32
- line-height: var(--markdown-line-height, 22px);
33
- word-wrap: break-word;
34
- }
35
-
36
- body {
37
- padding: 10px;
38
- background: whitesmoke;
39
- zoom: 1.1;
40
- }
41
-
42
-
43
- /* Reset margin top for elements */
44
- h1,h2,h3,h4,h5,h6,p,ol,ul,pre {
45
- margin-top: 0;
46
- }
47
-
48
- h1,h2,h3,h4,h5,h6 {
49
- font-weight: 600;
50
- margin-top: 24px;
51
- margin-bottom: 16px;
52
- line-height: 1.25;
53
- }
54
-
55
- #code-csp-warning {
56
- position: fixed;
57
- top: 0;
58
- right: 0;
59
- color: white;
60
- margin: 16px;
61
- text-align: center;
62
- font-size: 12px;
63
- font-family: sans-serif;
64
- background-color: #444444;
65
- cursor: pointer;
66
- padding: 6px;
67
- box-shadow: 1px 1px 1px rgba(0, 0, 0, .25);
68
- }
69
-
70
- #code-csp-warning:hover {
71
- text-decoration: none;
72
- background-color: #007acc;
73
- box-shadow: 2px 2px 2px rgba(0, 0, 0, .25);
74
- }
75
-
76
- body.scrollBeyondLastLine {
77
- margin-bottom: calc(100vh - 22px);
78
- }
79
-
80
- body.showEditorSelection .code-line {
81
- position: relative;
82
- }
83
-
84
- body.showEditorSelection :not(tr, ul, ol).code-active-line:before,
85
- body.showEditorSelection :not(tr, ul, ol).code-line:hover:before {
86
- content: "";
87
- display: block;
88
- position: absolute;
89
- top: 0;
90
- left: -12px;
91
- height: 100%;
92
- }
93
-
94
- .vscode-high-contrast.showEditorSelection :not(tr, ul, ol).code-line .code-line:hover:before {
95
- border-left: none;
96
- }
97
-
98
- body.showEditorSelection li.code-active-line:before,
99
- body.showEditorSelection li.code-line:hover:before {
100
- left: -30px;
101
- }
102
-
103
- .vscode-light.showEditorSelection .code-active-line:before {
104
- border-left: 3px solid rgba(0, 0, 0, 0.15);
105
- }
106
-
107
- .vscode-light.showEditorSelection .code-line:hover:before {
108
- border-left: 3px solid rgba(0, 0, 0, 0.40);
109
- }
110
-
111
- .vscode-dark.showEditorSelection .code-active-line:before {
112
- border-left: 3px solid rgba(255, 255, 255, 0.4);
113
- }
114
-
115
- .vscode-dark.showEditorSelection .code-line:hover:before {
116
- border-left: 3px solid rgba(255, 255, 255, 0.60);
117
- }
118
-
119
- .vscode-high-contrast.showEditorSelection .code-active-line:before {
120
- border-left: 3px solid rgba(255, 160, 0, 0.7);
121
- }
122
-
123
- .vscode-high-contrast.showEditorSelection .code-line:hover:before {
124
- border-left: 3px solid rgba(255, 160, 0, 1);
125
- }
126
-
127
- /* Prevent `sub` and `sup` elements from affecting line height */
128
- sub, sup { line-height: 0; }
129
-
130
- ul ul:first-child,
131
- ul ol:first-child,
132
- ol ul:first-child,
133
- ol ol:first-child {
134
- margin-bottom: 0;
135
- }
136
-
137
- img, video {
138
- max-width: 100%;
139
- max-height: 100%;
140
- }
141
-
142
- a { text-decoration: none; }
143
-
144
- a:hover { text-decoration: underline; }
145
-
146
- a:focus,
147
- input:focus,
148
- select:focus,
149
- textarea:focus {
150
- outline: 1px solid -webkit-focus-ring-color;
151
- outline-offset: -1px;
152
- }
153
-
154
- p {
155
- margin-bottom: 16px;
156
- }
157
-
158
- li p {
159
- margin-bottom: 0.7em;
160
- }
161
-
162
- ul,
163
- ol {
164
- margin-bottom: 0.7em;
165
- }
166
-
167
- hr {
168
- border: 0;
169
- height: 1px;
170
- border-bottom: 1px solid;
171
- }
172
-
173
- h1 {
174
- font-size: 2em;
175
- margin-top: 0;
176
- padding-bottom: 0.3em;
177
- border-bottom-width: 1px;
178
- border-bottom-style: solid;
179
- }
180
-
181
- h2 {
182
- font-size: 1.5em;
183
- padding-bottom: 0.3em;
184
- border-bottom-width: 1px;
185
- border-bottom-style: solid;
186
- }
187
-
188
- h3 {
189
- font-size: 1.25em;
190
- }
191
-
192
- h4 {
193
- font-size: 1em;
194
- }
195
-
196
- h5 {
197
- font-size: 0.875em;
198
- }
199
-
200
- h6 {
201
- font-size: 0.85em;
202
- }
203
-
204
- table {
205
- border-collapse: collapse;
206
- margin-bottom: 0.7em;
207
- }
208
-
209
- th {
210
- text-align: left;
211
- border-bottom: 1px solid;
212
- }
213
-
214
- th,
215
- td {
216
- padding: 5px 10px;
217
- }
218
-
219
- table>tbody>tr+tr>td {
220
- border-top: 1px solid;
221
- }
222
-
223
- blockquote {
224
- margin: 0;
225
- padding: 2px 16px 0 10px;
226
- border-left-width: 5px;
227
- border-left-style: solid;
228
- border-radius: 2px;
229
- }
230
-
231
- code {
232
- font-family: var(--code-font, "SF Mono", Monaco, Menlo, Consolas, "Ubuntu Mono", "Liberation Mono", "DejaVu Sans Mono", "Courier New", monospace);
233
- font-size: 1em;
234
- line-height: 1.357em;
235
- }
236
-
237
- body.wordWrap pre {
238
- white-space: pre-wrap;
239
- }
240
-
241
- pre:not(.hljs),
242
- pre.hljs code>div {
243
- padding: 16px;
244
- border-radius: 3px;
245
- overflow: auto;
246
- }
247
-
248
- pre code {
249
- color: var(--vscode-editor-foreground);
250
- tab-size: 4;
251
- }
252
-
253
- /** Theming */
254
-
255
- pre {
256
- background-color: var(--vscode-textCodeBlock-background);
257
- border: 1px solid var(--vscode-widget-border);
258
- }
259
-
260
- .vscode-high-contrast h1 {
261
- border-color: rgb(0, 0, 0);
262
- }
263
-
264
- .vscode-light th {
265
- border-color: rgba(0, 0, 0, 0.69);
266
- }
267
-
268
- .vscode-dark th {
269
- border-color: rgba(255, 255, 255, 0.69);
270
- }
271
-
272
- .vscode-light h1,.vscode-light h2,.vscode-light hr,.vscode-light td { border-color: rgba(0, 0, 0, 0.18);}
273
-
274
- .vscode-dark h1,.vscode-dark h2,.vscode-dark hr,.vscode-dark td { border-color: rgba(255, 255, 255, 0.18);}
@@ -1 +0,0 @@
1
- User-agent: *
@@ -1,7 +0,0 @@
1
- h2 {
2
- color:green;
3
- font-weight: bolder;
4
- border-bottom: solid 3px dimgray;
5
- font-family: 'Bebas Neue', quicksand, sans-serif !important;
6
- font-size: 50px !important;
7
- }
@@ -1,27 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <meta name="description" content="Home page">
7
- <meta name="theme-color" content="#333">
8
- <link rel="stylesheet" href="/assets/markdown.css">
9
- <link rel="stylesheet" href="/assets/default.css">
10
- <link rel="manifest" href="/assets/manifest.json">
11
- <title>About</title>
12
- <meta name='title' content='About' />
13
- <meta name='description' content='About page' />
14
- <script src='/mnt/b/Repositorios/reactful/experiments/builds/shared.js'></script>
15
- <script type='module' src='/mnt/b/Repositorios/reactful/experiments/builds/bundle.js'></script></head>
16
- <body>
17
- <div id='root'>
18
- <h1>About</h1>
19
- <p>
20
- Lorem ipsum dolor sit amet consectetur adipisicing elit.
21
- Adipisci id eaque saepe ab numquam, nisi minus atque obcaecati,
22
- dignissimos facere accusamus nihil ipsam repudiandae praesentium,
23
- quia animi perspiciatis architecto fuga?
24
- </p>
25
- </div>
26
- </body>
27
- </html>