chart2txt 0.5.1 → 0.6.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.
Files changed (39) hide show
  1. package/dist/chart2txt.min.js +1 -1
  2. package/dist/config/ChartSettings.d.ts +1 -0
  3. package/dist/config/ChartSettings.js +1 -0
  4. package/dist/constants.js +4 -2
  5. package/dist/core/aspectPatterns.d.ts +5 -0
  6. package/dist/core/aspectPatterns.js +444 -0
  7. package/dist/core/aspects.js +94 -6
  8. package/dist/core/astrology.d.ts +8 -2
  9. package/dist/core/astrology.js +23 -6
  10. package/dist/core/dignities.d.ts +27 -0
  11. package/dist/core/dignities.js +136 -0
  12. package/dist/core/dispositors.d.ts +22 -0
  13. package/dist/core/dispositors.js +143 -0
  14. package/dist/core/signDistributions.d.ts +31 -0
  15. package/dist/core/signDistributions.js +150 -0
  16. package/dist/formatters/text/sections/angles.js +4 -4
  17. package/dist/formatters/text/sections/aspectPatterns.d.ts +7 -0
  18. package/dist/formatters/text/sections/aspectPatterns.js +175 -0
  19. package/dist/formatters/text/sections/aspects.js +7 -4
  20. package/dist/formatters/text/sections/birthdata.js +1 -1
  21. package/dist/formatters/text/sections/dispositors.d.ts +7 -0
  22. package/dist/formatters/text/sections/dispositors.js +20 -0
  23. package/dist/formatters/text/sections/houseOverlays.js +10 -34
  24. package/dist/formatters/text/sections/houses.d.ts +6 -0
  25. package/dist/formatters/text/sections/houses.js +36 -0
  26. package/dist/formatters/text/sections/planets.js +11 -26
  27. package/dist/formatters/text/sections/signDistributions.d.ts +25 -0
  28. package/dist/formatters/text/sections/signDistributions.js +67 -0
  29. package/dist/formatters/text/textFormatter.js +37 -3
  30. package/dist/types.d.ts +61 -0
  31. package/dist/utils/formatting.d.ts +6 -0
  32. package/dist/utils/formatting.js +13 -0
  33. package/dist/utils/houseCalculations.d.ts +13 -0
  34. package/dist/utils/houseCalculations.js +65 -0
  35. package/dist/utils/precision.d.ts +49 -0
  36. package/dist/utils/precision.js +71 -0
  37. package/dist/utils/validation.d.ts +37 -0
  38. package/dist/utils/validation.js +181 -0
  39. package/package.json +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chart2txt",
3
- "version": "0.5.1",
3
+ "version": "0.6.0",
4
4
  "description": "Convert astrological chart data to human-readable text",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -12,6 +12,7 @@
12
12
  "test": "jest",
13
13
  "test:config": "ts-node test-configurations.ts",
14
14
  "lint": "eslint src/**/*.ts",
15
+ "lint:fix": "eslint src/**/*.ts --fix",
15
16
  "format": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\""
16
17
  },
17
18
  "keywords": [