@fjell/express-router 4.4.18 → 4.4.20
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 +2 -2
- package/docs/package.json +1 -1
- package/docs/public/README.md +2 -2
- package/package.json +14 -14
- package/docs/src/index.css +0 -21
- package/docs/src/main.tsx +0 -12
- package/docs/src/test/setup.ts +0 -1
- package/docs/src/types.d.ts +0 -4
package/README.md
CHANGED
|
@@ -20,10 +20,10 @@ Fjell Express Router provides a powerful abstraction layer for creating Express.
|
|
|
20
20
|
npm install @fjell/express-router
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
-
Or with
|
|
23
|
+
Or with npm:
|
|
24
24
|
|
|
25
25
|
```bash
|
|
26
|
-
|
|
26
|
+
npm install @fjell/express-router
|
|
27
27
|
```
|
|
28
28
|
|
|
29
29
|
## Quick Start
|
package/docs/package.json
CHANGED
package/docs/public/README.md
CHANGED
|
@@ -20,10 +20,10 @@ Fjell Express Router provides a powerful abstraction layer for creating Express.
|
|
|
20
20
|
npm install @fjell/express-router
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
-
Or with
|
|
23
|
+
Or with npm:
|
|
24
24
|
|
|
25
25
|
```bash
|
|
26
|
-
|
|
26
|
+
npm install @fjell/express-router
|
|
27
27
|
```
|
|
28
28
|
|
|
29
29
|
## Quick Start
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fjell/express-router",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.20",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"express",
|
|
@@ -20,6 +20,18 @@
|
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
22
|
"type": "module",
|
|
23
|
+
"scripts": {
|
|
24
|
+
"build": "npm run clean && node build.js",
|
|
25
|
+
"dev": "nodemon --watch src --ext ts --exec 'npm run build'",
|
|
26
|
+
"lint": "eslint . --ext .ts --fix",
|
|
27
|
+
"clean": "rm -rf dist",
|
|
28
|
+
"test": "npm run lint && vitest run --coverage",
|
|
29
|
+
"prepublishOnly": "npm run clean && npm run build",
|
|
30
|
+
"docs:dev": "cd docs && npm run dev",
|
|
31
|
+
"docs:build": "cd docs && npm run build",
|
|
32
|
+
"docs:preview": "cd docs && npm run preview",
|
|
33
|
+
"docs:test": "cd docs && npm run test"
|
|
34
|
+
},
|
|
23
35
|
"dependencies": {
|
|
24
36
|
"@fjell/core": "^4.4.25",
|
|
25
37
|
"@fjell/docs-template": "1.0.25",
|
|
@@ -42,23 +54,11 @@
|
|
|
42
54
|
"esbuild": "^0.25.8",
|
|
43
55
|
"eslint": "^9.32.0",
|
|
44
56
|
"nodemon": "^3.1.10",
|
|
45
|
-
"rimraf": "^6.0.1",
|
|
46
57
|
"typescript": "^5.8.3",
|
|
47
58
|
"vitest": "^3.2.4"
|
|
48
59
|
},
|
|
49
60
|
"repository": {
|
|
50
61
|
"type": "git",
|
|
51
62
|
"url": "git+https://github.com/getfjell/express-router.git"
|
|
52
|
-
},
|
|
53
|
-
"scripts": {
|
|
54
|
-
"build": "pnpm run clean && node build.js",
|
|
55
|
-
"dev": "nodemon --watch src --ext ts --exec 'pnpm build'",
|
|
56
|
-
"lint": "eslint . --ext .ts --fix",
|
|
57
|
-
"clean": "rimraf dist",
|
|
58
|
-
"test": "pnpm run lint && vitest run --coverage",
|
|
59
|
-
"docs:dev": "cd docs && npm run dev",
|
|
60
|
-
"docs:build": "cd docs && npm run build",
|
|
61
|
-
"docs:preview": "cd docs && npm run preview",
|
|
62
|
-
"docs:test": "cd docs && npm run test"
|
|
63
63
|
}
|
|
64
|
-
}
|
|
64
|
+
}
|
package/docs/src/index.css
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
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
|
-
}
|
package/docs/src/main.tsx
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
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
|
-
)
|
package/docs/src/test/setup.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '@testing-library/jest-dom'
|
package/docs/src/types.d.ts
DELETED