@fjell/express-router 4.4.18 → 4.4.19

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 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 pnpm:
23
+ Or with npm:
24
24
 
25
25
  ```bash
26
- pnpm add @fjell/express-router
26
+ npm install @fjell/express-router
27
27
  ```
28
28
 
29
29
  ## Quick Start
@@ -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 pnpm:
23
+ Or with npm:
24
24
 
25
25
  ```bash
26
- pnpm add @fjell/express-router
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.18",
3
+ "version": "4.4.19",
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": "rimraf 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",
@@ -49,16 +61,5 @@
49
61
  "repository": {
50
62
  "type": "git",
51
63
  "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
64
  }
64
- }
65
+ }
@@ -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
- )
@@ -1 +0,0 @@
1
- import '@testing-library/jest-dom'
@@ -1,4 +0,0 @@
1
- declare module '*.svg' {
2
- const content: string;
3
- export default content;
4
- }