@owlmeans/server-config 0.1.7 → 0.1.8
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
|
@@ -56,3 +56,20 @@ Extends `CommonConfig` with:
|
|
|
56
56
|
|
|
57
57
|
- [`@owlmeans/config`](../config) — `service()` for client-accessible services; `makeConfig` base factory
|
|
58
58
|
- [`@owlmeans/server-app`](../server-app) — re-exports `sservice`
|
|
59
|
+
|
|
60
|
+
<!-- owlmeans:agent-guidance:start -->
|
|
61
|
+
## Agent guidance
|
|
62
|
+
|
|
63
|
+
This package ships embedded Claude Code skills and GitHub Copilot instructions under
|
|
64
|
+
`agent-meta/`. After installing your `@owlmeans/*` packages, run the OwlMeans
|
|
65
|
+
agent-skills installer to place them into your project's native locations
|
|
66
|
+
(`.claude/skills/` and `.github/instructions/`):
|
|
67
|
+
|
|
68
|
+
```sh
|
|
69
|
+
npx @owlmeans/agent-skills
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
The embedded files are version-matched to this package release. Do not edit them
|
|
73
|
+
directly — they are regenerated on each publish. To contribute guidance edits,
|
|
74
|
+
open a PR against the source monorepo.
|
|
75
|
+
<!-- owlmeans:agent-guidance:end -->
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "How to use @owlmeans/server-config — server-side config helpers and validation building on @owlmeans/config."
|
|
3
|
+
applyTo: "**/*.ts, **/*.tsx"
|
|
4
|
+
---
|
|
5
|
+
<!-- AUTO-GENERATED — do not edit. Regenerate via sync-agent-meta. -->
|
|
6
|
+
|
|
7
|
+
# @owlmeans/server-config
|
|
8
|
+
|
|
9
|
+
**Layer:** Server
|
|
10
|
+
**Install:** `"@owlmeans/server-config": "^0.1.8"` in `dependencies`
|
|
11
|
+
|
|
12
|
+
## Key Exports
|
|
13
|
+
|
|
14
|
+
| Export | Description |
|
|
15
|
+
|--------|-------------|
|
|
16
|
+
| `Config` (server) types | Server-side Config (extends core) |
|
|
17
|
+
| `serverConfig(...)` helpers | Build a typed server config |
|
|
18
|
+
| Helpers | Resolve trusted entities, secret paths |
|
|
19
|
+
|
|
20
|
+
## Usage
|
|
21
|
+
|
|
22
|
+
```typescript
|
|
23
|
+
import { serverConfig } from '@owlmeans/server-config'
|
|
24
|
+
const cfg = serverConfig({ service: 'my-api', type: AppType.Backend, port: 8080 })
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Depends On
|
|
28
|
+
|
|
29
|
+
- `@owlmeans/config`, `@owlmeans/auth`, `@owlmeans/server-context`
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"package": "@owlmeans/server-config",
|
|
4
|
+
"version": "0.1.8",
|
|
5
|
+
"generatedAt": "2026-06-11T16:30:27.175Z",
|
|
6
|
+
"canonicalRepo": "https://github.com/owlmeans/common",
|
|
7
|
+
"entries": [
|
|
8
|
+
{
|
|
9
|
+
"kind": "skill",
|
|
10
|
+
"name": "server-config",
|
|
11
|
+
"category": "package-specific",
|
|
12
|
+
"file": "skills/server-config/SKILL.md",
|
|
13
|
+
"canonicalPath": ".claude/skills/server-config/SKILL.md"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"kind": "instruction",
|
|
17
|
+
"name": "server-config",
|
|
18
|
+
"category": "package-specific",
|
|
19
|
+
"file": "instructions/server-config.instructions.md",
|
|
20
|
+
"canonicalPath": ".github/instructions/server-config.instructions.md"
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: server-config
|
|
3
|
+
description: How to use @owlmeans/server-config — server-side config helpers and validation building on @owlmeans/config. Auto-invoked when importing server config helpers.
|
|
4
|
+
user-invocable: false
|
|
5
|
+
---
|
|
6
|
+
<!-- AUTO-GENERATED — do not edit. Regenerate via sync-agent-meta. -->
|
|
7
|
+
|
|
8
|
+
# @owlmeans/server-config
|
|
9
|
+
|
|
10
|
+
**Layer:** Server
|
|
11
|
+
**Install:** `"@owlmeans/server-config": "^0.1.8"` in `dependencies`
|
|
12
|
+
|
|
13
|
+
## Key Exports
|
|
14
|
+
|
|
15
|
+
| Export | Description |
|
|
16
|
+
|--------|-------------|
|
|
17
|
+
| `Config` (server) types | Server-side Config interface (extends core Config) |
|
|
18
|
+
| `serverConfig(...)` helpers | Build a typed server config |
|
|
19
|
+
| Helpers | Resolve trusted entities, secret paths |
|
|
20
|
+
|
|
21
|
+
## Usage
|
|
22
|
+
|
|
23
|
+
```typescript
|
|
24
|
+
import { serverConfig } from '@owlmeans/server-config'
|
|
25
|
+
import { AppType } from '@owlmeans/config'
|
|
26
|
+
|
|
27
|
+
const cfg = serverConfig({ service: 'my-api', type: AppType.Backend, port: 8080 })
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Depends On
|
|
31
|
+
|
|
32
|
+
- `@owlmeans/config`, `@owlmeans/auth`, `@owlmeans/server-context`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@owlmeans/server-config",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@owlmeans/config": "^0.1.
|
|
25
|
-
"@owlmeans/server-route": "^0.1.
|
|
24
|
+
"@owlmeans/config": "^0.1.8",
|
|
25
|
+
"@owlmeans/server-route": "^0.1.8"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@owlmeans/dep-config": "workspace:*",
|