retold 1.0.6 → 4.0.2
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/.claude/settings.local.json +84 -0
- package/CLAUDE.md +52 -0
- package/docs/.nojekyll +0 -0
- package/docs/README.md +162 -0
- package/docs/_sidebar.md +78 -0
- package/docs/_topbar.md +6 -0
- package/docs/architecture/architecture.md +312 -0
- package/docs/architecture/module-architecture.md +234 -0
- package/docs/architecture/modules.md +99 -0
- package/docs/cover.md +15 -0
- package/docs/css/docuserve.css +73 -0
- package/docs/examples/examples.md +71 -0
- package/docs/examples/todolist/todo-list-cli-client.md +178 -0
- package/docs/examples/todolist/todo-list-console-client.md +152 -0
- package/docs/examples/todolist/todo-list-model.md +114 -0
- package/docs/examples/todolist/todo-list-server.md +128 -0
- package/docs/examples/todolist/todo-list-web-client.md +177 -0
- package/docs/examples/todolist/todo-list.md +162 -0
- package/docs/getting-started.md +273 -0
- package/docs/index.html +39 -0
- package/docs/modules/fable.md +198 -0
- package/docs/modules/meadow.md +209 -0
- package/docs/modules/orator.md +165 -0
- package/docs/modules/pict.md +235 -0
- package/docs/modules/utility.md +54 -0
- package/docs/retold-building-documentation.md +33 -0
- package/docs/retold-catalog.json +1405 -0
- package/docs/retold-keyword-index.json +203389 -0
- package/examples/quickstart/README.md +47 -0
- package/examples/quickstart/layer1/README.md +21 -0
- package/examples/quickstart/layer1/index.js +49 -0
- package/examples/quickstart/layer1/package-lock.json +344 -0
- package/examples/quickstart/layer1/package.json +12 -0
- package/examples/quickstart/layer2/README.md +34 -0
- package/examples/quickstart/layer2/index.js +251 -0
- package/examples/quickstart/layer2/package-lock.json +4468 -0
- package/examples/quickstart/layer2/package.json +17 -0
- package/examples/quickstart/layer2/setup-database.js +61 -0
- package/examples/quickstart/layer3/README.md +39 -0
- package/examples/quickstart/layer3/index.js +91 -0
- package/examples/quickstart/layer3/package-lock.json +1936 -0
- package/examples/quickstart/layer3/package.json +14 -0
- package/examples/quickstart/layer4/README.md +47 -0
- package/examples/quickstart/layer4/generate-build-config.js +18 -0
- package/examples/quickstart/layer4/html/index.html +17 -0
- package/examples/quickstart/layer4/package-lock.json +13206 -0
- package/examples/quickstart/layer4/package.json +38 -0
- package/examples/quickstart/layer4/server.js +28 -0
- package/examples/quickstart/layer4/source/BookStore-Application-Config.json +15 -0
- package/examples/quickstart/layer4/source/BookStore-Application.js +54 -0
- package/examples/quickstart/layer4/source/providers/Router-Config.json +18 -0
- package/examples/quickstart/layer4/source/views/View-About.js +38 -0
- package/examples/quickstart/layer4/source/views/View-Home.js +50 -0
- package/examples/quickstart/layer4/source/views/View-Layout.js +60 -0
- package/examples/quickstart/layer5/README.md +26 -0
- package/examples/quickstart/layer5/index.js +121 -0
- package/examples/quickstart/layer5/package-lock.json +345 -0
- package/examples/quickstart/layer5/package.json +13 -0
- package/examples/todo-list/Dockerfile +45 -0
- package/examples/todo-list/README.md +394 -0
- package/examples/todo-list/cli-client/package-lock.json +418 -0
- package/examples/todo-list/cli-client/package.json +19 -0
- package/examples/todo-list/cli-client/source/TodoCLI-CLIProgram.js +30 -0
- package/examples/todo-list/cli-client/source/TodoCLI-Run.js +3 -0
- package/examples/todo-list/cli-client/source/commands/add/TodoCLI-Command-Add.js +74 -0
- package/examples/todo-list/cli-client/source/commands/complete/TodoCLI-Command-Complete.js +84 -0
- package/examples/todo-list/cli-client/source/commands/list/TodoCLI-Command-List.js +110 -0
- package/examples/todo-list/cli-client/source/commands/remove/TodoCLI-Command-Remove.js +49 -0
- package/examples/todo-list/cli-client/source/services/TodoCLI-Service-API.js +92 -0
- package/examples/todo-list/console-client/console-client.cjs +913 -0
- package/examples/todo-list/console-client/package-lock.json +426 -0
- package/examples/todo-list/console-client/package.json +19 -0
- package/examples/todo-list/console-client/views/PictView-TUI-Header.cjs +43 -0
- package/examples/todo-list/console-client/views/PictView-TUI-Layout.cjs +58 -0
- package/examples/todo-list/console-client/views/PictView-TUI-StatusBar.cjs +41 -0
- package/examples/todo-list/console-client/views/PictView-TUI-TaskList.cjs +104 -0
- package/examples/todo-list/docker-motd.sh +36 -0
- package/examples/todo-list/docker-run.sh +2 -0
- package/examples/todo-list/docker-shell.sh +2 -0
- package/examples/todo-list/model/MeadowSchema-Task.json +152 -0
- package/examples/todo-list/model/Task-Compiled.json +25 -0
- package/examples/todo-list/model/Task.mddl +15 -0
- package/examples/todo-list/model/data/seeded_todo_events.csv +1001 -0
- package/examples/todo-list/server/database-initialization-service.cjs +273 -0
- package/examples/todo-list/server/package-lock.json +6113 -0
- package/examples/todo-list/server/package.json +19 -0
- package/examples/todo-list/server/server.cjs +138 -0
- package/examples/todo-list/web-client/css/todolist-theme.css +235 -0
- package/examples/todo-list/web-client/generate-build-config.cjs +18 -0
- package/examples/todo-list/web-client/html/index.html +18 -0
- package/examples/todo-list/web-client/package-lock.json +12030 -0
- package/examples/todo-list/web-client/package.json +43 -0
- package/examples/todo-list/web-client/source/TodoList-Application-Config.json +12 -0
- package/examples/todo-list/web-client/source/TodoList-Application.cjs +383 -0
- package/examples/todo-list/web-client/source/providers/Provider-TaskData.cjs +243 -0
- package/examples/todo-list/web-client/source/providers/Router-Config.json +32 -0
- package/examples/todo-list/web-client/source/views/View-Layout.cjs +75 -0
- package/examples/todo-list/web-client/source/views/View-TaskForm.cjs +87 -0
- package/examples/todo-list/web-client/source/views/View-TaskList.cjs +127 -0
- package/examples/todo-list/web-client/source/views/calendar/View-MonthView.cjs +293 -0
- package/examples/todo-list/web-client/source/views/calendar/View-WeekView.cjs +149 -0
- package/examples/todo-list/web-client/source/views/calendar/View-YearView.cjs +226 -0
- package/modules/.claude/settings.local.json +52 -0
- package/modules/CLAUDE.md +60 -0
- package/modules/Checkout.sh +42 -0
- package/modules/Include-Retold-Module-List.sh +15 -0
- package/modules/Retold-Modules.md +24 -0
- package/modules/Status.sh +59 -0
- package/modules/Update.sh +45 -0
- package/modules/fable/Fable.md +2 -0
- package/modules/meadow/Meadow.md +1 -0
- package/modules/orator/Orator.md +1 -0
- package/modules/pict/Pict.md +1 -0
- package/package.json +30 -35
- package/source/Retold.cjs +2 -0
- package/test/Retold_tests.js +23 -41
- package/.travis.yml +0 -13
- package/source/Retold-Meadow-Macros.js +0 -269
- package/source/Retold.js +0 -48
|
@@ -0,0 +1,345 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "retold-quickstart-layer5-utility",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"lockfileVersion": 3,
|
|
5
|
+
"requires": true,
|
|
6
|
+
"packages": {
|
|
7
|
+
"": {
|
|
8
|
+
"name": "retold-quickstart-layer5-utility",
|
|
9
|
+
"version": "1.0.0",
|
|
10
|
+
"dependencies": {
|
|
11
|
+
"fable": "^3.1.51",
|
|
12
|
+
"manyfest": "^1.0.44"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"node_modules/async.eachlimit": {
|
|
16
|
+
"version": "0.5.2",
|
|
17
|
+
"resolved": "https://registry.npmjs.org/async.eachlimit/-/async.eachlimit-0.5.2.tgz",
|
|
18
|
+
"integrity": "sha512-emWKSFjCbXnrCJfM2NBMyriJQrdem+LrchiMQtCavBQnJ80N2C7IBhUz8vXnjYYh+aAkY0zZSofNxVYJMTDMIw==",
|
|
19
|
+
"license": "MIT",
|
|
20
|
+
"dependencies": {
|
|
21
|
+
"async.util.eachoflimit": "0.5.2",
|
|
22
|
+
"async.util.withoutindex": "0.5.2"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"node_modules/async.iterator": {
|
|
26
|
+
"version": "0.5.2",
|
|
27
|
+
"resolved": "https://registry.npmjs.org/async.iterator/-/async.iterator-0.5.2.tgz",
|
|
28
|
+
"integrity": "sha512-Ryg+D9tPYvcHbI3HknGfd6cgQaevwv/9lBpa3KbFrNWDcpsvc4BbpQLGpvaLNCJXM0Uzty/GDKuI2XktiIe0Ng==",
|
|
29
|
+
"license": "MIT"
|
|
30
|
+
},
|
|
31
|
+
"node_modules/async.util.eachoflimit": {
|
|
32
|
+
"version": "0.5.2",
|
|
33
|
+
"resolved": "https://registry.npmjs.org/async.util.eachoflimit/-/async.util.eachoflimit-0.5.2.tgz",
|
|
34
|
+
"integrity": "sha512-oZksH0sBW0AEOJKgBCQ79io9DZruoRBLTAea/Ik36pejR7pDpByvtXeuJsoZdPwSVslsrQcsUfucbUaiXYBnAQ==",
|
|
35
|
+
"license": "MIT",
|
|
36
|
+
"dependencies": {
|
|
37
|
+
"async.util.keyiterator": "0.5.2",
|
|
38
|
+
"async.util.noop": "0.5.2",
|
|
39
|
+
"async.util.once": "0.5.2",
|
|
40
|
+
"async.util.onlyonce": "0.5.2"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"node_modules/async.util.ensureasync": {
|
|
44
|
+
"version": "0.5.2",
|
|
45
|
+
"resolved": "https://registry.npmjs.org/async.util.ensureasync/-/async.util.ensureasync-0.5.2.tgz",
|
|
46
|
+
"integrity": "sha512-sQufNz4JYLHO/7ZUklaTGJtiX36gCp28McNNcMZfVYPm/wqi1pKk4xRCPr2DOZDM6KfA54zjG36jQjBU2mLzXg==",
|
|
47
|
+
"license": "MIT",
|
|
48
|
+
"dependencies": {
|
|
49
|
+
"async.util.restparam": "0.5.2",
|
|
50
|
+
"async.util.setimmediate": "0.5.2"
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"node_modules/async.util.isarray": {
|
|
54
|
+
"version": "0.5.2",
|
|
55
|
+
"resolved": "https://registry.npmjs.org/async.util.isarray/-/async.util.isarray-0.5.2.tgz",
|
|
56
|
+
"integrity": "sha512-wbUzlrwON8RUgi+v/rhF0U99Ce8Osjcn+JP/mFNg6ymvShcobAOvE6cvLajSY5dPqKCOE1xfdhefgBif11zZgw==",
|
|
57
|
+
"license": "MIT"
|
|
58
|
+
},
|
|
59
|
+
"node_modules/async.util.isarraylike": {
|
|
60
|
+
"version": "0.5.2",
|
|
61
|
+
"resolved": "https://registry.npmjs.org/async.util.isarraylike/-/async.util.isarraylike-0.5.2.tgz",
|
|
62
|
+
"integrity": "sha512-DbFpsz3ZFNkohAW8IpGTlm8gotU32zpqe3Y2XkEA/G3XNO6rmUTKPpo7XgXUruoI+AsGi8+0zWpJHe7t1sLiAg==",
|
|
63
|
+
"license": "MIT",
|
|
64
|
+
"dependencies": {
|
|
65
|
+
"async.util.isarray": "0.5.2"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"node_modules/async.util.keyiterator": {
|
|
69
|
+
"version": "0.5.2",
|
|
70
|
+
"resolved": "https://registry.npmjs.org/async.util.keyiterator/-/async.util.keyiterator-0.5.2.tgz",
|
|
71
|
+
"integrity": "sha512-cktrETawCwgu13y3KZs2uMGFnNHc+IjKPZsavtRaoCjLELkePb2co4zrr+ghPvEqLXZIJPTKqC2HFZgJTssMVw==",
|
|
72
|
+
"license": "MIT",
|
|
73
|
+
"dependencies": {
|
|
74
|
+
"async.util.isarraylike": "0.5.2",
|
|
75
|
+
"async.util.keys": "0.5.2"
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"node_modules/async.util.keys": {
|
|
79
|
+
"version": "0.5.2",
|
|
80
|
+
"resolved": "https://registry.npmjs.org/async.util.keys/-/async.util.keys-0.5.2.tgz",
|
|
81
|
+
"integrity": "sha512-umCOCRCRYwIC2Ho3fbuhKwIIe7OhQsVoVKGoF5GoQiGJUmjP4TG0Bmmcdpm7yW/znoIGKpnjKzVQz0niH4tfqw==",
|
|
82
|
+
"license": "MIT"
|
|
83
|
+
},
|
|
84
|
+
"node_modules/async.util.noop": {
|
|
85
|
+
"version": "0.5.2",
|
|
86
|
+
"resolved": "https://registry.npmjs.org/async.util.noop/-/async.util.noop-0.5.2.tgz",
|
|
87
|
+
"integrity": "sha512-AdwShXwE0KoskgqVJAck8zcM32nIHj3AC8ZN62ZaR5srhrY235Nw18vOJZWxcOfhxdVM0hRVKM8kMx7lcl7cCQ==",
|
|
88
|
+
"license": "MIT"
|
|
89
|
+
},
|
|
90
|
+
"node_modules/async.util.once": {
|
|
91
|
+
"version": "0.5.2",
|
|
92
|
+
"resolved": "https://registry.npmjs.org/async.util.once/-/async.util.once-0.5.2.tgz",
|
|
93
|
+
"integrity": "sha512-YQ5WPzDTt2jlblUDkq2I5RV/KiAJErJ4/0cEFhYPaZzqIuF/xDzdGvnEKe7UeuoMszsVPeajzcpKgkbwdb9MUA==",
|
|
94
|
+
"license": "MIT"
|
|
95
|
+
},
|
|
96
|
+
"node_modules/async.util.onlyonce": {
|
|
97
|
+
"version": "0.5.2",
|
|
98
|
+
"resolved": "https://registry.npmjs.org/async.util.onlyonce/-/async.util.onlyonce-0.5.2.tgz",
|
|
99
|
+
"integrity": "sha512-UgQvkU9JZ+I0Cm1f56XyGXcII+J3d/5XWUuHpcevlItuA3WFSJcqZrsyAUck2FkRSD8BwYQX1zUTDp3SJMVESg==",
|
|
100
|
+
"license": "MIT"
|
|
101
|
+
},
|
|
102
|
+
"node_modules/async.util.restparam": {
|
|
103
|
+
"version": "0.5.2",
|
|
104
|
+
"resolved": "https://registry.npmjs.org/async.util.restparam/-/async.util.restparam-0.5.2.tgz",
|
|
105
|
+
"integrity": "sha512-Q9Z+zgmtMxFX5i7CnBvNOkgrL5hptztCqwarQluyNudUUk4iCmyjmsQl8MuQEjNh3gGqP5ayvDaextL1VXXgIg==",
|
|
106
|
+
"license": "MIT"
|
|
107
|
+
},
|
|
108
|
+
"node_modules/async.util.setimmediate": {
|
|
109
|
+
"version": "0.5.2",
|
|
110
|
+
"resolved": "https://registry.npmjs.org/async.util.setimmediate/-/async.util.setimmediate-0.5.2.tgz",
|
|
111
|
+
"integrity": "sha512-aCYF85ZFCQ9Xn0106GcOVx+LvFguIIzfbfRTOlQoie3G4KeSjURfA6f7CfpFAF09FNP2A1MtdjeFdvYeTGDebw==",
|
|
112
|
+
"license": "MIT"
|
|
113
|
+
},
|
|
114
|
+
"node_modules/async.util.withoutindex": {
|
|
115
|
+
"version": "0.5.2",
|
|
116
|
+
"resolved": "https://registry.npmjs.org/async.util.withoutindex/-/async.util.withoutindex-0.5.2.tgz",
|
|
117
|
+
"integrity": "sha512-CTHbQc+1kHkK6izoXIVIiYjePgmAzvXecETn/eVuzhwL9BDC3oFLNiIrr57fKwyarZyy8PedVIpQNrqgA9KzNA==",
|
|
118
|
+
"license": "MIT"
|
|
119
|
+
},
|
|
120
|
+
"node_modules/async.waterfall": {
|
|
121
|
+
"version": "0.5.2",
|
|
122
|
+
"resolved": "https://registry.npmjs.org/async.waterfall/-/async.waterfall-0.5.2.tgz",
|
|
123
|
+
"integrity": "sha512-3eC5jwgBF0/CNTAwBQYCMybqd6ResDwsdyl3+i5qf1L7fYekVR5gbMzpBca7VoZj1W0BFsHcvjW3UeJstEt2kQ==",
|
|
124
|
+
"license": "MIT",
|
|
125
|
+
"dependencies": {
|
|
126
|
+
"async.iterator": "0.5.2",
|
|
127
|
+
"async.util.ensureasync": "0.5.2",
|
|
128
|
+
"async.util.isarray": "0.5.2",
|
|
129
|
+
"async.util.noop": "0.5.2",
|
|
130
|
+
"async.util.once": "0.5.2",
|
|
131
|
+
"async.util.restparam": "0.5.2"
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
"node_modules/big.js": {
|
|
135
|
+
"version": "7.0.1",
|
|
136
|
+
"resolved": "https://registry.npmjs.org/big.js/-/big.js-7.0.1.tgz",
|
|
137
|
+
"integrity": "sha512-iFgV784tD8kq4ccF1xtNMZnXeZzVuXWWM+ERFzKQjv+A5G9HC8CY3DuV45vgzFFcW+u2tIvmF95+AzWgs6BjCg==",
|
|
138
|
+
"license": "MIT",
|
|
139
|
+
"engines": {
|
|
140
|
+
"node": "*"
|
|
141
|
+
},
|
|
142
|
+
"funding": {
|
|
143
|
+
"type": "opencollective",
|
|
144
|
+
"url": "https://opencollective.com/bigjs"
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
"node_modules/cachetrax": {
|
|
148
|
+
"version": "1.0.4",
|
|
149
|
+
"resolved": "https://registry.npmjs.org/cachetrax/-/cachetrax-1.0.4.tgz",
|
|
150
|
+
"integrity": "sha512-VoqtXp+tEdcbmiR0eJcdERsaBKhmdeVjpZ2jeVadDq25iM7hvZAFu+BCKMHitWzpkgb/Dw4RAouQBGnXbADPBg==",
|
|
151
|
+
"license": "MIT",
|
|
152
|
+
"dependencies": {
|
|
153
|
+
"fable-serviceproviderbase": "^3.0.7"
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
"node_modules/cookie": {
|
|
157
|
+
"version": "1.1.1",
|
|
158
|
+
"resolved": "https://registry.npmjs.org/cookie/-/cookie-1.1.1.tgz",
|
|
159
|
+
"integrity": "sha512-ei8Aos7ja0weRpFzJnEA9UHJ/7XQmqglbRwnf2ATjcB9Wq874VKH9kfjjirM6UhU2/E5fFYadylyhFldcqSidQ==",
|
|
160
|
+
"license": "MIT",
|
|
161
|
+
"engines": {
|
|
162
|
+
"node": ">=18"
|
|
163
|
+
},
|
|
164
|
+
"funding": {
|
|
165
|
+
"type": "opencollective",
|
|
166
|
+
"url": "https://opencollective.com/express"
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
"node_modules/data-arithmatic": {
|
|
170
|
+
"version": "1.0.7",
|
|
171
|
+
"resolved": "https://registry.npmjs.org/data-arithmatic/-/data-arithmatic-1.0.7.tgz",
|
|
172
|
+
"integrity": "sha512-Z1SBuORrjrlCx9AAx2Cy4yBYrsqtKEz7BzdcLWLMT/t78q3N5/4qjA+63zeMYUAvp9EsIKfQ8X0++Ls9xwaLag==",
|
|
173
|
+
"license": "MIT",
|
|
174
|
+
"dependencies": {
|
|
175
|
+
"fable-serviceproviderbase": "^3.0.2"
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
"node_modules/dayjs": {
|
|
179
|
+
"version": "1.11.19",
|
|
180
|
+
"resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.19.tgz",
|
|
181
|
+
"integrity": "sha512-t5EcLVS6QPBNqM2z8fakk/NKel+Xzshgt8FFKAn+qwlD1pzZWxh0nVCrvFK7ZDb6XucZeF9z8C7CBWTRIVApAw==",
|
|
182
|
+
"license": "MIT"
|
|
183
|
+
},
|
|
184
|
+
"node_modules/decompress-response": {
|
|
185
|
+
"version": "6.0.0",
|
|
186
|
+
"resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-6.0.0.tgz",
|
|
187
|
+
"integrity": "sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==",
|
|
188
|
+
"license": "MIT",
|
|
189
|
+
"dependencies": {
|
|
190
|
+
"mimic-response": "^3.1.0"
|
|
191
|
+
},
|
|
192
|
+
"engines": {
|
|
193
|
+
"node": ">=10"
|
|
194
|
+
},
|
|
195
|
+
"funding": {
|
|
196
|
+
"url": "https://github.com/sponsors/sindresorhus"
|
|
197
|
+
}
|
|
198
|
+
},
|
|
199
|
+
"node_modules/fable": {
|
|
200
|
+
"version": "3.1.53",
|
|
201
|
+
"resolved": "https://registry.npmjs.org/fable/-/fable-3.1.53.tgz",
|
|
202
|
+
"integrity": "sha512-2b7sWs1K3Bl9V8biZ5VSy36YvojanAAKvOZM7hGMg+opLLt/Pk/lIEvucz4m16Vz+C3UDLWf7WKJqdBoEj8A1w==",
|
|
203
|
+
"license": "MIT",
|
|
204
|
+
"dependencies": {
|
|
205
|
+
"async.eachlimit": "^0.5.2",
|
|
206
|
+
"async.waterfall": "^0.5.2",
|
|
207
|
+
"big.js": "^7.0.1",
|
|
208
|
+
"cachetrax": "^1.0.4",
|
|
209
|
+
"cookie": "^1.0.2",
|
|
210
|
+
"data-arithmatic": "^1.0.7",
|
|
211
|
+
"dayjs": "^1.11.19",
|
|
212
|
+
"fable-log": "^3.0.16",
|
|
213
|
+
"fable-serviceproviderbase": "^3.0.16",
|
|
214
|
+
"fable-settings": "^3.0.12",
|
|
215
|
+
"fable-uuid": "^3.0.11",
|
|
216
|
+
"manyfest": "^1.0.43",
|
|
217
|
+
"simple-get": "^4.0.1"
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
"node_modules/fable-log": {
|
|
221
|
+
"version": "3.0.16",
|
|
222
|
+
"resolved": "https://registry.npmjs.org/fable-log/-/fable-log-3.0.16.tgz",
|
|
223
|
+
"integrity": "sha512-o9/eIdak/iDy8Cc+Q8NeYUf7AwqYZvr3EaeeGmVd6X7+Ao/c1y5u9x5I54WZmwcYcySukmf2BEiQvS/itoliVw==",
|
|
224
|
+
"license": "MIT",
|
|
225
|
+
"dependencies": {
|
|
226
|
+
"fable-serviceproviderbase": "^3.0.15"
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
"node_modules/fable-serviceproviderbase": {
|
|
230
|
+
"version": "3.0.16",
|
|
231
|
+
"resolved": "https://registry.npmjs.org/fable-serviceproviderbase/-/fable-serviceproviderbase-3.0.16.tgz",
|
|
232
|
+
"integrity": "sha512-jvv1MO/xSNTInRwCFZz56ON4UNVwcOnLuLJlkfzqKXSbN9O8M6E7TYFExkM/UsG35dzDnApilz6Zmg3FvES4Cg==",
|
|
233
|
+
"license": "MIT"
|
|
234
|
+
},
|
|
235
|
+
"node_modules/fable-settings": {
|
|
236
|
+
"version": "3.0.12",
|
|
237
|
+
"resolved": "https://registry.npmjs.org/fable-settings/-/fable-settings-3.0.12.tgz",
|
|
238
|
+
"integrity": "sha512-zzvoLcsIp06vNu5dXYV5FSQD1V1APj2IaYbhj8SJ3IHmb9pUrQm63ejGEC4fEEk+jBznHHe+RH6OEwtx6plh+g==",
|
|
239
|
+
"license": "MIT",
|
|
240
|
+
"dependencies": {
|
|
241
|
+
"fable-serviceproviderbase": "^3.0.15",
|
|
242
|
+
"precedent": "^1.0.15"
|
|
243
|
+
}
|
|
244
|
+
},
|
|
245
|
+
"node_modules/fable-uuid": {
|
|
246
|
+
"version": "3.0.11",
|
|
247
|
+
"resolved": "https://registry.npmjs.org/fable-uuid/-/fable-uuid-3.0.11.tgz",
|
|
248
|
+
"integrity": "sha512-ZNFmcc2HI16J6rqiLfkShzzNgeHjbInM0Ur70tAgXlQm/jWqIpU3OFAyTesrz4dVQ5+wCxjp7PQadF7YJ0hNIw==",
|
|
249
|
+
"license": "MIT",
|
|
250
|
+
"dependencies": {
|
|
251
|
+
"fable-serviceproviderbase": "^3.0.15"
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
"node_modules/manyfest": {
|
|
255
|
+
"version": "1.0.44",
|
|
256
|
+
"resolved": "https://registry.npmjs.org/manyfest/-/manyfest-1.0.44.tgz",
|
|
257
|
+
"integrity": "sha512-8sI1zQ5lysMW879Lb5VtksmpOy4M2vZIl2IjIzMo5lOWu1MmLZGX/MQxdBu0Klnf4fJwscainclMYs9/P3JXUQ==",
|
|
258
|
+
"license": "MIT",
|
|
259
|
+
"dependencies": {
|
|
260
|
+
"fable-serviceproviderbase": "^3.0.15"
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
"node_modules/mimic-response": {
|
|
264
|
+
"version": "3.1.0",
|
|
265
|
+
"resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-3.1.0.tgz",
|
|
266
|
+
"integrity": "sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==",
|
|
267
|
+
"license": "MIT",
|
|
268
|
+
"engines": {
|
|
269
|
+
"node": ">=10"
|
|
270
|
+
},
|
|
271
|
+
"funding": {
|
|
272
|
+
"url": "https://github.com/sponsors/sindresorhus"
|
|
273
|
+
}
|
|
274
|
+
},
|
|
275
|
+
"node_modules/once": {
|
|
276
|
+
"version": "1.4.0",
|
|
277
|
+
"resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
|
|
278
|
+
"integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==",
|
|
279
|
+
"license": "ISC",
|
|
280
|
+
"dependencies": {
|
|
281
|
+
"wrappy": "1"
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
|
+
"node_modules/precedent": {
|
|
285
|
+
"version": "1.0.15",
|
|
286
|
+
"resolved": "https://registry.npmjs.org/precedent/-/precedent-1.0.15.tgz",
|
|
287
|
+
"integrity": "sha512-tidXY4JvTudvJ/Jmb8OzHFpX6qUSPwmS7K/BChA7xDb7eqmfHjH3AAO+IhCz3k7k+bh31YNdblSIEkYnCIYelw==",
|
|
288
|
+
"license": "MIT",
|
|
289
|
+
"bin": {
|
|
290
|
+
"precedent": "bin/Precedent"
|
|
291
|
+
}
|
|
292
|
+
},
|
|
293
|
+
"node_modules/simple-concat": {
|
|
294
|
+
"version": "1.0.1",
|
|
295
|
+
"resolved": "https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.1.tgz",
|
|
296
|
+
"integrity": "sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==",
|
|
297
|
+
"funding": [
|
|
298
|
+
{
|
|
299
|
+
"type": "github",
|
|
300
|
+
"url": "https://github.com/sponsors/feross"
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"type": "patreon",
|
|
304
|
+
"url": "https://www.patreon.com/feross"
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"type": "consulting",
|
|
308
|
+
"url": "https://feross.org/support"
|
|
309
|
+
}
|
|
310
|
+
],
|
|
311
|
+
"license": "MIT"
|
|
312
|
+
},
|
|
313
|
+
"node_modules/simple-get": {
|
|
314
|
+
"version": "4.0.1",
|
|
315
|
+
"resolved": "https://registry.npmjs.org/simple-get/-/simple-get-4.0.1.tgz",
|
|
316
|
+
"integrity": "sha512-brv7p5WgH0jmQJr1ZDDfKDOSeWWg+OVypG99A/5vYGPqJ6pxiaHLy8nxtFjBA7oMa01ebA9gfh1uMCFqOuXxvA==",
|
|
317
|
+
"funding": [
|
|
318
|
+
{
|
|
319
|
+
"type": "github",
|
|
320
|
+
"url": "https://github.com/sponsors/feross"
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"type": "patreon",
|
|
324
|
+
"url": "https://www.patreon.com/feross"
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
"type": "consulting",
|
|
328
|
+
"url": "https://feross.org/support"
|
|
329
|
+
}
|
|
330
|
+
],
|
|
331
|
+
"license": "MIT",
|
|
332
|
+
"dependencies": {
|
|
333
|
+
"decompress-response": "^6.0.0",
|
|
334
|
+
"once": "^1.3.1",
|
|
335
|
+
"simple-concat": "^1.0.0"
|
|
336
|
+
}
|
|
337
|
+
},
|
|
338
|
+
"node_modules/wrappy": {
|
|
339
|
+
"version": "1.0.2",
|
|
340
|
+
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
|
|
341
|
+
"integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==",
|
|
342
|
+
"license": "ISC"
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "retold-quickstart-layer5-utility",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Retold Quickstart: Layer 5 - Utility (Manyfest Object Navigation)",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"start": "node index.js"
|
|
8
|
+
},
|
|
9
|
+
"dependencies": {
|
|
10
|
+
"fable": "^3.1.51",
|
|
11
|
+
"manyfest": "^1.0.44"
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
FROM node:20-slim
|
|
2
|
+
|
|
3
|
+
LABEL maintainer="Retold <https://github.com/stevenvelozo/retold>"
|
|
4
|
+
LABEL description="Retold Todo List Example -- API Server, Web Client, CLI, and Console TUI"
|
|
5
|
+
|
|
6
|
+
WORKDIR /app
|
|
7
|
+
|
|
8
|
+
# Copy the shared data model
|
|
9
|
+
COPY model/ model/
|
|
10
|
+
|
|
11
|
+
# --- Server ---
|
|
12
|
+
COPY server/package.json server/package.json
|
|
13
|
+
COPY server/server.cjs server/server.cjs
|
|
14
|
+
COPY server/database-initialization-service.cjs server/database-initialization-service.cjs
|
|
15
|
+
RUN mkdir -p server/data
|
|
16
|
+
RUN cd server && npm install --omit=dev
|
|
17
|
+
|
|
18
|
+
# --- Web Client ---
|
|
19
|
+
COPY web-client/package.json web-client/package.json
|
|
20
|
+
COPY web-client/generate-build-config.cjs web-client/generate-build-config.cjs
|
|
21
|
+
COPY web-client/.gulpfile-quackage.js web-client/.gulpfile-quackage.js
|
|
22
|
+
COPY web-client/source/ web-client/source/
|
|
23
|
+
COPY web-client/html/ web-client/html/
|
|
24
|
+
COPY web-client/css/ web-client/css/
|
|
25
|
+
RUN cd web-client && npm install
|
|
26
|
+
RUN cd web-client && npm run build
|
|
27
|
+
|
|
28
|
+
# --- CLI Client ---
|
|
29
|
+
COPY cli-client/package.json cli-client/package.json
|
|
30
|
+
COPY cli-client/source/ cli-client/source/
|
|
31
|
+
RUN cd cli-client && npm install --omit=dev
|
|
32
|
+
|
|
33
|
+
# --- Console Client ---
|
|
34
|
+
COPY console-client/package.json console-client/package.json
|
|
35
|
+
COPY console-client/console-client.cjs console-client/console-client.cjs
|
|
36
|
+
COPY console-client/views/ console-client/views/
|
|
37
|
+
RUN cd console-client && npm install --omit=dev
|
|
38
|
+
|
|
39
|
+
# --- Help message shown on interactive login ---
|
|
40
|
+
COPY docker-motd.sh /etc/profile.d/motd.sh
|
|
41
|
+
|
|
42
|
+
EXPOSE 8086
|
|
43
|
+
|
|
44
|
+
# Default: start the API server (serves the web client too)
|
|
45
|
+
CMD ["node", "server/server.cjs"]
|