~repos /edge-city
git clone https://pyrossh.dev/repos/edge-city.git
edge-city is a next level meta-framework for react that runs only on edge runtimes
d4801c5c
—
Peter John 2 years ago
rename package
- bun.lockb +0 -0
- package-lock.json +675 -0
- package.json +1 -3
- packages/example/containers/TodoList/TodoList.jsx +2 -1
- packages/example/main.js +0 -3
- packages/example/package.json +3 -3
- packages/example/routes/todos/page.jsx +1 -3
- packages/muffinjs/.gitignore +0 -1
- packages/muffinjs/bin/muffin +0 -5
- packages/muffinjs/bun.lockb +0 -0
- packages/{muffinjs → parotta}/atom.js +0 -0
- packages/{muffinjs/index.js → parotta/cli.js} +2 -0
- packages/{muffinjs → parotta}/package.json +3 -10
- packages/{muffinjs → parotta}/router.js +0 -0
bun.lockb
CHANGED
|
Binary file
|
package-lock.json
ADDED
|
@@ -0,0 +1,675 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "parotta-workspace",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"lockfileVersion": 2,
|
|
5
|
+
"requires": true,
|
|
6
|
+
"packages": {
|
|
7
|
+
"": {
|
|
8
|
+
"name": "parotta-workspace",
|
|
9
|
+
"version": "1.0.0",
|
|
10
|
+
"workspaces": [
|
|
11
|
+
"packages/example",
|
|
12
|
+
"packages/parotta"
|
|
13
|
+
],
|
|
14
|
+
"bin": {
|
|
15
|
+
"parotta": "package/parotta/cli"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"node_modules/js-tokens": {
|
|
19
|
+
"version": "4.0.0",
|
|
20
|
+
"license": "MIT"
|
|
21
|
+
},
|
|
22
|
+
"node_modules/loose-envify": {
|
|
23
|
+
"version": "1.4.0",
|
|
24
|
+
"license": "MIT",
|
|
25
|
+
"dependencies": {
|
|
26
|
+
"js-tokens": "^3.0.0 || ^4.0.0"
|
|
27
|
+
},
|
|
28
|
+
"bin": {
|
|
29
|
+
"loose-envify": "cli.js"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"node_modules/parotta": {
|
|
33
|
+
"resolved": "packages/parotta",
|
|
34
|
+
"link": true
|
|
35
|
+
},
|
|
36
|
+
"node_modules/quickstart": {
|
|
37
|
+
"resolved": "packages/example",
|
|
38
|
+
"link": true
|
|
39
|
+
},
|
|
40
|
+
"node_modules/react": {
|
|
41
|
+
"version": "18.2.0",
|
|
42
|
+
"license": "MIT",
|
|
43
|
+
"dependencies": {
|
|
44
|
+
"loose-envify": "^1.1.0"
|
|
45
|
+
},
|
|
46
|
+
"engines": {
|
|
47
|
+
"node": ">=0.10.0"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"node_modules/react-dom": {
|
|
51
|
+
"version": "18.2.0",
|
|
52
|
+
"license": "MIT",
|
|
53
|
+
"dependencies": {
|
|
54
|
+
"loose-envify": "^1.1.0",
|
|
55
|
+
"scheduler": "^0.23.0"
|
|
56
|
+
},
|
|
57
|
+
"peerDependencies": {
|
|
58
|
+
"react": "^18.2.0"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"node_modules/scheduler": {
|
|
62
|
+
"version": "0.23.0",
|
|
63
|
+
"license": "MIT",
|
|
64
|
+
"dependencies": {
|
|
65
|
+
"loose-envify": "^1.1.0"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"packages/example": {
|
|
69
|
+
"name": "quickstart",
|
|
70
|
+
"dependencies": {
|
|
71
|
+
"parotta": "0.1.0",
|
|
72
|
+
"react": "18.2.0",
|
|
73
|
+
"react-dom": "^18.2.0"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"packages/parotta": {
|
|
77
|
+
"version": "0.1.0",
|
|
78
|
+
"dependencies": {
|
|
79
|
+
"autoprefixer": "^10.4.14",
|
|
80
|
+
"mime-types": "2.1.35",
|
|
81
|
+
"postcss": "^8.4.21",
|
|
82
|
+
"postcss-custom-media": "^9.1.2",
|
|
83
|
+
"postcss-nesting": "^11.2.1",
|
|
84
|
+
"postcss-normalize": "^10.0.1",
|
|
85
|
+
"radix3": "^1.0.0",
|
|
86
|
+
"walkdir": "0.4.1"
|
|
87
|
+
},
|
|
88
|
+
"bin": {
|
|
89
|
+
"parotta": "cli"
|
|
90
|
+
},
|
|
91
|
+
"devDependencies": {
|
|
92
|
+
"bun-types": "^0.5.0"
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"packages/parotta/node_modules/@csstools/cascade-layer-name-parser": {
|
|
96
|
+
"version": "1.0.1",
|
|
97
|
+
"license": "MIT",
|
|
98
|
+
"engines": {
|
|
99
|
+
"node": "^14 || ^16 || >=18"
|
|
100
|
+
},
|
|
101
|
+
"funding": {
|
|
102
|
+
"type": "opencollective",
|
|
103
|
+
"url": "https://opencollective.com/csstools"
|
|
104
|
+
},
|
|
105
|
+
"peerDependencies": {
|
|
106
|
+
"@csstools/css-parser-algorithms": "^2.0.0",
|
|
107
|
+
"@csstools/css-tokenizer": "^2.0.0"
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
"packages/parotta/node_modules/@csstools/css-parser-algorithms": {
|
|
111
|
+
"version": "2.0.1",
|
|
112
|
+
"license": "MIT",
|
|
113
|
+
"engines": {
|
|
114
|
+
"node": "^14 || ^16 || >=18"
|
|
115
|
+
},
|
|
116
|
+
"funding": {
|
|
117
|
+
"type": "opencollective",
|
|
118
|
+
"url": "https://opencollective.com/csstools"
|
|
119
|
+
},
|
|
120
|
+
"peerDependencies": {
|
|
121
|
+
"@csstools/css-tokenizer": "^2.0.0"
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
"packages/parotta/node_modules/@csstools/css-tokenizer": {
|
|
125
|
+
"version": "2.1.0",
|
|
126
|
+
"license": "MIT",
|
|
127
|
+
"engines": {
|
|
128
|
+
"node": "^14 || ^16 || >=18"
|
|
129
|
+
},
|
|
130
|
+
"funding": {
|
|
131
|
+
"type": "opencollective",
|
|
132
|
+
"url": "https://opencollective.com/csstools"
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
"packages/parotta/node_modules/@csstools/media-query-list-parser": {
|
|
136
|
+
"version": "2.0.1",
|
|
137
|
+
"license": "MIT",
|
|
138
|
+
"engines": {
|
|
139
|
+
"node": "^14 || ^16 || >=18"
|
|
140
|
+
},
|
|
141
|
+
"funding": {
|
|
142
|
+
"type": "opencollective",
|
|
143
|
+
"url": "https://opencollective.com/csstools"
|
|
144
|
+
},
|
|
145
|
+
"peerDependencies": {
|
|
146
|
+
"@csstools/css-parser-algorithms": "^2.0.0",
|
|
147
|
+
"@csstools/css-tokenizer": "^2.0.0"
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
"packages/parotta/node_modules/@csstools/normalize.css": {
|
|
151
|
+
"version": "12.0.0",
|
|
152
|
+
"license": "CC0-1.0"
|
|
153
|
+
},
|
|
154
|
+
"packages/parotta/node_modules/@csstools/selector-specificity": {
|
|
155
|
+
"version": "2.1.1",
|
|
156
|
+
"license": "CC0-1.0",
|
|
157
|
+
"engines": {
|
|
158
|
+
"node": "^14 || ^16 || >=18"
|
|
159
|
+
},
|
|
160
|
+
"funding": {
|
|
161
|
+
"type": "opencollective",
|
|
162
|
+
"url": "https://opencollective.com/csstools"
|
|
163
|
+
},
|
|
164
|
+
"peerDependencies": {
|
|
165
|
+
"postcss": "^8.4",
|
|
166
|
+
"postcss-selector-parser": "^6.0.10"
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
"packages/parotta/node_modules/autoprefixer": {
|
|
170
|
+
"version": "10.4.14",
|
|
171
|
+
"funding": [
|
|
172
|
+
{
|
|
173
|
+
"type": "opencollective",
|
|
174
|
+
"url": "https://opencollective.com/postcss/"
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"type": "tidelift",
|
|
178
|
+
"url": "https://tidelift.com/funding/github/npm/autoprefixer"
|
|
179
|
+
}
|
|
180
|
+
],
|
|
181
|
+
"license": "MIT",
|
|
182
|
+
"dependencies": {
|
|
183
|
+
"browserslist": "^4.21.5",
|
|
184
|
+
"caniuse-lite": "^1.0.30001464",
|
|
185
|
+
"fraction.js": "^4.2.0",
|
|
186
|
+
"normalize-range": "^0.1.2",
|
|
187
|
+
"picocolors": "^1.0.0",
|
|
188
|
+
"postcss-value-parser": "^4.2.0"
|
|
189
|
+
},
|
|
190
|
+
"bin": {
|
|
191
|
+
"autoprefixer": "bin/autoprefixer"
|
|
192
|
+
},
|
|
193
|
+
"engines": {
|
|
194
|
+
"node": "^10 || ^12 || >=14"
|
|
195
|
+
},
|
|
196
|
+
"peerDependencies": {
|
|
197
|
+
"postcss": "^8.1.0"
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
"packages/parotta/node_modules/browserslist": {
|
|
201
|
+
"version": "4.21.5",
|
|
202
|
+
"funding": [
|
|
203
|
+
{
|
|
204
|
+
"type": "opencollective",
|
|
205
|
+
"url": "https://opencollective.com/browserslist"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"type": "tidelift",
|
|
209
|
+
"url": "https://tidelift.com/funding/github/npm/browserslist"
|
|
210
|
+
}
|
|
211
|
+
],
|
|
212
|
+
"license": "MIT",
|
|
213
|
+
"dependencies": {
|
|
214
|
+
"caniuse-lite": "^1.0.30001449",
|
|
215
|
+
"electron-to-chromium": "^1.4.284",
|
|
216
|
+
"node-releases": "^2.0.8",
|
|
217
|
+
"update-browserslist-db": "^1.0.10"
|
|
218
|
+
},
|
|
219
|
+
"bin": {
|
|
220
|
+
"browserslist": "cli.js"
|
|
221
|
+
},
|
|
222
|
+
"engines": {
|
|
223
|
+
"node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
"packages/parotta/node_modules/bun-types": {
|
|
227
|
+
"version": "0.5.7",
|
|
228
|
+
"dev": true
|
|
229
|
+
},
|
|
230
|
+
"packages/parotta/node_modules/caniuse-lite": {
|
|
231
|
+
"version": "1.0.30001468",
|
|
232
|
+
"funding": [
|
|
233
|
+
{
|
|
234
|
+
"type": "opencollective",
|
|
235
|
+
"url": "https://opencollective.com/browserslist"
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"type": "tidelift",
|
|
239
|
+
"url": "https://tidelift.com/funding/github/npm/caniuse-lite"
|
|
240
|
+
}
|
|
241
|
+
],
|
|
242
|
+
"license": "CC-BY-4.0"
|
|
243
|
+
},
|
|
244
|
+
"packages/parotta/node_modules/cssesc": {
|
|
245
|
+
"version": "3.0.0",
|
|
246
|
+
"license": "MIT",
|
|
247
|
+
"bin": {
|
|
248
|
+
"cssesc": "bin/cssesc"
|
|
249
|
+
},
|
|
250
|
+
"engines": {
|
|
251
|
+
"node": ">=4"
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
"packages/parotta/node_modules/electron-to-chromium": {
|
|
255
|
+
"version": "1.4.333",
|
|
256
|
+
"license": "ISC"
|
|
257
|
+
},
|
|
258
|
+
"packages/parotta/node_modules/escalade": {
|
|
259
|
+
"version": "3.1.1",
|
|
260
|
+
"license": "MIT",
|
|
261
|
+
"engines": {
|
|
262
|
+
"node": ">=6"
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
"packages/parotta/node_modules/fraction.js": {
|
|
266
|
+
"version": "4.2.0",
|
|
267
|
+
"license": "MIT",
|
|
268
|
+
"engines": {
|
|
269
|
+
"node": "*"
|
|
270
|
+
},
|
|
271
|
+
"funding": {
|
|
272
|
+
"type": "patreon",
|
|
273
|
+
"url": "https://www.patreon.com/infusion"
|
|
274
|
+
}
|
|
275
|
+
},
|
|
276
|
+
"packages/parotta/node_modules/mime-db": {
|
|
277
|
+
"version": "1.52.0",
|
|
278
|
+
"license": "MIT",
|
|
279
|
+
"engines": {
|
|
280
|
+
"node": ">= 0.6"
|
|
281
|
+
}
|
|
282
|
+
},
|
|
283
|
+
"packages/parotta/node_modules/mime-types": {
|
|
284
|
+
"version": "2.1.35",
|
|
285
|
+
"license": "MIT",
|
|
286
|
+
"dependencies": {
|
|
287
|
+
"mime-db": "1.52.0"
|
|
288
|
+
},
|
|
289
|
+
"engines": {
|
|
290
|
+
"node": ">= 0.6"
|
|
291
|
+
}
|
|
292
|
+
},
|
|
293
|
+
"packages/parotta/node_modules/nanoid": {
|
|
294
|
+
"version": "3.3.4",
|
|
295
|
+
"license": "MIT",
|
|
296
|
+
"bin": {
|
|
297
|
+
"nanoid": "bin/nanoid.cjs"
|
|
298
|
+
},
|
|
299
|
+
"engines": {
|
|
300
|
+
"node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
|
|
301
|
+
}
|
|
302
|
+
},
|
|
303
|
+
"packages/parotta/node_modules/node-releases": {
|
|
304
|
+
"version": "2.0.10",
|
|
305
|
+
"license": "MIT"
|
|
306
|
+
},
|
|
307
|
+
"packages/parotta/node_modules/normalize-range": {
|
|
308
|
+
"version": "0.1.2",
|
|
309
|
+
"license": "MIT",
|
|
310
|
+
"engines": {
|
|
311
|
+
"node": ">=0.10.0"
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
"packages/parotta/node_modules/picocolors": {
|
|
315
|
+
"version": "1.0.0",
|
|
316
|
+
"license": "ISC"
|
|
317
|
+
},
|
|
318
|
+
"packages/parotta/node_modules/postcss": {
|
|
319
|
+
"version": "8.4.21",
|
|
320
|
+
"funding": [
|
|
321
|
+
{
|
|
322
|
+
"type": "opencollective",
|
|
323
|
+
"url": "https://opencollective.com/postcss/"
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"type": "tidelift",
|
|
327
|
+
"url": "https://tidelift.com/funding/github/npm/postcss"
|
|
328
|
+
}
|
|
329
|
+
],
|
|
330
|
+
"license": "MIT",
|
|
331
|
+
"dependencies": {
|
|
332
|
+
"nanoid": "^3.3.4",
|
|
333
|
+
"picocolors": "^1.0.0",
|
|
334
|
+
"source-map-js": "^1.0.2"
|
|
335
|
+
},
|
|
336
|
+
"engines": {
|
|
337
|
+
"node": "^10 || ^12 || >=14"
|
|
338
|
+
}
|
|
339
|
+
},
|
|
340
|
+
"packages/parotta/node_modules/postcss-browser-comments": {
|
|
341
|
+
"version": "4.0.0",
|
|
342
|
+
"license": "CC0-1.0",
|
|
343
|
+
"engines": {
|
|
344
|
+
"node": ">=8"
|
|
345
|
+
},
|
|
346
|
+
"peerDependencies": {
|
|
347
|
+
"browserslist": ">=4",
|
|
348
|
+
"postcss": ">=8"
|
|
349
|
+
}
|
|
350
|
+
},
|
|
351
|
+
"packages/parotta/node_modules/postcss-custom-media": {
|
|
352
|
+
"version": "9.1.2",
|
|
353
|
+
"license": "MIT",
|
|
354
|
+
"dependencies": {
|
|
355
|
+
"@csstools/cascade-layer-name-parser": "^1.0.0",
|
|
356
|
+
"@csstools/css-parser-algorithms": "^2.0.0",
|
|
357
|
+
"@csstools/css-tokenizer": "^2.0.0",
|
|
358
|
+
"@csstools/media-query-list-parser": "^2.0.0"
|
|
359
|
+
},
|
|
360
|
+
"engines": {
|
|
361
|
+
"node": "^14 || ^16 || >=18"
|
|
362
|
+
},
|
|
363
|
+
"funding": {
|
|
364
|
+
"type": "opencollective",
|
|
365
|
+
"url": "https://opencollective.com/csstools"
|
|
366
|
+
},
|
|
367
|
+
"peerDependencies": {
|
|
368
|
+
"postcss": "^8.4"
|
|
369
|
+
}
|
|
370
|
+
},
|
|
371
|
+
"packages/parotta/node_modules/postcss-nesting": {
|
|
372
|
+
"version": "11.2.1",
|
|
373
|
+
"license": "CC0-1.0",
|
|
374
|
+
"dependencies": {
|
|
375
|
+
"@csstools/selector-specificity": "^2.0.0",
|
|
376
|
+
"postcss-selector-parser": "^6.0.10"
|
|
377
|
+
},
|
|
378
|
+
"engines": {
|
|
379
|
+
"node": "^14 || ^16 || >=18"
|
|
380
|
+
},
|
|
381
|
+
"funding": {
|
|
382
|
+
"type": "opencollective",
|
|
383
|
+
"url": "https://opencollective.com/csstools"
|
|
384
|
+
},
|
|
385
|
+
"peerDependencies": {
|
|
386
|
+
"postcss": "^8.4"
|
|
387
|
+
}
|
|
388
|
+
},
|
|
389
|
+
"packages/parotta/node_modules/postcss-normalize": {
|
|
390
|
+
"version": "10.0.1",
|
|
391
|
+
"license": "CC0-1.0",
|
|
392
|
+
"dependencies": {
|
|
393
|
+
"@csstools/normalize.css": "*",
|
|
394
|
+
"postcss-browser-comments": "^4",
|
|
395
|
+
"sanitize.css": "*"
|
|
396
|
+
},
|
|
397
|
+
"engines": {
|
|
398
|
+
"node": ">= 12"
|
|
399
|
+
},
|
|
400
|
+
"peerDependencies": {
|
|
401
|
+
"browserslist": ">= 4",
|
|
402
|
+
"postcss": ">= 8"
|
|
403
|
+
}
|
|
404
|
+
},
|
|
405
|
+
"packages/parotta/node_modules/postcss-selector-parser": {
|
|
406
|
+
"version": "6.0.11",
|
|
407
|
+
"license": "MIT",
|
|
408
|
+
"dependencies": {
|
|
409
|
+
"cssesc": "^3.0.0",
|
|
410
|
+
"util-deprecate": "^1.0.2"
|
|
411
|
+
},
|
|
412
|
+
"engines": {
|
|
413
|
+
"node": ">=4"
|
|
414
|
+
}
|
|
415
|
+
},
|
|
416
|
+
"packages/parotta/node_modules/postcss-value-parser": {
|
|
417
|
+
"version": "4.2.0",
|
|
418
|
+
"license": "MIT"
|
|
419
|
+
},
|
|
420
|
+
"packages/parotta/node_modules/radix3": {
|
|
421
|
+
"version": "1.0.0",
|
|
422
|
+
"license": "MIT"
|
|
423
|
+
},
|
|
424
|
+
"packages/parotta/node_modules/sanitize.css": {
|
|
425
|
+
"version": "13.0.0",
|
|
426
|
+
"license": "CC0-1.0"
|
|
427
|
+
},
|
|
428
|
+
"packages/parotta/node_modules/source-map-js": {
|
|
429
|
+
"version": "1.0.2",
|
|
430
|
+
"license": "BSD-3-Clause",
|
|
431
|
+
"engines": {
|
|
432
|
+
"node": ">=0.10.0"
|
|
433
|
+
}
|
|
434
|
+
},
|
|
435
|
+
"packages/parotta/node_modules/update-browserslist-db": {
|
|
436
|
+
"version": "1.0.10",
|
|
437
|
+
"funding": [
|
|
438
|
+
{
|
|
439
|
+
"type": "opencollective",
|
|
440
|
+
"url": "https://opencollective.com/browserslist"
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
"type": "tidelift",
|
|
444
|
+
"url": "https://tidelift.com/funding/github/npm/browserslist"
|
|
445
|
+
}
|
|
446
|
+
],
|
|
447
|
+
"license": "MIT",
|
|
448
|
+
"dependencies": {
|
|
449
|
+
"escalade": "^3.1.1",
|
|
450
|
+
"picocolors": "^1.0.0"
|
|
451
|
+
},
|
|
452
|
+
"bin": {
|
|
453
|
+
"browserslist-lint": "cli.js"
|
|
454
|
+
},
|
|
455
|
+
"peerDependencies": {
|
|
456
|
+
"browserslist": ">= 4.21.0"
|
|
457
|
+
}
|
|
458
|
+
},
|
|
459
|
+
"packages/parotta/node_modules/util-deprecate": {
|
|
460
|
+
"version": "1.0.2",
|
|
461
|
+
"license": "MIT"
|
|
462
|
+
},
|
|
463
|
+
"packages/parotta/node_modules/walkdir": {
|
|
464
|
+
"version": "0.4.1",
|
|
465
|
+
"license": "MIT",
|
|
466
|
+
"engines": {
|
|
467
|
+
"node": ">=6.0.0"
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
},
|
|
471
|
+
"dependencies": {
|
|
472
|
+
"js-tokens": {
|
|
473
|
+
"version": "4.0.0"
|
|
474
|
+
},
|
|
475
|
+
"loose-envify": {
|
|
476
|
+
"version": "1.4.0",
|
|
477
|
+
"requires": {
|
|
478
|
+
"js-tokens": "^3.0.0 || ^4.0.0"
|
|
479
|
+
}
|
|
480
|
+
},
|
|
481
|
+
"parotta": {
|
|
482
|
+
"version": "file:packages/parotta",
|
|
483
|
+
"requires": {
|
|
484
|
+
"autoprefixer": "^10.4.14",
|
|
485
|
+
"bun-types": "^0.5.0",
|
|
486
|
+
"mime-types": "2.1.35",
|
|
487
|
+
"postcss": "^8.4.21",
|
|
488
|
+
"postcss-custom-media": "^9.1.2",
|
|
489
|
+
"postcss-nesting": "^11.2.1",
|
|
490
|
+
"postcss-normalize": "^10.0.1",
|
|
491
|
+
"radix3": "^1.0.0",
|
|
492
|
+
"walkdir": "0.4.1"
|
|
493
|
+
},
|
|
494
|
+
"dependencies": {
|
|
495
|
+
"@csstools/cascade-layer-name-parser": {
|
|
496
|
+
"version": "1.0.1",
|
|
497
|
+
"requires": {}
|
|
498
|
+
},
|
|
499
|
+
"@csstools/css-parser-algorithms": {
|
|
500
|
+
"version": "2.0.1",
|
|
501
|
+
"requires": {}
|
|
502
|
+
},
|
|
503
|
+
"@csstools/css-tokenizer": {
|
|
504
|
+
"version": "2.1.0"
|
|
505
|
+
},
|
|
506
|
+
"@csstools/media-query-list-parser": {
|
|
507
|
+
"version": "2.0.1",
|
|
508
|
+
"requires": {}
|
|
509
|
+
},
|
|
510
|
+
"@csstools/normalize.css": {
|
|
511
|
+
"version": "12.0.0"
|
|
512
|
+
},
|
|
513
|
+
"@csstools/selector-specificity": {
|
|
514
|
+
"version": "2.1.1",
|
|
515
|
+
"requires": {}
|
|
516
|
+
},
|
|
517
|
+
"autoprefixer": {
|
|
518
|
+
"version": "10.4.14",
|
|
519
|
+
"requires": {
|
|
520
|
+
"browserslist": "^4.21.5",
|
|
521
|
+
"caniuse-lite": "^1.0.30001464",
|
|
522
|
+
"fraction.js": "^4.2.0",
|
|
523
|
+
"normalize-range": "^0.1.2",
|
|
524
|
+
"picocolors": "^1.0.0",
|
|
525
|
+
"postcss-value-parser": "^4.2.0"
|
|
526
|
+
}
|
|
527
|
+
},
|
|
528
|
+
"browserslist": {
|
|
529
|
+
"version": "4.21.5",
|
|
530
|
+
"requires": {
|
|
531
|
+
"caniuse-lite": "^1.0.30001449",
|
|
532
|
+
"electron-to-chromium": "^1.4.284",
|
|
533
|
+
"node-releases": "^2.0.8",
|
|
534
|
+
"update-browserslist-db": "^1.0.10"
|
|
535
|
+
}
|
|
536
|
+
},
|
|
537
|
+
"bun-types": {
|
|
538
|
+
"version": "0.5.7",
|
|
539
|
+
"dev": true
|
|
540
|
+
},
|
|
541
|
+
"caniuse-lite": {
|
|
542
|
+
"version": "1.0.30001468"
|
|
543
|
+
},
|
|
544
|
+
"cssesc": {
|
|
545
|
+
"version": "3.0.0"
|
|
546
|
+
},
|
|
547
|
+
"electron-to-chromium": {
|
|
548
|
+
"version": "1.4.333"
|
|
549
|
+
},
|
|
550
|
+
"escalade": {
|
|
551
|
+
"version": "3.1.1"
|
|
552
|
+
},
|
|
553
|
+
"fraction.js": {
|
|
554
|
+
"version": "4.2.0"
|
|
555
|
+
},
|
|
556
|
+
"mime-db": {
|
|
557
|
+
"version": "1.52.0"
|
|
558
|
+
},
|
|
559
|
+
"mime-types": {
|
|
560
|
+
"version": "2.1.35",
|
|
561
|
+
"requires": {
|
|
562
|
+
"mime-db": "1.52.0"
|
|
563
|
+
}
|
|
564
|
+
},
|
|
565
|
+
"nanoid": {
|
|
566
|
+
"version": "3.3.4"
|
|
567
|
+
},
|
|
568
|
+
"node-releases": {
|
|
569
|
+
"version": "2.0.10"
|
|
570
|
+
},
|
|
571
|
+
"normalize-range": {
|
|
572
|
+
"version": "0.1.2"
|
|
573
|
+
},
|
|
574
|
+
"picocolors": {
|
|
575
|
+
"version": "1.0.0"
|
|
576
|
+
},
|
|
577
|
+
"postcss": {
|
|
578
|
+
"version": "8.4.21",
|
|
579
|
+
"requires": {
|
|
580
|
+
"nanoid": "^3.3.4",
|
|
581
|
+
"picocolors": "^1.0.0",
|
|
582
|
+
"source-map-js": "^1.0.2"
|
|
583
|
+
}
|
|
584
|
+
},
|
|
585
|
+
"postcss-browser-comments": {
|
|
586
|
+
"version": "4.0.0",
|
|
587
|
+
"requires": {}
|
|
588
|
+
},
|
|
589
|
+
"postcss-custom-media": {
|
|
590
|
+
"version": "9.1.2",
|
|
591
|
+
"requires": {
|
|
592
|
+
"@csstools/cascade-layer-name-parser": "^1.0.0",
|
|
593
|
+
"@csstools/css-parser-algorithms": "^2.0.0",
|
|
594
|
+
"@csstools/css-tokenizer": "^2.0.0",
|
|
595
|
+
"@csstools/media-query-list-parser": "^2.0.0"
|
|
596
|
+
}
|
|
597
|
+
},
|
|
598
|
+
"postcss-nesting": {
|
|
599
|
+
"version": "11.2.1",
|
|
600
|
+
"requires": {
|
|
601
|
+
"@csstools/selector-specificity": "^2.0.0",
|
|
602
|
+
"postcss-selector-parser": "^6.0.10"
|
|
603
|
+
}
|
|
604
|
+
},
|
|
605
|
+
"postcss-normalize": {
|
|
606
|
+
"version": "10.0.1",
|
|
607
|
+
"requires": {
|
|
608
|
+
"@csstools/normalize.css": "*",
|
|
609
|
+
"postcss-browser-comments": "^4",
|
|
610
|
+
"sanitize.css": "*"
|
|
611
|
+
}
|
|
612
|
+
},
|
|
613
|
+
"postcss-selector-parser": {
|
|
614
|
+
"version": "6.0.11",
|
|
615
|
+
"requires": {
|
|
616
|
+
"cssesc": "^3.0.0",
|
|
617
|
+
"util-deprecate": "^1.0.2"
|
|
618
|
+
}
|
|
619
|
+
},
|
|
620
|
+
"postcss-value-parser": {
|
|
621
|
+
"version": "4.2.0"
|
|
622
|
+
},
|
|
623
|
+
"radix3": {
|
|
624
|
+
"version": "1.0.0"
|
|
625
|
+
},
|
|
626
|
+
"sanitize.css": {
|
|
627
|
+
"version": "13.0.0"
|
|
628
|
+
},
|
|
629
|
+
"source-map-js": {
|
|
630
|
+
"version": "1.0.2"
|
|
631
|
+
},
|
|
632
|
+
"update-browserslist-db": {
|
|
633
|
+
"version": "1.0.10",
|
|
634
|
+
"requires": {
|
|
635
|
+
"escalade": "^3.1.1",
|
|
636
|
+
"picocolors": "^1.0.0"
|
|
637
|
+
}
|
|
638
|
+
},
|
|
639
|
+
"util-deprecate": {
|
|
640
|
+
"version": "1.0.2"
|
|
641
|
+
},
|
|
642
|
+
"walkdir": {
|
|
643
|
+
"version": "0.4.1"
|
|
644
|
+
}
|
|
645
|
+
}
|
|
646
|
+
},
|
|
647
|
+
"quickstart": {
|
|
648
|
+
"version": "file:packages/example",
|
|
649
|
+
"requires": {
|
|
650
|
+
"parotta": "0.1.0",
|
|
651
|
+
"react": "18.2.0",
|
|
652
|
+
"react-dom": "^18.2.0"
|
|
653
|
+
}
|
|
654
|
+
},
|
|
655
|
+
"react": {
|
|
656
|
+
"version": "18.2.0",
|
|
657
|
+
"requires": {
|
|
658
|
+
"loose-envify": "^1.1.0"
|
|
659
|
+
}
|
|
660
|
+
},
|
|
661
|
+
"react-dom": {
|
|
662
|
+
"version": "18.2.0",
|
|
663
|
+
"requires": {
|
|
664
|
+
"loose-envify": "^1.1.0",
|
|
665
|
+
"scheduler": "^0.23.0"
|
|
666
|
+
}
|
|
667
|
+
},
|
|
668
|
+
"scheduler": {
|
|
669
|
+
"version": "0.23.0",
|
|
670
|
+
"requires": {
|
|
671
|
+
"loose-envify": "^1.1.0"
|
|
672
|
+
}
|
|
673
|
+
}
|
|
674
|
+
}
|
|
675
|
+
}
|
package.json
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "my-project",
|
|
3
|
-
"version": "1.0.0",
|
|
4
2
|
"workspaces": [
|
|
5
3
|
"packages/example",
|
|
6
|
-
"packages/
|
|
4
|
+
"packages/parotta"
|
|
7
5
|
]
|
|
8
6
|
}
|
packages/example/containers/TodoList/TodoList.jsx
CHANGED
|
@@ -2,10 +2,11 @@ import Todo from "@/components/Todo/Todo";
|
|
|
2
2
|
|
|
3
3
|
const todos = [
|
|
4
4
|
{ id: '1', text: "123" },
|
|
5
|
-
{ id: '2', text: "
|
|
5
|
+
{ id: '2', text: "ABC" }
|
|
6
6
|
];
|
|
7
7
|
|
|
8
8
|
const TodoList = () => {
|
|
9
|
+
// const { data: todos } = usePromise("/todos");
|
|
9
10
|
return (
|
|
10
11
|
<div className="todo-list">
|
|
11
12
|
<h1>Todos</h1>
|
packages/example/main.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import server from "muffinjs/index.js";
|
|
2
|
-
|
|
3
|
-
export default server;
|
packages/example/package.json
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
"name": "quickstart",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"scripts": {
|
|
5
|
-
"dev": "
|
|
5
|
+
"dev": "bunx parotta",
|
|
6
|
-
"start": "NODE_ENV=production
|
|
6
|
+
"start": "NODE_ENV=production bunx parotta",
|
|
7
7
|
"build": "docker build . -t example",
|
|
8
8
|
"run": "docker run -p 3000:3000 example"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"
|
|
11
|
+
"parotta": "0.1.0",
|
|
12
12
|
"react": "18.2.0",
|
|
13
13
|
"react-dom": "^18.2.0"
|
|
14
14
|
}
|
packages/example/routes/todos/page.jsx
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { Suspense } from "react";
|
|
2
2
|
import { useRouter } from "muffinjs/router.js";
|
|
3
|
-
import TodoList from "@/containers/TodoList.jsx";
|
|
3
|
+
import TodoList from "@/containers/TodoList/TodoList.jsx";
|
|
4
4
|
// import "./index.css";
|
|
5
5
|
|
|
6
6
|
const TodosPage = () => {
|
|
7
|
-
const router = useRouter();
|
|
8
|
-
const { data: todos, isRevalidating } = usePromise("/todos");
|
|
9
7
|
return (
|
|
10
8
|
<div className="todos-page">
|
|
11
9
|
<h1>Todos</h1>
|
packages/muffinjs/.gitignore
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
node_modules
|
packages/muffinjs/bin/muffin
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env bun
|
|
2
|
-
|
|
3
|
-
import server from "../index.js";
|
|
4
|
-
|
|
5
|
-
Bun.serve(server);
|
packages/muffinjs/bun.lockb
DELETED
|
Binary file
|
packages/{muffinjs → parotta}/atom.js
RENAMED
|
File without changes
|
packages/{muffinjs/index.js → parotta/cli.js}
RENAMED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
#!/usr/bin/env bun --hot
|
|
2
|
+
|
|
1
3
|
import path from 'path';
|
|
2
4
|
import walkdir from 'walkdir';
|
|
3
5
|
import postcss from "postcss"
|
packages/{muffinjs → parotta}/package.json
RENAMED
|
@@ -1,15 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "
|
|
2
|
+
"name": "parotta",
|
|
3
3
|
"version": "0.1.0",
|
|
4
|
-
"module": "
|
|
4
|
+
"module": "cli.js",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"dev": "bun --hot index.js",
|
|
8
|
-
"start": "bun index.js"
|
|
9
|
-
},
|
|
10
|
-
"devDependencies": {
|
|
11
|
-
"bun-types": "^0.5.0"
|
|
12
|
-
},
|
|
13
6
|
"dependencies": {
|
|
14
7
|
"autoprefixer": "^10.4.14",
|
|
15
8
|
"mime-types": "2.1.35",
|
|
@@ -21,6 +14,6 @@
|
|
|
21
14
|
"walkdir": "0.4.1"
|
|
22
15
|
},
|
|
23
16
|
"bin": {
|
|
24
|
-
"
|
|
17
|
+
"parotta": "./cli.js"
|
|
25
18
|
}
|
|
26
19
|
}
|
packages/{muffinjs → parotta}/router.js
RENAMED
|
File without changes
|