silgi 0.20.34 → 0.20.36

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.
@@ -1,4 +1,4 @@
1
- const version = "0.20.34";
1
+ const version = "0.20.36";
2
2
  const peerDependencies = {
3
3
  "@fastify/deepmerge": "^3.0.0",
4
4
  "@nuxt/kit": "^3.15.3",
@@ -2668,16 +2668,15 @@ const prepare = defineCommand({
2668
2668
  await writeTypesAndFiles(silgi);
2669
2669
  await writeCoreFile(silgi);
2670
2670
  await prepareBuild(silgi);
2671
- const close = async () => {
2672
- await silgi.close();
2673
- await silgi.callHook("close", silgi);
2674
- consola$1.withTag("silgi").success("Process terminated");
2675
- };
2676
- await silgi.callHook("close", silgi);
2677
- consola$1.withTag("silgi").success("Prepare completed");
2678
- await close();
2679
- globalThis.__silgi_temp_obj = silgi;
2680
2671
  if (!args.commands) {
2672
+ const close = async () => {
2673
+ await silgi.close();
2674
+ await silgi.callHook("close", silgi);
2675
+ consola$1.withTag("silgi").success("Process terminated");
2676
+ };
2677
+ await silgi.callHook("close", silgi);
2678
+ consola$1.withTag("silgi").success("Prepare completed");
2679
+ await close();
2681
2680
  await runCommand(run, {
2682
2681
  rawArgs: ["--tag", "init", "--active", "false"]
2683
2682
  });
@@ -1,4 +1,4 @@
1
- const version = "0.20.34";
1
+ const version = "0.20.36";
2
2
  const peerDependencies = {
3
3
  "@fastify/deepmerge": "^3.0.0",
4
4
  "@nuxt/kit": "^3.15.3",
@@ -1,4 +1,4 @@
1
- const version = "0.20.34";
1
+ const version = "0.20.36";
2
2
  const peerDependencies = {
3
3
  "@fastify/deepmerge": "^3.0.0",
4
4
  "@nuxt/kit": "^3.15.3",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "silgi",
3
3
  "type": "module",
4
- "version": "0.20.34",
4
+ "version": "0.20.36",
5
5
  "private": false,
6
6
  "sideEffects": false,
7
7
  "exports": {