Skip to content

Commit f4c9da5

Browse files
committed
fix: add missing exports nad bin commands
1 parent a9b303d commit f4c9da5

3 files changed

Lines changed: 12 additions & 7 deletions

File tree

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
"select-ebs-snapshot": "./dist/selectEBSSnapshot.js",
1818
"select-ec2-instance": "./dist/selectEC2Instance.js",
1919
"select-route-53-hosted-zone": "./dist/selectRoute53HostedZone.js",
20-
"select-route-53-record-set": "./dist/selectRoute53RecordSet.js"
20+
"select-route-53-record-set": "./dist/selectRoute53RecordSet.js",
21+
"select-secrets-manager-secret": "./dist/selectSecretsManagerSecret.js"
2122
},
2223
"repository": {
2324
"type": "git",

src/index.ts

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1-
export { default as selectEC2Instance } from './selectEC2Instance'
2-
export { default as selectEBSSnapshot } from './selectEBSSnapshot'
1+
export { default as selectCloudFormationStack } from './selectCloudFormationStack'
2+
export { default as selectCloudWatchLogEvent } from './selectCloudWatchLogEvent'
33
export { default as selectCloudWatchLogGroup } from './selectCloudWatchLogGroup'
44
export { default as selectCloudWatchLogStream } from './selectCloudWatchLogStream'
5-
export { default as selectCloudWatchLogEvent } from './selectCloudWatchLogEvent'
5+
export { default as selectEBSSnapshot } from './selectEBSSnapshot'
6+
export { default as selectEC2Instance } from './selectEC2Instance'
7+
export { default as selectRoute53HostedZone } from './selectRoute53HostedZone'
8+
export { default as selectRoute53RecordSet } from './selectRoute53RecordSet'
9+
export { default as selectSecretsManagerSecret } from './selectSecretsManagerSecret'
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
import { makeSelector } from './makeSelector'
77
import timeAgo from './timeAgo'
88

9-
const selectSecret = makeSelector({
9+
const selectSecretsManagerSecret = makeSelector({
1010
thing: 'Secrets Manager Secret',
1111
recentKey: ['secretsManagerSecret'],
1212
getClient: (config) => new SecretsManagerClient(config),
@@ -34,13 +34,13 @@ const selectSecret = makeSelector({
3434
},
3535
},
3636
})
37-
export default selectSecret
37+
export default selectSecretsManagerSecret
3838

3939
if (require.main === module) {
4040
;(async () => {
4141
const { cli } = await import('./cli')
4242
await cli({
43-
select: () => selectSecret(),
43+
select: () => selectSecretsManagerSecret(),
4444
queries: {
4545
arn: 'ARN',
4646
},

0 commit comments

Comments
 (0)