@razvan11/paladin 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.
@@ -0,0 +1,9 @@
1
+ export declare class Logger {
2
+ private pe;
3
+ constructor();
4
+ info(message: string): void;
5
+ warn(message: string): void;
6
+ error(err: Error): void;
7
+ success(message: string): void;
8
+ }
9
+ export declare const logger: Logger;
@@ -0,0 +1,3 @@
1
+ export type Validator = {
2
+ env: [unknown];
3
+ };
@@ -0,0 +1,2 @@
1
+ import PrettyError from 'pretty-error';
2
+ export declare const pe: PrettyError;
package/package.json ADDED
@@ -0,0 +1,64 @@
1
+ {
2
+ "name": "@razvan11/paladin",
3
+ "version": "1.0.0",
4
+ "description": "A Bun-based backend framework with decorators, dependency injection, and controller registration",
5
+ "keywords": [
6
+ "bun",
7
+ "backend",
8
+ "framework",
9
+ "decorators",
10
+ "hono",
11
+ "inversify",
12
+ "dependency-injection"
13
+ ],
14
+ "license": "MIT",
15
+ "author": "Razvan",
16
+ "repository": {
17
+ "type": "git",
18
+ "url": "https://github.com/razvan/backend_framework"
19
+ },
20
+ "type": "module",
21
+ "main": "./dist/index.js",
22
+ "module": "./dist/index.js",
23
+ "types": "./dist/index.d.ts",
24
+ "exports": {
25
+ ".": {
26
+ "types": "./dist/index.d.ts",
27
+ "import": "./dist/index.js"
28
+ }
29
+ },
30
+ "files": [
31
+ "dist"
32
+ ],
33
+ "scripts": {
34
+ "dev": "bun run ./example/index.ts",
35
+ "build": "bun build ./src/index.ts --outdir ./dist --target bun && bun run build:types",
36
+ "build:types": "tsc -p tsconfig.build.json",
37
+ "prepublishOnly": "bun run build",
38
+ "fmt": "bunx @biomejs/biome format --write",
39
+ "lint": "bunx @biomejs/biome lint --write",
40
+ "check": "bunx @biomejs/biome check"
41
+ },
42
+ "devDependencies": {
43
+ "@biomejs/biome": "^2.3.10",
44
+ "@types/bun": "latest",
45
+ "@types/react": "^19.2.7",
46
+ "@types/react-dom": "^19.2.3"
47
+ },
48
+ "peerDependencies": {
49
+ "typescript": "^5"
50
+ },
51
+ "dependencies": {
52
+ "chalk": "^5.6.2",
53
+ "class-validator": "^0.14.3",
54
+ "hono": "^4.11.1",
55
+ "inversify": "^7.10.8",
56
+ "pretty-error": "^4.0.0",
57
+ "react": "^19.2.3",
58
+ "react-dom": "^19.2.3",
59
+ "react-router": "^7.11.0",
60
+ "react-router-dom": "^7.11.0",
61
+ "reflect-metadata": "^0.2.2",
62
+ "zod": "^4.2.1"
63
+ }
64
+ }