@owlmeans/api-config 0.1.6 → 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
|
@@ -42,3 +42,20 @@ Array of route definitions for the config advertisement endpoint.
|
|
|
42
42
|
|
|
43
43
|
- [`@owlmeans/api-config-server`](../api-config-server) — server-side module that serves the config
|
|
44
44
|
- [`@owlmeans/api-config-client`](../api-config-client) — client middleware that fetches and merges config
|
|
45
|
+
|
|
46
|
+
<!-- owlmeans:agent-guidance:start -->
|
|
47
|
+
## Agent guidance
|
|
48
|
+
|
|
49
|
+
This package ships embedded Claude Code skills and GitHub Copilot instructions under
|
|
50
|
+
`agent-meta/`. After installing your `@owlmeans/*` packages, run the OwlMeans
|
|
51
|
+
agent-skills installer to place them into your project's native locations
|
|
52
|
+
(`.claude/skills/` and `.github/instructions/`):
|
|
53
|
+
|
|
54
|
+
```sh
|
|
55
|
+
npx @owlmeans/agent-skills
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
The embedded files are version-matched to this package release. Do not edit them
|
|
59
|
+
directly — they are regenerated on each publish. To contribute guidance edits,
|
|
60
|
+
open a PR against the source monorepo.
|
|
61
|
+
<!-- owlmeans:agent-guidance:end -->
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "How to use @owlmeans/api-config — module declarations for fetching API/service configuration at runtime."
|
|
3
|
+
applyTo: "**/*.ts, **/*.tsx"
|
|
4
|
+
---
|
|
5
|
+
<!-- AUTO-GENERATED — do not edit. Regenerate via sync-agent-meta. -->
|
|
6
|
+
|
|
7
|
+
# @owlmeans/api-config
|
|
8
|
+
|
|
9
|
+
**Layer:** Core
|
|
10
|
+
**Install:** `"@owlmeans/api-config": "^0.1.8"` in `dependencies`
|
|
11
|
+
|
|
12
|
+
## Key Exports
|
|
13
|
+
|
|
14
|
+
| Export | Description |
|
|
15
|
+
|--------|-------------|
|
|
16
|
+
| `ApiConfig` types | Shape of remotely-served API config |
|
|
17
|
+
| Modules | Module declarations for the config endpoint |
|
|
18
|
+
| Constants | Module aliases, route paths |
|
|
19
|
+
|
|
20
|
+
## Usage
|
|
21
|
+
|
|
22
|
+
```typescript
|
|
23
|
+
import { modules as apiConfigModules } from '@owlmeans/api-config'
|
|
24
|
+
const appModules = [...apiConfigModules, ...myModules]
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Depends On
|
|
28
|
+
|
|
29
|
+
- `@owlmeans/entrypoint`, `@owlmeans/route`, `@owlmeans/config`
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"package": "@owlmeans/api-config",
|
|
4
|
+
"version": "0.1.8",
|
|
5
|
+
"generatedAt": "2026-06-11T16:30:27.185Z",
|
|
6
|
+
"canonicalRepo": "https://github.com/owlmeans/common",
|
|
7
|
+
"entries": [
|
|
8
|
+
{
|
|
9
|
+
"kind": "skill",
|
|
10
|
+
"name": "api-config",
|
|
11
|
+
"category": "package-specific",
|
|
12
|
+
"file": "skills/api-config/SKILL.md",
|
|
13
|
+
"canonicalPath": ".claude/skills/api-config/SKILL.md"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"kind": "instruction",
|
|
17
|
+
"name": "api-config",
|
|
18
|
+
"category": "package-specific",
|
|
19
|
+
"file": "instructions/api-config.instructions.md",
|
|
20
|
+
"canonicalPath": ".github/instructions/api-config.instructions.md"
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: api-config
|
|
3
|
+
description: How to use @owlmeans/api-config — module declarations for fetching API/service configuration at runtime. Auto-invoked when importing api-config types or modules.
|
|
4
|
+
user-invocable: false
|
|
5
|
+
---
|
|
6
|
+
<!-- AUTO-GENERATED — do not edit. Regenerate via sync-agent-meta. -->
|
|
7
|
+
|
|
8
|
+
# @owlmeans/api-config
|
|
9
|
+
|
|
10
|
+
**Layer:** Core
|
|
11
|
+
**Install:** `"@owlmeans/api-config": "^0.1.8"` in `dependencies`
|
|
12
|
+
|
|
13
|
+
## Key Exports
|
|
14
|
+
|
|
15
|
+
| Export | Description |
|
|
16
|
+
|--------|-------------|
|
|
17
|
+
| `ApiConfig` types | Shape of remotely-served API config |
|
|
18
|
+
| Modules | Module declarations for the config endpoint |
|
|
19
|
+
| Constants | Module aliases, route paths |
|
|
20
|
+
|
|
21
|
+
## Usage
|
|
22
|
+
|
|
23
|
+
Pair with `@owlmeans/api-config-client` (browser) or `@owlmeans/api-config-server` (Fastify) for the runtime side. The `api-config` package itself defines the shared module/route shape.
|
|
24
|
+
|
|
25
|
+
```typescript
|
|
26
|
+
import { modules as apiConfigModules } from '@owlmeans/api-config'
|
|
27
|
+
const appModules = [...apiConfigModules, ...myModules]
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Depends On
|
|
31
|
+
|
|
32
|
+
- `@owlmeans/entrypoint`, `@owlmeans/route`, `@owlmeans/config`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@owlmeans/api-config",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@owlmeans/config": "^0.1.
|
|
25
|
-
"@owlmeans/entrypoint": "^0.1.
|
|
26
|
-
"@owlmeans/route": "^0.1.
|
|
24
|
+
"@owlmeans/config": "^0.1.8",
|
|
25
|
+
"@owlmeans/entrypoint": "^0.1.8",
|
|
26
|
+
"@owlmeans/route": "^0.1.8"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@owlmeans/dep-config": "workspace:*",
|