@tinacms/graphql 0.0.0-2022431205250 → 0.0.0-202243121187

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 CHANGED
@@ -1,12 +1,12 @@
1
1
  # tina-graphql
2
2
 
3
- ## 0.0.0-2022431205250
3
+ ## 0.0.0-202243121187
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-2022431205250
9
+ - @tinacms/datalayer@0.0.0-202243121187
10
10
 
11
11
  ## 0.60.3
12
12
 
package/dist/index.js CHANGED
@@ -23593,6 +23593,7 @@ 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 });
23596
23597
  await _indexContent(this, documentPaths, collection);
23597
23598
  });
23598
23599
  };
@@ -23664,6 +23665,9 @@ var _indexContent = async (database, documentPaths, collection) => {
23664
23665
  }
23665
23666
  await sequential(documentPaths, async (filepath) => {
23666
23667
  const dataString = await database.bridge.get(normalizePath(filepath));
23668
+ if (!dataString) {
23669
+ console.log("bridge returned undefined for ", filepath);
23670
+ }
23667
23671
  const data = parseFile(dataString, import_path4.default.extname(filepath), (yup3) => yup3.object({}));
23668
23672
  if (database.store.supportsSeeding()) {
23669
23673
  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-2022431205250",
3
+ "version": "0.0.0-202243121187",
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-2022431205250",
50
+ "@tinacms/datalayer": "0.0.0-202243121187",
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-2022431205250",
100
+ "@tinacms/datalayer": "0.0.0-202243121187",
101
101
  "@tinacms/schema-tools": "0.0.4",
102
102
  "@tinacms/scripts": "0.50.7",
103
103
  "@types/cors": "^2.8.7",