@skill-map/spec 0.2.0 → 0.2.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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Spec changelog
2
2
 
3
+ ## 0.2.1
4
+
5
+ ### Patch Changes
6
+
7
+ - b827431: Clarify the comment in `spec/README.md` §"Use — load a schema": `specIndex.specVersion` is the payload shape version baked into `index.json`, not the npm package version. The two may drift — bumping the npm package does not bump `specVersion` unless the shape of `index.json` itself changes.
8
+
3
9
  ## 0.2.0
4
10
 
5
11
  ### Minor Changes
package/README.md CHANGED
@@ -110,7 +110,7 @@ npm i @skill-map/spec
110
110
  import specIndex from '@skill-map/spec';
111
111
  import nodeSchema from '@skill-map/spec/schemas/node.schema.json' with { type: 'json' };
112
112
 
113
- console.log(specIndex.specVersion); // → "0.0.1" (payload version, tracks file shape)
113
+ console.log(specIndex.specVersion); // → "0.0.1" (payload shape version; distinct from the npm package version)
114
114
  console.log(specIndex.integrity.algorithm); // → "sha256"
115
115
  console.log(nodeSchema.$id); // → "https://skill-map.dev/spec/v0/node.schema.json"
116
116
  ```
package/index.json CHANGED
@@ -159,8 +159,8 @@
159
159
  "integrity": {
160
160
  "algorithm": "sha256",
161
161
  "files": {
162
- "CHANGELOG.md": "88908b684eabb5f508d6fe65a49e0786d1789ca9c8d2eb4195103c837ece1160",
163
- "README.md": "7737242efe28e82b7ba4e2324e0ff6917a42e84c5bde9b940e409c8282d573eb",
162
+ "CHANGELOG.md": "b5c886cb988ff7469081642cf63d030387f23465a07856b5d4dcd483e944035a",
163
+ "README.md": "69394fcbe362ae3c04bd4fbf4bfda8d06d9626fcedb5d789dda671e76e760e80",
164
164
  "architecture.md": "6c25d25eabee7473fa25aa7884f1d3e3e8bed70eda3d688f7755ae9d5d4b0fd1",
165
165
  "cli-contract.md": "321f625a9fbfdccf16f226dc76ca158bfb3392da5f96fc7b8faab4aa952a284a",
166
166
  "conformance/README.md": "4e41ff823b55ce3c274a033c5152ae0b2759fc714a714d7815593d8be84c8a4c",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skill-map/spec",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "JSON Schemas, prose contracts, and conformance suite for the skill-map specification.",
5
5
  "license": "MIT",
6
6
  "type": "module",