@simplysf/simply-aep 0.1.0 → 0.3.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/LICENSE.txt +206 -0
- package/README.md +188 -82
- package/lib/commands/simply/aep/at4dx/domain-process-binding/list.d.ts +22 -0
- package/lib/commands/simply/aep/at4dx/domain-process-binding/list.js +131 -0
- package/lib/commands/simply/aep/at4dx/domain-process-binding/list.js.map +1 -0
- package/lib/common/at4dxDomainProcessBindingTypes.d.ts +55 -0
- package/lib/common/at4dxDomainProcessBindingTypes.js +29 -0
- package/lib/common/at4dxDomainProcessBindingTypes.js.map +1 -0
- package/lib/common/at4dxDomainProcessLocalScan.d.ts +15 -0
- package/lib/common/at4dxDomainProcessLocalScan.js +95 -0
- package/lib/common/at4dxDomainProcessLocalScan.js.map +1 -0
- package/lib/common/at4dxDomainProcessOrgScan.d.ts +16 -0
- package/lib/common/at4dxDomainProcessOrgScan.js +78 -0
- package/lib/common/at4dxDomainProcessOrgScan.js.map +1 -0
- package/lib/common/at4dxDomainProcessResolve.d.ts +17 -0
- package/lib/common/at4dxDomainProcessResolve.js +70 -0
- package/lib/common/at4dxDomainProcessResolve.js.map +1 -0
- package/lib/common/at4dxLocalScan.js +2 -18
- package/lib/common/at4dxLocalScan.js.map +1 -1
- package/lib/common/customMetadataXml.d.ts +21 -0
- package/lib/common/customMetadataXml.js +41 -0
- package/lib/common/customMetadataXml.js.map +1 -0
- package/lib/index.d.ts +4 -0
- package/lib/index.js +4 -0
- package/lib/index.js.map +1 -1
- package/messages/simply.aep.at4dx.binding.list.md +67 -67
- package/messages/simply.aep.at4dx.domain-process-binding.list.md +63 -0
- package/package.json +210 -209
|
@@ -1,67 +1,67 @@
|
|
|
1
|
-
# summary
|
|
2
|
-
|
|
3
|
-
List the AT4DX Application Factory bindings configured in an org or local source, resolved to show which record wins for each binding key.
|
|
4
|
-
|
|
5
|
-
# description
|
|
6
|
-
|
|
7
|
-
Reads the four AT4DX Application Factory Custom Metadata Types — `ApplicationFactory_ServiceBinding__mdt`, `ApplicationFactory_SelectorBinding__mdt`, `ApplicationFactory_DomainBinding__mdt`, and `ApplicationFactory_UnitOfWorkBinding__mdt` — either from a live org or from local Salesforce DX source, and reproduces the resolution rules AT4DX applies at runtime so you can see which record actually wins for a given interface or SObject, and which ones are shadowed. Exactly one of `--target-org` or `--source-dir` must be specified.
|
|
8
|
-
|
|
9
|
-
Service and Selector bindings resolve deterministically on `Priority__c` (highest wins). Domain bindings have no priority field, so a duplicated key is flagged `ambiguous` rather than reporting a guessed winner. UnitOfWork bindings have no winner concept at all — every record contributes to one ordered registration list.
|
|
10
|
-
|
|
11
|
-
# flags.target-org.summary
|
|
12
|
-
|
|
13
|
-
Username or alias of the org to read bindings from. Use this for live-org discovery.
|
|
14
|
-
|
|
15
|
-
# flags.source-dir.summary
|
|
16
|
-
|
|
17
|
-
One or more paths to directories containing Salesforce DX source. Use this for local-source discovery.
|
|
18
|
-
|
|
19
|
-
# flags.type.summary
|
|
20
|
-
|
|
21
|
-
Binding type(s) to include: service, selector, domain, unit-of-work.
|
|
22
|
-
|
|
23
|
-
# flags.type.description
|
|
24
|
-
|
|
25
|
-
Comma-separated list of binding types to include. If not specified, all four are included.
|
|
26
|
-
|
|
27
|
-
# flags.effective-only.summary
|
|
28
|
-
|
|
29
|
-
Only show the bindings that actually win for their key; hide shadowed/non-winning records.
|
|
30
|
-
|
|
31
|
-
# examples
|
|
32
|
-
|
|
33
|
-
- <%= config.bin %> <%= command.id %> --target-org myOrg
|
|
34
|
-
|
|
35
|
-
- <%= config.bin %> <%= command.id %> --source-dir sfdx-source/core --source-dir sfdx-source/app
|
|
36
|
-
|
|
37
|
-
- <%= config.bin %> <%= command.id %> --target-org myOrg --type service,selector
|
|
38
|
-
|
|
39
|
-
- <%= config.bin %> <%= command.id %> --target-org myOrg --effective-only --json
|
|
40
|
-
|
|
41
|
-
# error.targetOrgOrSourceDirRequired
|
|
42
|
-
|
|
43
|
-
You must specify either --target-org or --source-dir, but not both.
|
|
44
|
-
|
|
45
|
-
# error.at4dxNotDetected
|
|
46
|
-
|
|
47
|
-
AT4DX doesn't appear to be present in this source: none of the Application Factory binding Custom Metadata Types were found.
|
|
48
|
-
|
|
49
|
-
# error.localScanFailed
|
|
50
|
-
|
|
51
|
-
Failed to scan the project directory: %s
|
|
52
|
-
|
|
53
|
-
# error.orgQueryFailed
|
|
54
|
-
|
|
55
|
-
Failed to query bindings from the org: %s
|
|
56
|
-
|
|
57
|
-
# info.queryingOrg
|
|
58
|
-
|
|
59
|
-
Querying bindings from %s...
|
|
60
|
-
|
|
61
|
-
# info.scanningLocalSource
|
|
62
|
-
|
|
63
|
-
Scanning local source for bindings...
|
|
64
|
-
|
|
65
|
-
# info.complete
|
|
66
|
-
|
|
67
|
-
Found %s binding(s) in %s
|
|
1
|
+
# summary
|
|
2
|
+
|
|
3
|
+
List the AT4DX Application Factory bindings configured in an org or local source, resolved to show which record wins for each binding key.
|
|
4
|
+
|
|
5
|
+
# description
|
|
6
|
+
|
|
7
|
+
Reads the four AT4DX Application Factory Custom Metadata Types — `ApplicationFactory_ServiceBinding__mdt`, `ApplicationFactory_SelectorBinding__mdt`, `ApplicationFactory_DomainBinding__mdt`, and `ApplicationFactory_UnitOfWorkBinding__mdt` — either from a live org or from local Salesforce DX source, and reproduces the resolution rules AT4DX applies at runtime so you can see which record actually wins for a given interface or SObject, and which ones are shadowed. Exactly one of `--target-org` or `--source-dir` must be specified.
|
|
8
|
+
|
|
9
|
+
Service and Selector bindings resolve deterministically on `Priority__c` (highest wins). Domain bindings have no priority field, so a duplicated key is flagged `ambiguous` rather than reporting a guessed winner. UnitOfWork bindings have no winner concept at all — every record contributes to one ordered registration list.
|
|
10
|
+
|
|
11
|
+
# flags.target-org.summary
|
|
12
|
+
|
|
13
|
+
Username or alias of the org to read bindings from. Use this for live-org discovery.
|
|
14
|
+
|
|
15
|
+
# flags.source-dir.summary
|
|
16
|
+
|
|
17
|
+
One or more paths to directories containing Salesforce DX source. Use this for local-source discovery.
|
|
18
|
+
|
|
19
|
+
# flags.type.summary
|
|
20
|
+
|
|
21
|
+
Binding type(s) to include: service, selector, domain, unit-of-work.
|
|
22
|
+
|
|
23
|
+
# flags.type.description
|
|
24
|
+
|
|
25
|
+
Comma-separated list of binding types to include. If not specified, all four are included.
|
|
26
|
+
|
|
27
|
+
# flags.effective-only.summary
|
|
28
|
+
|
|
29
|
+
Only show the bindings that actually win for their key; hide shadowed/non-winning records.
|
|
30
|
+
|
|
31
|
+
# examples
|
|
32
|
+
|
|
33
|
+
- <%= config.bin %> <%= command.id %> --target-org myOrg
|
|
34
|
+
|
|
35
|
+
- <%= config.bin %> <%= command.id %> --source-dir sfdx-source/core --source-dir sfdx-source/app
|
|
36
|
+
|
|
37
|
+
- <%= config.bin %> <%= command.id %> --target-org myOrg --type service,selector
|
|
38
|
+
|
|
39
|
+
- <%= config.bin %> <%= command.id %> --target-org myOrg --effective-only --json
|
|
40
|
+
|
|
41
|
+
# error.targetOrgOrSourceDirRequired
|
|
42
|
+
|
|
43
|
+
You must specify either --target-org or --source-dir, but not both.
|
|
44
|
+
|
|
45
|
+
# error.at4dxNotDetected
|
|
46
|
+
|
|
47
|
+
AT4DX doesn't appear to be present in this source: none of the Application Factory binding Custom Metadata Types were found.
|
|
48
|
+
|
|
49
|
+
# error.localScanFailed
|
|
50
|
+
|
|
51
|
+
Failed to scan the project directory: %s
|
|
52
|
+
|
|
53
|
+
# error.orgQueryFailed
|
|
54
|
+
|
|
55
|
+
Failed to query bindings from the org: %s
|
|
56
|
+
|
|
57
|
+
# info.queryingOrg
|
|
58
|
+
|
|
59
|
+
Querying bindings from %s...
|
|
60
|
+
|
|
61
|
+
# info.scanningLocalSource
|
|
62
|
+
|
|
63
|
+
Scanning local source for bindings...
|
|
64
|
+
|
|
65
|
+
# info.complete
|
|
66
|
+
|
|
67
|
+
Found %s binding(s) in %s
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# summary
|
|
2
|
+
|
|
3
|
+
List the AT4DX Trigger Action Framework bindings configured in an org or local source, in execution order.
|
|
4
|
+
|
|
5
|
+
# description
|
|
6
|
+
|
|
7
|
+
Reads AT4DX's Trigger Action Framework Custom Metadata Type — `DomainProcessBinding__mdt` — either from a live org or from local Salesforce DX source, showing which criteria/action classes are bound to each SObject's trigger events (or domain method tokens), and the order they run in. Exactly one of `--target-org` or `--source-dir` must be specified.
|
|
8
|
+
|
|
9
|
+
Unlike `simply aep at4dx binding list`, there's no "winner" here — every active record in a group (same SObject, process context, and trigger operation or domain method token) runs, in `OrderOfExecution__c` order. Two active records sharing the same order within a group are flagged as a collision, since AT4DX doesn't guarantee which one runs first in that case.
|
|
10
|
+
|
|
11
|
+
# flags.target-org.summary
|
|
12
|
+
|
|
13
|
+
Username or alias of the org to read bindings from. Use this for live-org discovery.
|
|
14
|
+
|
|
15
|
+
# flags.source-dir.summary
|
|
16
|
+
|
|
17
|
+
One or more paths to directories containing Salesforce DX source. Use this for local-source discovery.
|
|
18
|
+
|
|
19
|
+
# flags.sobject.summary
|
|
20
|
+
|
|
21
|
+
SObject API name(s) to filter to. If not specified, bindings for every SObject are included.
|
|
22
|
+
|
|
23
|
+
# flags.active-only.summary
|
|
24
|
+
|
|
25
|
+
Only show active bindings; hide inactive records.
|
|
26
|
+
|
|
27
|
+
# examples
|
|
28
|
+
|
|
29
|
+
- <%= config.bin %> <%= command.id %> --target-org myOrg
|
|
30
|
+
|
|
31
|
+
- <%= config.bin %> <%= command.id %> --source-dir sfdx-source/core --source-dir sfdx-source/app
|
|
32
|
+
|
|
33
|
+
- <%= config.bin %> <%= command.id %> --target-org myOrg --sobject Account
|
|
34
|
+
|
|
35
|
+
- <%= config.bin %> <%= command.id %> --target-org myOrg --active-only --json
|
|
36
|
+
|
|
37
|
+
# error.targetOrgOrSourceDirRequired
|
|
38
|
+
|
|
39
|
+
You must specify either --target-org or --source-dir, but not both.
|
|
40
|
+
|
|
41
|
+
# error.at4dxNotDetected
|
|
42
|
+
|
|
43
|
+
AT4DX's Trigger Action Framework doesn't appear to be present in this source: the DomainProcessBinding__mdt Custom Metadata Type wasn't found.
|
|
44
|
+
|
|
45
|
+
# error.localScanFailed
|
|
46
|
+
|
|
47
|
+
Failed to scan the project directory: %s
|
|
48
|
+
|
|
49
|
+
# error.orgQueryFailed
|
|
50
|
+
|
|
51
|
+
Failed to query bindings from the org: %s
|
|
52
|
+
|
|
53
|
+
# info.queryingOrg
|
|
54
|
+
|
|
55
|
+
Querying bindings from %s...
|
|
56
|
+
|
|
57
|
+
# info.scanningLocalSource
|
|
58
|
+
|
|
59
|
+
Scanning local source for bindings...
|
|
60
|
+
|
|
61
|
+
# info.complete
|
|
62
|
+
|
|
63
|
+
Found %s binding(s) in %s
|
package/package.json
CHANGED
|
@@ -1,209 +1,210 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@simplysf/simply-aep",
|
|
3
|
-
"description": "Commands for Apex Enterprise Patterns tooling (fflib, force-di, AT4DX)",
|
|
4
|
-
"version": "0.
|
|
5
|
-
"author": "@ClayChipps",
|
|
6
|
-
"homepage": "https://github.com/SimplySF/simply-node",
|
|
7
|
-
"bugs": "https://github.com/SimplySF/simply-node/issues",
|
|
8
|
-
"repository": {
|
|
9
|
-
"type": "git",
|
|
10
|
-
"url": "https://github.com/SimplySF/simply-node",
|
|
11
|
-
"directory": "packages/simply-aep"
|
|
12
|
-
},
|
|
13
|
-
"engines": {
|
|
14
|
-
"node": ">=22.0.0"
|
|
15
|
-
},
|
|
16
|
-
"files": [
|
|
17
|
-
"/lib",
|
|
18
|
-
"/messages",
|
|
19
|
-
"/npm-shrinkwrap.json",
|
|
20
|
-
"/oclif.lock",
|
|
21
|
-
"/oclif.manifest.json"
|
|
22
|
-
],
|
|
23
|
-
"keywords": [
|
|
24
|
-
"force",
|
|
25
|
-
"salesforce",
|
|
26
|
-
"sfdx",
|
|
27
|
-
"salesforcedx",
|
|
28
|
-
"sfdx-plugin",
|
|
29
|
-
"sf-plugin",
|
|
30
|
-
"sf"
|
|
31
|
-
],
|
|
32
|
-
"license": "Apache-2.0",
|
|
33
|
-
"exports": "./lib/index.js",
|
|
34
|
-
"type": "module",
|
|
35
|
-
"oclif": {
|
|
36
|
-
"bin": "sf",
|
|
37
|
-
"commands": "./lib/commands",
|
|
38
|
-
"devPlugins": [
|
|
39
|
-
"@oclif/plugin-command-snapshot",
|
|
40
|
-
"@oclif/plugin-help",
|
|
41
|
-
"@salesforce/plugin-command-reference"
|
|
42
|
-
],
|
|
43
|
-
"flexibleTaxonomy": true,
|
|
44
|
-
"plugins": [],
|
|
45
|
-
"repositoryPrefix": "<%- repo %>/blob/@simplysf/simply-aep@<%- version %>/packages/simply-aep/<%- commandPath %>",
|
|
46
|
-
"topics": {
|
|
47
|
-
"simply": {
|
|
48
|
-
"description": "Commands for simplifying Salesforce",
|
|
49
|
-
"subtopics": {
|
|
50
|
-
"aep": {
|
|
51
|
-
"description": "Commands for Apex Enterprise Patterns tooling (fflib, force-di, AT4DX)"
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
"topicSeparator": " "
|
|
57
|
-
},
|
|
58
|
-
"dependencies": {
|
|
59
|
-
"@oclif/core": "^4.11.2",
|
|
60
|
-
"@salesforce/core": "^8.30.0",
|
|
61
|
-
"@salesforce/sf-plugins-core": "^12.2.16",
|
|
62
|
-
"@salesforce/source-deploy-retrieve": "^12.37.2",
|
|
63
|
-
"@simplysf/simply-core": "
|
|
64
|
-
},
|
|
65
|
-
"devDependencies": {
|
|
66
|
-
"@oclif/plugin-command-snapshot": "^5.3.19",
|
|
67
|
-
"@salesforce/plugin-command-reference": "^3.1.99",
|
|
68
|
-
"@vitest/coverage-v8": "^4.1.10",
|
|
69
|
-
"vitest": "^4.1.10"
|
|
70
|
-
},
|
|
71
|
-
"publishConfig": {
|
|
72
|
-
"access": "public"
|
|
73
|
-
},
|
|
74
|
-
"scripts": {
|
|
75
|
-
"build": "wireit",
|
|
76
|
-
"compile": "wireit",
|
|
77
|
-
"fix-license": "eslint src test --fix --rule \"header/header: [2]\"",
|
|
78
|
-
"format": "wireit",
|
|
79
|
-
"link-check": "wireit",
|
|
80
|
-
"lint": "wireit",
|
|
81
|
-
"readme": "oclif readme --no-aliases",
|
|
82
|
-
"test": "wireit",
|
|
83
|
-
"test:coverage": "vitest run --coverage --project simply-aep",
|
|
84
|
-
"test:nuts": "vitest run --config ../../vitest.nuts.config.ts --project simply-aep",
|
|
85
|
-
"test:only": "wireit",
|
|
86
|
-
"test:watch": "vitest watch --project simply-aep"
|
|
87
|
-
},
|
|
88
|
-
"wireit": {
|
|
89
|
-
"build": {
|
|
90
|
-
"dependencies": [
|
|
91
|
-
"command-snapshot",
|
|
92
|
-
"compile",
|
|
93
|
-
"lint"
|
|
94
|
-
]
|
|
95
|
-
},
|
|
96
|
-
"compile": {
|
|
97
|
-
"command": "tsc -p . --pretty --incremental",
|
|
98
|
-
"files": [
|
|
99
|
-
"src/**/*.ts",
|
|
100
|
-
"**/tsconfig.json",
|
|
101
|
-
"../../tsconfig.json",
|
|
102
|
-
"messages/**"
|
|
103
|
-
],
|
|
104
|
-
"output": [
|
|
105
|
-
"lib/**",
|
|
106
|
-
"*.tsbuildinfo"
|
|
107
|
-
],
|
|
108
|
-
"clean": "if-file-deleted"
|
|
109
|
-
},
|
|
110
|
-
"format": {
|
|
111
|
-
"command": "prettier --write \"+(src|test|schemas)/**/*.+(ts|js|json)|command-snapshot.json\"",
|
|
112
|
-
"files": [
|
|
113
|
-
"src/**/*.ts",
|
|
114
|
-
"test/**/*.ts",
|
|
115
|
-
"schemas/**/*.json",
|
|
116
|
-
"command-snapshot.json",
|
|
117
|
-
".prettier*"
|
|
118
|
-
],
|
|
119
|
-
"output": []
|
|
120
|
-
},
|
|
121
|
-
"lint": {
|
|
122
|
-
"command": "eslint src test --color --cache --cache-location .eslintcache",
|
|
123
|
-
"files": [
|
|
124
|
-
"src/**/*.ts",
|
|
125
|
-
"test/**/*.ts",
|
|
126
|
-
"messages/**",
|
|
127
|
-
"**/.eslint*",
|
|
128
|
-
"**/tsconfig.json",
|
|
129
|
-
"../../eslint.config.mjs",
|
|
130
|
-
"../../tsconfig.json"
|
|
131
|
-
],
|
|
132
|
-
"output": []
|
|
133
|
-
},
|
|
134
|
-
"test": {
|
|
135
|
-
"dependencies": [
|
|
136
|
-
"test:compile",
|
|
137
|
-
"test:only",
|
|
138
|
-
"test:command-reference",
|
|
139
|
-
"lint",
|
|
140
|
-
"test:json-schema",
|
|
141
|
-
"link-check"
|
|
142
|
-
]
|
|
143
|
-
},
|
|
144
|
-
"test:command-reference": {
|
|
145
|
-
"command": "node --loader ts-node/esm --no-warnings=ExperimentalWarning \"./bin/dev.js\" commandreference:generate --erroronwarnings",
|
|
146
|
-
"files": [
|
|
147
|
-
"src/**/*.ts",
|
|
148
|
-
"messages/**",
|
|
149
|
-
"package.json"
|
|
150
|
-
],
|
|
151
|
-
"output": [
|
|
152
|
-
"tmp/root"
|
|
153
|
-
]
|
|
154
|
-
},
|
|
155
|
-
"command-snapshot": {
|
|
156
|
-
"command": "node --loader ts-node/esm --no-warnings=ExperimentalWarning \"./bin/dev.js\" snapshot:generate && prettier --write command-snapshot.json",
|
|
157
|
-
"files": [
|
|
158
|
-
"src/**/*.ts"
|
|
159
|
-
],
|
|
160
|
-
"output": [
|
|
161
|
-
"command-snapshot.json"
|
|
162
|
-
],
|
|
163
|
-
"dependencies": [
|
|
164
|
-
"compile"
|
|
165
|
-
]
|
|
166
|
-
},
|
|
167
|
-
"test:json-schema": {
|
|
168
|
-
"command": "node --loader ts-node/esm --no-warnings=ExperimentalWarning \"./bin/dev.js\" schema:compare",
|
|
169
|
-
"files": [
|
|
170
|
-
"src/**/*.ts",
|
|
171
|
-
"schemas"
|
|
172
|
-
],
|
|
173
|
-
"output": []
|
|
174
|
-
},
|
|
175
|
-
"test:compile": {
|
|
176
|
-
"command": "tsc -p \"./test\" --pretty",
|
|
177
|
-
"files": [
|
|
178
|
-
"test/**/*.ts",
|
|
179
|
-
"**/tsconfig.json",
|
|
180
|
-
"../../tsconfig.json"
|
|
181
|
-
],
|
|
182
|
-
"output": []
|
|
183
|
-
},
|
|
184
|
-
"test:only": {
|
|
185
|
-
"command": "vitest run --project simply-aep",
|
|
186
|
-
"env": {
|
|
187
|
-
"FORCE_COLOR": "2"
|
|
188
|
-
},
|
|
189
|
-
"files": [
|
|
190
|
-
"test/**/*.ts",
|
|
191
|
-
"src/**/*.ts",
|
|
192
|
-
"**/tsconfig.json",
|
|
193
|
-
"../../tsconfig.json",
|
|
194
|
-
"vitest.config.ts",
|
|
195
|
-
"!*.nut.ts"
|
|
196
|
-
],
|
|
197
|
-
"output": []
|
|
198
|
-
},
|
|
199
|
-
"link-check": {
|
|
200
|
-
"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|localhost|example\\.(com|org|net)|github\\.com/SimplySF/simply-node|raw\\.githubusercontent\\.com/SimplySF/simply-node|blob/.*/lib/|%s\" --markdown --retry --directory-listing --verbosity error",
|
|
201
|
-
"files": [
|
|
202
|
-
"./*.md",
|
|
203
|
-
"./!(CHANGELOG).md",
|
|
204
|
-
"messages/**/*.md"
|
|
205
|
-
],
|
|
206
|
-
"output": []
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@simplysf/simply-aep",
|
|
3
|
+
"description": "Commands for Apex Enterprise Patterns tooling (fflib, force-di, AT4DX)",
|
|
4
|
+
"version": "0.3.0",
|
|
5
|
+
"author": "@ClayChipps",
|
|
6
|
+
"homepage": "https://github.com/SimplySF/simply-node",
|
|
7
|
+
"bugs": "https://github.com/SimplySF/simply-node/issues",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "https://github.com/SimplySF/simply-node",
|
|
11
|
+
"directory": "packages/simply-aep"
|
|
12
|
+
},
|
|
13
|
+
"engines": {
|
|
14
|
+
"node": ">=22.0.0"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"/lib",
|
|
18
|
+
"/messages",
|
|
19
|
+
"/npm-shrinkwrap.json",
|
|
20
|
+
"/oclif.lock",
|
|
21
|
+
"/oclif.manifest.json"
|
|
22
|
+
],
|
|
23
|
+
"keywords": [
|
|
24
|
+
"force",
|
|
25
|
+
"salesforce",
|
|
26
|
+
"sfdx",
|
|
27
|
+
"salesforcedx",
|
|
28
|
+
"sfdx-plugin",
|
|
29
|
+
"sf-plugin",
|
|
30
|
+
"sf"
|
|
31
|
+
],
|
|
32
|
+
"license": "Apache-2.0",
|
|
33
|
+
"exports": "./lib/index.js",
|
|
34
|
+
"type": "module",
|
|
35
|
+
"oclif": {
|
|
36
|
+
"bin": "sf",
|
|
37
|
+
"commands": "./lib/commands",
|
|
38
|
+
"devPlugins": [
|
|
39
|
+
"@oclif/plugin-command-snapshot",
|
|
40
|
+
"@oclif/plugin-help",
|
|
41
|
+
"@salesforce/plugin-command-reference"
|
|
42
|
+
],
|
|
43
|
+
"flexibleTaxonomy": true,
|
|
44
|
+
"plugins": [],
|
|
45
|
+
"repositoryPrefix": "<%- repo %>/blob/@simplysf/simply-aep@<%- version %>/packages/simply-aep/<%- commandPath %>",
|
|
46
|
+
"topics": {
|
|
47
|
+
"simply": {
|
|
48
|
+
"description": "Commands for simplifying Salesforce",
|
|
49
|
+
"subtopics": {
|
|
50
|
+
"aep": {
|
|
51
|
+
"description": "Commands for Apex Enterprise Patterns tooling (fflib, force-di, AT4DX)"
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"topicSeparator": " "
|
|
57
|
+
},
|
|
58
|
+
"dependencies": {
|
|
59
|
+
"@oclif/core": "^4.11.2",
|
|
60
|
+
"@salesforce/core": "^8.30.0",
|
|
61
|
+
"@salesforce/sf-plugins-core": "^12.2.16",
|
|
62
|
+
"@salesforce/source-deploy-retrieve": "^12.37.2",
|
|
63
|
+
"@simplysf/simply-core": "^1.4.0"
|
|
64
|
+
},
|
|
65
|
+
"devDependencies": {
|
|
66
|
+
"@oclif/plugin-command-snapshot": "^5.3.19",
|
|
67
|
+
"@salesforce/plugin-command-reference": "^3.1.99",
|
|
68
|
+
"@vitest/coverage-v8": "^4.1.10",
|
|
69
|
+
"vitest": "^4.1.10"
|
|
70
|
+
},
|
|
71
|
+
"publishConfig": {
|
|
72
|
+
"access": "public"
|
|
73
|
+
},
|
|
74
|
+
"scripts": {
|
|
75
|
+
"build": "wireit",
|
|
76
|
+
"compile": "wireit",
|
|
77
|
+
"fix-license": "eslint src test --fix --rule \"header/header: [2]\"",
|
|
78
|
+
"format": "wireit",
|
|
79
|
+
"link-check": "wireit",
|
|
80
|
+
"lint": "wireit",
|
|
81
|
+
"readme": "oclif readme --no-aliases",
|
|
82
|
+
"test": "wireit",
|
|
83
|
+
"test:coverage": "vitest run --coverage --project simply-aep",
|
|
84
|
+
"test:nuts": "vitest run --config ../../vitest.nuts.config.ts --project simply-aep",
|
|
85
|
+
"test:only": "wireit",
|
|
86
|
+
"test:watch": "vitest watch --project simply-aep"
|
|
87
|
+
},
|
|
88
|
+
"wireit": {
|
|
89
|
+
"build": {
|
|
90
|
+
"dependencies": [
|
|
91
|
+
"command-snapshot",
|
|
92
|
+
"compile",
|
|
93
|
+
"lint"
|
|
94
|
+
]
|
|
95
|
+
},
|
|
96
|
+
"compile": {
|
|
97
|
+
"command": "tsc -p . --pretty --incremental",
|
|
98
|
+
"files": [
|
|
99
|
+
"src/**/*.ts",
|
|
100
|
+
"**/tsconfig.json",
|
|
101
|
+
"../../tsconfig.json",
|
|
102
|
+
"messages/**"
|
|
103
|
+
],
|
|
104
|
+
"output": [
|
|
105
|
+
"lib/**",
|
|
106
|
+
"*.tsbuildinfo"
|
|
107
|
+
],
|
|
108
|
+
"clean": "if-file-deleted"
|
|
109
|
+
},
|
|
110
|
+
"format": {
|
|
111
|
+
"command": "prettier --write \"+(src|test|schemas)/**/*.+(ts|js|json)|command-snapshot.json\"",
|
|
112
|
+
"files": [
|
|
113
|
+
"src/**/*.ts",
|
|
114
|
+
"test/**/*.ts",
|
|
115
|
+
"schemas/**/*.json",
|
|
116
|
+
"command-snapshot.json",
|
|
117
|
+
".prettier*"
|
|
118
|
+
],
|
|
119
|
+
"output": []
|
|
120
|
+
},
|
|
121
|
+
"lint": {
|
|
122
|
+
"command": "eslint src test --color --cache --cache-location .eslintcache",
|
|
123
|
+
"files": [
|
|
124
|
+
"src/**/*.ts",
|
|
125
|
+
"test/**/*.ts",
|
|
126
|
+
"messages/**",
|
|
127
|
+
"**/.eslint*",
|
|
128
|
+
"**/tsconfig.json",
|
|
129
|
+
"../../eslint.config.mjs",
|
|
130
|
+
"../../tsconfig.json"
|
|
131
|
+
],
|
|
132
|
+
"output": []
|
|
133
|
+
},
|
|
134
|
+
"test": {
|
|
135
|
+
"dependencies": [
|
|
136
|
+
"test:compile",
|
|
137
|
+
"test:only",
|
|
138
|
+
"test:command-reference",
|
|
139
|
+
"lint",
|
|
140
|
+
"test:json-schema",
|
|
141
|
+
"link-check"
|
|
142
|
+
]
|
|
143
|
+
},
|
|
144
|
+
"test:command-reference": {
|
|
145
|
+
"command": "node --loader ts-node/esm --no-warnings=ExperimentalWarning \"./bin/dev.js\" commandreference:generate --erroronwarnings",
|
|
146
|
+
"files": [
|
|
147
|
+
"src/**/*.ts",
|
|
148
|
+
"messages/**",
|
|
149
|
+
"package.json"
|
|
150
|
+
],
|
|
151
|
+
"output": [
|
|
152
|
+
"tmp/root"
|
|
153
|
+
]
|
|
154
|
+
},
|
|
155
|
+
"command-snapshot": {
|
|
156
|
+
"command": "node --loader ts-node/esm --no-warnings=ExperimentalWarning \"./bin/dev.js\" snapshot:generate && prettier --write command-snapshot.json",
|
|
157
|
+
"files": [
|
|
158
|
+
"src/**/*.ts"
|
|
159
|
+
],
|
|
160
|
+
"output": [
|
|
161
|
+
"command-snapshot.json"
|
|
162
|
+
],
|
|
163
|
+
"dependencies": [
|
|
164
|
+
"compile"
|
|
165
|
+
]
|
|
166
|
+
},
|
|
167
|
+
"test:json-schema": {
|
|
168
|
+
"command": "node --loader ts-node/esm --no-warnings=ExperimentalWarning \"./bin/dev.js\" schema:compare",
|
|
169
|
+
"files": [
|
|
170
|
+
"src/**/*.ts",
|
|
171
|
+
"schemas"
|
|
172
|
+
],
|
|
173
|
+
"output": []
|
|
174
|
+
},
|
|
175
|
+
"test:compile": {
|
|
176
|
+
"command": "tsc -p \"./test\" --pretty",
|
|
177
|
+
"files": [
|
|
178
|
+
"test/**/*.ts",
|
|
179
|
+
"**/tsconfig.json",
|
|
180
|
+
"../../tsconfig.json"
|
|
181
|
+
],
|
|
182
|
+
"output": []
|
|
183
|
+
},
|
|
184
|
+
"test:only": {
|
|
185
|
+
"command": "vitest run --project simply-aep",
|
|
186
|
+
"env": {
|
|
187
|
+
"FORCE_COLOR": "2"
|
|
188
|
+
},
|
|
189
|
+
"files": [
|
|
190
|
+
"test/**/*.ts",
|
|
191
|
+
"src/**/*.ts",
|
|
192
|
+
"**/tsconfig.json",
|
|
193
|
+
"../../tsconfig.json",
|
|
194
|
+
"vitest.config.ts",
|
|
195
|
+
"!*.nut.ts"
|
|
196
|
+
],
|
|
197
|
+
"output": []
|
|
198
|
+
},
|
|
199
|
+
"link-check": {
|
|
200
|
+
"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|localhost|example\\.(com|org|net)|github\\.com/SimplySF/simply-node|raw\\.githubusercontent\\.com/SimplySF/simply-node|blob/.*/lib/|%s\" --markdown --retry --directory-listing --verbosity error",
|
|
201
|
+
"files": [
|
|
202
|
+
"./*.md",
|
|
203
|
+
"./!(CHANGELOG).md",
|
|
204
|
+
"messages/**/*.md"
|
|
205
|
+
],
|
|
206
|
+
"output": []
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
"gitHead": "26fef0b9d3e7805f884efd70d6a058520d449777"
|
|
210
|
+
}
|