Skip to content

Commit 0ae23cf

Browse files
committed
1.0.4: Fixed ugly readme. Can't skip checking testpypi from now on
1 parent 14aea6e commit 0ae23cf

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ $ pip install pydantic-to-typescript
1313

1414
|Prop|Description|
1515
|:----------|:-----------|
16-
|`--module`|name of the python module you would like to convert. All the pydantic models within it will be converted to typescript interfaces. Discoverable submodules will also be checked. Ex: 'pydantic2ts.examples.pydantic_models'|
17-
|`--output`|name of the file the typescript definitions should be written to. Ex: './frontend/apiTypes.ts'|
18-
|<nobr>`--json2ts-cmd`</nobr>|optional, the command used to invoke json2ts. The default is 'json2ts'. Specify this if you have it installed in a strange location and need to provide the exact path (ex: /myproject/node_modules/bin/json2ts)|
16+
|&#8209;&#8209;module|name of the python module you would like to convert. All the pydantic models within it will be converted to typescript interfaces. Discoverable submodules will also be checked. Ex: 'pydantic2ts.examples.pydantic_models'|
17+
|&#8209;&#8209;output|name of the file the typescript definitions should be written to. Ex: './frontend/apiTypes.ts'|
18+
|&#8209;&#8209;json2ts&#8209;cmd|optional, the command used to invoke json2ts. The default is 'json2ts'. Specify this if you have it installed in a strange location and need to provide the exact path (ex: /myproject/node_modules/bin/json2ts)|
1919
---
2020
### Usage
2121
pydantic2ts/examples/pydantic_models.py:

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def readme():
2020

2121
setup(
2222
name='pydantic-to-typescript',
23-
version='1.0.3',
23+
version='1.0.4',
2424
description='Convert pydantic models to typescript interfaces',
2525
license='MIT',
2626
long_description=readme(),

0 commit comments

Comments
 (0)