@khanacademy/kas
Advanced tools
Comparing version 0.0.0-PR745-20230928001000 to 0.0.0-PR745-20231003214236
# @khanacademy/kas | ||
## 0.0.0-PR745-20230928001000 | ||
## 0.0.0-PR745-20231003214236 | ||
@@ -8,2 +8,4 @@ ### Patch Changes | ||
- dc6c6973: Print package name and version when loaded in the page | ||
- Updated dependencies [dc6c6973] | ||
- @khanacademy/perseus-core@0.0.0-PR745-20231003214236 | ||
@@ -10,0 +12,0 @@ ## 0.3.1 |
@@ -1,2 +0,1 @@ | ||
declare const libVersion = "dev"; | ||
export default libVersion; | ||
export declare const libVersion = "__lib_version__"; |
@@ -6,3 +6,3 @@ { | ||
"license": "MIT", | ||
"version": "0.0.0-PR745-20230928001000", | ||
"version": "0.0.0-PR745-20231003214236", | ||
"publishConfig": { | ||
@@ -26,3 +26,5 @@ "access": "public" | ||
}, | ||
"dependencies": {}, | ||
"dependencies": { | ||
"@khanacademy/perseus-core": "^0.0.0-PR745-20231003214236" | ||
}, | ||
"devDependencies": { | ||
@@ -29,0 +31,0 @@ "jison": "0.4.15", |
@@ -1,4 +0,4 @@ | ||
export {default as libVersion} from "./version"; | ||
export {libVersion} from "./version"; | ||
export * from "./nodes"; | ||
export {compare} from "./compare"; |
@@ -5,14 +5,7 @@ // This file is processed by a Rollup plugin (replace) to inject the production | ||
import {addLibraryVersionToPerseusDebug} from "@khanacademy/perseus-core"; | ||
const libName = "@khanacademy/kas"; | ||
const libVersion = "dev"; | ||
export const libVersion = "__lib_version__"; | ||
/** | ||
* Log library version to the console. | ||
*/ | ||
if (globalThis && !globalThis.PERSEUS_SILENCE_LOGGING && libVersion !== "dev") { | ||
const printString = ` * ${libName} v${libVersion} * `; | ||
// eslint-disable-next-line no-console | ||
console.log(`%c${printString}`, "background: #000; color: #fff"); | ||
} | ||
export default libVersion; | ||
addLibraryVersionToPerseusDebug(libName, libVersion); |
@@ -7,3 +7,5 @@ { | ||
}, | ||
"references": [] | ||
"references": [ | ||
{"path": "../perseus-core/tsconfig-build.json"} | ||
] | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1468520
2
18717