codechronicle-cli 1.0.0 → 1.0.1
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/commands/pull.js +0 -1
- package/package.json +1 -2
- package/config/supabase.js +0 -24
package/commands/pull.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
const fs = require("fs").promises; //file system
|
|
2
2
|
const fswp = require("fs");
|
|
3
3
|
const path = require("path");
|
|
4
|
-
const supabase = require("../config/supabase");
|
|
5
4
|
const { requireAuth } = require("../utils/auth");
|
|
6
5
|
const repositoryApi = require("../services/repositoryApi");
|
|
7
6
|
const { getToken } = require("../utils/auth");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codechronicle-cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"bin": {
|
|
5
5
|
"chron": "./index.js"
|
|
6
6
|
},
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
"license": "ISC",
|
|
14
14
|
"description": "",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@supabase/supabase-js": "^2.111.0",
|
|
17
16
|
"archiver": "^6.0.2",
|
|
18
17
|
"axios": "^1.18.1",
|
|
19
18
|
"dotenv": "^17.4.2",
|
package/config/supabase.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
const path = require("path");
|
|
2
|
-
const { createClient } = require("@supabase/supabase-js");
|
|
3
|
-
require("dotenv").config({
|
|
4
|
-
path: path.join(__dirname, "..", ".env"),
|
|
5
|
-
quiet : true
|
|
6
|
-
});
|
|
7
|
-
|
|
8
|
-
const supabase = createClient(
|
|
9
|
-
process.env.SUPABASE_URL,
|
|
10
|
-
process.env.SUPABASE_KEY
|
|
11
|
-
);
|
|
12
|
-
|
|
13
|
-
module.exports = supabase;
|
|
14
|
-
|
|
15
|
-
/*
|
|
16
|
-
---------------------------------------------------------
|
|
17
|
-
Supabase Configuration
|
|
18
|
-
---------------------------------------------------------
|
|
19
|
-
This file initializes the Supabase client using the
|
|
20
|
-
project URL and secret key stored in the .env file.
|
|
21
|
-
The configured client is exported so it can be used
|
|
22
|
-
throughout the application for Storage operations.
|
|
23
|
-
---------------------------------------------------------
|
|
24
|
-
*/
|