@khanacademy/perseus-editor 2.7.6 → 2.7.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/es/index.js +7 -1
- package/dist/es/index.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -1
- package/dist/version.d.ts +1 -0
- package/package.json +6 -5
- package/src/index.ts +2 -0
- package/src/version.ts +10 -0
- package/tsconfig-build.json +1 -0
- package/tsconfig-build.tsbuildinfo +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const libVersion = "__lib_version__";
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Perseus editors",
|
|
4
4
|
"author": "Khan Academy",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"version": "2.7.
|
|
6
|
+
"version": "2.7.7",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
9
9
|
},
|
|
@@ -22,9 +22,10 @@
|
|
|
22
22
|
"test": "bash -c 'yarn --silent --cwd \"../..\" test ${@:0} $($([[ ${@: -1} = -* ]] || [[ ${@: -1} = bash ]]) && echo $PWD)'"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@khanacademy/kas": "^0.3.
|
|
26
|
-
"@khanacademy/kmath": "^0.1.
|
|
27
|
-
"@khanacademy/perseus": "^11.6.
|
|
25
|
+
"@khanacademy/kas": "^0.3.2",
|
|
26
|
+
"@khanacademy/kmath": "^0.1.3",
|
|
27
|
+
"@khanacademy/perseus": "^11.6.1",
|
|
28
|
+
"@khanacademy/perseus-core": "1.1.1"
|
|
28
29
|
},
|
|
29
30
|
"devDependencies": {
|
|
30
31
|
"@khanacademy/wonder-blocks-button": "^4.1.3",
|
|
@@ -40,7 +41,7 @@
|
|
|
40
41
|
"create-react-class": "^15.6.3",
|
|
41
42
|
"jquery": "^2.1.1",
|
|
42
43
|
"katex": "^0.11.1",
|
|
43
|
-
"perseus-build-settings": "^0.2.
|
|
44
|
+
"perseus-build-settings": "^0.2.1",
|
|
44
45
|
"prop-types": "^15.6.1",
|
|
45
46
|
"react": "16.14.0",
|
|
46
47
|
"react-dom": "16.14.0",
|
package/src/index.ts
CHANGED
package/src/version.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// This file is processed by a Rollup plugin (replace) to inject the production
|
|
2
|
+
// version number during the release build.
|
|
3
|
+
// In dev, you'll never see the version number.
|
|
4
|
+
|
|
5
|
+
import {addLibraryVersionToPerseusDebug} from "@khanacademy/perseus-core";
|
|
6
|
+
|
|
7
|
+
const libName = "@khanacademy/perseus-editor";
|
|
8
|
+
export const libVersion = "__lib_version__";
|
|
9
|
+
|
|
10
|
+
addLibraryVersionToPerseusDebug(libName, libVersion);
|