@tinacms/cli 1.1.0 → 1.2.0
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 +2 -2
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -304,7 +304,7 @@ var commander = __toModule(require("commander"));
|
|
|
304
304
|
|
|
305
305
|
// package.json
|
|
306
306
|
var name = "@tinacms/cli";
|
|
307
|
-
var version = "1.
|
|
307
|
+
var version = "1.2.0";
|
|
308
308
|
|
|
309
309
|
// src/cmds/audit/audit.ts
|
|
310
310
|
var import_graphql = __toModule(require("@tinacms/graphql"));
|
|
@@ -498,7 +498,7 @@ var audit = async (ctx, next, options) => {
|
|
|
498
498
|
for (let i = 0; i < collections.length; i++) {
|
|
499
499
|
const collection = collections[i];
|
|
500
500
|
const docs = await database.query({ collection: collection.name, first: -1, filterChain: [] }, (item) => ({ path: item }));
|
|
501
|
-
logger.info(`Checking ${neutralText(collection.name)} collection`);
|
|
501
|
+
logger.info(`Checking ${neutralText(collection.name)} collection. ${docs.edges.length} Documents`);
|
|
502
502
|
const returnError = await auditDocuments({
|
|
503
503
|
collection,
|
|
504
504
|
database,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tinacms/cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"typings": "dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -52,11 +52,11 @@
|
|
|
52
52
|
"@graphql-codegen/visitor-plugin-common": "^2.4.0",
|
|
53
53
|
"@graphql-tools/graphql-file-loader": "^7.2.0",
|
|
54
54
|
"@graphql-tools/load": "^7.3.2",
|
|
55
|
-
"@tinacms/app": "1.0
|
|
56
|
-
"@tinacms/datalayer": "1.1.
|
|
57
|
-
"@tinacms/graphql": "1.
|
|
55
|
+
"@tinacms/app": "1.1.0",
|
|
56
|
+
"@tinacms/datalayer": "1.1.1",
|
|
57
|
+
"@tinacms/graphql": "1.3.0",
|
|
58
58
|
"@tinacms/metrics": "1.0.2",
|
|
59
|
-
"@tinacms/schema-tools": "1.3.
|
|
59
|
+
"@tinacms/schema-tools": "1.3.1",
|
|
60
60
|
"ajv": "^6.12.3",
|
|
61
61
|
"altair-express-middleware": "4.0.6",
|
|
62
62
|
"auto-bind": "^4.0.0",
|