hyperjump-io / json-schema

JSON Schema Validation, Annotation, and Bundling. Supports Draft 04, 06, 07, 2019-09, 2020-12, OpenAPI 3.0, and OpenAPI 3.1
https://json-schema.hyperjump.io/
MIT License
216 stars 22 forks source link

window system #14

Closed HelloToGithub closed 2 years ago

HelloToGithub commented 2 years ago

@hyperjump/json-pointer@0.9.2 postinstall E:\Project\code\ui\enterprise\node_modules\@hyperjump\json-pointer rm -rf dist

'rm' 不是内部或外部命令,也不是可运行的程序 或批处理文件。

jdesrosiers commented 2 years ago

Translation ...

'rm' is not an internal or external command, nor is it a runnable program or batch file.

This is related to https://github.com/hyperjump-io/json-schema-validator/issues/13. It looks like I'm going to have to revisit this solution to find something windows compatible.

hanoj-budime commented 2 years ago

Hi, @jdesrosiers

Worked for me. now pack size reduce.

Otherwise, just leave this postinstall script instead of doing here.

Add in README Doc follow steps to create postinstall script to reduce package, this helps for other people.

jdesrosiers commented 2 years ago

It should now work in Windows. Sorry it took so long to fix.

hanoj-budime commented 2 years ago

Great Work.

Thanks, @jdesrosiers