Skip to content

Commit 5beac8d

Browse files
committed
Format package.json and typedoc.json for improved readability and consistency
1 parent 55d7a1d commit 5beac8d

File tree

2 files changed

+131
-138
lines changed

2 files changed

+131
-138
lines changed

package.json

Lines changed: 113 additions & 120 deletions
Original file line numberDiff line numberDiff line change
@@ -1,122 +1,115 @@
11
{
2-
"name": "remix-hono",
3-
"version": "0.0.17",
4-
"license": "MIT",
5-
"description": "Hono middlewares for Remix",
6-
"author": "Sergio Xalambrí <[email protected]> (https://sergiodxa.com/)",
7-
"keywords": [
8-
"remix",
9-
"remix-run",
10-
"react-router",
11-
"hono",
12-
"cloudflare",
13-
"cloudflare-pages"
14-
],
15-
"funding": [
16-
{
17-
"type": "github",
18-
"url": "https://github.com/sponsors/sergiodxa"
19-
}
20-
],
21-
"homepage": "https://github.com/sergiodxa/remix-hono#readme",
22-
"repository": {
23-
"type": "git",
24-
"url": "git+https://github.com/sergiodxa/remix-hono.git"
25-
},
26-
"bugs": {
27-
"url": "https://github.com/sergiodxa/remix-hono/issues"
28-
},
29-
"type": "module",
30-
"exports": {
31-
"./cloudflare": {
32-
"types": "./build/cloudflare.d.ts",
33-
"default": "./build/cloudflare.js"
34-
},
35-
"./handler": {
36-
"types": "./build/handler.d.ts",
37-
"default": "./build/handler.js"
38-
},
39-
"./i18next": {
40-
"types": "./build/i18next.d.ts",
41-
"default": "./build/i18next.js"
42-
},
43-
"./security": {
44-
"types": "./build/security.d.ts",
45-
"default": "./build/security.js"
46-
},
47-
"./session": {
48-
"types": "./build/session.d.ts",
49-
"default": "./build/session.js"
50-
},
51-
"./trailing-slash": {
52-
"types": "./build/trailing-slash.d.ts",
53-
"default": "./build/trailing-slash.js"
54-
},
55-
"./typed-env": {
56-
"types": "./build/typed-env.d.ts",
57-
"default": "./build/typed-env.js"
58-
},
59-
"./package.json": "./package.json"
60-
},
61-
"sideEffects": false,
62-
"sponsor": {
63-
"url": "https://github.com/sponsors/sergiodxa"
64-
},
65-
"files": [
66-
"src",
67-
"build",
68-
"package.json",
69-
"README.md"
70-
],
71-
"scripts": {
72-
"build": "tsc",
73-
"typecheck": "tsc --noEmit",
74-
"quality": "biome check .",
75-
"quality:fix": "biome check . --write --unsafe",
76-
"exports": "bun run ./scripts/exports.ts"
77-
},
78-
"peerDependencies": {
79-
"@react-router/cloudflare": "^7.0.1",
80-
"hono": "^4.6.12",
81-
"i18next": "^23.0.0",
82-
"pretty-cache-header": "^1.0.0",
83-
"react-router": "^7.0.1",
84-
"remix-i18next": "^7.0.0",
85-
"zod": "^3.0.0"
86-
},
87-
"peerDependenciesMeta": {
88-
"react-router": {
89-
"optional": true
90-
},
91-
"@react-router/cloudflare": {
92-
"optional": true
93-
},
94-
"i18next": {
95-
"optional": true
96-
},
97-
"remix-i18next": {
98-
"optional": true
99-
},
100-
"zod": {
101-
"optional": true
102-
}
103-
},
104-
"devDependencies": {
105-
"@biomejs/biome": "^1.9.4",
106-
"@cloudflare/workers-types": "^4.20241205.0",
107-
"@react-router/cloudflare": "^7.0.1",
108-
"@total-typescript/tsconfig": "^1.0.4",
109-
"@types/bun": "^1.1.14",
110-
"i18next": "^23.0.0",
111-
"remix-i18next": "^7.0.0",
112-
"typedoc": "^0.27.3",
113-
"typedoc-plugin-mdn-links": "^4.0.3",
114-
"typescript": "^5.7.2",
115-
"vite": "^6.0.3",
116-
"vite-tsconfig-paths": "^5.1.3",
117-
"zod": "^3.22.4"
118-
},
119-
"trustedDependencies": [
120-
"@biomejs/biome"
121-
]
2+
"name": "remix-hono",
3+
"version": "0.0.17",
4+
"license": "MIT",
5+
"description": "Hono middlewares for Remix",
6+
"author": "Sergio Xalambrí <[email protected]> (https://sergiodxa.com/)",
7+
"keywords": [
8+
"remix",
9+
"remix-run",
10+
"react-router",
11+
"hono",
12+
"cloudflare",
13+
"cloudflare-pages"
14+
],
15+
"funding": [
16+
{
17+
"type": "github",
18+
"url": "https://github.com/sponsors/sergiodxa"
19+
}
20+
],
21+
"homepage": "https://github.com/sergiodxa/remix-hono#readme",
22+
"repository": {
23+
"type": "git",
24+
"url": "git+https://github.com/sergiodxa/remix-hono.git"
25+
},
26+
"bugs": {
27+
"url": "https://github.com/sergiodxa/remix-hono/issues"
28+
},
29+
"type": "module",
30+
"exports": {
31+
"./cloudflare": {
32+
"types": "./build/cloudflare.d.ts",
33+
"default": "./build/cloudflare.js"
34+
},
35+
"./handler": {
36+
"types": "./build/handler.d.ts",
37+
"default": "./build/handler.js"
38+
},
39+
"./i18next": {
40+
"types": "./build/i18next.d.ts",
41+
"default": "./build/i18next.js"
42+
},
43+
"./security": {
44+
"types": "./build/security.d.ts",
45+
"default": "./build/security.js"
46+
},
47+
"./session": {
48+
"types": "./build/session.d.ts",
49+
"default": "./build/session.js"
50+
},
51+
"./trailing-slash": {
52+
"types": "./build/trailing-slash.d.ts",
53+
"default": "./build/trailing-slash.js"
54+
},
55+
"./typed-env": {
56+
"types": "./build/typed-env.d.ts",
57+
"default": "./build/typed-env.js"
58+
},
59+
"./package.json": "./package.json"
60+
},
61+
"sideEffects": false,
62+
"sponsor": {
63+
"url": "https://github.com/sponsors/sergiodxa"
64+
},
65+
"files": ["src", "build", "package.json", "README.md"],
66+
"scripts": {
67+
"build": "tsc",
68+
"typecheck": "tsc --noEmit",
69+
"quality": "biome check .",
70+
"quality:fix": "biome check . --write --unsafe",
71+
"exports": "bun run ./scripts/exports.ts"
72+
},
73+
"peerDependencies": {
74+
"@react-router/cloudflare": "^7.0.1",
75+
"hono": "^4.6.12",
76+
"i18next": "^23.0.0",
77+
"pretty-cache-header": "^1.0.0",
78+
"react-router": "^7.0.1",
79+
"remix-i18next": "^7.0.0",
80+
"zod": "^3.0.0"
81+
},
82+
"peerDependenciesMeta": {
83+
"react-router": {
84+
"optional": true
85+
},
86+
"@react-router/cloudflare": {
87+
"optional": true
88+
},
89+
"i18next": {
90+
"optional": true
91+
},
92+
"remix-i18next": {
93+
"optional": true
94+
},
95+
"zod": {
96+
"optional": true
97+
}
98+
},
99+
"devDependencies": {
100+
"@biomejs/biome": "^1.9.4",
101+
"@cloudflare/workers-types": "^4.20241205.0",
102+
"@react-router/cloudflare": "^7.0.1",
103+
"@total-typescript/tsconfig": "^1.0.4",
104+
"@types/bun": "^1.1.14",
105+
"i18next": "^23.0.0",
106+
"remix-i18next": "^7.0.0",
107+
"typedoc": "^0.27.3",
108+
"typedoc-plugin-mdn-links": "^4.0.3",
109+
"typescript": "^5.7.2",
110+
"vite": "^6.0.3",
111+
"vite-tsconfig-paths": "^5.1.3",
112+
"zod": "^3.22.4"
113+
},
114+
"trustedDependencies": ["@biomejs/biome"]
122115
}

typedoc.json

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
{
2-
"$schema": "https://typedoc.org/schema.json",
3-
"name": "Remix Hono",
4-
"includeVersion": true,
5-
"entryPoints": [
6-
"./src/cloudflare.ts",
7-
"./src/handler.ts",
8-
"./src/i18next.ts",
9-
"./src/security.ts",
10-
"./src/session.ts",
11-
"./src/trailing-slash.ts",
12-
"./src/typed-env.ts"
13-
],
14-
"out": "pages",
15-
"json": "pages/index.json",
16-
"cleanOutputDir": true,
17-
"projectDocuments": ["./docs/*.md"],
18-
"plugin": ["typedoc-plugin-mdn-links"],
19-
"categorizeByGroup": false
2+
"$schema": "https://typedoc.org/schema.json",
3+
"name": "Remix Hono",
4+
"includeVersion": true,
5+
"entryPoints": [
6+
"./src/cloudflare.ts",
7+
"./src/handler.ts",
8+
"./src/i18next.ts",
9+
"./src/security.ts",
10+
"./src/session.ts",
11+
"./src/trailing-slash.ts",
12+
"./src/typed-env.ts"
13+
],
14+
"out": "pages",
15+
"json": "pages/index.json",
16+
"cleanOutputDir": true,
17+
"projectDocuments": ["./docs/*.md"],
18+
"plugin": ["typedoc-plugin-mdn-links"],
19+
"categorizeByGroup": false
2020
}

0 commit comments

Comments
 (0)