@qurany/core 0.0.0 → 0.0.1

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/dist/index.cjs CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var _sowarBTJUCHTIjson = require('./sowar-BTJUCHTI.json'); var _sowarBTJUCHTIjson2 = _interopRequireDefault(_sowarBTJUCHTIjson);var e=r=>_sowarBTJUCHTIjson2.default[r].ayat;exports.surah = e;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var _sowarBTJUCHTIjson = require('./sowar-BTJUCHTI.json'); var _sowarBTJUCHTIjson2 = _interopRequireDefault(_sowarBTJUCHTIjson);var o=t=>_sowarBTJUCHTIjson2.default[1].ayat;exports.surah = o;
2
2
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/surah/surah.ts"],"names":["surah","surahNumber","sowar"],"mappings":"AAAA,ySAAmD,IACtCA,CAAAA,CAASC,CAAAA,EACXC,2BAAAA,CAAMD,CAAW,CAAA,CAAE,IAAA,CAAA,kBAAA","file":"/home/othaimin/repos/qurany/packages/core/dist/index.cjs","sourcesContent":["import sowar from \"@qurany/data/shared/sowar.json\" with { type: 'json' }\nexport const surah = (surahNumber: number) => {\n return sowar[surahNumber].ayat\n}"]}
1
+ {"version":3,"sources":["../src/surah/surah.ts"],"names":["surah","sowar"],"mappings":"AAAA,ySAAmD,IAGtCA,CAAAA,CAASA,CAAAA,EACXC,2BAAAA,CAAM,CAAC,CAAA,CAAE,IAAA,CAAA,kBAAA","file":"/home/othaimin/repos/qurany/packages/core/dist/index.cjs","sourcesContent":["import sowar from \"@qurany/data/shared/sowar.json\" with { type: 'json' }\nimport type { SurahNames } from '@qurany/types'\n\nexport const surah = (surah: SurahNames) => {\n return sowar[1].ayat\n}\n"]}
package/dist/index.d.cts CHANGED
@@ -1,3 +1,5 @@
1
- declare const surah: (surahNumber: number) => number;
1
+ import { SurahNames } from '@qurany/types';
2
+
3
+ declare const surah: (surah: SurahNames) => number;
2
4
 
3
5
  export { surah };
package/dist/index.d.ts CHANGED
@@ -1,3 +1,5 @@
1
- declare const surah: (surahNumber: number) => number;
1
+ import { SurahNames } from '@qurany/types';
2
+
3
+ declare const surah: (surah: SurahNames) => number;
2
4
 
3
5
  export { surah };
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import o from"./sowar-BTJUCHTI.json"with{type:"json"};var e=r=>o[r].ayat;export{e as surah};
1
+ import r from"./sowar-BTJUCHTI.json"with{type:"json"};var o=t=>r[1].ayat;export{o as surah};
2
2
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/surah/surah.ts"],"sourcesContent":["import sowar from \"@qurany/data/shared/sowar.json\" with { type: 'json' }\nexport const surah = (surahNumber: number) => {\n return sowar[surahNumber].ayat\n}"],"mappings":"AAAA,OAAOA,MAAW,uBAAiC,IAAK,CAAE,KAAM,MAAO,EAChE,IAAMC,EAASC,GACXF,EAAME,CAAW,EAAE","names":["sowar","surah","surahNumber"]}
1
+ {"version":3,"sources":["../src/surah/surah.ts"],"sourcesContent":["import sowar from \"@qurany/data/shared/sowar.json\" with { type: 'json' }\nimport type { SurahNames } from '@qurany/types'\n\nexport const surah = (surah: SurahNames) => {\n return sowar[1].ayat\n}\n"],"mappings":"AAAA,OAAOA,MAAW,uBAAiC,IAAK,CAAE,KAAM,MAAO,EAGhE,IAAMC,EAASA,GACXD,EAAM,CAAC,EAAE","names":["sowar","surah"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qurany/core",
3
- "version": "0.0.0",
3
+ "version": "0.0.1",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",
@@ -15,9 +15,10 @@
15
15
  "eslint": "^10.5.0",
16
16
  "tsup": "^8.5.1",
17
17
  "typescript": "6.0.3",
18
- "@qurany/tsconfig": "0.0.0",
19
- "@qurany/eslint-config": "0.0.0",
20
- "@qurany/data": "0.0.0"
18
+ "@qurany/tsconfig": "0.0.1",
19
+ "@qurany/data": "0.0.1",
20
+ "@qurany/types": "0.0.1",
21
+ "@qurany/eslint-config": "0.0.1"
21
22
  },
22
23
  "type": "module",
23
24
  "publishConfig": {