okforest 0.16.0 → 0.17.0

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.
Files changed (2) hide show
  1. package/dist/cli.mjs +11 -6
  2. package/package.json +3 -3
package/dist/cli.mjs CHANGED
@@ -58,9 +58,10 @@ function starterFiles(name, date) {
58
58
  <!-- Started by \`okforest init\`. Make it yours: add how your team works with
59
59
  this repository, and remove anything that doesn't apply. -->
60
60
 
61
- ${name}: an [OKF 0.3](https://github.com/open-knowledge-format/open-knowledge-format)
62
- bundle in \`okf/\`, managed with [OKForest](https://www.okforest.ai). People
63
- read it to learn; AI assistants use it to answer questions. Write for both.
61
+ ${name}: an [OKF](https://raw.githubusercontent.com/open-knowledge-format/open-knowledge-format/refs/heads/main/SPEC.md)
62
+ bundle in \`okf/\`, managed with [OKForest](https://www.okforest.ai). The OKF
63
+ version it follows is \`okf_version\` in \`okf/index.md\`. People read it to
64
+ learn; AI assistants use it to answer questions. Write for both.
64
65
 
65
66
  Everything outside \`okf/\` (this file, \`README.md\`, \`.github/\`,
66
67
  \`.betterleaks.toml\`) is repository setup, not knowledge. Commands below run
@@ -87,6 +88,9 @@ from the repository root.
87
88
  tag, to reuse an existing one.
88
89
  - Every concept has a \`title\` and a one-sentence \`description\`. New or
89
90
  unreviewed pages are \`status: draft\`.
91
+ - Fields OKF doesn't define start with \`x-\` (\`x-owner\`), so a later OKF
92
+ version can't give them another meaning. Add a new field to its type's
93
+ schema and template in the same change.
90
94
  - Link with standard markdown links, using absolute paths from the bundle
91
95
  root (\`okf/\`): \`[refunds](/policies/refunds.md)\`.
92
96
  - \`index.md\` and \`log.md\` are reserved names in every folder. Keep each
@@ -119,9 +123,10 @@ from the repository root.
119
123
  `,
120
124
  "README.md": `# ${name}
121
125
 
122
- ${name}: an [Open Knowledge Format (OKF)](https://github.com/open-knowledge-format/open-knowledge-format)
123
- 0.3 bundle in [\`okf/\`](okf/index.md), one markdown file per concept, with
124
- YAML frontmatter. Start at [\`okf/index.md\`](okf/index.md).
126
+ ${name}: an [Open Knowledge Format (OKF)](https://github.com/open-knowledge-format/open-knowledge-format/blob/main/SPEC.md)
127
+ bundle in [\`okf/\`](okf/index.md), one markdown file per concept, with YAML
128
+ frontmatter. Start at [\`okf/index.md\`](okf/index.md), which declares the OKF
129
+ version it follows (\`okf_version\`).
125
130
 
126
131
  ## Getting started
127
132
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "okforest",
3
- "version": "0.16.0",
3
+ "version": "0.17.0",
4
4
  "description": "The OKForest CLI: validate Open Knowledge Format (OKF) trees, 0.2 and 0.3, inventory their metadata, and scaffold new trees and pages.",
5
5
  "keywords": [
6
6
  "okf",
@@ -31,8 +31,8 @@
31
31
  "node": ">=22"
32
32
  },
33
33
  "dependencies": {
34
- "@okforest/okf": "0.16.0",
35
- "@okforest/validate": "0.16.0"
34
+ "@okforest/okf": "0.17.0",
35
+ "@okforest/validate": "0.17.0"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@types/node": "^26.6.6",