@salesforce/plugin-templates 55.1.0 → 55.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.
- package/LICENSE.txt +12 -0
- package/README.md +495 -17
- package/bin/dev +7 -3
- package/bin/run +3 -2
- package/lib/commands/force/project/create.js +1 -0
- package/lib/commands/force/project/create.js.map +1 -1
- package/lib/index.js +1 -1
- package/lib/utils/index.js +1 -1
- package/lib/utils/messageUtil.d.ts +4 -1
- package/lib/utils/messageUtil.js +5 -2
- package/lib/utils/messageUtil.js.map +1 -1
- package/lib/utils/templateCommand.d.ts +3 -3
- package/lib/utils/templateCommand.js +12 -9
- package/lib/utils/templateCommand.js.map +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +76 -24
- package/yarn.lock +1209 -217
package/package.json
CHANGED
|
@@ -1,45 +1,50 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-templates",
|
|
3
|
-
"
|
|
4
|
-
"
|
|
3
|
+
"description": "Commands to create metadata from a default or custom template",
|
|
4
|
+
"version": "55.2.0",
|
|
5
|
+
"main": "lib/index.js",
|
|
5
6
|
"author": "Salesforce",
|
|
6
|
-
"bugs": "https://github.com/
|
|
7
|
+
"bugs": "https://github.com/salesforcecli/plugin-templates/issues",
|
|
7
8
|
"dependencies": {
|
|
8
9
|
"@oclif/core": "^1.12.0",
|
|
9
10
|
"@salesforce/command": "^5.2.1",
|
|
10
11
|
"@salesforce/core": "^3.25.1",
|
|
11
12
|
"@salesforce/templates": "55.1.0",
|
|
12
|
-
"tslib": "^
|
|
13
|
+
"tslib": "^2",
|
|
13
14
|
"yeoman-environment": "^3.9.1",
|
|
14
15
|
"yeoman-generator": "^5.6.1"
|
|
15
16
|
},
|
|
16
17
|
"devDependencies": {
|
|
17
|
-
"@oclif/plugin-command-snapshot": "^3.
|
|
18
|
+
"@oclif/plugin-command-snapshot": "^3.2.11",
|
|
18
19
|
"@oclif/plugin-help": "^5.1.12",
|
|
19
20
|
"@salesforce/dev-config": "^3.0.0",
|
|
20
21
|
"@salesforce/dev-scripts": "^2.0.4",
|
|
21
22
|
"@salesforce/plugin-command-reference": "^1.3.0",
|
|
22
23
|
"@salesforce/prettier-config": "^0.0.2",
|
|
23
24
|
"@salesforce/ts-sinon": "^1.2.2",
|
|
25
|
+
"@swc/core": "^1.3.25",
|
|
24
26
|
"@types/mkdirp": "^0.5.2",
|
|
25
27
|
"@types/yeoman-assert": "^3.1.1",
|
|
26
28
|
"@types/yeoman-generator": "^5.2.9",
|
|
27
29
|
"@typescript-eslint/eslint-plugin": "^5.30.7",
|
|
28
30
|
"@typescript-eslint/parser": "^5.30.7",
|
|
29
31
|
"chai": "^4.2.0",
|
|
32
|
+
"commitizen": "^4.2.5",
|
|
33
|
+
"cz-conventional-changelog": "^3.3.0",
|
|
30
34
|
"eslint": "^8.4.1",
|
|
31
|
-
"eslint-config-prettier": "^
|
|
32
|
-
"eslint-config-salesforce": "^
|
|
35
|
+
"eslint-config-prettier": "^8.5.0",
|
|
36
|
+
"eslint-config-salesforce": "^1.1.0",
|
|
33
37
|
"eslint-config-salesforce-license": "^0.1.6",
|
|
34
|
-
"eslint-config-salesforce-typescript": "^
|
|
38
|
+
"eslint-config-salesforce-typescript": "^1.1.1",
|
|
35
39
|
"eslint-plugin-header": "^3.0.0",
|
|
36
|
-
"eslint-plugin-import": "2.
|
|
37
|
-
"eslint-plugin-jsdoc": "^
|
|
40
|
+
"eslint-plugin-import": "2.26.0",
|
|
41
|
+
"eslint-plugin-jsdoc": "^39.6.2",
|
|
38
42
|
"eslint-plugin-prettier": "^3.1.3",
|
|
43
|
+
"eslint-plugin-sf-plugin": "^1.1.5",
|
|
39
44
|
"husky": "^7.0.4",
|
|
40
45
|
"mocha": "^9.1.3",
|
|
41
46
|
"nyc": "^15.1.0",
|
|
42
|
-
"oclif": "^3.
|
|
47
|
+
"oclif": "^3.4.3",
|
|
43
48
|
"prettier": "^2.0.5",
|
|
44
49
|
"pretty-quick": "^3.1.0",
|
|
45
50
|
"shx": "^0.3.4",
|
|
@@ -53,13 +58,16 @@
|
|
|
53
58
|
"yeoman-generator": "^5.6.1",
|
|
54
59
|
"@types/yeoman-generator": "^5.2.9"
|
|
55
60
|
},
|
|
56
|
-
"homepage": "https://github.com/
|
|
61
|
+
"homepage": "https://github.com/salesforcecli/plugin-templates",
|
|
57
62
|
"keywords": [
|
|
58
63
|
"force",
|
|
59
64
|
"salesforce",
|
|
60
65
|
"sfdx",
|
|
61
|
-
"
|
|
62
|
-
"sfdx-plugin"
|
|
66
|
+
"salesforcecli",
|
|
67
|
+
"sfdx-plugin",
|
|
68
|
+
"sf-plugin",
|
|
69
|
+
"templates",
|
|
70
|
+
"sf"
|
|
63
71
|
],
|
|
64
72
|
"license": "BSD-3-Clause",
|
|
65
73
|
"files": [
|
|
@@ -72,6 +80,9 @@
|
|
|
72
80
|
],
|
|
73
81
|
"oclif": {
|
|
74
82
|
"commands": "./lib/commands",
|
|
83
|
+
"additionalHelpFlags": [
|
|
84
|
+
"-h"
|
|
85
|
+
],
|
|
75
86
|
"bin": "sfdx",
|
|
76
87
|
"devPlugins": [
|
|
77
88
|
"@oclif/plugin-help",
|
|
@@ -83,7 +94,15 @@
|
|
|
83
94
|
"external": true,
|
|
84
95
|
"subtopics": {
|
|
85
96
|
"apex": {
|
|
86
|
-
"external": true
|
|
97
|
+
"external": true,
|
|
98
|
+
"subtopics": {
|
|
99
|
+
"class": {
|
|
100
|
+
"description": "create apex class"
|
|
101
|
+
},
|
|
102
|
+
"trigger": {
|
|
103
|
+
"description": "create apex trigger"
|
|
104
|
+
}
|
|
105
|
+
}
|
|
87
106
|
},
|
|
88
107
|
"analytics": {
|
|
89
108
|
"description": "work with analytics assets",
|
|
@@ -96,19 +115,45 @@
|
|
|
96
115
|
}
|
|
97
116
|
},
|
|
98
117
|
"lightning": {
|
|
99
|
-
"
|
|
118
|
+
"description": "work with lwc and aura components",
|
|
119
|
+
"external": true,
|
|
120
|
+
"subtopics": {
|
|
121
|
+
"app": {
|
|
122
|
+
"description": "create app (aura or lwc)"
|
|
123
|
+
},
|
|
124
|
+
"component": {
|
|
125
|
+
"description": "create component (aura or lwc)"
|
|
126
|
+
},
|
|
127
|
+
"event": {
|
|
128
|
+
"description": "create aura event"
|
|
129
|
+
},
|
|
130
|
+
"interface": {
|
|
131
|
+
"description": "create aura interface"
|
|
132
|
+
},
|
|
133
|
+
"test": {
|
|
134
|
+
"description": "create lwc test"
|
|
135
|
+
}
|
|
136
|
+
}
|
|
100
137
|
},
|
|
101
138
|
"project": {
|
|
102
|
-
"
|
|
103
|
-
"
|
|
139
|
+
"description": "work with sfdx projects",
|
|
140
|
+
"external": true
|
|
104
141
|
},
|
|
105
142
|
"visualforce": {
|
|
143
|
+
"description": "work with visualforce components",
|
|
106
144
|
"external": true,
|
|
107
|
-
"subtopics": {
|
|
145
|
+
"subtopics": {
|
|
146
|
+
"component": {
|
|
147
|
+
"description": "create a visualforce"
|
|
148
|
+
},
|
|
149
|
+
"page": {
|
|
150
|
+
"description": "create a visualforce page"
|
|
151
|
+
}
|
|
152
|
+
}
|
|
108
153
|
},
|
|
109
154
|
"staticresource": {
|
|
110
|
-
"
|
|
111
|
-
"
|
|
155
|
+
"description": "work with static resources",
|
|
156
|
+
"external": true
|
|
112
157
|
}
|
|
113
158
|
}
|
|
114
159
|
}
|
|
@@ -117,16 +162,18 @@
|
|
|
117
162
|
"engines": {
|
|
118
163
|
"node": ">=14.0.0"
|
|
119
164
|
},
|
|
120
|
-
"repository": "
|
|
165
|
+
"repository": "salesforcecli/plugin-templates",
|
|
121
166
|
"scripts": {
|
|
122
167
|
"build": "sf-build",
|
|
123
168
|
"clean": "sf-clean",
|
|
124
169
|
"clean-all": "sf-clean all",
|
|
125
170
|
"clean:lib": "shx rm -rf lib && shx rm -rf coverage && shx rm -rf .nyc_output && shx rm -f oclif.manifest.json",
|
|
126
171
|
"compile": "sf-compile",
|
|
172
|
+
"commit": "git-cz",
|
|
127
173
|
"docs": "sf-docs",
|
|
128
174
|
"format": "sf-format",
|
|
129
175
|
"lint": "sf-lint",
|
|
176
|
+
"lint:fix": "eslint 'src/**/*.ts' 'test/**/*.ts' --fix",
|
|
130
177
|
"manifest:generate": "oclif manifest",
|
|
131
178
|
"manifest:remove": "shx rm -f oclif.manifest.json",
|
|
132
179
|
"posttest": "yarn lint && yarn test:deprecation-policy && yarn test:command-reference",
|
|
@@ -137,8 +184,13 @@
|
|
|
137
184
|
"test:deprecation-policy": "./bin/dev snapshot:compare",
|
|
138
185
|
"version": "oclif readme && git add README.md"
|
|
139
186
|
},
|
|
187
|
+
"config": {
|
|
188
|
+
"commitizen": {
|
|
189
|
+
"path": "./node_modules/cz-conventional-changelog"
|
|
190
|
+
}
|
|
191
|
+
},
|
|
140
192
|
"sfdx": {
|
|
141
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/
|
|
142
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/
|
|
193
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/55.2.0.crt",
|
|
194
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/55.2.0.sig"
|
|
143
195
|
}
|
|
144
196
|
}
|