@simplysf/simply 2.1.1 → 2.2.7
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 +70 -8
- package/package.json +13 -17
- package/npm-shrinkwrap.json +0 -16314
- package/oclif.lock +0 -8809
- package/oclif.manifest.json +0 -4
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# simply
|
|
2
2
|
|
|
3
|
-
[](https://www.npmjs.com/package/@simplysf/simply) [](https://npmjs.org/package/@simplysf/simply) [](https://www.npmjs.com/package/@simplysf/simply) [](https://npmjs.org/package/@simplysf/simply) [](https://raw.githubusercontent.com/SimplySF/simply/main/packages/simply/LICENSE.txt)
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
@@ -15,11 +15,13 @@ Please report any issues at https://github.com/SimplySF/simply/issues
|
|
|
15
15
|
## Commands
|
|
16
16
|
|
|
17
17
|
<!-- commands -->
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
18
|
+
|
|
19
|
+
- [`sf simply data file upload`](#sf-simply-data-file-upload)
|
|
20
|
+
- [`sf simply data files download`](#sf-simply-data-files-download)
|
|
21
|
+
- [`sf simply data files upload`](#sf-simply-data-files-upload)
|
|
22
|
+
- [`sf simply package dependencies install`](#sf-simply-package-dependencies-install)
|
|
23
|
+
- [`sf simply package dependencies manage`](#sf-simply-package-dependencies-manage)
|
|
24
|
+
- [`sf simply package version cleanup`](#sf-simply-package-version-cleanup)
|
|
23
25
|
|
|
24
26
|
## `sf simply data file upload`
|
|
25
27
|
|
|
@@ -239,7 +241,66 @@ FLAG DESCRIPTIONS
|
|
|
239
241
|
from by entering the branch build name. If not specified, the builds from NULL branch will be considered.
|
|
240
242
|
```
|
|
241
243
|
|
|
242
|
-
_See code: [@simplysf/simply-package](https://github.com/SimplySF/simply-package/blob/2.
|
|
244
|
+
_See code: [@simplysf/simply-package](https://github.com/SimplySF/simply-package/blob/2.3.0/lib/commands/simply/package/dependencies/install.js)_
|
|
245
|
+
|
|
246
|
+
## `sf simply package dependencies manage`
|
|
247
|
+
|
|
248
|
+
Manage package dependency versions for a Salesforce project.
|
|
249
|
+
|
|
250
|
+
```
|
|
251
|
+
USAGE
|
|
252
|
+
$ sf simply package dependencies manage -v <value> [--json] [--flags-dir <value>] [-b <value>] [--update-to-released |
|
|
253
|
+
--update-to-latest] [--api-version <value>]
|
|
254
|
+
|
|
255
|
+
FLAGS
|
|
256
|
+
-b, --branch=<value> Package branch to consider when evaluating version options.
|
|
257
|
+
-v, --target-dev-hub=<value> (required) Username or alias of the Dev Hub org. Not required if the `target-dev-hub`
|
|
258
|
+
configuration variable is already set.
|
|
259
|
+
--api-version=<value> Override the api version used for api requests made by this command
|
|
260
|
+
--update-to-latest Automatically set all dependencies to the latest non-pinned build.
|
|
261
|
+
--update-to-released Automatically update all dependencies to the latest released version.
|
|
262
|
+
|
|
263
|
+
GLOBAL FLAGS
|
|
264
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
265
|
+
--json Format output as json.
|
|
266
|
+
|
|
267
|
+
DESCRIPTION
|
|
268
|
+
Manage package dependency versions for a Salesforce project.
|
|
269
|
+
|
|
270
|
+
Interactively updates package dependency versions in sfdx-project.json by querying the Dev Hub for available versions.
|
|
271
|
+
Supports interactive selection or automatic update to the latest released or latest build version.
|
|
272
|
+
|
|
273
|
+
Project-level configuration (in sfdx-project.json) is read from the following keys:
|
|
274
|
+
|
|
275
|
+
- plugins.simply.dependencies.ignore — array of Package2Ids or aliases to leave unchanged
|
|
276
|
+
- plugins.simply.package.brancheswithreleasedversions — array of branch names that contain released versions
|
|
277
|
+
|
|
278
|
+
EXAMPLES
|
|
279
|
+
$ sf simply package dependencies manage --target-dev-hub myDevHub
|
|
280
|
+
|
|
281
|
+
$ sf simply package dependencies manage --target-dev-hub myDevHub --branch my-feature-branch
|
|
282
|
+
|
|
283
|
+
$ sf simply package dependencies manage --target-dev-hub myDevHub --update-to-released
|
|
284
|
+
|
|
285
|
+
$ sf simply package dependencies manage --target-dev-hub myDevHub --update-to-latest
|
|
286
|
+
|
|
287
|
+
FLAG DESCRIPTIONS
|
|
288
|
+
-b, --branch=<value> Package branch to consider when evaluating version options.
|
|
289
|
+
|
|
290
|
+
When specified, the command will include the latest build on this branch as a selectable option for each dependency.
|
|
291
|
+
|
|
292
|
+
--update-to-latest Automatically set all dependencies to the latest non-pinned build.
|
|
293
|
+
|
|
294
|
+
When specified, all dependencies managed by the Dev Hub are automatically set to a non-pinned X.Y.Z.LATEST version
|
|
295
|
+
number without interactive prompts. Mutually exclusive with --update-to-released.
|
|
296
|
+
|
|
297
|
+
--update-to-released Automatically update all dependencies to the latest released version.
|
|
298
|
+
|
|
299
|
+
When specified, all dependencies managed by the Dev Hub are automatically updated to the latest released package
|
|
300
|
+
version without interactive prompts. Mutually exclusive with --update-to-latest.
|
|
301
|
+
```
|
|
302
|
+
|
|
303
|
+
_See code: [@simplysf/simply-package](https://github.com/SimplySF/simply-package/blob/2.3.0/lib/commands/simply/package/dependencies/manage.js)_
|
|
243
304
|
|
|
244
305
|
## `sf simply package version cleanup`
|
|
245
306
|
|
|
@@ -280,5 +341,6 @@ FLAG DESCRIPTIONS
|
|
|
280
341
|
The MAJOR.MINOR.PATCH matcher that should be used to find package versions to delete.
|
|
281
342
|
```
|
|
282
343
|
|
|
283
|
-
_See code: [@simplysf/simply-package](https://github.com/SimplySF/simply-package/blob/2.
|
|
344
|
+
_See code: [@simplysf/simply-package](https://github.com/SimplySF/simply-package/blob/2.3.0/lib/commands/simply/package/version/cleanup.js)_
|
|
345
|
+
|
|
284
346
|
<!-- commandsstop -->
|
package/package.json
CHANGED
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@simplysf/simply",
|
|
3
3
|
"description": "Salesforce CLI Plugins created by @SimplySF",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.2.7",
|
|
5
5
|
"author": "@ClayChipps",
|
|
6
6
|
"homepage": "https://github.com/SimplySF/simply",
|
|
7
7
|
"bugs": "https://github.com/SimplySF/simply/issues",
|
|
8
|
-
"repository":
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "https://github.com/SimplySF/simply",
|
|
11
|
+
"directory": "packages/simply"
|
|
12
|
+
},
|
|
9
13
|
"engines": {
|
|
10
14
|
"node": ">=22.0.0"
|
|
11
15
|
},
|
|
12
|
-
"packageManager": "yarn@1.22.22",
|
|
13
16
|
"files": [
|
|
14
17
|
"/lib",
|
|
15
18
|
"/messages",
|
|
16
|
-
"/npm-shrinkwrap.json",
|
|
17
19
|
"/oclif.lock",
|
|
18
20
|
"/oclif.manifest.json"
|
|
19
21
|
],
|
|
@@ -24,7 +26,7 @@
|
|
|
24
26
|
"simply"
|
|
25
27
|
],
|
|
26
28
|
"license": "Apache-2.0",
|
|
27
|
-
"exports": "./
|
|
29
|
+
"exports": "./lib/index.js",
|
|
28
30
|
"type": "module",
|
|
29
31
|
"types": "dist/index.d.ts",
|
|
30
32
|
"oclif": {
|
|
@@ -63,15 +65,14 @@
|
|
|
63
65
|
}
|
|
64
66
|
},
|
|
65
67
|
"dependencies": {
|
|
66
|
-
"
|
|
67
|
-
"@simplysf/simply-
|
|
68
|
-
"
|
|
68
|
+
"@simplysf/simply-data": "^2.1.8",
|
|
69
|
+
"@simplysf/simply-package": "^2.3.7",
|
|
70
|
+
"debug": "^4.4.3"
|
|
69
71
|
},
|
|
70
72
|
"devDependencies": {
|
|
71
73
|
"@oclif/plugin-command-snapshot": "^5.3.19",
|
|
72
74
|
"@salesforce/plugin-command-reference": "^3.1.99",
|
|
73
75
|
"@salesforce/ts-sinon": "^1.4.34",
|
|
74
|
-
"@simplysf/dev-scripts": "^11.1.1",
|
|
75
76
|
"@types/debug": "^4.1.12",
|
|
76
77
|
"oclif": "^4.23.0",
|
|
77
78
|
"ts-node": "^10.9.2"
|
|
@@ -81,19 +82,13 @@
|
|
|
81
82
|
},
|
|
82
83
|
"scripts": {
|
|
83
84
|
"build": "wireit",
|
|
84
|
-
"clean": "sf-clean",
|
|
85
|
-
"clean-all": "sf-clean all",
|
|
86
85
|
"compile": "wireit",
|
|
87
|
-
"docs": "sf-docs",
|
|
88
86
|
"fix-license": "eslint src test --fix --rule \"header/header: [2]\"",
|
|
89
87
|
"format": "wireit",
|
|
90
88
|
"link-check": "wireit",
|
|
91
89
|
"lint": "wireit",
|
|
92
90
|
"oclif-artifacts": "oclif manifest",
|
|
93
|
-
"
|
|
94
|
-
"prepack": "sf-prepack",
|
|
95
|
-
"prepare": "sf-install && yarn compile && yarn lint",
|
|
96
|
-
"prepublishOnly": "npm shrinkwrap",
|
|
91
|
+
"prepare": "npm run compile && npm run lint",
|
|
97
92
|
"promote": "oclif promote",
|
|
98
93
|
"readme": "oclif readme --no-aliases",
|
|
99
94
|
"test": "wireit",
|
|
@@ -180,5 +175,6 @@
|
|
|
180
175
|
],
|
|
181
176
|
"output": []
|
|
182
177
|
}
|
|
183
|
-
}
|
|
178
|
+
},
|
|
179
|
+
"gitHead": "4aaf81eaa2e74cd6038dba33f3bf3335b6bf8fa0"
|
|
184
180
|
}
|