You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Standard → Version model, Changesets releasing, and standards-checker 1.2.0-beta.2
Each OGC standard — JSON-FG and OGC API Features / Processes / Records — is
now a first-class Standard owning an explicit version, driven by a single
Standard[] config for both the web app and the CLI (--standard/--version;
--ruleset stays as a deprecated alias, legacy URLs redirect). Releases move
to Changesets, CI gains the pnpm dedupe --check guard, and the
@geonovum/standards-checker dependency is pinned to 1.2.0-beta.2 from the
registry.
Copy file name to clipboardExpand all lines: README.md
+45-20Lines changed: 45 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,8 @@ Validates JSON-FG documents and OGC API endpoints against OGC specifications.
6
6
7
7
Built on [`@geonovum/standards-checker`](https://github.com/Geonovum/standards-checker); see its documentation for the validation engine, CLI toolkit, and web UI framework.
8
8
9
+
Release notes are in [`CHANGELOG.md`](CHANGELOG.md); see [Versioning & releasing](#versioning--releasing) for how it is produced.
10
+
9
11
**Demo:**https://geonovum.github.io/ogc-checker/
10
12
11
13
## CLI
@@ -14,45 +16,62 @@ Built on [`@geonovum/standards-checker`](https://github.com/Geonovum/standards-c
npx vitest run src/specs/json-fg/rulesets/core.test.ts
299
+
npx vitest run src/standards/json-fg/rulesets/core.test.ts
281
300
```
282
301
283
-
### Publishing
302
+
### Versioning & releasing
284
303
285
-
Published to npm automatically when a version tag is pushed:
304
+
Versioning, the changelog, and publishing are driven by [Changesets](https://changesets.dev/). Describing a change is decoupled from cutting a release:
286
305
287
-
```bash
288
-
git tag v1.0.0
289
-
git push --tags
290
-
```
306
+
1.**Add a changeset with your change.** Run `pnpm changeset`, pick the bump (`major` / `minor` / `patch`), and write a one-line summary. This creates a `.changeset/<name>.md` file — commit it with your PR. Omit only for changes that don't affect the published package (CI, internal docs, tests).
307
+
308
+
2.**Cut the release.** Run `pnpm version-packages` (alias for `changeset version`). It consumes the pending `.changeset/*.md` files, bumps `package.json`, and prepends the summaries to `CHANGELOG.md`. Review and commit the result. Don't hand-edit the `version` field — Changesets owns it.
309
+
310
+
3.**Publish.** Tag the released version and push; the CI workflow verifies `package.json` matches the tag, builds, tests, publishes to npm, and deploys to GitHub Pages:
311
+
312
+
```bash
313
+
git tag v1.1.0
314
+
git push --tags
315
+
```
291
316
292
-
This triggers the CI workflow that builds, tests, publishes to npm, and deploys to GitHub Pages.
317
+
`pnpm release` (`pnpm build && changeset publish`) publishes to npm locally if you need to bypass the workflow (it does not deploy Pages).
0 commit comments