Fix module exports

Signed-off-by: default avatarSnorre Magnus Davøen <snorre.davoen@nsd.uib.no>
parent 59b42551
Pipeline #5106 passed with stages
in 31 seconds
import schema from "./log-schema/log-schema.json"; import schema from "../log-schema/log-schema.json";
export interface LogSchema { export interface LogSchema {
/** /**
...@@ -150,6 +150,4 @@ export interface LogSchema { ...@@ -150,6 +150,4 @@ export interface LogSchema {
}; };
} }
const jsonSchema: LogSchema = schema; export const logSchema: LogSchema = schema;
export default schema;
\ No newline at end of file
{ {
"name": "@nsd/log-schema-node", "name": "@nsd/log-schema-node",
"version": "3.0.0-alpha.3", "version": "3.0.0-alpha.4",
"main": "lib/index.js", "main": "lib/index.js",
"types": "lib/index", "types": "lib/index",
"scripts": { "scripts": {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment