@open-mercato/shared 0.6.6-develop.6384.1.f06fc0b42c → 0.6.6-develop.6385.1.9a81faa5f0
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/.turbo/turbo-build.log +1 -1
- package/AGENTS.md +1 -0
- package/dist/lib/modules/resource-usage.js +904 -0
- package/dist/lib/modules/resource-usage.js.map +7 -0
- package/dist/lib/number.js +14 -0
- package/dist/lib/number.js.map +7 -0
- package/dist/lib/search/config.js +2 -5
- package/dist/lib/search/config.js.map +2 -2
- package/dist/lib/version.js +1 -1
- package/dist/lib/version.js.map +1 -1
- package/dist/modules/registry.js.map +2 -2
- package/package.json +2 -2
- package/src/lib/__tests__/number.test.ts +33 -0
- package/src/lib/modules/__tests__/resource-usage.test.ts +351 -0
- package/src/lib/modules/resource-usage.ts +1213 -0
- package/src/lib/number.ts +14 -0
- package/src/lib/search/config.ts +2 -5
- package/src/modules/registry.ts +2 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
[build:shared] found
|
|
1
|
+
[build:shared] found 228 entry points
|
|
2
2
|
[build:shared] built successfully
|
package/AGENTS.md
CHANGED
|
@@ -48,6 +48,7 @@ yarn workspace @open-mercato/shared build
|
|
|
48
48
|
| `i18n/` | When translating strings — `useT()` client-side, `resolveTranslations()` server-side | `@open-mercato/shared/lib/i18n/context` or `/server` |
|
|
49
49
|
| `indexers/` | When building query index helpers | `@open-mercato/shared/lib/indexers` |
|
|
50
50
|
| `modules/` | When registering or listing modules | `@open-mercato/shared/lib/modules/registry` |
|
|
51
|
+
| `number.ts` | When parsing numeric strings from env/query params with a fallback and optional min/integer constraint | `@open-mercato/shared/lib/number` |
|
|
51
52
|
| `openapi/` | When generating CRUD OpenAPI specs | `@open-mercato/shared/lib/openapi/crud` |
|
|
52
53
|
| `profiler/` | When profiling with `OM_PROFILE` env flag | `@open-mercato/shared/lib/profiler` |
|
|
53
54
|
| `testing/` | When bootstrapping tests — register only what the test needs | `@open-mercato/shared/lib/testing/bootstrap` |
|