@oa-sdk/spec-bundler 0.1.0 → 0.1.1
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 +5 -5
- package/package.json +10 -2
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @
|
|
1
|
+
# @spec-platform/meta-bundler
|
|
2
2
|
|
|
3
3
|
Declarative manifest-driven asset bundler, AST-free markdown link rewriter, and dependency reachability engine with cryptographic lockfile freshness verification.
|
|
4
4
|
|
|
@@ -10,14 +10,14 @@ Declarative manifest-driven asset bundler, AST-free markdown link rewriter, and
|
|
|
10
10
|
|
|
11
11
|
## 1. Overview & Architecture Boundaries
|
|
12
12
|
|
|
13
|
-
`@
|
|
13
|
+
`@spec-platform/meta-bundler` is designed as a standalone, zero-dependency distribution packager within the specification ecosystem.
|
|
14
14
|
|
|
15
15
|
```mermaid
|
|
16
16
|
flowchart TD
|
|
17
17
|
subgraph Ecosystem ["Specification Ecosystem Boundaries"]
|
|
18
18
|
DP["@spec-platform/document-parser<br/>(Full AST & Knowledge Graph)"]
|
|
19
19
|
TE["@samchon/typespec-evidence<br/>(Compile-time Verification & CI Gate)"]
|
|
20
|
-
MB["@
|
|
20
|
+
MB["@spec-platform/meta-bundler<br/>(Zero-Dependency Bundler & Link Rewriter)"]
|
|
21
21
|
end
|
|
22
22
|
|
|
23
23
|
SRC["Source Specs & Documentation<br/>(Markdown, TypeSpec, Assets)"]
|
|
@@ -178,7 +178,7 @@ spec-bundler unpack dist/bundle.zip --dest .agents/skills/
|
|
|
178
178
|
|
|
179
179
|
## 5. Programmatic API
|
|
180
180
|
|
|
181
|
-
`@
|
|
181
|
+
`@spec-platform/meta-bundler` can be imported directly in Node.js / TypeScript:
|
|
182
182
|
|
|
183
183
|
```typescript
|
|
184
184
|
import {
|
|
@@ -192,7 +192,7 @@ import {
|
|
|
192
192
|
loadManifest,
|
|
193
193
|
normalizeSlug,
|
|
194
194
|
extractDocumentAnchors,
|
|
195
|
-
} from "@
|
|
195
|
+
} from "@spec-platform/meta-bundler";
|
|
196
196
|
|
|
197
197
|
// 1. Pack bundle programmatically
|
|
198
198
|
const result = await createBundle("bundle.manifest.json", {
|
package/package.json
CHANGED
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oa-sdk/spec-bundler",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Declarative manifest-driven specification bundler with automated markdown link rewriting, deduplication, and lockfile freshness verification.",
|
|
5
|
+
"private": false,
|
|
5
6
|
"type": "module",
|
|
7
|
+
"main": "./dist/index.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"publishConfig": {
|
|
10
|
+
"access": "public",
|
|
11
|
+
"provenance": true
|
|
12
|
+
},
|
|
6
13
|
"license": "Apache-2.0",
|
|
7
14
|
"repository": {
|
|
8
15
|
"type": "git",
|
|
@@ -23,7 +30,8 @@
|
|
|
23
30
|
"exports": {
|
|
24
31
|
".": {
|
|
25
32
|
"types": "./dist/index.d.ts",
|
|
26
|
-
"import": "./dist/index.js"
|
|
33
|
+
"import": "./dist/index.js",
|
|
34
|
+
"default": "./dist/index.js"
|
|
27
35
|
}
|
|
28
36
|
}
|
|
29
37
|
}
|