@foro-sh/foro 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.
package/README.md ADDED
@@ -0,0 +1,10 @@
1
+ # Foro TypeScript SDK
2
+
3
+ This package is the TypeScript SDK for Foro.
4
+
5
+ ## Development
6
+
7
+ ```bash
8
+ npm install
9
+ npm run build
10
+ ```
@@ -0,0 +1,2 @@
1
+ export declare function helloForo(name?: string): string;
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,wBAAgB,SAAS,CAAC,IAAI,GAAE,MAAgB,GAAG,MAAM,CAExD"}
package/dist/index.js ADDED
@@ -0,0 +1,3 @@
1
+ export function helloForo(name = "world") {
2
+ return `Hello, ${name} from Foro`;
3
+ }
package/package.json ADDED
@@ -0,0 +1,47 @@
1
+ {
2
+ "name": "@foro-sh/foro",
3
+ "version": "0.1.0",
4
+ "description": "TypeScript SDK for Foro",
5
+ "type": "module",
6
+ "main": "dist/index.js",
7
+ "types": "dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./dist/index.js",
12
+ "default": "./dist/index.js"
13
+ }
14
+ },
15
+ "files": [
16
+ "dist"
17
+ ],
18
+ "scripts": {
19
+ "build": "tsc -p tsconfig.json",
20
+ "prepublishOnly": "npm run build",
21
+ "test": "node --test dist/**/*.test.js"
22
+ },
23
+ "publishConfig": {
24
+ "access": "public"
25
+ },
26
+ "repository": {
27
+ "type": "git",
28
+ "url": "git+https://github.com/foro-sh/foro.git"
29
+ },
30
+ "homepage": "https://github.com/foro-sh/foro",
31
+ "bugs": {
32
+ "url": "https://github.com/foro-sh/foro/issues"
33
+ },
34
+ "license": "MIT",
35
+ "keywords": [
36
+ "foro",
37
+ "sdk",
38
+ "typescript",
39
+ "api"
40
+ ],
41
+ "engines": {
42
+ "node": ">=18"
43
+ },
44
+ "devDependencies": {
45
+ "typescript": "^5.6.3"
46
+ }
47
+ }