silgi 0.25.7 → 0.25.8
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
CHANGED
|
@@ -243,6 +243,7 @@ async function h3Framework(silgi, skip = false) {
|
|
|
243
243
|
});
|
|
244
244
|
silgi.hook("prepare:core.ts", (data) => {
|
|
245
245
|
data._silgiConfigs.push(`captureError: (error, context = {}) => {
|
|
246
|
+
const silgi = useSilgi()
|
|
246
247
|
const promise = silgi.hooks
|
|
247
248
|
.callHookParallel('error', error, context)
|
|
248
249
|
.catch((error_) => {
|
|
@@ -1834,6 +1835,10 @@ async function prepareCoreFile(data, frameworkContext, silgi) {
|
|
|
1834
1835
|
{
|
|
1835
1836
|
name: "createSilgi",
|
|
1836
1837
|
key: "createSilgi"
|
|
1838
|
+
},
|
|
1839
|
+
{
|
|
1840
|
+
name: "useSilgi",
|
|
1841
|
+
key: "useSilgi"
|
|
1837
1842
|
}
|
|
1838
1843
|
],
|
|
1839
1844
|
from: "silgi"
|