tinacms-gitprovider-github 0.0.0-f3aa146-20241112221138 → 0.0.0-f471982-20250804064407
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/index.js +5 -3
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -17,11 +17,11 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
17
17
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
18
|
|
|
19
19
|
// src/index.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
20
|
+
var index_exports = {};
|
|
21
|
+
__export(index_exports, {
|
|
22
22
|
GitHubProvider: () => GitHubProvider
|
|
23
23
|
});
|
|
24
|
-
module.exports = __toCommonJS(
|
|
24
|
+
module.exports = __toCommonJS(index_exports);
|
|
25
25
|
var import_rest = require("@octokit/rest");
|
|
26
26
|
var import_js_base64 = require("js-base64");
|
|
27
27
|
var GitHubProvider = class {
|
|
@@ -41,6 +41,7 @@ var GitHubProvider = class {
|
|
|
41
41
|
const path = this.rootPath ? `${this.rootPath}/${key}` : key;
|
|
42
42
|
try {
|
|
43
43
|
const {
|
|
44
|
+
// @ts-ignore
|
|
44
45
|
data: { sha: existingSha }
|
|
45
46
|
} = await this.octokit.repos.getContent({
|
|
46
47
|
owner: this.owner,
|
|
@@ -66,6 +67,7 @@ var GitHubProvider = class {
|
|
|
66
67
|
const path = this.rootPath ? `${this.rootPath}/${key}` : key;
|
|
67
68
|
try {
|
|
68
69
|
const {
|
|
70
|
+
// @ts-ignore
|
|
69
71
|
data: { sha: existingSha }
|
|
70
72
|
} = await this.octokit.repos.getContent({
|
|
71
73
|
owner: this.owner,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tinacms-gitprovider-github",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-f471982-20250804064407",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/index.mjs",
|
|
6
6
|
"files": [
|
|
@@ -19,15 +19,15 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@octokit/rest": "^19.0.13",
|
|
21
21
|
"js-base64": "^3.7.7",
|
|
22
|
-
"typescript": "^5.
|
|
22
|
+
"typescript": "^5.7.3"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@types/node": "^22.
|
|
26
|
-
"@tinacms/
|
|
27
|
-
"@tinacms/
|
|
25
|
+
"@types/node": "^22.13.1",
|
|
26
|
+
"@tinacms/scripts": "1.4.0",
|
|
27
|
+
"@tinacms/datalayer": "0.0.0-f471982-20250804064407"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"@tinacms/datalayer": "0.0.0-
|
|
30
|
+
"@tinacms/datalayer": "0.0.0-f471982-20250804064407"
|
|
31
31
|
},
|
|
32
32
|
"publishConfig": {
|
|
33
33
|
"registry": "https://registry.npmjs.org"
|