@salesforce/plugin-signups 1.5.6 → 2.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. package/README.md +66 -66
  2. package/lib/commands/org/create/shape.d.ts +3 -3
  3. package/lib/commands/org/create/shape.js +20 -22
  4. package/lib/commands/org/create/shape.js.map +1 -1
  5. package/lib/commands/org/create/snapshot.d.ts +7 -7
  6. package/lib/commands/org/create/snapshot.js +46 -50
  7. package/lib/commands/org/create/snapshot.js.map +1 -1
  8. package/lib/commands/org/delete/shape.d.ts +5 -20
  9. package/lib/commands/org/delete/shape.js +28 -73
  10. package/lib/commands/org/delete/shape.js.map +1 -1
  11. package/lib/commands/org/delete/snapshot.d.ts +4 -4
  12. package/lib/commands/org/delete/snapshot.js +28 -30
  13. package/lib/commands/org/delete/snapshot.js.map +1 -1
  14. package/lib/commands/org/get/snapshot.d.ts +5 -5
  15. package/lib/commands/org/get/snapshot.js +27 -29
  16. package/lib/commands/org/get/snapshot.js.map +1 -1
  17. package/lib/commands/org/list/shape.d.ts +3 -7
  18. package/lib/commands/org/list/shape.js +22 -34
  19. package/lib/commands/org/list/shape.js.map +1 -1
  20. package/lib/commands/org/list/snapshot.d.ts +4 -4
  21. package/lib/commands/org/list/snapshot.js +21 -23
  22. package/lib/commands/org/list/snapshot.js.map +1 -1
  23. package/lib/index.d.ts +1 -1
  24. package/lib/index.js +1 -2
  25. package/lib/index.js.map +1 -1
  26. package/lib/shared/deleteUtils.d.ts +19 -0
  27. package/lib/shared/deleteUtils.js +58 -0
  28. package/lib/shared/deleteUtils.js.map +1 -0
  29. package/lib/shared/orgShapeListUtils.d.ts +13 -0
  30. package/lib/shared/orgShapeListUtils.js +26 -13
  31. package/lib/shared/orgShapeListUtils.js.map +1 -1
  32. package/lib/shared/snapshot.d.ts +0 -2
  33. package/lib/shared/snapshot.js +20 -32
  34. package/lib/shared/snapshot.js.map +1 -1
  35. package/messages/messages.md +4 -0
  36. package/oclif.lock +611 -718
  37. package/oclif.manifest.json +573 -245
  38. package/package.json +35 -55
package/package.json CHANGED
@@ -1,63 +1,37 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-signups",
3
3
  "description": "Commands to interact with org shapes",
4
- "version": "1.5.6",
4
+ "version": "2.0.2",
5
5
  "author": "Salesforce",
6
- "main": "lib/index.js",
7
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
8
7
  "dependencies": {
9
- "@oclif/core": "^2.15.0",
10
- "@salesforce/core": "^5.3.14",
11
- "@salesforce/kit": "^3.0.13",
12
- "@salesforce/sf-plugins-core": "^3.1.28",
13
- "chalk": "^4.1.2",
14
- "change-case": "^4.1.2",
15
- "tslib": "^2"
8
+ "@oclif/core": "^3.11.0",
9
+ "@salesforce/core": "^5.3.20",
10
+ "@salesforce/kit": "^3.0.15",
11
+ "@salesforce/sf-plugins-core": "^4.1.2",
12
+ "chalk": "^5.3.0",
13
+ "change-case": "^5.1.2"
16
14
  },
17
15
  "devDependencies": {
18
- "@oclif/plugin-command-snapshot": "^4.0.14",
19
- "@salesforce/cli-plugins-testkit": "^4.4.7",
20
- "@salesforce/dev-config": "^4.0.1",
21
- "@salesforce/dev-scripts": "^5.12.0",
22
- "@salesforce/plugin-command-reference": "^3.0.41",
23
- "@salesforce/prettier-config": "^0.0.3",
24
- "@salesforce/ts-sinon": "^1.4.16",
25
- "@salesforce/ts-types": "^2.0.6",
26
- "@swc/core": "^1.3.39",
27
- "@types/chai-as-promised": "^7.1.6",
16
+ "@oclif/plugin-command-snapshot": "^5.0.2",
17
+ "@salesforce/cli-plugins-testkit": "^5.0.4",
18
+ "@salesforce/dev-scripts": "^6.0.4",
19
+ "@salesforce/plugin-command-reference": "^3.0.46",
20
+ "@salesforce/ts-types": "^2.0.9",
21
+ "@types/chai-as-promised": "^7.1.7",
28
22
  "@types/chai-string": "^1.4.3",
29
- "@types/inquirer": "^9.0.6",
30
- "@types/shelljs": "^0.8.14",
31
- "@typescript-eslint/eslint-plugin": "^5.62.0",
32
- "@typescript-eslint/parser": "^5.62.0",
33
- "chai": "^4.3.10",
34
23
  "chai-as-promised": "7.1.1",
35
24
  "chai-string": "^1.5.0",
36
- "eslint": "^8.52.0",
37
- "eslint-config-prettier": "^8.10.0",
38
- "eslint-config-salesforce": "^2.0.2",
39
- "eslint-config-salesforce-license": "^0.2.0",
40
- "eslint-config-salesforce-typescript": "^2.0.0",
41
- "eslint-plugin-header": "^3.1.1",
42
- "eslint-plugin-import": "^2.28.1",
43
- "eslint-plugin-jsdoc": "^46.8.2",
44
- "eslint-plugin-sf-plugin": "^1.16.3",
45
- "husky": "^7.0.4",
46
- "jsforce": "^2.0.0-beta.27",
47
- "mocha": "^9.1.3",
48
- "nyc": "^15.1.0",
49
- "oclif": "^3.17.2",
50
- "prettier": "^2.8.8",
51
- "pretty-quick": "^3.1.0",
25
+ "eslint-plugin-sf-plugin": "^1.16.15",
26
+ "jsforce": "^2.0.0-beta.28",
27
+ "oclif": "^4.0.3",
52
28
  "shx": "0.3.4",
53
- "sinon": "^11.1.1",
54
- "ts-node": "^10.2.1",
55
- "typescript": "^5.2.2",
56
- "wireit": "^0.14.1"
29
+ "ts-node": "^10.9.1",
30
+ "typescript": "^5.2.2"
57
31
  },
58
32
  "config": {},
59
33
  "engines": {
60
- "node": ">=16.0.0"
34
+ "node": ">=18.0.0"
61
35
  },
62
36
  "files": [
63
37
  "/lib",
@@ -69,14 +43,16 @@
69
43
  "keywords": [
70
44
  "force",
71
45
  "salesforce",
72
- "sfdx",
73
46
  "salesforcedx",
47
+ "sf",
48
+ "sf-plugin",
49
+ "sfdx",
74
50
  "sfdx-plugin"
75
51
  ],
76
52
  "license": "BSD-3-Clause",
77
53
  "oclif": {
78
54
  "commands": "./lib/commands",
79
- "bin": "sfdx",
55
+ "bin": "sf",
80
56
  "devPlugins": [
81
57
  "@oclif/plugin-command-snapshot",
82
58
  "@salesforce/plugin-command-reference"
@@ -136,19 +112,21 @@
136
112
  }
137
113
  }
138
114
  }
139
- }
115
+ },
116
+ "flexibleTaxonomy": true,
117
+ "topicSeparator": " "
140
118
  },
141
119
  "repository": "salesforcecli/plugin-signups",
142
120
  "scripts": {
143
121
  "build": "wireit",
144
122
  "clean": "sf-clean",
145
123
  "clean-all": "sf-clean all",
146
- "clean:lib": "shx rm -rf lib && shx rm -rf coverage && shx rm -rf .nyc_output && shx rm -f oclif.manifest.json",
124
+ "clean:lib": "shx rm -rf lib && shx rm -rf coverage && shx rm -rf .nyc_output && shx rm -f oclif.manifest.json oclif.lock",
147
125
  "compile": "wireit",
148
126
  "docs": "sf-docs",
149
127
  "format": "wireit",
150
128
  "lint": "wireit",
151
- "postpack": "shx rm -f oclif.manifest.json",
129
+ "postpack": "shx rm -f oclif.manifest.json oclif.lock",
152
130
  "prepack": "sf-prepack",
153
131
  "prepare": "sf-install",
154
132
  "test": "wireit",
@@ -236,7 +214,7 @@
236
214
  "output": []
237
215
  },
238
216
  "test:command-reference": {
239
- "command": "\"./bin/dev\" commandreference:generate --erroronwarnings",
217
+ "command": "ts-node \"./bin/dev.js\" commandreference:generate --erroronwarnings",
240
218
  "files": [
241
219
  "src/**/*.ts",
242
220
  "messages/**",
@@ -247,7 +225,7 @@
247
225
  ]
248
226
  },
249
227
  "test:deprecation-policy": {
250
- "command": "\"./bin/dev\" snapshot:compare",
228
+ "command": "ts-node \"./bin/dev.js\" snapshot:compare",
251
229
  "files": [
252
230
  "src/**/*.ts"
253
231
  ],
@@ -257,7 +235,7 @@
257
235
  ]
258
236
  },
259
237
  "test:json-schema": {
260
- "command": "\"./bin/dev\" schema:compare",
238
+ "command": "ts-node \"./bin/dev.js\" schema:compare",
261
239
  "files": [
262
240
  "src/**/*.ts",
263
241
  "schemas"
@@ -265,8 +243,10 @@
265
243
  "output": []
266
244
  }
267
245
  },
246
+ "exports": "./lib/index.js",
247
+ "type": "module",
268
248
  "sfdx": {
269
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-signups/1.5.6.crt",
270
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-signups/1.5.6.sig"
249
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-signups/2.0.2.crt",
250
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-signups/2.0.2.sig"
271
251
  }
272
252
  }