smoonb 0.0.72 → 0.0.73

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "smoonb",
3
- "version": "0.0.72",
3
+ "version": "0.0.73",
4
4
  "description": "Complete Supabase backup and migration tool - EXPERIMENTAL VERSION - USE AT YOUR OWN RISK",
5
5
  "preferGlobal": false,
6
6
  "preventGlobalInstall": true,
@@ -15,7 +15,8 @@
15
15
  "postinstall": "echo '\\n✅ smoonb instalado com sucesso!\\n💡 Execute: npx smoonb backup\\n📖 Documentação: https://github.com/almmello/smoonb\\n'",
16
16
  "lint": "eslint . --ext .js",
17
17
  "lint:fix": "eslint . --ext .js --fix",
18
- "build": "npm run lint"
18
+ "build": "node scripts/build.js",
19
+ "build:check": "node scripts/build.js"
19
20
  },
20
21
  "keywords": [
21
22
  "supabase",
@@ -46,7 +46,6 @@ module.exports = async () => {
46
46
  // Mostrar resumo
47
47
  showCheckSummary(report);
48
48
 
49
- const getT = global.smoonbI18n?.t || t;
50
49
  console.log(chalk.green(`\n🎉 ${getT('check.done')}`));
51
50
  console.log(chalk.blue(`📋 ${getT('check.reportSaved', { path: reportPath })}`));
52
51
 
package/src/i18n/index.js CHANGED
@@ -170,7 +170,6 @@ function loadCatalog(locale) {
170
170
  */
171
171
  function t(id, vars = {}, locale = null) {
172
172
  // Determinar locale a usar
173
- const currentLocale = locale || (global.smoonbI18n?.locale || 'en');
174
173
  const catalog = locale ? loadCatalog(locale) : (global.smoonbI18n?.catalog || loadCatalog('en'));
175
174
 
176
175
  // Buscar tradução