@khanacademy/perseus-score 2.3.6 → 3.0.0
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/dist/index.js +105 -852
- package/dist/index.js.map +1 -1
- package/dist/widgets/categorizer/validate-categorizer.d.ts +1 -1
- package/dist/widgets/interactive-graph/score-interactive-graph.d.ts +1 -1
- package/package.json +17 -8
- package/dist/es/index.js +0 -2275
- package/dist/es/index.js.map +0 -1
- package/dist/shared-utils/add-library-version-to-perseus-debug.d.ts +0 -9
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { PerseusCategorizerUserInput, PerseusCategorizerValidationData, ValidationResult } from "../../validation.types";
|
|
2
2
|
/**
|
|
3
3
|
* Checks userInput from the categorizer widget to see if the user has selected
|
|
4
4
|
* a category for each item.
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { PerseusInteractiveGraphRubric, PerseusScore
|
|
1
|
+
import type { PerseusInteractiveGraphUserInput, PerseusInteractiveGraphRubric, PerseusScore } from "../../validation.types";
|
|
2
2
|
declare function scoreInteractiveGraph(userInput: PerseusInteractiveGraphUserInput, rubric: PerseusInteractiveGraphRubric): PerseusScore;
|
|
3
3
|
export default scoreInteractiveGraph;
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Perseus score",
|
|
4
4
|
"author": "Khan Academy",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"version": "
|
|
6
|
+
"version": "3.0.0",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
9
9
|
},
|
|
@@ -15,19 +15,28 @@
|
|
|
15
15
|
"bugs": {
|
|
16
16
|
"url": "https://github.com/Khan/perseus/issues"
|
|
17
17
|
},
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
"engines": {
|
|
19
|
+
"node": ">=18"
|
|
20
|
+
},
|
|
21
|
+
"exports": {
|
|
22
|
+
".": {
|
|
23
|
+
"source": "./src/index.ts",
|
|
24
|
+
"types": "./dist/index.d.ts",
|
|
25
|
+
"default": "./dist/index.js"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
21
28
|
"files": [
|
|
22
29
|
"dist"
|
|
23
30
|
],
|
|
24
31
|
"dependencies": {
|
|
25
|
-
"@khanacademy/kas": "0.
|
|
26
|
-
"@khanacademy/kmath": "0.
|
|
27
|
-
"@khanacademy/perseus-core": "
|
|
32
|
+
"@khanacademy/kas": "1.0.0",
|
|
33
|
+
"@khanacademy/kmath": "1.0.0",
|
|
34
|
+
"@khanacademy/perseus-core": "6.0.0",
|
|
35
|
+
"@khanacademy/perseus-utils": "1.0.0"
|
|
28
36
|
},
|
|
29
37
|
"devDependencies": {
|
|
30
|
-
"underscore": "^1.4.4"
|
|
38
|
+
"underscore": "^1.4.4",
|
|
39
|
+
"perseus-build-settings": "0.6.0"
|
|
31
40
|
},
|
|
32
41
|
"peerDependencies": {
|
|
33
42
|
"underscore": "^1.4.4"
|