@j-schreiber/sf-cli-plugin-ci-template 0.1.1
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/README.md +39 -0
- package/bin/dev.js +8 -0
- package/lib/commands/hello-world.d.ts +13 -0
- package/lib/commands/hello-world.js +21 -0
- package/lib/commands/hello-world.js.map +1 -0
- package/messages/hello-world.md +17 -0
- package/oclif.lock +12764 -0
- package/oclif.manifest.json +59 -0
- package/package.json +192 -0
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
{
|
|
2
|
+
"commands": {
|
|
3
|
+
"hello-world": {
|
|
4
|
+
"aliases": [],
|
|
5
|
+
"args": {},
|
|
6
|
+
"description": "Description. Does not repeat summary.",
|
|
7
|
+
"examples": [
|
|
8
|
+
"Do something\n<%= config.bin %> <%= command.id %> -o MyTargetOrg"
|
|
9
|
+
],
|
|
10
|
+
"flags": {
|
|
11
|
+
"json": {
|
|
12
|
+
"description": "Format output as json.",
|
|
13
|
+
"helpGroup": "GLOBAL",
|
|
14
|
+
"name": "json",
|
|
15
|
+
"allowNo": false,
|
|
16
|
+
"type": "boolean"
|
|
17
|
+
},
|
|
18
|
+
"flags-dir": {
|
|
19
|
+
"helpGroup": "GLOBAL",
|
|
20
|
+
"name": "flags-dir",
|
|
21
|
+
"summary": "Import flag values from a directory.",
|
|
22
|
+
"hasDynamicHelp": false,
|
|
23
|
+
"multiple": false,
|
|
24
|
+
"type": "option"
|
|
25
|
+
},
|
|
26
|
+
"target-org": {
|
|
27
|
+
"char": "o",
|
|
28
|
+
"name": "target-org",
|
|
29
|
+
"noCacheDefault": true,
|
|
30
|
+
"required": true,
|
|
31
|
+
"summary": "The target org",
|
|
32
|
+
"hasDynamicHelp": true,
|
|
33
|
+
"multiple": false,
|
|
34
|
+
"type": "option"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"hasDynamicHelp": true,
|
|
38
|
+
"hiddenAliases": [],
|
|
39
|
+
"id": "hello-world",
|
|
40
|
+
"pluginAlias": "@j-schreiber/sf-cli-plugin-ci-template",
|
|
41
|
+
"pluginName": "@j-schreiber/sf-cli-plugin-ci-template",
|
|
42
|
+
"pluginType": "core",
|
|
43
|
+
"strict": true,
|
|
44
|
+
"summary": "Summary of a command.",
|
|
45
|
+
"enableJsonFlag": true,
|
|
46
|
+
"isESM": true,
|
|
47
|
+
"relativePath": [
|
|
48
|
+
"lib",
|
|
49
|
+
"commands",
|
|
50
|
+
"hello-world.js"
|
|
51
|
+
],
|
|
52
|
+
"aliasPermutations": [],
|
|
53
|
+
"permutations": [
|
|
54
|
+
"hello-world"
|
|
55
|
+
]
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"version": "0.1.1"
|
|
59
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@j-schreiber/sf-cli-plugin-ci-template",
|
|
3
|
+
"description": "Add the description of your SF CLI plugin",
|
|
4
|
+
"version": "0.1.1",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "https",
|
|
7
|
+
"url": "https://github.com/j-schreiber/sf-cli-plugin-ci-template"
|
|
8
|
+
},
|
|
9
|
+
"homepage": "https://github.com/j-schreiber/sf-cli-plugin-ci-template/wiki",
|
|
10
|
+
"dependencies": {
|
|
11
|
+
"@oclif/core": "^4.8.0",
|
|
12
|
+
"@salesforce/core": "^8.24.0",
|
|
13
|
+
"@salesforce/sf-plugins-core": "^12.2.6"
|
|
14
|
+
},
|
|
15
|
+
"devDependencies": {
|
|
16
|
+
"@release-it/conventional-changelog": "^10.0.1",
|
|
17
|
+
"@salesforce/cli-plugins-testkit": "^5.3.10",
|
|
18
|
+
"@salesforce/dev-scripts": "^11.0.4",
|
|
19
|
+
"@salesforce/plugin-command-reference": "^3.1.79",
|
|
20
|
+
"@types/node": "25",
|
|
21
|
+
"eslint-plugin-sf-plugin": "^1.18.6",
|
|
22
|
+
"husky": "^9.1.7",
|
|
23
|
+
"oclif": "^4.14.0",
|
|
24
|
+
"release-it": "^19.0.3",
|
|
25
|
+
"tsx": "^4.21.0",
|
|
26
|
+
"typescript": "^5.8.3",
|
|
27
|
+
"wireit": "^0.14.12"
|
|
28
|
+
},
|
|
29
|
+
"engines": {
|
|
30
|
+
"node": ">=18.0.0"
|
|
31
|
+
},
|
|
32
|
+
"files": [
|
|
33
|
+
"/lib",
|
|
34
|
+
"/messages",
|
|
35
|
+
"/oclif.manifest.json",
|
|
36
|
+
"/oclif.lock"
|
|
37
|
+
],
|
|
38
|
+
"keywords": [
|
|
39
|
+
"force",
|
|
40
|
+
"salesforce",
|
|
41
|
+
"salesforcedx",
|
|
42
|
+
"sf",
|
|
43
|
+
"sf-plugin",
|
|
44
|
+
"sfdx",
|
|
45
|
+
"sfdx-plugin"
|
|
46
|
+
],
|
|
47
|
+
"license": "BSD-3-Clause",
|
|
48
|
+
"oclif": {
|
|
49
|
+
"commands": "./lib/commands",
|
|
50
|
+
"bin": "sf",
|
|
51
|
+
"topicSeparator": " ",
|
|
52
|
+
"devPlugins": [
|
|
53
|
+
"@oclif/plugin-help",
|
|
54
|
+
"@salesforce/plugin-command-reference"
|
|
55
|
+
],
|
|
56
|
+
"topics": {
|
|
57
|
+
"hello-world": {
|
|
58
|
+
"description": "Placeholder for a useful description"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"flexibleTaxonomy": true
|
|
62
|
+
},
|
|
63
|
+
"scripts": {
|
|
64
|
+
"build": "wireit",
|
|
65
|
+
"clean": "sf-clean",
|
|
66
|
+
"clean-all": "sf-clean all",
|
|
67
|
+
"compile": "wireit",
|
|
68
|
+
"docs": "sf-docs",
|
|
69
|
+
"format": "wireit",
|
|
70
|
+
"pretty-quick-staged": "pretty-quick --staged",
|
|
71
|
+
"lint": "wireit",
|
|
72
|
+
"postpack": "sf-clean --ignore-signing-artifacts",
|
|
73
|
+
"prepack": "sf-prepack",
|
|
74
|
+
"test": "wireit",
|
|
75
|
+
"test:nuts": "nyc mocha \"**/*.nut.ts\" --slow 4500 --timeout 600000 --parallel",
|
|
76
|
+
"test:only": "wireit",
|
|
77
|
+
"readme": "wireit",
|
|
78
|
+
"prepare": "husky",
|
|
79
|
+
"release": "rm -rf .wireit && yarn build && release-it"
|
|
80
|
+
},
|
|
81
|
+
"publishConfig": {
|
|
82
|
+
"access": "public",
|
|
83
|
+
"registry": "https://registry.npmjs.org"
|
|
84
|
+
},
|
|
85
|
+
"wireit": {
|
|
86
|
+
"build": {
|
|
87
|
+
"dependencies": [
|
|
88
|
+
"clean-deps",
|
|
89
|
+
"compile",
|
|
90
|
+
"lint"
|
|
91
|
+
]
|
|
92
|
+
},
|
|
93
|
+
"clean-deps": {
|
|
94
|
+
"command": "rm -rf node_modules/@types/{glob,minimatch,shelljs}"
|
|
95
|
+
},
|
|
96
|
+
"compile": {
|
|
97
|
+
"command": "tsc -p . --pretty --incremental",
|
|
98
|
+
"files": [
|
|
99
|
+
"src/**/*.ts",
|
|
100
|
+
"**/tsconfig.json",
|
|
101
|
+
"messages/**"
|
|
102
|
+
],
|
|
103
|
+
"output": [
|
|
104
|
+
"lib/**",
|
|
105
|
+
"*.tsbuildinfo"
|
|
106
|
+
],
|
|
107
|
+
"clean": "if-file-deleted"
|
|
108
|
+
},
|
|
109
|
+
"format": {
|
|
110
|
+
"command": "prettier --write \"+(src|test|schemas)/**/*.+(ts|js|json)|command-snapshot.json\"",
|
|
111
|
+
"files": [
|
|
112
|
+
"src/**/*.ts",
|
|
113
|
+
"test/**/*.ts",
|
|
114
|
+
"schemas/**/*.json",
|
|
115
|
+
"command-snapshot.json",
|
|
116
|
+
".prettier*"
|
|
117
|
+
],
|
|
118
|
+
"output": []
|
|
119
|
+
},
|
|
120
|
+
"lint": {
|
|
121
|
+
"command": "eslint src test --color --cache --cache-location .eslintcache",
|
|
122
|
+
"files": [
|
|
123
|
+
"src/**/*.ts",
|
|
124
|
+
"test/**/*.ts",
|
|
125
|
+
"messages/**",
|
|
126
|
+
"**/.eslint*",
|
|
127
|
+
"**/tsconfig.json"
|
|
128
|
+
],
|
|
129
|
+
"output": []
|
|
130
|
+
},
|
|
131
|
+
"test:compile": {
|
|
132
|
+
"command": "tsc -p \"./test\" --pretty",
|
|
133
|
+
"files": [
|
|
134
|
+
"test/**/*.ts",
|
|
135
|
+
"**/tsconfig.json"
|
|
136
|
+
],
|
|
137
|
+
"output": []
|
|
138
|
+
},
|
|
139
|
+
"test": {
|
|
140
|
+
"dependencies": [
|
|
141
|
+
"test:compile",
|
|
142
|
+
"test:only",
|
|
143
|
+
"test:command-reference",
|
|
144
|
+
"lint"
|
|
145
|
+
]
|
|
146
|
+
},
|
|
147
|
+
"test:only": {
|
|
148
|
+
"command": "nyc mocha \"test/**/*.test.ts\"",
|
|
149
|
+
"env": {
|
|
150
|
+
"FORCE_COLOR": "2"
|
|
151
|
+
},
|
|
152
|
+
"files": [
|
|
153
|
+
"test/**/*.ts",
|
|
154
|
+
"src/**/*.ts",
|
|
155
|
+
"**/tsconfig.json",
|
|
156
|
+
".mocha*",
|
|
157
|
+
"!*.nut.ts",
|
|
158
|
+
".nycrc"
|
|
159
|
+
],
|
|
160
|
+
"output": []
|
|
161
|
+
},
|
|
162
|
+
"test:command-reference": {
|
|
163
|
+
"command": "node --import tsx \"./bin/dev.js\" commandreference:generate --error-on-warnings",
|
|
164
|
+
"files": [
|
|
165
|
+
"src/**/*.ts",
|
|
166
|
+
"messages/**",
|
|
167
|
+
"package.json"
|
|
168
|
+
],
|
|
169
|
+
"output": [
|
|
170
|
+
"tmp/root"
|
|
171
|
+
]
|
|
172
|
+
},
|
|
173
|
+
"readme": {
|
|
174
|
+
"dependencies": [
|
|
175
|
+
"build"
|
|
176
|
+
],
|
|
177
|
+
"command": "oclif readme && pretty-quick"
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
"exports": "./lib/index.js",
|
|
181
|
+
"type": "module",
|
|
182
|
+
"author": "Jannis Schreiber",
|
|
183
|
+
"main": "index.js",
|
|
184
|
+
"bin": {
|
|
185
|
+
"sf-plugin": "bin/dev.js"
|
|
186
|
+
},
|
|
187
|
+
"directories": {
|
|
188
|
+
"lib": "lib",
|
|
189
|
+
"test": "test"
|
|
190
|
+
},
|
|
191
|
+
"packageManager": "yarn@4.12.0"
|
|
192
|
+
}
|