math-exercises 3.0.18 → 3.0.19
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rectangleSideAfterReduction.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/proportionality/rectangleSideAfterReduction.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AAUrC,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,EAAE,CAAC;CAGnB,CAAC;AA8OF,eAAO,MAAM,2BAA2B,EAAE,QAAQ,CAAC,WAAW,
|
|
1
|
+
{"version":3,"file":"rectangleSideAfterReduction.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/proportionality/rectangleSideAfterReduction.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AAUrC,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,EAAE,CAAC;CAGnB,CAAC;AA8OF,eAAO,MAAM,2BAA2B,EAAE,QAAQ,CAAC,WAAW,CAmB7D,CAAC"}
|
|
@@ -68,7 +68,7 @@ const getInstruction = (identifiers) => {
|
|
|
68
68
|
const d3n = new D3Node();
|
|
69
69
|
// Set SVG dimensions
|
|
70
70
|
const width = 300, height = 150;
|
|
71
|
-
const svg = d3n.createSVG(width, height);
|
|
71
|
+
const svg = d3n.createSVG(width, height, { id: "nonLatex" });
|
|
72
72
|
// Function to add rotated rectangles
|
|
73
73
|
function addRectangle(svg, x, y, w, h, angle, color, label1, label2) {
|
|
74
74
|
const group = svg
|
|
@@ -183,7 +183,7 @@ const getRectangleSideAfterReductionQuestion = (ops) => {
|
|
|
183
183
|
export const rectangleSideAfterReduction = {
|
|
184
184
|
id: "rectangleSideAfterReduction",
|
|
185
185
|
// connector: "",
|
|
186
|
-
label: "
|
|
186
|
+
label: "Déterminer les dimensions d'un rectangle après réduction",
|
|
187
187
|
isSingleStep: true,
|
|
188
188
|
generator: (nb, opts) => getDistinctQuestions(() => getRectangleSideAfterReductionQuestion(opts), nb),
|
|
189
189
|
qcmTimer: 60,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "math-exercises",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.0.
|
|
4
|
+
"version": "3.0.19",
|
|
5
5
|
"description": "Math exercises generator for middle school and high school",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"files": [
|
|
@@ -18,7 +18,8 @@
|
|
|
18
18
|
"testpdf": "npm run build && node lib/tests/pdfExo.test.js",
|
|
19
19
|
"testsimplify": "npx jest simplify.test.js",
|
|
20
20
|
"prepublishOnly": "npm run build",
|
|
21
|
-
"build": "tsc && tsc-alias"
|
|
21
|
+
"build": "tsc && tsc-alias",
|
|
22
|
+
"patch": "npm version patch && npm publish"
|
|
22
23
|
},
|
|
23
24
|
"keywords": [],
|
|
24
25
|
"author": "Heureux Hasard",
|