Skip to content

Commit b3e452d

Browse files
committed
feat: expose cli in exports
closes reduxjs#4976
1 parent cdcc751 commit b3e452d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/test-codegen.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -147,4 +147,4 @@ jobs:
147147
name: package
148148

149149
- name: Run are-the-types-wrong
150-
run: yarn dlx @arethetypeswrong/cli@latest ./package.tgz --format table
150+
run: yarn dlx @arethetypeswrong/cli@latest ./package.tgz --format table --exclude-entrypoints cli

packages/rtk-query-codegen-openapi/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
"types": "./lib/index.d.ts",
1919
"default": "./lib/index.js"
2020
}
21-
}
21+
},
22+
"./cli": "./lib/bin/cli.mjs"
2223
},
2324
"repository": {
2425
"type": "git",

0 commit comments

Comments
 (0)