@salesforce/plugin-apex 1.3.0 → 1.4.0

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,43 +1,56 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-apex",
3
3
  "description": "Apex commands",
4
- "version": "1.3.0",
4
+ "version": "1.4.0",
5
5
  "author": "Salesforce",
6
- "bugs": "https://github.com/forcedotcom/salesforcedx-apex/issues",
6
+ "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "main": "lib/index.js",
8
8
  "dependencies": {
9
9
  "@oclif/core": "^1.16.4",
10
- "@salesforce/apex-node": "1.3.0",
10
+ "@salesforce/apex-node": "1.6.0",
11
11
  "@salesforce/command": "^5.1.0",
12
- "@salesforce/core": "^3.23.3",
12
+ "@salesforce/core": "^3.32.12",
13
13
  "chalk": "^4.1.0",
14
- "tslib": "^1"
14
+ "tslib": "^2"
15
15
  },
16
16
  "devDependencies": {
17
- "@oclif/plugin-command-snapshot": "^3",
17
+ "@oclif/plugin-command-snapshot": "^3.2.11",
18
18
  "@oclif/plugin-help": "^5",
19
19
  "@oclif/test": "^2.2.2",
20
20
  "@salesforce/dev-config": "3.0.1",
21
+ "@salesforce/dev-scripts": "^3.1.0",
21
22
  "@salesforce/plugin-command-reference": "^1.3.16",
23
+ "@salesforce/prettier-config": "^0.0.2",
22
24
  "@salesforce/ts-sinon": "^1.1.2",
23
25
  "@salesforce/ts-types": "1.2.2",
24
- "@types/chai": "^4",
26
+ "@swc/core": "^1.3.21",
25
27
  "@types/mkdirp": "0.5.2",
26
- "@types/mocha": "^5",
27
- "@types/node": "^14",
28
- "chai": "^4",
28
+ "@typescript-eslint/eslint-plugin": "^5.33.0",
29
+ "@typescript-eslint/parser": "^5.33.0",
30
+ "chai": "^4.2.0",
29
31
  "cross-env": "7.0.2",
32
+ "eslint": "^8.21.0",
33
+ "eslint-config-prettier": "^8.5.0",
34
+ "eslint-config-salesforce": "^1.1.0",
35
+ "eslint-config-salesforce-license": "^0.1.6",
36
+ "eslint-config-salesforce-typescript": "^1.1.1",
37
+ "eslint-plugin-header": "^3.0.0",
38
+ "eslint-plugin-import": "^2.26.0",
39
+ "eslint-plugin-jsdoc": "^39.3.6",
30
40
  "globby": "^8",
31
- "mocha": "^5",
32
- "nyc": "^14.1.1",
33
- "oclif": "^2.6.3",
41
+ "husky": "^7.0.4",
42
+ "mocha": "^9.1.3",
43
+ "nyc": "^15.1.0",
44
+ "oclif": "^3.2.28",
45
+ "prettier": "^2.7.1",
46
+ "pretty-quick": "^3.1.0",
34
47
  "shx": "^0.3.4",
35
- "sinon": "^7.3.1",
36
- "ts-node": "^8.7.0",
48
+ "sinon": "10.0.0",
49
+ "ts-node": "^10.0.0",
37
50
  "typescript": "4.6.4"
38
51
  },
39
52
  "engines": {
40
- "node": ">=14.14.0"
53
+ "node": ">=14.0.0"
41
54
  },
42
55
  "files": [
43
56
  "yarn.lock",
@@ -45,21 +58,25 @@
45
58
  "/lib",
46
59
  "/messages",
47
60
  "/npm-shrinkwrap.json",
48
- "/oclif.manifest.json",
49
- "yarn.lock"
61
+ "/oclif.manifest.json"
50
62
  ],
51
- "homepage": "https://github.com/forcedotcom/salesforcedx-apex",
63
+ "homepage": "https://github.com/salesforcecli/plugin-apex",
52
64
  "keywords": [
53
65
  "force",
54
66
  "salesforce",
55
67
  "sfdx",
56
- "salesforcedx",
57
68
  "sfdx-plugin",
58
- "apex"
69
+ "sf-plugin",
70
+ "apex",
71
+ "sf"
59
72
  ],
60
73
  "license": "BSD-3-Clause",
61
74
  "oclif": {
62
75
  "commands": "./lib/commands",
76
+ "additionalHelpFlags": [
77
+ "-h"
78
+ ],
79
+ "bin": "sfdx",
63
80
  "topics": {
64
81
  "force": {
65
82
  "external": true,
@@ -73,42 +90,39 @@
73
90
  },
74
91
  "test": {
75
92
  "description": "run Apex tests and retrieve test reports"
76
- },
77
- "class": {
78
- "external": true
79
- },
80
- "trigger": {
81
- "external": true
82
93
  }
83
94
  }
84
95
  }
85
96
  }
86
97
  }
87
98
  },
88
- "bin": "sfdx",
89
99
  "devPlugins": [
90
100
  "@oclif/plugin-help",
91
101
  "@oclif/plugin-command-snapshot",
92
102
  "@salesforce/plugin-command-reference"
93
103
  ]
94
104
  },
95
- "repository": "forcedotcom/salesforcedx-apex",
105
+ "repository": "salesforcecli/plugin-apex",
96
106
  "scripts": {
97
- "build": "shx rm -rf lib && tsc -b",
98
- "format": "prettier --config ../../.prettierrc --write './{src,test,scripts}/**/*.{ts,js,json}'",
99
- "lint": "eslint -c .eslintrc.json --ext .ts ./src ./test",
100
- "manifest:generate": "yarn build && oclif manifest",
107
+ "build": "sf-build",
108
+ "clean": "sf-clean",
109
+ "clean-all": "sf-clean all",
110
+ "clean:lib": "shx rm -rf lib && shx rm -rf coverage && shx rm -rf .nyc_output && shx rm -f oclif.manifest.json",
111
+ "compile": "sf-compile",
112
+ "docs": "sf-docs",
113
+ "format": "sf-format",
114
+ "lint": "sf-lint",
101
115
  "postpack": "shx rm -f oclif.manifest.json",
102
- "test": "cross-env FORCE_COLOR=true mocha --recursive \"./test/**/*.test.ts\" --full-trace",
103
- "version": "oclif readme && git add README.md",
104
- "test:deprecation-policy": "./bin/run snapshot:compare",
105
- "test:command-reference": "./bin/run commandreference:generate -p apex --erroronwarnings",
106
- "package": "npm pack"
107
- },
108
- "husky": {
109
- "hooks": {
110
- "pre-commit": "yarn lint-staged"
111
- }
116
+ "posttest": "yarn lint && yarn test:deprecation-policy && yarn test:json-schema && yarn test:command-reference",
117
+ "prepack": "sf-prepack",
118
+ "prepare": "sf-install",
119
+ "pretest": "sf-compile-test",
120
+ "test": "sf-test",
121
+ "test:command-reference": "./bin/dev commandreference:generate --erroronwarnings",
122
+ "test:deprecation-policy": "./bin/dev snapshot:compare",
123
+ "test:json-schema": "./bin/dev schema:compare",
124
+ "test:nuts": "nyc mocha \"**/*.nut.ts\" --slow 4500 --timeout 600000 --parallel",
125
+ "version": "oclif readme"
112
126
  },
113
127
  "lint-staged": {
114
128
  "./{src,test}/**/*.{ts,js}": [
@@ -116,7 +130,7 @@
116
130
  ]
117
131
  },
118
132
  "sfdx": {
119
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/sfdx-cli-03032020.crt",
120
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/signatures/salesforce-plugin-apex-1.3.0.sig"
133
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-apex/1.4.0.crt",
134
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-apex/1.4.0.sig"
121
135
  }
122
136
  }