@inlang/core
Advanced tools
Comparing version 0.7.7 to 0.7.8
@@ -1,4 +0,4 @@ | ||
export { validateConfig, ValidateConfigException } from "./validateConfig.js"; | ||
export { validateConfigFile } from "./validateConfigFile.js"; | ||
export { testConfig, TestConfigException } from "./testConfig.js"; | ||
export { testConfigFile } from "./testConfigFile.js"; | ||
export { mockEnvironment } from "./mockEnvironment.js"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -1,3 +0,3 @@ | ||
export { validateConfig, ValidateConfigException } from "./validateConfig.js"; | ||
export { validateConfigFile } from "./validateConfigFile.js"; | ||
export { testConfig, TestConfigException } from "./testConfig.js"; | ||
export { testConfigFile } from "./testConfigFile.js"; | ||
export { mockEnvironment } from "./mockEnvironment.js"; |
{ | ||
"name": "@inlang/core", | ||
"type": "module", | ||
"version": "0.7.7", | ||
"version": "0.7.8", | ||
"publishConfig": { | ||
@@ -18,2 +18,24 @@ "access": "public" | ||
}, | ||
"typesVersions": { | ||
"*": { | ||
"ast": [ | ||
"./dist/ast/index.d.ts" | ||
], | ||
"config": [ | ||
"./dist/config/index.d.ts" | ||
], | ||
"lint": [ | ||
"./dist/lint/index.d.ts" | ||
], | ||
"query": [ | ||
"./dist/query/index.d.ts" | ||
], | ||
"test": [ | ||
"./dist/test/index.d.ts" | ||
], | ||
"utilities": [ | ||
"./dist/utilities/index.d.ts" | ||
] | ||
} | ||
}, | ||
"files": [ | ||
@@ -51,2 +73,2 @@ "./dist", | ||
} | ||
} | ||
} |
@@ -52,5 +52,4 @@ // @vitest-environment jsdom | ||
const module = await $import("https://cdn.jsdelivr.net/npm/normalize-url@7.2.0/index.js") | ||
// the default export is a url normalization function. | ||
// see https://github.com/sindresorhus/normalize-url/ | ||
expect(module.default("inlang.com")).toBe("http://inlang.com") | ||
const normalizeUrl = module.default | ||
expect(normalizeUrl("inlang.com")).toBe("http://inlang.com") | ||
}) | ||
@@ -57,0 +56,0 @@ |
@@ -1,3 +0,3 @@ | ||
export { validateConfig, ValidateConfigException } from "./validateConfig.js" | ||
export { validateConfigFile } from "./validateConfigFile.js" | ||
export { testConfig, TestConfigException } from "./testConfig.js" | ||
export { testConfigFile } from "./testConfigFile.js" | ||
export { mockEnvironment } from "./mockEnvironment.js" |
Sorry, the diff of this file is not supported yet
454143
5347