geometrix 0.5.15 → 0.5.16

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/README.md CHANGED
@@ -26,4 +26,12 @@ Dependencies
26
26
  *Geometrix* runtime depends only on [@zip.js/zip.js](https://www.npmjs.com/package/@zip.js/zip.js). All other functionalies (geometry, dxf-export, svg-export, canvas-stroke) are relying onlw on the standard *Math* library.
27
27
 
28
28
 
29
+ Documentation
30
+ -------------
31
+
32
+ The directory *docs_svg* contains diagrams used during the development of *geometrix*. The website *Paramui* contains the documentation of *geometrix*:
33
+
34
+ - [dev-docs](https://charlyoleg2.github.io/parametrix/docs/geom_dev)
35
+ - [user-docs](https://charlyoleg2.github.io/parametrix/docs/geom_user)
36
+ - [tutorial](https://charlyoleg2.github.io/parametrix/docs/geom_tutorial)
29
37
 
package/dist/index.d.ts CHANGED
@@ -437,6 +437,7 @@ declare class Figure {
437
437
  }
438
438
  declare function figure(): Figure;
439
439
  type tFaces = Record<string, Figure>;
440
+ /** For cli-app and ui-app */
440
441
  declare function mergeFaces(iFaces: tFaces): Figure;
441
442
  declare function initLayers(): tLayers;
442
443
  declare function copyLayers(iLayers: tLayers): tLayers;
@@ -591,12 +592,15 @@ interface tParamValInFile {
591
592
  declare function createParamFile(lastModif: string, idparams: tParamVal, comment: string): string;
592
593
  declare function parseParamFile(fContentStr: string): [tParamValInFile, string];
593
594
 
595
+ /** For cli-app and ui-app */
594
596
  type tDependencies = Record<string, string>;
597
+ /** For cli-app and ui-app */
595
598
  interface tPackage {
596
599
  name: string;
597
600
  version: string;
598
601
  dependencies: tDependencies;
599
602
  }
603
+ /** For cli-app and ui-app */
600
604
  declare function version_details(appPackage: tPackage): string[];
601
605
 
602
606
  declare function checkImpPages(pages: tAllPageDef): [boolean, string];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "geometrix",
3
- "version": "0.5.15",
3
+ "version": "0.5.16",
4
4
  "description": "The 2D geometry engine of the parametrix",
5
5
  "private": false,
6
6
  "repository": {
@@ -37,24 +37,22 @@
37
37
  "lint": "eslint .",
38
38
  "test:unit": "vitest",
39
39
  "test:unit:once": "vitest --run",
40
- "ci": "run-s check build pretty lint test:unit:once svgo",
41
- "svgo": "svgo --config ../paramui/svgo.config.cjs -f svg -o ../paramui/static/geomdocs/",
40
+ "ci": "run-s check build pretty lint test:unit:once",
42
41
  "clean": "shx rm -fr dist node_modules"
43
42
  },
44
43
  "dependencies": {
45
44
  "@zip.js/zip.js": "^2.7.34"
46
45
  },
47
46
  "devDependencies": {
48
- "@types/node": "^20.11.16",
49
- "@typescript-eslint/eslint-plugin": "^6.20.0",
50
- "@typescript-eslint/parser": "^6.20.0",
47
+ "@types/node": "^20.11.17",
48
+ "@typescript-eslint/eslint-plugin": "^7.0.1",
49
+ "@typescript-eslint/parser": "^7.0.1",
51
50
  "eslint": "^8.56.0",
52
51
  "eslint-config-prettier": "^9.1.0",
53
52
  "npm-run-all": "^4.1.5",
54
53
  "prettier": "^3.2.5",
55
54
  "shx": "^0.3.4",
56
- "svgo": "^3.2.0",
57
- "tsup": "^8.0.1",
55
+ "tsup": "^8.0.2",
58
56
  "typescript": "^5.3.3",
59
57
  "vitest": "^1.2.2"
60
58
  },