luxon-hijri/package.json
Aric Camarata 8b734dd777 ci: pin pnpm via packageManager field, drop hardcoded version
pnpm/action-setup@v4 with version:10 resolved to pnpm@10.30.2, which
returned 403 from npm registry on release day. Switch to reading the
version from the packageManager field in package.json so CI uses the
same exact pnpm version as local development.
2026-02-25 14:00:19 -05:00

76 lines
1.7 KiB
JSON

{
"name": "luxon-hijri",
"version": "2.0.0",
"description": "Hijri/Gregorian date conversion and formatting using the Umm al-Qura calendar. Built on Luxon. Supports toHijri, toGregorian, formatHijriDate, and isValidHijriDate.",
"author": "Aric Camarata",
"license": "MIT",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.cjs"
}
}
},
"sideEffects": false,
"files": [
"dist/index.cjs",
"dist/index.mjs",
"dist/index.d.ts",
"dist/index.d.mts",
"README.md",
"CHANGELOG.md",
"LICENSE"
],
"engines": {
"node": ">=20"
},
"packageManager": "pnpm@10.30.1",
"scripts": {
"build": "tsup",
"typecheck": "tsc --noEmit",
"pretest": "tsup",
"test": "node test.mjs && node test-cjs.cjs",
"prepublishOnly": "tsup"
},
"keywords": [
"hijri",
"gregorian",
"calendar",
"converter",
"luxon",
"umm-al-qura",
"islamic",
"date",
"format",
"typescript"
],
"dependencies": {
"luxon": "^3.5.0"
},
"devDependencies": {
"@types/luxon": "^3.4.2",
"@types/node": "^22.0.0",
"tsup": "^8.0.0",
"typescript": "^5.5.0"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"repository": {
"type": "git",
"url": "git+https://github.com/acamarata/luxon-hijri.git"
},
"homepage": "https://github.com/acamarata/luxon-hijri#readme",
"bugs": {
"url": "https://github.com/acamarata/luxon-hijri/issues"
}
}