@osmanhorasan/aros 1.0.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.
package/README.md ADDED
@@ -0,0 +1,88 @@
1
+ # Aros
2
+
3
+ Kodsuz web site oluşturma fikri üzerine geliştirilen bir TypeScript kütüphanesi/proje iskeleti.
4
+ Bu depo şu an temel yapı aşamasındadır ve dağıtıma hazır `cjs + esm + d.ts` çıktı üretecek şekilde ayarlanmıştır.
5
+
6
+ ## Ozellikler
7
+
8
+ - TypeScript ile strict ayarlar
9
+ - `tsup` ile hızlı build
10
+ - Hem CommonJS hem ESM çıktı
11
+ - Tip tanımları (`.d.ts`) üretimi
12
+ - Temiz ve sade başlangıç yapısı
13
+
14
+ ## Proje Yapisi
15
+
16
+ ```txt
17
+ aros/
18
+ src/
19
+ index.ts
20
+ dist/
21
+ package.json
22
+ tsup.config.ts
23
+ tsconfig.json
24
+ ```
25
+
26
+ ## Gereksinimler
27
+
28
+ - Node.js 18+ (onerilir)
29
+ - npm
30
+
31
+ ## Kurulum
32
+
33
+ ```bash
34
+ npm install
35
+ ```
36
+
37
+ ## Build Alma
38
+
39
+ ```bash
40
+ npm run build
41
+ ```
42
+
43
+ Bu komut sonunda `dist/` klasoru icinde su dosyalar uretilir:
44
+
45
+ - `index.js` (CommonJS)
46
+ - `index.mjs` (ESM)
47
+ - `index.d.ts` (TypeScript tipleri)
48
+
49
+ ## Kullanim
50
+
51
+ Su an `src/index.ts` bos oldugu icin disariya aktarilan bir API bulunmuyor.
52
+ Ilk adim olarak bu dosyaya kendi fonksiyonlarini veya siniflarini ekleyebilirsin.
53
+
54
+ Ornek:
55
+
56
+ ```ts
57
+ // src/index.ts
58
+ export function merhaba(ad: string): string {
59
+ return `Selam, ${ad}!`;
60
+ }
61
+ ```
62
+
63
+ Ardindan:
64
+
65
+ ```bash
66
+ npm run build
67
+ ```
68
+
69
+ ve baska bir projede:
70
+
71
+ ```ts
72
+ import { merhaba } from "aros";
73
+
74
+ console.log(merhaba("Dunya"));
75
+ ```
76
+
77
+ ## Yol Haritasi (Oneri)
78
+
79
+ - [ ] Temel API tasarimi
80
+ - [ ] Bilesen/sablon sistemi
81
+ - [ ] Form ve icerik bloklari
82
+ - [ ] CLI ile proje olusturma komutlari
83
+ - [ ] Test altyapisi (unit + entegrasyon)
84
+ - [ ] Ornek kullanimlar ve dokumantasyon sayfalari
85
+
86
+ ## Lisans
87
+
88
+ MIT
package/dist/index.cjs ADDED
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/index.ts
21
+ var index_exports = {};
22
+ __export(index_exports, {
23
+ default: () => index_default
24
+ });
25
+ module.exports = __toCommonJS(index_exports);
26
+ var aros = () => {
27
+ return "Aros";
28
+ };
29
+ var index_default = aros;
@@ -0,0 +1,3 @@
1
+ declare const aros: () => string;
2
+
3
+ export { aros as default };
@@ -0,0 +1,3 @@
1
+ declare const aros: () => string;
2
+
3
+ export { aros as default };
package/dist/index.js ADDED
@@ -0,0 +1,8 @@
1
+ // src/index.ts
2
+ var aros = () => {
3
+ return "Aros";
4
+ };
5
+ var index_default = aros;
6
+ export {
7
+ index_default as default
8
+ };
package/package.json ADDED
@@ -0,0 +1,32 @@
1
+ {
2
+ "name": "@osmanhorasan/aros",
3
+ "version": "1.0.0",
4
+ "description": "Kodsuz Web Site Olusturma Projesi",
5
+ "main": "./dist/index.js",
6
+ "module": "./dist/index.mjs",
7
+ "types": "./dist/index.d.ts",
8
+ "homepage": "https://horasan.net",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/osmanhorasan/aros.git"
12
+ },
13
+ "bugs": {
14
+ "url": "https://github.com/osmanhorasan/aros/issues"
15
+ },
16
+ "scripts": {
17
+ "build": "tsup"
18
+ },
19
+ "type": "module",
20
+ "keywords": [
21
+ "kodsuz",
22
+ "web site",
23
+ "olusturma",
24
+ "projesi"
25
+ ],
26
+ "author": "Osman HORASAN <ohorasanlar@gmail.com> (https://github.com/osmanhorasan)",
27
+ "license": "MIT",
28
+ "devDependencies": {
29
+ "tsup": "^8.5.1",
30
+ "typescript": "^6.0.2"
31
+ }
32
+ }