@salesforce/plugin-signups 1.5.5 → 2.0.1

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 +45 -49
  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 +5 -5
  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.js +20 -25
  33. package/lib/shared/snapshot.js.map +1 -1
  34. package/messages/messages.md +4 -0
  35. package/messages/shape.list.md +1 -1
  36. package/oclif.lock +784 -794
  37. package/oclif.manifest.json +573 -245
  38. package/package.json +35 -54
package/package.json CHANGED
@@ -1,62 +1,37 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-signups",
3
3
  "description": "Commands to interact with org shapes",
4
- "version": "1.5.5",
4
+ "version": "2.0.1",
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.2.1",
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.3.6",
20
- "@salesforce/dev-config": "^4.0.1",
21
- "@salesforce/dev-scripts": "^5.10.0",
22
- "@salesforce/plugin-command-reference": "^3.0.39",
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.3",
30
- "@types/shelljs": "^0.8.12",
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.50.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": "^1.1.2",
41
- "eslint-plugin-header": "^3.1.1",
42
- "eslint-plugin-import": "^2.28.1",
43
- "eslint-plugin-jsdoc": "^43.0.5",
44
- "eslint-plugin-sf-plugin": "^1.16.3",
45
- "husky": "^7.0.4",
46
- "mocha": "^9.1.3",
47
- "nyc": "^15.1.0",
48
- "oclif": "^3.17.1",
49
- "prettier": "^2.8.8",
50
- "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",
51
28
  "shx": "0.3.4",
52
- "sinon": "^11.1.1",
53
- "ts-node": "^10.2.1",
54
- "typescript": "^4.9.5",
55
- "wireit": "^0.14.0"
29
+ "ts-node": "^10.9.1",
30
+ "typescript": "^5.2.2"
56
31
  },
57
32
  "config": {},
58
33
  "engines": {
59
- "node": ">=16.0.0"
34
+ "node": ">=18.0.0"
60
35
  },
61
36
  "files": [
62
37
  "/lib",
@@ -68,14 +43,16 @@
68
43
  "keywords": [
69
44
  "force",
70
45
  "salesforce",
71
- "sfdx",
72
46
  "salesforcedx",
47
+ "sf",
48
+ "sf-plugin",
49
+ "sfdx",
73
50
  "sfdx-plugin"
74
51
  ],
75
52
  "license": "BSD-3-Clause",
76
53
  "oclif": {
77
54
  "commands": "./lib/commands",
78
- "bin": "sfdx",
55
+ "bin": "sf",
79
56
  "devPlugins": [
80
57
  "@oclif/plugin-command-snapshot",
81
58
  "@salesforce/plugin-command-reference"
@@ -135,19 +112,21 @@
135
112
  }
136
113
  }
137
114
  }
138
- }
115
+ },
116
+ "flexibleTaxonomy": true,
117
+ "topicSeparator": " "
139
118
  },
140
119
  "repository": "salesforcecli/plugin-signups",
141
120
  "scripts": {
142
121
  "build": "wireit",
143
122
  "clean": "sf-clean",
144
123
  "clean-all": "sf-clean all",
145
- "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",
146
125
  "compile": "wireit",
147
126
  "docs": "sf-docs",
148
127
  "format": "wireit",
149
128
  "lint": "wireit",
150
- "postpack": "shx rm -f oclif.manifest.json",
129
+ "postpack": "shx rm -f oclif.manifest.json oclif.lock",
151
130
  "prepack": "sf-prepack",
152
131
  "prepare": "sf-install",
153
132
  "test": "wireit",
@@ -235,7 +214,7 @@
235
214
  "output": []
236
215
  },
237
216
  "test:command-reference": {
238
- "command": "\"./bin/dev\" commandreference:generate --erroronwarnings",
217
+ "command": "ts-node \"./bin/dev.js\" commandreference:generate --erroronwarnings",
239
218
  "files": [
240
219
  "src/**/*.ts",
241
220
  "messages/**",
@@ -246,7 +225,7 @@
246
225
  ]
247
226
  },
248
227
  "test:deprecation-policy": {
249
- "command": "\"./bin/dev\" snapshot:compare",
228
+ "command": "ts-node \"./bin/dev.js\" snapshot:compare",
250
229
  "files": [
251
230
  "src/**/*.ts"
252
231
  ],
@@ -256,7 +235,7 @@
256
235
  ]
257
236
  },
258
237
  "test:json-schema": {
259
- "command": "\"./bin/dev\" schema:compare",
238
+ "command": "ts-node \"./bin/dev.js\" schema:compare",
260
239
  "files": [
261
240
  "src/**/*.ts",
262
241
  "schemas"
@@ -264,8 +243,10 @@
264
243
  "output": []
265
244
  }
266
245
  },
246
+ "exports": "./lib/index.js",
247
+ "type": "module",
267
248
  "sfdx": {
268
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-signups/1.5.5.crt",
269
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-signups/1.5.5.sig"
249
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-signups/2.0.1.crt",
250
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-signups/2.0.1.sig"
270
251
  }
271
252
  }