@trendify/cli 0.1.4 → 0.1.5

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/.env ADDED
@@ -0,0 +1,2 @@
1
+ SUPABASE_URL=https://aahmatblmzpnnjxcobiw.supabase.co
2
+ SUPABASE_PUBLISHABLE_DEFAULT_KEY=sb_publishable_NfUhgFipitVoRuDpvA1Itg_I8a87q_l
package/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  CLI do Trendify feita com Ink. O pacote publicado no npm e `@trendify/cli`, mas o comando instalado globalmente continua sendo `trendify`.
4
4
 
5
+ O pacote publicado leva um `.env` interno com a configuracao padrao do backend, entao a CLI instalada globalmente ja funciona sem o usuario precisar preencher variaveis do Supabase.
6
+
5
7
  ## Instalacao
6
8
 
7
9
  Publicacao do pacote:
@@ -18,7 +20,7 @@ trendify --help
18
20
 
19
21
  ## Ambiente
20
22
 
21
- Crie `apps/cli/.env` a partir de `apps/cli/.env.example` ou exporte estas variaveis no shell:
23
+ No desenvolvimento local, voce pode criar `apps/cli/.env` a partir de `apps/cli/.env.example` ou exportar estas variaveis no shell:
22
24
 
23
25
  ```sh
24
26
  SUPABASE_URL=
@@ -7,9 +7,9 @@ const currentDirectory = dirname(currentFilePath);
7
7
  const appRootDirectory = resolve(currentDirectory, '..', '..');
8
8
  const workspaceRootDirectory = resolve(appRootDirectory, '..', '..');
9
9
  const ENV_FILE_PATHS = [
10
- resolve(process.cwd(), '.env'),
11
10
  resolve(appRootDirectory, '.env'),
12
11
  resolve(workspaceRootDirectory, '.env'),
12
+ resolve(process.cwd(), '.env'),
13
13
  ];
14
14
  let envLoaded = false;
15
15
  function loadCliEnvFiles() {
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const APP_VERSION = "0.1.4";
1
+ export declare const APP_VERSION = "0.1.5";
2
2
  //# sourceMappingURL=version.d.ts.map
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const APP_VERSION = '0.1.4';
1
+ export const APP_VERSION = '0.1.5';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trendify/cli",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "CLI do Trendify para descoberta de temas e fluxos de conta.",
5
5
  "type": "module",
6
6
  "main": "dist/cli.js",
@@ -10,6 +10,7 @@
10
10
  },
11
11
  "files": [
12
12
  "dist",
13
+ ".env",
13
14
  "README.md",
14
15
  ".env.example"
15
16
  ],