Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to specify input file as per documentation #386

Closed
dogmatic69 opened this issue Jan 16, 2022 · 1 comment · Fixed by #387
Closed

unable to specify input file as per documentation #386

dogmatic69 opened this issue Jan 16, 2022 · 1 comment · Fixed by #387
Labels

Comments

@dogmatic69
Copy link

Expected Behaviour

docs:

  -d, --input             path to directory containing all JSON Schemas or a
                          single JSON Schema file.

pass a single file as input using -d /path/to/file.json

Actual Behaviour

Input file "/path/to/file.json" is not a directory!

Reproduce Scenario (including but not limited to)

Steps to Reproduce

jsonschema2md -d "/path/to/file.json" -o /tmp/out --schema-extension=.json

Platform and Version

github actions / ubuntu + actions/setup-node@v2

Sample Code that illustrates the problem

Logs taken while reproducing problem

trieloff pushed a commit that referenced this issue Feb 14, 2022
# [7.0.0](v6.1.4...v7.0.0) (2022-02-14)

### Bug Fixes

* **deps:** update dependency @adobe/helix-log to v6 ([#363](#363)) ([6298ed2](6298ed2))
* **index:** remove reference to single input file ([7324427](7324427)), closes [#386](#386)
* **symbols:** tweak exports ([d31ab23](d31ab23))
* **tests:** use fileToURLPath for dirname ([352d032](352d032))

### Code Refactoring

* use esm ([a628755](a628755))

### Features

* **api:** change shape of input and output data ([797090f](797090f))
* **api:** create typescript declaration for api ([92426f9](92426f9))

### BREAKING CHANGES

* `jsonschema2md` now uses ECMAScript Modules (`import`/`export`) instead of CommonJS Modules (`require`/`exports`). This was driven by the desire to stay up to date with dependencies that switched to ESM.
@trieloff
Copy link
Collaborator

🎉 This issue has been resolved in version 7.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants