@smounters/imperium 1.1.2 → 1.1.3

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +2 -0
  3. package/package.json +13 -44
package/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  All notable changes to `@smounters/imperium` are documented in this file.
4
4
 
5
+ ## 1.1.3 - 2026-03-30
6
+
7
+ ### Added
8
+ - VitePress documentation for `@smounters/imperium-cron` and `@smounters/imperium-events`.
9
+ - Integration tests (16 tests across HTTP, guards, WebSocket, lifecycle).
10
+ - ESM compatibility: all relative imports use `.js` extensions.
11
+
12
+ ### Changed
13
+ - Migrated to `typescript-eslint` unified package with type-checked rules.
14
+ - Modernized ESLint config (`recommendedTypeChecked` + `stylisticTypeChecked`).
15
+ - Fixed floating promises, redundant types, unused imports.
16
+ - Rewritten README for external users.
17
+ - Monorepo restructure with pnpm workspaces.
18
+
5
19
  ## 1.1.0 - 2026-03-29
6
20
 
7
21
  ### Added
package/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  NestJS-inspired modular DI framework for TypeScript services. Unified HTTP + ConnectRPC + WebSocket server on a single Fastify instance.
4
4
 
5
+ Part of the [Imperium monorepo](https://github.com/smounters/imperium). See also: [`@smounters/imperium-cron`](https://www.npmjs.com/package/@smounters/imperium-cron).
6
+
5
7
  ## Features
6
8
 
7
9
  - **Module system** with `@Module`, `@Injectable`, guards, pipes, interceptors, filters
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smounters/imperium",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "NestJS-like modular DI container with unified HTTP + Connect RPC server for TypeScript",
5
5
  "keywords": [
6
6
  "di",
@@ -48,31 +48,13 @@
48
48
  },
49
49
  "repository": {
50
50
  "type": "git",
51
- "url": "git+https://github.com/smounters/imperium.git"
52
- },
53
- "bugs": {
54
- "url": "https://github.com/smounters/imperium/issues"
51
+ "url": "git+https://github.com/smounters/imperium.git",
52
+ "directory": "packages/imperium"
55
53
  },
56
54
  "homepage": "https://smounters.github.io/imperium/",
57
55
  "engines": {
58
56
  "node": ">=20.0.0"
59
57
  },
60
- "scripts": {
61
- "build": "pnpm exec tsc -p tsconfig.json",
62
- "typecheck": "pnpm exec tsc -p tsconfig.json --noEmit",
63
- "lint": "eslint \"src/**/*.{ts,tsx}\"",
64
- "lint:fix": "eslint \"src/**/*.{ts,tsx}\" --fix",
65
- "format": "prettier . --write",
66
- "format:check": "prettier . --check",
67
- "test": "vitest run",
68
- "test:watch": "vitest",
69
- "clean": "rm -rf dist",
70
- "docs:dev": "pnpm exec vitepress dev docs",
71
- "docs:build": "pnpm exec vitepress build docs",
72
- "docs:preview": "pnpm exec vitepress preview docs",
73
- "prepack": "pnpm run clean && pnpm run build",
74
- "prepublishOnly": "pnpm run clean && pnpm run build"
75
- },
76
58
  "peerDependencies": {
77
59
  "@connectrpc/connect": "^2.1.1",
78
60
  "@connectrpc/connect-fastify": "^2.1.1",
@@ -90,27 +72,14 @@
90
72
  "optional": true
91
73
  }
92
74
  },
93
- "devDependencies": {
94
- "@connectrpc/connect": "^2.1.1",
95
- "@connectrpc/connect-fastify": "^2.1.1",
96
- "@eslint/js": "^10.0.1",
97
- "@fastify/cors": "^11.2.0",
98
- "@fastify/websocket": "^11.2.0",
99
- "@types/node": "^25.5.0",
100
- "@types/ws": "^8.18.1",
101
- "eslint": "^10.1.0",
102
- "eslint-config-prettier": "^10.1.8",
103
- "fastify": "^5.8.4",
104
- "prettier": "^3.8.1",
105
- "reflect-metadata": "^0.2.2",
106
- "tslog": "^4.10.2",
107
- "tsyringe": "^4.10.0",
108
- "typescript": "^5.9.3",
109
- "typescript-eslint": "^8.57.2",
110
- "vite": "^8.0.3",
111
- "vitepress": "^1.6.4",
112
- "vitest": "^4.1.2",
113
- "ws": "^8.20.0",
114
- "zod": "^4.3.6"
75
+ "scripts": {
76
+ "build": "tsc -p tsconfig.json",
77
+ "typecheck": "tsc -p tsconfig.json --noEmit",
78
+ "lint": "eslint \"src/**/*.ts\"",
79
+ "lint:fix": "eslint \"src/**/*.ts\" --fix",
80
+ "test": "vitest run",
81
+ "clean": "rm -rf dist",
82
+ "docs:dev": "vitepress dev docs",
83
+ "docs:build": "vitepress build docs"
115
84
  }
116
- }
85
+ }