@fjell/express-router 4.4.11 → 4.4.14

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,21 @@
1
+ /* Express Router Theme Variables */
2
+ :root {
3
+ --express-router-primary: #339966;
4
+ --express-router-secondary: #22664d;
5
+ --express-router-accent: #66cc99;
6
+ --express-router-background: #f8fffe;
7
+ --express-router-surface: #ffffff;
8
+ --express-router-text: #1a3329;
9
+ --express-router-muted: #557766;
10
+ }
11
+
12
+ /* Theme-specific overrides */
13
+ [data-theme="express-router"] {
14
+ --color-primary: var(--express-router-primary);
15
+ --color-secondary: var(--express-router-secondary);
16
+ --color-accent: var(--express-router-accent);
17
+ --color-background: var(--express-router-background);
18
+ --color-surface: var(--express-router-surface);
19
+ --color-text: var(--express-router-text);
20
+ --color-text-muted: var(--express-router-muted);
21
+ }
@@ -0,0 +1,12 @@
1
+ import React from 'react'
2
+ import ReactDOM from 'react-dom/client'
3
+ import { DocsApp } from '@fjell/docs-template'
4
+ import '@fjell/docs-template/dist/index.css'
5
+ import config from '../docs.config'
6
+ import './index.css'
7
+
8
+ ReactDOM.createRoot(document.getElementById('root')!).render(
9
+ <React.StrictMode>
10
+ <DocsApp config={config} />
11
+ </React.StrictMode>
12
+ )
@@ -0,0 +1 @@
1
+ import '@testing-library/jest-dom'
@@ -0,0 +1,4 @@
1
+ declare module '*.svg' {
2
+ const content: string;
3
+ export default content;
4
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "compilerOptions": {
3
+ "composite": true,
4
+ "skipLibCheck": true,
5
+ "module": "ESNext",
6
+ "moduleResolution": "bundler",
7
+ "allowSyntheticDefaultImports": true,
8
+ "strict": true,
9
+ "noEmit": true
10
+ },
11
+ "include": [
12
+ "vite.config.ts",
13
+ "docs.config.ts"
14
+ ]
15
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fjell/express-router",
3
- "version": "4.4.11",
3
+ "version": "4.4.14",
4
4
  "license": "Apache-2.0",
5
5
  "keywords": [
6
6
  "express",
@@ -22,22 +22,24 @@
22
22
  },
23
23
  "type": "module",
24
24
  "dependencies": {
25
- "@fjell/core": "^4.4.7",
26
- "@fjell/lib": "^4.4.12",
27
- "@fjell/logging": "^4.4.7",
28
- "@fjell/registry": "^4.4.7",
25
+ "@fjell/core": "^4.4.13",
26
+ "@fjell/docs-template": "1.0.5",
27
+ "@fjell/lib": "^4.4.21",
28
+ "@fjell/logging": "^4.4.17",
29
+ "@fjell/registry": "^4.4.16",
29
30
  "deepmerge": "^4.3.1",
30
31
  "express": "^5.1.0"
31
32
  },
32
33
  "devDependencies": {
33
34
  "@eslint/eslintrc": "^3.3.1",
34
35
  "@eslint/js": "^9.31.0",
35
- "@swc/core": "^1.13.1",
36
+ "@fjell/eslint-config": "^1.0.5",
37
+ "@swc/core": "^1.13.2",
36
38
  "@tsconfig/recommended": "^1.0.10",
37
39
  "@types/express": "^5.0.3",
38
- "@types/node": "^24.0.15",
39
- "@typescript-eslint/eslint-plugin": "^8.37.0",
40
- "@typescript-eslint/parser": "^8.37.0",
40
+ "@types/node": "^24.1.0",
41
+ "@typescript-eslint/eslint-plugin": "^8.38.0",
42
+ "@typescript-eslint/parser": "^8.38.0",
41
43
  "@vitest/coverage-v8": "^3.2.4",
42
44
  "eslint": "^9.31.0",
43
45
  "nodemon": "^3.1.10",
@@ -57,6 +59,10 @@
57
59
  "dev": "nodemon --watch src --ext ts --exec 'pnpm build'",
58
60
  "lint": "eslint . --ext .ts --fix",
59
61
  "clean": "rimraf dist",
60
- "test": "pnpm run lint && vitest run --coverage"
62
+ "test": "pnpm run lint && vitest run --coverage",
63
+ "docs:dev": "cd docs && npm run dev",
64
+ "docs:build": "cd docs && npm run build",
65
+ "docs:preview": "cd docs && npm run preview",
66
+ "docs:test": "cd docs && npm run test"
61
67
  }
62
68
  }