@thangnv-dev/rate-limiter-mikroorm-node 0.0.2 → 0.0.6

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 (2) hide show
  1. package/README.md +33 -0
  2. package/package.json +8 -9
package/README.md ADDED
@@ -0,0 +1,33 @@
1
+ # @thangnv-dev/rate-limiter-mikroorm-node
2
+
3
+ Reusable library package in this monorepo.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ npm install @thangnv-dev/rate-limiter-mikroorm-node
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ```ts
14
+ import * as api from '@thangnv-dev/rate-limiter-mikroorm-node'
15
+ ```
16
+
17
+ ## Public API
18
+
19
+ This package exports the following API surface from `src/index.ts`:
20
+
21
+ ```ts
22
+ export { RateLimiterInvalidResultError, RateLimiterQueryError } from './errors.js'
23
+ export { KnexRateLimiter } from './rate-limiter.js'
24
+ export { Migration20260221143000RateLimiter } from './migrations/migration-20260221143000-rate-limiter.js'
25
+
26
+ ```
27
+
28
+ ## Development
29
+
30
+ ```bash
31
+ yarn workspace @thangnv-dev/rate-limiter-mikroorm-node build
32
+ yarn workspace @thangnv-dev/rate-limiter-mikroorm-node test
33
+ ```
package/package.json CHANGED
@@ -1,7 +1,6 @@
1
1
  {
2
2
  "name": "@thangnv-dev/rate-limiter-mikroorm-node",
3
- "version": "0.0.2",
4
- "private": false,
3
+ "version": "0.0.6",
5
4
  "publishConfig": {
6
5
  "access": "public"
7
6
  },
@@ -24,18 +23,18 @@
24
23
  "test": "vitest run"
25
24
  },
26
25
  "dependencies": {
27
- "@thangnv-dev/error-common": "workspace:^",
28
- "@thangnv-dev/rate-limiter-node": "workspace:^"
26
+ "@thangnv-dev/error-common": "^0.0.6",
27
+ "@thangnv-dev/rate-limiter-node": "^0.0.6"
29
28
  },
30
29
  "devDependencies": {
31
30
  "@mikro-orm/core": "^6.6.7",
32
31
  "@mikro-orm/knex": "^6.6.7",
33
32
  "@mikro-orm/migrations": "^6.6.7",
34
33
  "@mikro-orm/postgresql": "^6.6.7",
35
- "@thangnv-dev/mikroorm-nest": "workspace:^",
36
- "@typescript-eslint/eslint-plugin": "^8.56.0",
37
- "@typescript-eslint/parser": "^8.56.0",
38
- "eslint": "^10.0.0",
34
+ "@thangnv-dev/mikroorm-nest": "^0.0.6",
35
+ "@typescript-eslint/eslint-plugin": "^8.56.1",
36
+ "@typescript-eslint/parser": "^8.56.1",
37
+ "eslint": "^10.0.2",
39
38
  "pg": "^8.18.0",
40
39
  "temporal-polyfill": "^0.3.0",
41
40
  "typescript": "^5.9.3",
@@ -46,4 +45,4 @@
46
45
  "@mikro-orm/migrations": "^6.6.6",
47
46
  "temporal-polyfill": "*"
48
47
  }
49
- }
48
+ }