lumbung-cli 1.0.2 → 1.0.4

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/bin/lumbung.js CHANGED
@@ -42,7 +42,7 @@ const banner = `
42
42
  program
43
43
  .name('lumbung')
44
44
  .description('CLI tool for Lumbung Kode - Gudang Snippet Kode Modern')
45
- .version('1.0.0')
45
+ .version('1.0.4')
46
46
  .hook('preAction', (thisCommand) => {
47
47
  // Only show banner for main help
48
48
  if (thisCommand.args.length === 0 && !process.argv.slice(2).length) {
@@ -116,3 +116,6 @@ program
116
116
 
117
117
  // Parse and execute
118
118
  program.parse()
119
+
120
+
121
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lumbung-cli",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "CLI tool for Lumbung Kode - Gudang Snippet Kode Modern",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -68,7 +68,7 @@ export async function login() {
68
68
  spinner.fail(chalk.red('Login failed'))
69
69
  console.log(chalk.red(`Error: ${error.message}`))
70
70
  console.log(chalk.gray('\nMake sure your email and password are correct.'))
71
- console.log(chalk.gray('If you don\'t have an account, register at https://Lumbung Kode.app'))
71
+ console.log(chalk.gray('If you don\'t have an account, register at https://lumbungkode.netlify.app'))
72
72
  }
73
73
  }
74
74
 
@@ -93,3 +93,4 @@ export async function logout() {
93
93
  }
94
94
  }
95
95
 
96
+
package/src/lib/api.js CHANGED
@@ -7,7 +7,7 @@ import { getConfig } from './config.js'
7
7
 
8
8
  // Supabase credentials (same as web app)
9
9
  const SUPABASE_URL = 'https://xwaxnszxtgelllkstrcd.supabase.co'
10
- const SUPABASE_ANON_KEY = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InBqemZtY3N5cGlsYmhtemN4bGJ0Iiwicm9sZSI6ImFub24iLCJpYXQiOjE3MzQwNTI0NjksImV4cCI6MjA0OTYyODQ2OX0.nE-Oi9xYm6NlI6R4MokXJcG75Wf4P_lEIaEiQzpPfGk'
10
+ const SUPABASE_ANON_KEY = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Inh3YXhuc3p4dGdlbGxsa3N0cmNkIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NjQ2OTMwODUsImV4cCI6MjA4MDI2OTA4NX0.8rivgwRpax9X3OuR9qKX27y8-9CWcigZn0IGObKXU6o'
11
11
 
12
12
  // Create Supabase client
13
13
  export function createSupabaseClient() {
@@ -140,3 +140,4 @@ export async function searchSnippets(query, options = {}) {
140
140
  if (error) throw error
141
141
  return data
142
142
  }
143
+