@razvan11/paladin 1.1.1 → 1.1.2

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.
@@ -20,6 +20,7 @@ export interface LayoutViewProps {
20
20
  head?: ReactNode;
21
21
  /** Inline data to pass to the client */
22
22
  clientData?: Record<string, unknown>;
23
+ favicon?: string;
23
24
  }
24
25
  export declare const LayoutView: FC<LayoutViewProps>;
25
26
  /**
package/dist/index.js CHANGED
@@ -21026,7 +21026,8 @@ var LayoutView = ({
21026
21026
  className = "",
21027
21027
  children,
21028
21028
  head,
21029
- clientData
21029
+ clientData,
21030
+ favicon
21030
21031
  }) => {
21031
21032
  return /* @__PURE__ */ jsxDEV2("html", {
21032
21033
  lang: "en",
@@ -21047,6 +21048,10 @@ var LayoutView = ({
21047
21048
  /* @__PURE__ */ jsxDEV2("title", {
21048
21049
  children: title
21049
21050
  }, undefined, false, undefined, this),
21051
+ favicon && /* @__PURE__ */ jsxDEV2("link", {
21052
+ rel: "image/svg+xml",
21053
+ href: favicon
21054
+ }, undefined, false, undefined, this),
21050
21055
  styles3.map((href) => /* @__PURE__ */ jsxDEV2("link", {
21051
21056
  rel: "stylesheet",
21052
21057
  href
package/package.json CHANGED
@@ -1,67 +1,68 @@
1
1
  {
2
- "name": "@razvan11/paladin",
3
- "version": "1.1.1",
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 ./framework/index.ts --outdir ./dist --target bun --external react --external react-dom && 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
- "typeorm": "^0.3.28"
48
- },
49
- "peerDependencies": {
50
- "typescript": "^5",
51
- "react": "^19.0.0",
52
- "react-dom": "^19.0.0"
53
- },
54
- "dependencies": {
55
- "chalk": "^5.6.2",
56
- "class-validator": "^0.14.3",
57
- "hono": "^4.11.1",
58
- "inversify": "^7.10.8",
59
- "pretty-error": "^4.0.0",
60
- "react": "^19.2.3",
61
- "react-dom": "^19.2.3",
62
- "react-router": "^7.11.0",
63
- "react-router-dom": "^7.11.0",
64
- "reflect-metadata": "^0.2.2",
65
- "zod": "^4.2.1"
66
- }
67
- }
2
+ "name": "@razvan11/paladin",
3
+ "version": "1.1.2",
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 ./framework/index.ts --outdir ./dist --target bun --external react --external react-dom && 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
+ "typeorm": "^0.3.28"
48
+ },
49
+ "peerDependencies": {
50
+ "typescript": "^5",
51
+ "react": "^19.0.0",
52
+ "react-dom": "^19.0.0"
53
+ },
54
+ "dependencies": {
55
+ "chalk": "^5.6.2",
56
+ "class-validator": "^0.14.3",
57
+ "hono": "^4.11.1",
58
+ "inversify": "^7.10.8",
59
+ "pretty-error": "^4.0.0",
60
+ "react": "^19.2.3",
61
+ "react-dom": "^19.2.3",
62
+ "react-router": "^7.11.0",
63
+ "react-router-dom": "^7.11.0",
64
+ "reflect-metadata": "^0.2.2",
65
+ "zod": "^4.2.1"
66
+ }
67
+ }
68
+