@locale-labs/miniapp-builder 0.2.0-dev.54.7fe6f45 → 0.2.0

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -5
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -57054,10 +57054,10 @@ var import_child_process3 = require("child_process");
57054
57054
  function check() {
57055
57055
  const CWD2 = process.cwd();
57056
57056
  let failed = false;
57057
- const run = (label, cmd, args2, cwd = CWD2) => {
57057
+ const run = (label, cmd, args2) => {
57058
57058
  console.log(`
57059
57059
  \u{1F4DD} ${label}...`);
57060
- const res = (0, import_child_process3.spawnSync)(cmd, args2, { stdio: "inherit", cwd });
57060
+ const res = (0, import_child_process3.spawnSync)(cmd, args2, { stdio: "inherit", cwd: CWD2 });
57061
57061
  if (res.status !== 0) failed = true;
57062
57062
  };
57063
57063
  run("ESLint", "bunx", ["eslint", "src"]);
@@ -57066,9 +57066,8 @@ function check() {
57066
57066
  if (fs4.existsSync(customFunctionsDir)) {
57067
57067
  const denoAvailable = (0, import_child_process3.spawnSync)("deno", ["--version"], { stdio: "ignore" }).status === 0;
57068
57068
  if (denoAvailable) {
57069
- const supabaseDir = path4.join(CWD2, "supabase");
57070
- run("Deno check (custom functions)", "deno", ["check", "functions/**/*.ts"], supabaseDir);
57071
- run("Deno lint (custom functions)", "deno", ["lint", "functions/"], supabaseDir);
57069
+ run("Deno check (custom functions)", "deno", ["check", "supabase/functions/**/*.ts"]);
57070
+ run("Deno lint (custom functions)", "deno", ["lint", "supabase/functions/"]);
57072
57071
  } else {
57073
57072
  console.warn("\u26A0\uFE0F supabase/functions/ existe pero deno no est\xE1 instalado \u2014 skip deno check");
57074
57073
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@locale-labs/miniapp-builder",
3
- "version": "0.2.0-dev.54.7fe6f45",
3
+ "version": "0.2.0",
4
4
  "description": "Build tool for Localé Mini-Apps",
5
5
  "repository": {
6
6
  "type": "git",