hebrew-date-utils 0.1.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 (64) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/LICENSE +21 -0
  3. package/README.md +148 -0
  4. package/dist/arithmetic.d.ts +7 -0
  5. package/dist/arithmetic.d.ts.map +1 -0
  6. package/dist/arithmetic.js +34 -0
  7. package/dist/arithmetic.js.map +1 -0
  8. package/dist/boundaries.d.ts +8 -0
  9. package/dist/boundaries.d.ts.map +1 -0
  10. package/dist/boundaries.js +31 -0
  11. package/dist/boundaries.js.map +1 -0
  12. package/dist/constants.d.ts +7 -0
  13. package/dist/constants.d.ts.map +1 -0
  14. package/dist/constants.js +63 -0
  15. package/dist/constants.js.map +1 -0
  16. package/dist/conversion.d.ts +9 -0
  17. package/dist/conversion.d.ts.map +1 -0
  18. package/dist/conversion.js +67 -0
  19. package/dist/conversion.js.map +1 -0
  20. package/dist/formatting.d.ts +13 -0
  21. package/dist/formatting.d.ts.map +1 -0
  22. package/dist/formatting.js +25 -0
  23. package/dist/formatting.js.map +1 -0
  24. package/dist/hebcal-compat.d.ts +2 -0
  25. package/dist/hebcal-compat.d.ts.map +1 -0
  26. package/dist/hebcal-compat.js +2 -0
  27. package/dist/hebcal-compat.js.map +1 -0
  28. package/dist/holidays.d.ts +6 -0
  29. package/dist/holidays.d.ts.map +1 -0
  30. package/dist/holidays.js +59 -0
  31. package/dist/holidays.js.map +1 -0
  32. package/dist/index.d.ts +15 -0
  33. package/dist/index.d.ts.map +1 -0
  34. package/dist/index.js +15 -0
  35. package/dist/index.js.map +1 -0
  36. package/dist/info.d.ts +4 -0
  37. package/dist/info.d.ts.map +1 -0
  38. package/dist/info.js +43 -0
  39. package/dist/info.js.map +1 -0
  40. package/dist/membership.d.ts +8 -0
  41. package/dist/membership.d.ts.map +1 -0
  42. package/dist/membership.js +33 -0
  43. package/dist/membership.js.map +1 -0
  44. package/dist/month-utils.d.ts +14 -0
  45. package/dist/month-utils.d.ts.map +1 -0
  46. package/dist/month-utils.js +43 -0
  47. package/dist/month-utils.js.map +1 -0
  48. package/dist/navigation.d.ts +14 -0
  49. package/dist/navigation.d.ts.map +1 -0
  50. package/dist/navigation.js +38 -0
  51. package/dist/navigation.js.map +1 -0
  52. package/dist/ranges.d.ts +9 -0
  53. package/dist/ranges.d.ts.map +1 -0
  54. package/dist/ranges.js +103 -0
  55. package/dist/ranges.js.map +1 -0
  56. package/dist/types.d.ts +85 -0
  57. package/dist/types.d.ts.map +1 -0
  58. package/dist/types.js +2 -0
  59. package/dist/types.js.map +1 -0
  60. package/dist/year.d.ts +6 -0
  61. package/dist/year.d.ts.map +1 -0
  62. package/dist/year.js +27 -0
  63. package/dist/year.js.map +1 -0
  64. package/package.json +119 -0
package/package.json ADDED
@@ -0,0 +1,119 @@
1
+ {
2
+ "name": "hebrew-date-utils",
3
+ "version": "0.1.0",
4
+ "description": "Date-only Hebrew/Gregorian utility toolkit built on @hebcal/core and date-fns",
5
+ "main": "./dist/index.js",
6
+ "module": "./dist/index.js",
7
+ "types": "./dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./dist/index.js"
12
+ },
13
+ "./types": {
14
+ "types": "./dist/types.d.ts",
15
+ "import": "./dist/types.js"
16
+ },
17
+ "./constants": {
18
+ "types": "./dist/constants.d.ts",
19
+ "import": "./dist/constants.js"
20
+ },
21
+ "./conversion": {
22
+ "types": "./dist/conversion.d.ts",
23
+ "import": "./dist/conversion.js"
24
+ },
25
+ "./month-utils": {
26
+ "types": "./dist/month-utils.d.ts",
27
+ "import": "./dist/month-utils.js"
28
+ },
29
+ "./boundaries": {
30
+ "types": "./dist/boundaries.d.ts",
31
+ "import": "./dist/boundaries.js"
32
+ },
33
+ "./ranges": {
34
+ "types": "./dist/ranges.d.ts",
35
+ "import": "./dist/ranges.js"
36
+ },
37
+ "./info": {
38
+ "types": "./dist/info.d.ts",
39
+ "import": "./dist/info.js"
40
+ },
41
+ "./membership": {
42
+ "types": "./dist/membership.d.ts",
43
+ "import": "./dist/membership.js"
44
+ },
45
+ "./navigation": {
46
+ "types": "./dist/navigation.d.ts",
47
+ "import": "./dist/navigation.js"
48
+ },
49
+ "./formatting": {
50
+ "types": "./dist/formatting.d.ts",
51
+ "import": "./dist/formatting.js"
52
+ },
53
+ "./holidays": {
54
+ "types": "./dist/holidays.d.ts",
55
+ "import": "./dist/holidays.js"
56
+ },
57
+ "./year": {
58
+ "types": "./dist/year.d.ts",
59
+ "import": "./dist/year.js"
60
+ },
61
+ "./arithmetic": {
62
+ "types": "./dist/arithmetic.d.ts",
63
+ "import": "./dist/arithmetic.js"
64
+ },
65
+ "./package.json": "./package.json"
66
+ },
67
+ "files": [
68
+ "dist",
69
+ "README.md",
70
+ "CHANGELOG.md",
71
+ "LICENSE"
72
+ ],
73
+ "scripts": {
74
+ "clean": "rimraf dist",
75
+ "build": "npm run clean && tsc -p tsconfig.json",
76
+ "typecheck": "tsc -p tsconfig.json --noEmit",
77
+ "test": "vitest run",
78
+ "test:watch": "vitest",
79
+ "pack:dry": "npm pack --dry-run",
80
+ "release:check": "npm run prepublishOnly && npm run pack:dry",
81
+ "publish:public": "npm publish --access public",
82
+ "prepublishOnly": "npm run typecheck && npm run test && npm run build"
83
+ },
84
+ "keywords": [
85
+ "hebrew-calendar",
86
+ "jewish-calendar",
87
+ "date-utils",
88
+ "date-fns",
89
+ "hebcal"
90
+ ],
91
+ "author": "",
92
+ "license": "MIT",
93
+ "sideEffects": false,
94
+ "type": "module",
95
+ "publishConfig": {
96
+ "access": "public"
97
+ },
98
+ "engines": {
99
+ "node": ">=18"
100
+ },
101
+ "repository": {
102
+ "type": "git",
103
+ "url": "git+https://github.com/your-org/hebrew-date-utils.git"
104
+ },
105
+ "bugs": {
106
+ "url": "https://github.com/your-org/hebrew-date-utils/issues"
107
+ },
108
+ "homepage": "https://github.com/your-org/hebrew-date-utils#readme",
109
+ "dependencies": {
110
+ "@hebcal/core": "^6.0.8",
111
+ "date-fns": "^4.1.0"
112
+ },
113
+ "devDependencies": {
114
+ "@types/node": "^25.5.2",
115
+ "rimraf": "^6.1.3",
116
+ "typescript": "^6.0.2",
117
+ "vitest": "^4.1.2"
118
+ }
119
+ }