@aurabase/gen 0.7.1 → 0.7.3
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 +4 -2
- package/dist/cli.d.cts +1 -1
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +4 -2
- package/package.json +3 -3
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.
|
|
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(
|
|
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
package/dist/cli.d.ts
CHANGED
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.
|
|
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(
|
|
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.
|
|
3
|
+
"version": "0.7.3",
|
|
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.
|
|
53
|
-
"@aurabase/aurabase-js": "0.7.
|
|
52
|
+
"@aurabase/core": "0.7.3",
|
|
53
|
+
"@aurabase/aurabase-js": "0.7.3"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"tsup": "^8.0.0",
|