Skip to content

Commit 71c29b9

Browse files
authored
fix: add command schemas (#367)
1 parent 8dbab89 commit 71c29b9

4 files changed

Lines changed: 636 additions & 52 deletions

File tree

package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@
5151
"files": [
5252
"/lib",
5353
"/messages",
54-
"/oclif.manifest.json"
54+
"/oclif.manifest.json",
55+
"/schemas"
5556
],
5657
"homepage": "https://github.com/salesforcecli/plugin-schema",
5758
"keywords": [
@@ -95,17 +96,18 @@
9596
"format": "sf-format",
9697
"lint": "sf-lint",
9798
"postpack": "shx rm -f oclif.manifest.json",
98-
"posttest": "yarn lint && yarn test:deprecation-policy && yarn test:command-reference",
99+
"posttest": "yarn lint && yarn test:deprecation-policy && yarn test:json-schema && yarn test:command-reference",
99100
"prepack": "sf-prepack",
100101
"prepare": "sf-install",
101102
"pretest": "sf-compile-test",
102103
"test": "sf-test",
103104
"test:command-reference": "./bin/dev commandreference:generate --erroronwarnings",
104105
"test:deprecation-policy": "./bin/dev snapshot:compare",
106+
"test:json-schema": "./bin/dev schema:compare",
105107
"test:nuts": "nyc mocha \"**/*.nut.ts\" --slow 4500 --timeout 600000 --parallel",
106108
"version": "oclif readme"
107109
},
108110
"publishConfig": {
109111
"access": "public"
110112
}
111-
}
113+
}

0 commit comments

Comments
 (0)