Skip to content

Unable to use the package from command line (help-text.json missing) #32

@alexserov-noveo

Description

@alexserov-noveo

The ./bin folder contains only the json-schema-to-openapi-schema.js file. Trying to run the script throws the Cannot find module './help-text.json' error.

To check package contents, run the following script:

curl -s $(npm view @openapi-contrib/json-schema-to-openapi-schema dist.tarball) | tar -tz

The output:

package/LICENSE
package/dist/cjs/const.js
package/dist/mjs/const.js
package/dist/cjs/index.js
package/dist/mjs/index.js
package/bin/json-schema-to-openapi-schema.js
package/dist/cjs/types.js
package/dist/mjs/types.js
package/dist/cjs/package.json
package/dist/mjs/package.json
package/package.json
package/dist/cjs/const.js.map
package/dist/mjs/const.js.map
package/dist/cjs/index.js.map
package/dist/mjs/index.js.map
package/dist/cjs/types.js.map
package/dist/mjs/types.js.map
package/README.md
package/dist/cjs/const.d.ts
package/dist/mjs/const.d.ts
package/dist/cjs/index.d.ts
package/dist/mjs/index.d.ts
package/dist/cjs/types.d.ts
package/dist/mjs/types.d.ts

Could you please add the missing file and publish the new version?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions