@j-schreiber/sf-cli-security-audit 0.2.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.
@@ -0,0 +1,4 @@
1
+ {
2
+ "commands": {},
3
+ "version": "0.2.0"
4
+ }
package/package.json ADDED
@@ -0,0 +1,234 @@
1
+ {
2
+ "name": "@j-schreiber/sf-cli-security-audit",
3
+ "description": "Salesforce CLI plugin to automate highly configurable security audits",
4
+ "version": "0.2.0",
5
+ "repository": {
6
+ "type": "https",
7
+ "url": "https://github.com/j-schreiber/js-sf-cli-security-audit"
8
+ },
9
+ "dependencies": {
10
+ "@jsforce/jsforce-node": "^3.4.2",
11
+ "@oclif/core": "^4",
12
+ "@oclif/multi-stage-output": "^0.8.16",
13
+ "@salesforce/apex-node": "^8.1.19",
14
+ "@salesforce/core": "^8.5.7",
15
+ "@salesforce/kit": "^3.2.3",
16
+ "@salesforce/packaging": "^4.2.15",
17
+ "@salesforce/sf-plugins-core": "^12.0.8",
18
+ "@salesforce/source-deploy-retrieve": "^12.21.5",
19
+ "@salesforce/ts-types": "^2.0.12",
20
+ "fast-xml-parser": "5",
21
+ "js-yaml": "^4.1.0",
22
+ "zod": "4"
23
+ },
24
+ "devDependencies": {
25
+ "@oclif/plugin-command-snapshot": "^5.1.9",
26
+ "@oclif/test": "^4.1.13",
27
+ "@release-it/conventional-changelog": "^10.0.1",
28
+ "@salesforce/cli-plugins-testkit": "^5.3.10",
29
+ "@salesforce/dev-scripts": "11",
30
+ "@types/js-yaml": "^4.0.9",
31
+ "@types/node": "^24.2.1",
32
+ "eslint": "8",
33
+ "eslint-plugin-sf-plugin": "^1.18.6",
34
+ "husky": "^9.1.7",
35
+ "oclif": "^4.14.0",
36
+ "release-it": "^19.0.3",
37
+ "ts-node": "^10.9.2",
38
+ "tsx": "^4.19.2",
39
+ "typescript": "^5.8.3"
40
+ },
41
+ "engines": {
42
+ "node": ">=18.0.0"
43
+ },
44
+ "files": [
45
+ "/lib",
46
+ "/messages",
47
+ "/oclif.manifest.json",
48
+ "/oclif.lock"
49
+ ],
50
+ "keywords": [
51
+ "force",
52
+ "salesforce",
53
+ "salesforcedx",
54
+ "sf",
55
+ "sf-plugin",
56
+ "sfdx",
57
+ "sfdx-plugin"
58
+ ],
59
+ "license": "BSD-3-Clause",
60
+ "oclif": {
61
+ "commands": "./lib/commands",
62
+ "bin": "sf",
63
+ "topicSeparator": " ",
64
+ "devPlugins": [
65
+ "@oclif/plugin-help"
66
+ ],
67
+ "topics": {
68
+ "org": {
69
+ "description": "Org namespace",
70
+ "subtopics": {
71
+ "audit": {
72
+ "description": "Initialise and run security audits"
73
+ }
74
+ }
75
+ }
76
+ },
77
+ "flexibleTaxonomy": true
78
+ },
79
+ "scripts": {
80
+ "build": "wireit",
81
+ "clean": "sf-clean",
82
+ "clean-all": "sf-clean all",
83
+ "compile": "wireit",
84
+ "docs": "sf-docs",
85
+ "format": "wireit",
86
+ "pretty-quick-staged": "pretty-quick --staged",
87
+ "link-check": "wireit",
88
+ "lint": "wireit",
89
+ "postpack": "sf-clean --ignore-signing-artifacts",
90
+ "prepack": "sf-prepack",
91
+ "test": "wireit",
92
+ "test:nuts": "nyc mocha \"**/*.nut.ts\" --slow 4500 --timeout 600000 --parallel",
93
+ "test:only": "wireit",
94
+ "readme": "wireit",
95
+ "prepare": "husky",
96
+ "release": "rm -rf .wireit && yarn build && release-it"
97
+ },
98
+ "publishConfig": {
99
+ "access": "public",
100
+ "registry": "https://registry.npmjs.org"
101
+ },
102
+ "wireit": {
103
+ "build": {
104
+ "dependencies": [
105
+ "clean-deps",
106
+ "compile",
107
+ "lint"
108
+ ]
109
+ },
110
+ "clean-deps": {
111
+ "command": "rm -rf node_modules/@types/{glob,minimatch,shelljs}"
112
+ },
113
+ "compile": {
114
+ "command": "tsc -p . --pretty --incremental",
115
+ "files": [
116
+ "src/**/*.ts",
117
+ "**/tsconfig.json",
118
+ "messages/**"
119
+ ],
120
+ "output": [
121
+ "lib/**",
122
+ "*.tsbuildinfo"
123
+ ],
124
+ "clean": "if-file-deleted"
125
+ },
126
+ "format": {
127
+ "command": "prettier --write \"+(src|test|schemas)/**/*.+(ts|js|json)|command-snapshot.json\"",
128
+ "files": [
129
+ "src/**/*.ts",
130
+ "test/**/*.ts",
131
+ "schemas/**/*.json",
132
+ "command-snapshot.json",
133
+ ".prettier*"
134
+ ],
135
+ "output": []
136
+ },
137
+ "lint": {
138
+ "command": "eslint src test --color --cache --cache-location .eslintcache",
139
+ "files": [
140
+ "src/**/*.ts",
141
+ "test/**/*.ts",
142
+ "messages/**",
143
+ "**/.eslint*",
144
+ "**/tsconfig.json"
145
+ ],
146
+ "output": []
147
+ },
148
+ "test:compile": {
149
+ "command": "tsc -p \"./test\" --pretty",
150
+ "files": [
151
+ "test/**/*.ts",
152
+ "**/tsconfig.json"
153
+ ],
154
+ "output": []
155
+ },
156
+ "test": {
157
+ "dependencies": [
158
+ "test:compile",
159
+ "test:only",
160
+ "lint"
161
+ ]
162
+ },
163
+ "test:only": {
164
+ "command": "nyc mocha \"test/**/*.test.ts\"",
165
+ "env": {
166
+ "FORCE_COLOR": "2"
167
+ },
168
+ "files": [
169
+ "test/**/*.ts",
170
+ "src/**/*.ts",
171
+ "**/tsconfig.json",
172
+ ".mocha*",
173
+ "!*.nut.ts",
174
+ ".nycrc"
175
+ ],
176
+ "output": []
177
+ },
178
+ "test:command-reference": {
179
+ "command": "node --loader ts-node/esm --no-warnings=ExperimentalWarning \"./bin/dev.js\" commandreference:generate --erroronwarnings",
180
+ "files": [
181
+ "src/**/*.ts",
182
+ "messages/**",
183
+ "package.json"
184
+ ],
185
+ "output": [
186
+ "tmp/root"
187
+ ]
188
+ },
189
+ "test:deprecation-policy": {
190
+ "command": "node --loader ts-node/esm --no-warnings=ExperimentalWarning \"./bin/dev.js\" snapshot:compare",
191
+ "files": [
192
+ "src/**/*.ts"
193
+ ],
194
+ "output": [],
195
+ "dependencies": [
196
+ "compile"
197
+ ]
198
+ },
199
+ "test:json-schema": {
200
+ "command": "node --loader ts-node/esm --no-warnings=ExperimentalWarning \"./bin/dev.js\" schema:compare",
201
+ "files": [
202
+ "src/**/*.ts",
203
+ "schemas"
204
+ ],
205
+ "output": []
206
+ },
207
+ "link-check": {
208
+ "command": "node -e \"process.exit(process.env.CI ? 0 : 1)\" || linkinator \"**/*.md\" --skip \"CHANGELOG.md|node_modules|test/|confluence.internal.salesforce.com|my.salesforce.com|%s\" --markdown --retry --directory-listing --verbosity error",
209
+ "files": [
210
+ "./*.md",
211
+ "./!(CHANGELOG).md",
212
+ "messages/**/*.md"
213
+ ],
214
+ "output": []
215
+ },
216
+ "readme": {
217
+ "dependencies": [
218
+ "build"
219
+ ],
220
+ "command": "oclif readme && pretty-quick"
221
+ }
222
+ },
223
+ "exports": "./lib/index.js",
224
+ "type": "module",
225
+ "author": "Jannis Schreiber",
226
+ "main": "index.js",
227
+ "bin": {
228
+ "sf-plugin": "bin/dev.js"
229
+ },
230
+ "directories": {
231
+ "lib": "lib",
232
+ "test": "test"
233
+ }
234
+ }