[rtk-query-codegen] Update `package.json` with the scripts in order to generate the `api.js` file
Open
@nebula-aac is already working on this.
Since Sep 28, 2023.
kind/enhancement
- Dominant language
- TypeScript
- Stars
- 137
- Forks
- 239
- Avg merge
- 4d 14h
- Merged PRs (30d)
- 5
Description
In the current package.json file
{
"name": "@layer5/rtk-query-codegen",
"version": "0.0.1",
"description": "Codegen to create rtk-query api from openapi schema",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"bin": {
"rtk-query-codegen": "./app.js"
},
"author": "",
"dependencies": {
"@reduxjs/toolkit": "^1.9.6",
"@rtk-query/codegen-openapi": "^1.0.0",
"commander": "^11.0.0",
"prettier-plugin-organize-imports": "^3.2.3",
"ts-node": "^10.9.1"
}
}
There is no scripts in place to build the generated file. The README.md instructions state to install Typescript globally, and this is not needed as this is already installed locally within yarn workspace by using yarn install at the root level.
- 🎨 Wireframes and designs for Layer5 site in Figma (open invite)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.