@tinacms/graphql 0.0.0-202257122713 → 0.0.0-20225804843
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/CHANGELOG.md +2 -2
- package/dist/index.js +0 -4
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# tina-graphql
|
|
2
2
|
|
|
3
|
-
## 0.0.0-
|
|
3
|
+
## 0.0.0-20225804843
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
7
|
- ed565bd3b: Experimental isomorphic git bridge implementation
|
|
8
8
|
- Updated dependencies [ed565bd3b]
|
|
9
|
-
- @tinacms/datalayer@0.0.0-
|
|
9
|
+
- @tinacms/datalayer@0.0.0-20225804843
|
|
10
10
|
|
|
11
11
|
## 0.60.3
|
|
12
12
|
|
package/dist/index.js
CHANGED
|
@@ -23593,7 +23593,6 @@ var Database = class {
|
|
|
23593
23593
|
const tinaSchema = await this.getSchema();
|
|
23594
23594
|
await sequential(tinaSchema.getCollections(), async (collection) => {
|
|
23595
23595
|
const documentPaths = await this.bridge.glob(normalizePath(collection.path));
|
|
23596
|
-
console.log({ documentPaths });
|
|
23597
23596
|
await _indexContent(this, documentPaths, collection);
|
|
23598
23597
|
});
|
|
23599
23598
|
};
|
|
@@ -23665,9 +23664,6 @@ var _indexContent = async (database, documentPaths, collection) => {
|
|
|
23665
23664
|
}
|
|
23666
23665
|
await sequential(documentPaths, async (filepath) => {
|
|
23667
23666
|
const dataString = await database.bridge.get(normalizePath(filepath));
|
|
23668
|
-
if (!dataString) {
|
|
23669
|
-
console.log("bridge returned undefined for ", filepath);
|
|
23670
|
-
}
|
|
23671
23667
|
const data = parseFile(dataString, import_path4.default.extname(filepath), (yup3) => yup3.object({}));
|
|
23672
23668
|
if (database.store.supportsSeeding()) {
|
|
23673
23669
|
await database.store.seed(normalizePath(filepath), data, seedOptions);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tinacms/graphql",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-20225804843",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"typings": "dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@graphql-tools/relay-operation-optimizer": "^6.4.1",
|
|
50
|
-
"@tinacms/datalayer": "0.0.0-
|
|
50
|
+
"@tinacms/datalayer": "0.0.0-20225804843",
|
|
51
51
|
"body-parser": "^1.19.0",
|
|
52
52
|
"cors": "^2.8.5",
|
|
53
53
|
"dataloader": "^2.0.0",
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
"directory": "packages/tina-graphql"
|
|
98
98
|
},
|
|
99
99
|
"devDependencies": {
|
|
100
|
-
"@tinacms/datalayer": "0.0.0-
|
|
100
|
+
"@tinacms/datalayer": "0.0.0-20225804843",
|
|
101
101
|
"@tinacms/schema-tools": "0.0.4",
|
|
102
102
|
"@tinacms/scripts": "0.50.7",
|
|
103
103
|
"@types/cors": "^2.8.7",
|