@jayree/sfdx-plugin-manifest 2.6.2 → 2.6.4

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/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@jayree/sfdx-plugin-manifest",
3
3
  "description": "A Salesforce CLI plugin containing commands for creating manifest files from Salesforce orgs or git commits of sfdx projects.",
4
- "version": "2.6.2",
4
+ "version": "2.6.4",
5
5
  "author": "jayree",
6
6
  "type": "module",
7
7
  "bugs": "https://github.com/jayree/sfdx-plugin-manifest/issues",
8
8
  "dependencies": {
9
9
  "@oclif/core": "^1.23.0",
10
- "@salesforce/command": "^5.2.35",
11
- "@salesforce/kit": "^1.8.0",
12
- "@salesforce/source-deploy-retrieve": "^7.5.19",
10
+ "@salesforce/command": "^5.2.37",
11
+ "@salesforce/kit": "^1.8.2",
12
+ "@salesforce/source-deploy-retrieve": "^7.5.22",
13
13
  "@salesforce/ts-types": "^1.7.1",
14
14
  "debug": "^4.3.4",
15
15
  "fast-deep-equal": "^3.1.3",
@@ -23,10 +23,10 @@
23
23
  "tslib": "^2.4.1"
24
24
  },
25
25
  "devDependencies": {
26
- "@commitlint/cli": "^17.3.0",
27
- "@commitlint/config-conventional": "^17.3.0",
28
- "@oclif/plugin-command-snapshot": "^3.2.15",
29
- "@oclif/plugin-help": "^5.1.20",
26
+ "@commitlint/cli": "^17.4.0",
27
+ "@commitlint/config-conventional": "^17.4.0",
28
+ "@oclif/plugin-command-snapshot": "^3.2.16",
29
+ "@oclif/plugin-help": "^5.1.22",
30
30
  "@salesforce/dev-config": "^3.1.0",
31
31
  "@salesforce/dev-scripts": "^3.1.0",
32
32
  "@salesforce/prettier-config": "^0.0.2",
@@ -40,25 +40,25 @@
40
40
  "@types/node": "^18.11.18",
41
41
  "@types/semver": "^7.3.13",
42
42
  "@types/sinon": "10.0.13",
43
- "@typescript-eslint/eslint-plugin": "^5.47.1",
44
- "@typescript-eslint/parser": "^5.47.1",
43
+ "@typescript-eslint/eslint-plugin": "^5.48.0",
44
+ "@typescript-eslint/parser": "^5.48.0",
45
45
  "chai": "^4.3.7",
46
- "eslint": "^8.30.0",
46
+ "eslint": "^8.31.0",
47
47
  "eslint-config-oclif": "^4.0",
48
- "eslint-config-prettier": "^8.5.0",
48
+ "eslint-config-prettier": "^8.6.0",
49
49
  "eslint-config-salesforce": "^1.1.0",
50
50
  "eslint-config-salesforce-typescript": "^1.1.1",
51
51
  "eslint-plugin-header": "^3.1.1",
52
52
  "eslint-plugin-import": "2.26.0",
53
53
  "eslint-plugin-jsdoc": "^39.6.4",
54
54
  "eslint-plugin-prettier": "^4.2.1",
55
- "eslint-plugin-sf-plugin": "^1.3.1",
56
- "husky": "^8.0.2",
55
+ "eslint-plugin-sf-plugin": "^1.5.1",
56
+ "husky": "^8.0.3",
57
57
  "is-ci": "^3.0.1",
58
58
  "mocha": "^10.2.0",
59
59
  "nyc": "^15.1.0",
60
60
  "oclif": "^3.4.3",
61
- "patch-package": "^6.5.0",
61
+ "patch-package": "^6.5.1",
62
62
  "pinst": "^3.0.0",
63
63
  "prettier": "^2.8.1",
64
64
  "pretty-quick": "^3.1.3",
@@ -76,7 +76,8 @@
76
76
  "/messages",
77
77
  "/oclif.manifest.json",
78
78
  "/CHANGELOG.md",
79
- "/bin/is-sfdx.js"
79
+ "/bin/is-sfdx.js",
80
+ "/schemas"
80
81
  ],
81
82
  "homepage": "https://github.com/jayree/sfdx-plugin-manifest",
82
83
  "keywords": [
@@ -139,13 +140,14 @@
139
140
  "_postinstall": "node ./bin/is-sfdx.js || patch-package",
140
141
  "postpack": "shx rm -f oclif.manifest.json",
141
142
  "postpublish": "pinst --enable",
142
- "posttest": "yarn lint && yarn test:deprecation-policy",
143
+ "posttest": "yarn lint && yarn test:deprecation-policy && yarn test:json-schema",
143
144
  "prepack": "sf-prepack",
144
145
  "prepare": "is-ci || node ./bin/is-sfdx.js || husky install",
145
146
  "prepublishOnly": "pinst --disable",
146
147
  "pretest": "sf-compile-test",
147
148
  "test": "sf-test",
148
149
  "test:deprecation-policy": "./bin/dev.js snapshot:compare",
150
+ "test:json-schema": "./bin/dev.js schema:compare",
149
151
  "version": "oclif readme"
150
152
  },
151
153
  "publishConfig": {
@@ -0,0 +1,38 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$ref": "#/definitions/GitDiffCommandResult",
4
+ "definitions": {
5
+ "GitDiffCommandResult": {
6
+ "type": "object",
7
+ "properties": {
8
+ "manifest": {
9
+ "type": "object",
10
+ "properties": {
11
+ "path": {
12
+ "type": "string"
13
+ },
14
+ "name": {
15
+ "type": "string"
16
+ }
17
+ },
18
+ "required": ["path", "name"],
19
+ "additionalProperties": false
20
+ },
21
+ "destructiveChanges": {
22
+ "type": "object",
23
+ "properties": {
24
+ "path": {
25
+ "type": "string"
26
+ },
27
+ "name": {
28
+ "type": "string"
29
+ }
30
+ },
31
+ "required": ["path", "name"],
32
+ "additionalProperties": false
33
+ }
34
+ },
35
+ "additionalProperties": false
36
+ }
37
+ }
38
+ }
@@ -0,0 +1,51 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$ref": "#/definitions/PackageManifestObject",
4
+ "definitions": {
5
+ "PackageManifestObject": {
6
+ "type": "object",
7
+ "properties": {
8
+ "Package": {
9
+ "type": "object",
10
+ "properties": {
11
+ "types": {
12
+ "type": "array",
13
+ "items": {
14
+ "$ref": "#/definitions/PackageTypeMembers"
15
+ }
16
+ },
17
+ "version": {
18
+ "type": "string"
19
+ },
20
+ "fullName": {
21
+ "type": "string"
22
+ },
23
+ "@_xmlns": {
24
+ "type": "string"
25
+ }
26
+ },
27
+ "required": ["types", "version"],
28
+ "additionalProperties": false
29
+ }
30
+ },
31
+ "required": ["Package"],
32
+ "additionalProperties": false
33
+ },
34
+ "PackageTypeMembers": {
35
+ "type": "object",
36
+ "properties": {
37
+ "name": {
38
+ "type": "string"
39
+ },
40
+ "members": {
41
+ "type": "array",
42
+ "items": {
43
+ "type": "string"
44
+ }
45
+ }
46
+ },
47
+ "required": ["name", "members"],
48
+ "additionalProperties": false
49
+ }
50
+ }
51
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$ref": "#/definitions/GitDiffCommandResult",
4
+ "definitions": {
5
+ "GitDiffCommandResult": {
6
+ "type": "object",
7
+ "properties": {
8
+ "destructiveChanges": {
9
+ "type": "object"
10
+ },
11
+ "manifest": {
12
+ "type": "object"
13
+ }
14
+ },
15
+ "required": ["destructiveChanges", "manifest"],
16
+ "additionalProperties": false
17
+ }
18
+ }
19
+ }