Skip to content

Commit

Permalink
chore: export lib/js folder
Browse files Browse the repository at this point in the history
  • Loading branch information
k0stik committed Feb 5, 2024
1 parent c9ba76f commit 19597d8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,6 @@
"*.{js,css}": "prettier --write"
},
"exports": {
"./lib/js/*": "./lib/js/*"
"./lib/js/**/*": "./lib/js/**/*"
}
}
11 changes: 0 additions & 11 deletions src/js/esse/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import Ajv from "ajv";
import fs from "fs";
import yaml from "js-yaml";

import { buildSchemaDefinitions } from "./schemaUtils";
import { EXAMPLES_DIR, PROPERTIES_MANIFEST_PATH, SCHEMAS_DIR } from "./settings";
import { parseIncludeReferenceStatementsByDir } from "./utils";

Expand Down Expand Up @@ -44,14 +43,4 @@ export class ESSE {

return isValid;
};

buildGlobalSchema() {
return {
$id: "esse-global-schema",
$schema: "http://json-schema.org/draft-07/schema#",
title: "Global schema",
type: "object",
definitions: buildSchemaDefinitions(this.schemas),
};
}
}

0 comments on commit 19597d8

Please sign in to comment.