silgi 0.29.17 → 0.29.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/dist/cli/index.mjs +1 -1
- package/dist/cli/silgi.mjs +4 -0
- package/package.json +1 -1
package/dist/cli/index.mjs
CHANGED
package/dist/cli/silgi.mjs
CHANGED
|
@@ -33,6 +33,7 @@ import { snakeCase } from 'scule';
|
|
|
33
33
|
async function generateApiFul(silgi) {
|
|
34
34
|
const config = silgi.options.apiFul;
|
|
35
35
|
if (!hasSilgiModule("openapi")) {
|
|
36
|
+
consola.info("Silgi OpenAPI module not found, if you want to use it, please install it @silgi/openapi");
|
|
36
37
|
return;
|
|
37
38
|
}
|
|
38
39
|
if (!config.services || hasSilgiModule("openapi")) {
|
|
@@ -1959,6 +1960,9 @@ async function prepareServerFiles(silgi) {
|
|
|
1959
1960
|
imports: [
|
|
1960
1961
|
{
|
|
1961
1962
|
name: "createSilgi"
|
|
1963
|
+
},
|
|
1964
|
+
{
|
|
1965
|
+
name: "createShared"
|
|
1962
1966
|
}
|
|
1963
1967
|
]
|
|
1964
1968
|
},
|