@tinacms/cli 0.60.26 → 0.60.27

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -293,7 +293,7 @@ var commander = __toModule(require("commander"));
293
293
 
294
294
  // package.json
295
295
  var name = "@tinacms/cli";
296
- var version = "0.60.26";
296
+ var version = "0.60.27";
297
297
 
298
298
  // src/cmds/query-gen/attachSchema.ts
299
299
  var import_graphql = __toModule(require("@tinacms/graphql"));
@@ -1321,7 +1321,7 @@ var componentFolder = import_path3.default.join(TinaFolder, "components");
1321
1321
  var TinaProviderPath = import_path3.default.join(componentFolder, "TinaProvider.js");
1322
1322
  var TinaDynamicProvider = import_path3.default.join(componentFolder, "TinaDynamicProvider.js");
1323
1323
  async function tinaSetup(_ctx, next, _options) {
1324
- const usingSrc = import_fs_extra2.default.pathExistsSync(import_path3.default.join(baseDir, "src"));
1324
+ const usingSrc = !import_fs_extra2.default.pathExistsSync(import_path3.default.join(baseDir, "pages"));
1325
1325
  if (!import_fs_extra2.default.pathExistsSync(blogPostPath)) {
1326
1326
  logger.info(logText("Adding a content folder..."));
1327
1327
  import_fs_extra2.default.mkdirpSync(blogContentPath);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tinacms/cli",
3
- "version": "0.60.26",
3
+ "version": "0.60.27",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
6
6
  "files": [
@@ -51,10 +51,10 @@
51
51
  "@graphql-codegen/visitor-plugin-common": "^2.4.0",
52
52
  "@graphql-tools/graphql-file-loader": "^7.2.0",
53
53
  "@graphql-tools/load": "^7.3.2",
54
- "@tinacms/datalayer": "0.2.0",
55
- "@tinacms/graphql": "0.61.1",
54
+ "@tinacms/datalayer": "0.2.1",
55
+ "@tinacms/graphql": "0.61.2",
56
56
  "@tinacms/metrics": "0.0.3",
57
- "@tinacms/schema-tools": "0.0.7",
57
+ "@tinacms/schema-tools": "0.0.8",
58
58
  "add": "^2.0.6",
59
59
  "ajv": "^6.12.3",
60
60
  "altair-express-middleware": "4.0.6",