devexperts / swagger-codegen-ts

Typesafe Swagger API generator for TypeScript
Mozilla Public License 2.0
80 stars 16 forks source link

feat: adding a simple CLI #173

Open kokovtsev opened 1 year ago

kokovtsev commented 1 year ago

Resolves #172

Nedgeva commented 1 year ago

LGTM. Let's update dox a bit and then proceed with merging.

reviewpad[bot] commented 1 year ago

Reviewpad Report

:bangbang: Errors

:warning: Warnings

andr3medeiros commented 1 year ago

/reviewpad summarize

reviewpad[bot] commented 1 year ago

AI-Generated Summary: This pull request includes 3 patches:

  1. Adds a simple CLI to the project, which takes input for base directory, output directory, and a list of OpenAPI or YAML specifications. It also modifies package.json, tsconfig.build.json, and yarn.lock to accommodate the changes.
  2. Removes Travis CI related files and mentions from the repository. This includes deleting .travis.yml and updating the README.md file.
  3. Adds publishing scripts to automate the process of publishing through GitHub Actions. It also updates the documentation to include a guide for manual publishing.
reviewpad[bot] commented 1 year ago

AI-Generated Summary: This pull request includes several changes:

  1. Removed .travis.yml file and updated .npmignore.

  2. Updated and enhanced README.md with instructions on CLI usage.

  3. Updated the documentation in /docs/development/overview.md and modified the publish process.

  4. Added new dependencies and updated the package.json file.

  5. Added a new file src/cli/index.ts for detecting codecs and processing options.

  6. Updated tsconfig.build.json to include the new src/cli/index.ts file.

  7. Added new dependencies and updated versions in yarn.lock.

Overall, this PR focuses on improving the usability of the package by adding CLI usage instructions and updating the build configuration.

reviewpad[bot] commented 1 year ago

AI-Generated Summary: This pull request includes changes related to updating the code generation tool and its documentation. It removes the Travis CI configuration, updates the README, adds a new CLI support, and makes several minor adjustments in package.json, tsconfig.json, and other files. The changes result in better CLI usage and the addition of the swagger-codegen-ts binary in package.json.