@oclif/plugin-command-snapshot
Advanced tools
+39
-39
| { | ||
| "commands": { | ||
| "snapshot:compare": { | ||
| "schema:compare": { | ||
| "aliases": [], | ||
@@ -10,3 +10,3 @@ "args": {}, | ||
| "name": "filepath", | ||
| "default": "./command-snapshot.json", | ||
| "default": "./schemas", | ||
| "hasDynamicHelp": false, | ||
@@ -19,3 +19,3 @@ "multiple": false, | ||
| "hiddenAliases": [], | ||
| "id": "snapshot:compare", | ||
| "id": "schema:compare", | ||
| "pluginAlias": "@oclif/plugin-command-snapshot", | ||
@@ -29,3 +29,3 @@ "pluginName": "@oclif/plugin-command-snapshot", | ||
| "commands", | ||
| "snapshot", | ||
| "schema", | ||
| "compare.js" | ||
@@ -35,7 +35,7 @@ ], | ||
| "permutations": [ | ||
| "snapshot:compare", | ||
| "compare:snapshot" | ||
| "schema:compare", | ||
| "compare:schema" | ||
| ] | ||
| }, | ||
| "snapshot:generate": { | ||
| "schema:generate": { | ||
| "aliases": [], | ||
@@ -45,8 +45,20 @@ "args": {}, | ||
| "filepath": { | ||
| "description": "path to save the generated snapshot file; can use \"{version}\" to replace the current CLI/plugin version", | ||
| "description": "directory to save the generated schema files; can use \"{version}\" to insert the current CLI/plugin version", | ||
| "name": "filepath", | ||
| "default": "./command-snapshot.json", | ||
| "default": "./schemas", | ||
| "hasDynamicHelp": false, | ||
| "multiple": false, | ||
| "type": "option" | ||
| }, | ||
| "ignorevoid": { | ||
| "description": "ignore commands that return void", | ||
| "name": "ignorevoid", | ||
| "allowNo": false, | ||
| "type": "boolean" | ||
| }, | ||
| "singlefile": { | ||
| "description": "put generated schema into a single file", | ||
| "name": "singlefile", | ||
| "allowNo": false, | ||
| "type": "boolean" | ||
| } | ||
@@ -56,3 +68,3 @@ }, | ||
| "hiddenAliases": [], | ||
| "id": "snapshot:generate", | ||
| "id": "schema:generate", | ||
| "pluginAlias": "@oclif/plugin-command-snapshot", | ||
@@ -66,3 +78,3 @@ "pluginName": "@oclif/plugin-command-snapshot", | ||
| "commands", | ||
| "snapshot", | ||
| "schema", | ||
| "generate.js" | ||
@@ -72,7 +84,7 @@ ], | ||
| "permutations": [ | ||
| "snapshot:generate", | ||
| "generate:snapshot" | ||
| "schema:generate", | ||
| "generate:schema" | ||
| ] | ||
| }, | ||
| "schema:compare": { | ||
| "snapshot:compare": { | ||
| "aliases": [], | ||
@@ -84,3 +96,3 @@ "args": {}, | ||
| "name": "filepath", | ||
| "default": "./schemas", | ||
| "default": "./command-snapshot.json", | ||
| "hasDynamicHelp": false, | ||
@@ -93,3 +105,3 @@ "multiple": false, | ||
| "hiddenAliases": [], | ||
| "id": "schema:compare", | ||
| "id": "snapshot:compare", | ||
| "pluginAlias": "@oclif/plugin-command-snapshot", | ||
@@ -103,3 +115,3 @@ "pluginName": "@oclif/plugin-command-snapshot", | ||
| "commands", | ||
| "schema", | ||
| "snapshot", | ||
| "compare.js" | ||
@@ -109,7 +121,7 @@ ], | ||
| "permutations": [ | ||
| "schema:compare", | ||
| "compare:schema" | ||
| "snapshot:compare", | ||
| "compare:snapshot" | ||
| ] | ||
| }, | ||
| "schema:generate": { | ||
| "snapshot:generate": { | ||
| "aliases": [], | ||
@@ -119,20 +131,8 @@ "args": {}, | ||
| "filepath": { | ||
| "description": "directory to save the generated schema files; can use \"{version}\" to insert the current CLI/plugin version", | ||
| "description": "path to save the generated snapshot file; can use \"{version}\" to replace the current CLI/plugin version", | ||
| "name": "filepath", | ||
| "default": "./schemas", | ||
| "default": "./command-snapshot.json", | ||
| "hasDynamicHelp": false, | ||
| "multiple": false, | ||
| "type": "option" | ||
| }, | ||
| "ignorevoid": { | ||
| "description": "ignore commands that return void", | ||
| "name": "ignorevoid", | ||
| "allowNo": false, | ||
| "type": "boolean" | ||
| }, | ||
| "singlefile": { | ||
| "description": "put generated schema into a single file", | ||
| "name": "singlefile", | ||
| "allowNo": false, | ||
| "type": "boolean" | ||
| } | ||
@@ -142,3 +142,3 @@ }, | ||
| "hiddenAliases": [], | ||
| "id": "schema:generate", | ||
| "id": "snapshot:generate", | ||
| "pluginAlias": "@oclif/plugin-command-snapshot", | ||
@@ -152,3 +152,3 @@ "pluginName": "@oclif/plugin-command-snapshot", | ||
| "commands", | ||
| "schema", | ||
| "snapshot", | ||
| "generate.js" | ||
@@ -158,8 +158,8 @@ ], | ||
| "permutations": [ | ||
| "schema:generate", | ||
| "generate:schema" | ||
| "snapshot:generate", | ||
| "generate:snapshot" | ||
| ] | ||
| } | ||
| }, | ||
| "version": "5.2.39" | ||
| "version": "5.2.40" | ||
| } |
+6
-6
| { | ||
| "name": "@oclif/plugin-command-snapshot", | ||
| "description": "generates and compares OCLIF plugins snapshot files", | ||
| "version": "5.2.39", | ||
| "version": "5.2.40", | ||
| "author": "Salesforce", | ||
@@ -15,3 +15,3 @@ "bugs": "https://github.com/oclif/plugin-command-snapshot/issues", | ||
| "lodash.sortby": "^4.7.0", | ||
| "semver": "^7.7.1", | ||
| "semver": "^7.7.2", | ||
| "ts-json-schema-generator": "^1.5.1" | ||
@@ -35,7 +35,7 @@ }, | ||
| "commitlint": "^19", | ||
| "eslint": "^9.26.0", | ||
| "eslint-config-oclif": "^6.0.50", | ||
| "eslint-config-prettier": "^10.1.2", | ||
| "eslint": "^9.27.0", | ||
| "eslint-config-oclif": "^6.0.57", | ||
| "eslint-config-prettier": "^10.1.5", | ||
| "husky": "^9.1.7", | ||
| "lint-staged": "^15.5.1", | ||
| "lint-staged": "^15.5.2", | ||
| "mocha": "^10.8.2", | ||
@@ -42,0 +42,0 @@ "nyc": "^15", |
Updated