Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion spec/1.4/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"description": "This string MUST be the [semantic version number](https://semver.org/spec/v2.0.0.html) of the [OpenRPC Specification version](#versions) that the OpenRPC document uses. The `openrpc` field SHOULD be used by tooling specifications and clients to interpret the OpenRPC document. This is *not* related to the API [`info.version`](#info-version) string.",
"title": "openrpc",
"type": "string",
"regex": "^1\\.4\\.\\d+$"
"pattern": "^1\\.4\\.\\d+$"
},
"info": {
"$ref": "#/definitions/infoObject"
Expand Down
3 changes: 1 addition & 2 deletions src/generate-index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,5 @@ pkg.exports = {

pkg.files = ["dist"];

writeFileSync(pkgPath, JSON.stringify(pkg, null, 2) + "\n");
// eslint-disable-next-line no-console
writeFileSync(pkgPath, JSON.stringify(pkg, null, 2));
console.log("Updated package.json exports with schema paths");