clovie 0.2.18 → 0.2.19
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/lib/createClovie.js +6 -7
- package/package.json +2 -2
package/lib/createClovie.js
CHANGED
|
@@ -47,14 +47,13 @@ export const createClovie = async (config = {}) => {
|
|
|
47
47
|
clovie.install(LiveReload);
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
+
// One install() call, so the services in it may require each other in
|
|
51
|
+
// any order (the engine counts a namespace the same call installs), and
|
|
52
|
+
// awaited, so createClovie resolves only once an async setup is done.
|
|
50
53
|
if (Array.isArray(opts.services)) {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} else {
|
|
55
|
-
clovie.install(service.configure(opts));
|
|
56
|
-
}
|
|
57
|
-
}
|
|
54
|
+
await clovie.install(
|
|
55
|
+
...opts.services.map((service) => (service.configured ? service : service.configure(opts))),
|
|
56
|
+
);
|
|
58
57
|
}
|
|
59
58
|
|
|
60
59
|
// Don't auto-execute commands - let CLI decide
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "clovie",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.19",
|
|
4
4
|
"description": "Vintage web dev tooling with modern quality of life",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"static-site-generator",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"update:jucie.io": "npx npm-check-updates '@jucie.io/*' --target latest -u && npm install"
|
|
86
86
|
},
|
|
87
87
|
"dependencies": {
|
|
88
|
-
"@jucie.io/engine": "^1.1.
|
|
88
|
+
"@jucie.io/engine": "^1.1.85",
|
|
89
89
|
"@jucie.io/engine-esbuild": "^1.0.22",
|
|
90
90
|
"@jucie.io/engine-server": "^1.0.46",
|
|
91
91
|
"@jucie.io/reactive": "^1.1.7",
|