@aurabase/gen 0.7.0 → 0.7.2

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/dist/cli.cjs CHANGED
@@ -345,7 +345,7 @@ export type Enums<
345
345
  }
346
346
 
347
347
  // src/cli.ts
348
- var VERSION = "0.7.0";
348
+ var VERSION = "0.7.2";
349
349
  function loadEnvFiles() {
350
350
  const envCandidates = [".env.local", ".env.development.local", ".env.development", ".env"];
351
351
  for (const file of envCandidates) {
@@ -475,7 +475,9 @@ async function main() {
475
475
  const key = args.key ?? process.env.AURABASE_SERVICE_ROLE_KEY ?? process.env.NEXT_PUBLIC_AURABASE_ANON_KEY;
476
476
  if (!url || !key) {
477
477
  console.error("[aurabase-gen] Error: the project URL and/or API key is missing.\n");
478
- console.error("Provide them through the CLI arguments (--url and --key) or in your environment variables (.env / .env.local):");
478
+ console.error(
479
+ "Provide them through the CLI arguments (--url and --key) or in your environment variables (.env / .env.local):"
480
+ );
479
481
  console.error(" NEXT_PUBLIC_AURABASE_URL=https://<slug>.aurabase.cloud");
480
482
  console.error(" NEXT_PUBLIC_AURABASE_ANON_KEY=aura_anon_...\n");
481
483
  console.error("Run `npx @aurabase/gen --help` to see all the available options.");
package/dist/cli.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- declare const VERSION = "0.7.0";
2
+ declare const VERSION = "0.7.2";
3
3
  /**
4
4
  * Charge les fichiers .env locaux s'ils existent dans le répertoire courant.
5
5
  * Tente .env.local, .env.development.local, .env.development, .env par ordre de priorité.
package/dist/cli.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- declare const VERSION = "0.7.0";
2
+ declare const VERSION = "0.7.2";
3
3
  /**
4
4
  * Charge les fichiers .env locaux s'ils existent dans le répertoire courant.
5
5
  * Tente .env.local, .env.development.local, .env.development, .env par ordre de priorité.
package/dist/cli.js CHANGED
@@ -343,7 +343,7 @@ export type Enums<
343
343
  }
344
344
 
345
345
  // src/cli.ts
346
- var VERSION = "0.7.0";
346
+ var VERSION = "0.7.2";
347
347
  function loadEnvFiles() {
348
348
  const envCandidates = [".env.local", ".env.development.local", ".env.development", ".env"];
349
349
  for (const file of envCandidates) {
@@ -473,7 +473,9 @@ async function main() {
473
473
  const key = args.key ?? process.env.AURABASE_SERVICE_ROLE_KEY ?? process.env.NEXT_PUBLIC_AURABASE_ANON_KEY;
474
474
  if (!url || !key) {
475
475
  console.error("[aurabase-gen] Error: the project URL and/or API key is missing.\n");
476
- console.error("Provide them through the CLI arguments (--url and --key) or in your environment variables (.env / .env.local):");
476
+ console.error(
477
+ "Provide them through the CLI arguments (--url and --key) or in your environment variables (.env / .env.local):"
478
+ );
477
479
  console.error(" NEXT_PUBLIC_AURABASE_URL=https://<slug>.aurabase.cloud");
478
480
  console.error(" NEXT_PUBLIC_AURABASE_ANON_KEY=aura_anon_...\n");
479
481
  console.error("Run `npx @aurabase/gen --help` to see all the available options.");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aurabase/gen",
3
- "version": "0.7.0",
3
+ "version": "0.7.2",
4
4
  "description": "Générateur de types TypeScript Database pour le SDK Aurabase (CLI aurabase-gen)",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -49,8 +49,8 @@
49
49
  "types"
50
50
  ],
51
51
  "dependencies": {
52
- "@aurabase/core": "0.7.0",
53
- "@aurabase/aurabase-js": "0.7.0"
52
+ "@aurabase/aurabase-js": "0.7.2",
53
+ "@aurabase/core": "0.7.2"
54
54
  },
55
55
  "devDependencies": {
56
56
  "tsup": "^8.0.0",