@depup/oclif 4.22.97-depup.0 → 4.23.0-depup.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/README.md CHANGED
@@ -13,10 +13,10 @@ npm install @depup/oclif
13
13
 
14
14
  | Field | Value |
15
15
  |-------|-------|
16
- | Original | [oclif](https://www.npmjs.com/package/oclif) @ 4.22.97 |
17
- | Processed | 2026-04-06 |
16
+ | Original | [oclif](https://www.npmjs.com/package/oclif) @ 4.23.0 |
17
+ | Processed | 2026-04-07 |
18
18
  | Smoke test | passed |
19
- | Deps updated | 19 |
19
+ | Deps updated | 18 |
20
20
 
21
21
  ## Dependency Changes
22
22
 
@@ -37,7 +37,6 @@ npm install @depup/oclif
37
37
  | ejs | ^3.1.10 | ^5.0.1 |
38
38
  | fs-extra | ^8.1 | ^11.3.4 |
39
39
  | got | ^13 | ^15.0.0 |
40
- | lodash | ^4.17.23 | ^4.18.1 |
41
40
  | normalize-package-data | ^6 | ^8.0.0 |
42
41
  | sort-package-json | ^2.15.1 | ^3.6.1 |
43
42
  | validate-npm-package-name | ^5.0.1 | ^7.0.2 |
package/changes.json CHANGED
@@ -60,10 +60,6 @@
60
60
  "from": "^13",
61
61
  "to": "^15.0.0"
62
62
  },
63
- "lodash": {
64
- "from": "^4.17.23",
65
- "to": "^4.18.1"
66
- },
67
63
  "normalize-package-data": {
68
64
  "from": "^6",
69
65
  "to": "^8.0.0"
@@ -77,6 +73,6 @@
77
73
  "to": "^7.0.2"
78
74
  }
79
75
  },
80
- "timestamp": "2026-04-06T20:20:08.835Z",
81
- "totalUpdated": 19
76
+ "timestamp": "2026-04-07T16:27:57.112Z",
77
+ "totalUpdated": 18
82
78
  }
@@ -10,6 +10,7 @@ export default class Readme extends Command {
10
10
  'plugin-directory': Interfaces.OptionFlag<string | undefined, Interfaces.CustomOptions>;
11
11
  'readme-path': Interfaces.OptionFlag<string, Interfaces.CustomOptions>;
12
12
  'repository-prefix': Interfaces.OptionFlag<string | undefined, Interfaces.CustomOptions>;
13
+ 'source-links': Interfaces.BooleanFlag<boolean>;
13
14
  'tsconfig-path': Interfaces.OptionFlag<string, Interfaces.CustomOptions>;
14
15
  version: Interfaces.OptionFlag<string | undefined, Interfaces.CustomOptions>;
15
16
  };
@@ -84,6 +84,11 @@ Customize the code URL prefix by setting oclif.repositoryPrefix in package.json.
84
84
  'repository-prefix': core_1.Flags.string({
85
85
  description: 'A template string used to build links to the source code.',
86
86
  }),
87
+ 'source-links': core_1.Flags.boolean({
88
+ allowNo: true,
89
+ default: true,
90
+ description: 'Include links to the source code for each command.',
91
+ }),
87
92
  'tsconfig-path': core_1.Flags.string({
88
93
  default: 'tsconfig.json',
89
94
  description: 'Path to the tsconfig file',
@@ -131,6 +136,7 @@ Customize the code URL prefix by setting oclif.repositoryPrefix in package.json.
131
136
  pluginDir: this.flags['plugin-directory'],
132
137
  readmePath,
133
138
  repositoryPrefix: this.flags['repository-prefix'],
139
+ sourceLinks: this.flags['source-links'],
134
140
  version: this.flags.version,
135
141
  });
136
142
  const readme = await generator.generate();
@@ -11,6 +11,7 @@ type Options = {
11
11
  pluginDir?: string;
12
12
  readmePath: string;
13
13
  repositoryPrefix?: string;
14
+ sourceLinks?: boolean;
14
15
  version?: string;
15
16
  };
16
17
  export default class ReadmeGenerator {
@@ -61,6 +61,8 @@ class ReadmeGenerator {
61
61
  this.options = options;
62
62
  }
63
63
  commandCode(c) {
64
+ if (this.options.sourceLinks === false)
65
+ return;
64
66
  const pluginName = c.pluginName;
65
67
  if (!pluginName)
66
68
  return;
@@ -546,6 +546,12 @@
546
546
  "multiple": false,
547
547
  "type": "option"
548
548
  },
549
+ "source-links": {
550
+ "description": "Include links to the source code for each command.",
551
+ "name": "source-links",
552
+ "allowNo": true,
553
+ "type": "boolean"
554
+ },
549
555
  "tsconfig-path": {
550
556
  "description": "Path to the tsconfig file",
551
557
  "name": "tsconfig-path",
@@ -1195,5 +1201,5 @@
1195
1201
  ]
1196
1202
  }
1197
1203
  },
1198
- "version": "4.22.97"
1204
+ "version": "4.23.0"
1199
1205
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@depup/oclif",
3
3
  "description": "oclif: create your own CLI (with updated dependencies)",
4
- "version": "4.22.97-depup.0",
4
+ "version": "4.23.0-depup.0",
5
5
  "author": "Salesforce",
6
6
  "bin": {
7
7
  "oclif": "bin/run.js"
@@ -213,10 +213,6 @@
213
213
  "from": "^13",
214
214
  "to": "^15.0.0"
215
215
  },
216
- "lodash": {
217
- "from": "^4.17.23",
218
- "to": "^4.18.1"
219
- },
220
216
  "normalize-package-data": {
221
217
  "from": "^6",
222
218
  "to": "^8.0.0"
@@ -230,10 +226,10 @@
230
226
  "to": "^7.0.2"
231
227
  }
232
228
  },
233
- "depsUpdated": 19,
229
+ "depsUpdated": 18,
234
230
  "originalPackage": "oclif",
235
- "originalVersion": "4.22.97",
236
- "processedAt": "2026-04-06T20:20:30.592Z",
231
+ "originalVersion": "4.23.0",
232
+ "processedAt": "2026-04-07T16:28:23.506Z",
237
233
  "smokeTest": "passed"
238
234
  }
239
235
  }