@depup/oclif 4.22.98-depup.0 → 4.23.0-depup.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 CHANGED
@@ -13,7 +13,7 @@ npm install @depup/oclif
13
13
 
14
14
  | Field | Value |
15
15
  |-------|-------|
16
- | Original | [oclif](https://www.npmjs.com/package/oclif) @ 4.22.98 |
16
+ | Original | [oclif](https://www.npmjs.com/package/oclif) @ 4.23.0 |
17
17
  | Processed | 2026-04-07 |
18
18
  | Smoke test | passed |
19
19
  | Deps updated | 18 |
@@ -22,8 +22,8 @@ npm install @depup/oclif
22
22
 
23
23
  | Dependency | From | To |
24
24
  |------------|------|-----|
25
- | @aws-sdk/client-cloudfront | 3.1009.0 | ^3.1025.0 |
26
- | @aws-sdk/client-s3 | 3.1014.0 | ^3.1025.0 |
25
+ | @aws-sdk/client-cloudfront | 3.1009.0 | ^3.1026.0 |
26
+ | @aws-sdk/client-s3 | 3.1014.0 | ^3.1026.0 |
27
27
  | @inquirer/confirm | ^3.1.22 | ^6.0.11 |
28
28
  | @inquirer/input | ^2.2.4 | ^5.0.11 |
29
29
  | @inquirer/select | ^2.5.0 | ^5.1.3 |
package/changes.json CHANGED
@@ -2,11 +2,11 @@
2
2
  "bumped": {
3
3
  "@aws-sdk/client-cloudfront": {
4
4
  "from": "3.1009.0",
5
- "to": "^3.1025.0"
5
+ "to": "^3.1026.0"
6
6
  },
7
7
  "@aws-sdk/client-s3": {
8
8
  "from": "3.1014.0",
9
- "to": "^3.1025.0"
9
+ "to": "^3.1026.0"
10
10
  },
11
11
  "@inquirer/confirm": {
12
12
  "from": "^3.1.22",
@@ -73,6 +73,6 @@
73
73
  "to": "^7.0.2"
74
74
  }
75
75
  },
76
- "timestamp": "2026-04-07T04:53:01.493Z",
76
+ "timestamp": "2026-04-07T20:20:54.597Z",
77
77
  "totalUpdated": 18
78
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.98"
1204
+ "version": "4.23.0"
1199
1205
  }
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@depup/oclif",
3
3
  "description": "oclif: create your own CLI (with updated dependencies)",
4
- "version": "4.22.98-depup.0",
4
+ "version": "4.23.0-depup.1",
5
5
  "author": "Salesforce",
6
6
  "bin": {
7
7
  "oclif": "bin/run.js"
8
8
  },
9
9
  "bugs": "https://github.com/oclif/oclif/issues",
10
10
  "dependencies": {
11
- "@aws-sdk/client-cloudfront": "^3.1025.0",
12
- "@aws-sdk/client-s3": "^3.1025.0",
11
+ "@aws-sdk/client-cloudfront": "^3.1026.0",
12
+ "@aws-sdk/client-s3": "^3.1026.0",
13
13
  "@inquirer/confirm": "^6.0.11",
14
14
  "@inquirer/input": "^5.0.11",
15
15
  "@inquirer/select": "^5.1.3",
@@ -155,11 +155,11 @@
155
155
  "changes": {
156
156
  "@aws-sdk/client-cloudfront": {
157
157
  "from": "3.1009.0",
158
- "to": "^3.1025.0"
158
+ "to": "^3.1026.0"
159
159
  },
160
160
  "@aws-sdk/client-s3": {
161
161
  "from": "3.1014.0",
162
- "to": "^3.1025.0"
162
+ "to": "^3.1026.0"
163
163
  },
164
164
  "@inquirer/confirm": {
165
165
  "from": "^3.1.22",
@@ -228,8 +228,8 @@
228
228
  },
229
229
  "depsUpdated": 18,
230
230
  "originalPackage": "oclif",
231
- "originalVersion": "4.22.98",
232
- "processedAt": "2026-04-07T04:53:17.739Z",
231
+ "originalVersion": "4.23.0",
232
+ "processedAt": "2026-04-07T20:21:25.071Z",
233
233
  "smokeTest": "passed"
234
234
  }
235
235
  }