@cosyte/transform 0.0.6 → 0.0.7
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 +62 -16
- package/README.md +6 -4
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,16 +1,70 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
## 0.0.7
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
-
Versions and publishing are managed with [Changesets](https://github.com/changesets/changesets);
|
|
8
|
-
this file is maintained by hand (Changesets handles the version bump and publish only).
|
|
5
|
+
### Patch Changes
|
|
9
6
|
|
|
10
|
-
|
|
7
|
+
- a9c522a: No runtime impact: a repository-internal CI check now verifies this repository's own contributor instructions, which are not part of the published package.
|
|
11
8
|
|
|
12
|
-
The
|
|
13
|
-
|
|
9
|
+
The instructions live in two files, one always read and one read on demand, and until now nothing checked that the second one existed, that the sections it declares had any content, or that the cross-references between the two resolved. A new check refuses all three, refuses a cross-reference pointing at a file or path the repository does not carry, and refuses a relocated section that nothing points at any more.
|
|
10
|
+
|
|
11
|
+
It also refuses to report a clean run over a corpus it did not actually open: the files it read are reconciled against the list of files tracked by version control, and an empty or unreadable list is treated as a failure to run rather than as nothing to check.
|
|
12
|
+
|
|
13
|
+
- 9fd8f24: The npm `description` no longer carries an em dash (`EMDASH-CONFORMANCE`).
|
|
14
|
+
|
|
15
|
+
The brand rule bans U+2014 on every cosyte surface, and this string is the most visible one the
|
|
16
|
+
package has: it is the subtitle on the npm package page and the one line shown in every npm search
|
|
17
|
+
result. It now reads with a colon, which is what the rule's own remedy list names first.
|
|
18
|
+
|
|
19
|
+
The `→` in the same string is U+2192, not an em dash, and it is load-bearing: it names the direction
|
|
20
|
+
of the transformation. It stays.
|
|
21
|
+
|
|
22
|
+
Scoped deliberately to the description alone. The full tree sweep for this repo is a separate unit,
|
|
23
|
+
still queued, and lands with the CI gate that keeps it swept.
|
|
24
|
+
|
|
25
|
+
- 9fb82e8: The README lockup now links to cosyte.com (`ASSETS`).
|
|
26
|
+
|
|
27
|
+
The `<picture>` block above the H1 is wrapped in an anchor to https://cosyte.com, per the founder
|
|
28
|
+
requirement of 2026-08-06. Nothing inside the block moved: the `<source>`, the `<img>`, the alt text
|
|
29
|
+
and both tile URLs are byte-identical.
|
|
30
|
+
|
|
31
|
+
What the anchor does was measured on both surfaces by `fhir`, not assumed, because fourteen READMEs
|
|
32
|
+
carry this shape. On GitHub the anchor works and the colour-scheme switch keeps working, because the
|
|
33
|
+
`<img>` stays a direct child of `<picture>`, which is the condition the HTML spec puts on `<source>`
|
|
34
|
+
applying at all. On an npm package page the anchor is lost: npm wraps a README image in its own
|
|
35
|
+
anchor to the image file, a nested anchor is not representable, so the parser closes ours early and
|
|
36
|
+
the image ends up linked to the image file rather than to cosyte.com. Shipped anyway by founder
|
|
37
|
+
decision of 2026-08-07: on npm that is no worse than the unlinked lockup it replaces, and GitHub is
|
|
38
|
+
where these READMEs are read.
|
|
39
|
+
|
|
40
|
+
- 7f4d59b: The published changelog no longer describes its own contents as unreleased: a release now writes its own version heading and its own entry into `CHANGELOG.md`.
|
|
41
|
+
|
|
42
|
+
`CHANGELOG.md` ships inside the npm tarball, and for the whole of this package's public history it carried no version heading at all. A single `[Unreleased]` heading spanned everything, and the preamble above it said the first pre-alpha release "will ship" the API surface listed below it, in a tarball that had already shipped that surface several versions earlier. Changesets now generates the changelog, so a release writes the version heading and the entry, and there is no hand-maintained section left to go stale.
|
|
43
|
+
|
|
44
|
+
The hand-written history is kept verbatim beneath a `Released before this file was generated` divider, with generated release sections above it, newest first. No entry was reworded, re-sorted or removed. What was dropped was scaffolding for the old hand-written workflow: the file's former header, the `[Unreleased]` heading and its link definition, the note beneath that heading promising a first release which had in fact already shipped, and the empty section stubs that existed to receive the next hand-written entry.
|
|
45
|
+
|
|
46
|
+
## Released before this file was generated
|
|
47
|
+
|
|
48
|
+
Every release section above this heading is written by
|
|
49
|
+
[Changesets](https://github.com/changesets/changesets) from the changesets in `.changeset/`, newest
|
|
50
|
+
release first. The release writes its own version heading, so nothing above this line is maintained
|
|
51
|
+
by hand: a change is recorded by adding a changeset, and that changeset's summary is the entry a
|
|
52
|
+
reader sees here.
|
|
53
|
+
|
|
54
|
+
Everything below this heading was maintained by hand. It sat under a single `[Unreleased]` heading
|
|
55
|
+
that no release ever rolled over, so it went on describing already-published code as unreleased,
|
|
56
|
+
inside the published tarball, for the whole of this package's public history. It is left as it was
|
|
57
|
+
written rather than re-sorted into version sections: the file never recorded which release each
|
|
58
|
+
entry went out in, and this is the text that installed copies already carry on disk. No entry was
|
|
59
|
+
reworded, re-sorted or removed. What was dropped was scaffolding for the hand-written workflow that
|
|
60
|
+
no longer runs: the file's former header, the `[Unreleased]` heading and its link definition at the
|
|
61
|
+
foot of the file, the note beneath that heading promising a first release which had in fact already
|
|
62
|
+
shipped, and the empty section stubs that existed to receive the next hand-written entry.
|
|
63
|
+
|
|
64
|
+
The entries below follow [Keep a Changelog](https://keepachangelog.com/en/1.1.0/); the generated
|
|
65
|
+
sections above use the format Changesets writes, which is a version heading and a list of the
|
|
66
|
+
changes that release consumed. Versions follow the cosyte pre-alpha ladder, `0.0.x` until first
|
|
67
|
+
alpha, rather than [Semantic Versioning](https://semver.org/spec/v2.0.0.html) alone.
|
|
14
68
|
|
|
15
69
|
### Fixed
|
|
16
70
|
|
|
@@ -532,10 +586,6 @@ dependency: peer @cosyte/fhir@">=0.0.0" from @cosyte/transform@0.0.4`.
|
|
|
532
586
|
`parseTransform` / `WARNING_CODES` / `FATAL_CODES` parser stubs and the round-trip property test;
|
|
533
587
|
rewrote `docs-content/`, `README`, and this repo's `CLAUDE.md` for the transformation library.
|
|
534
588
|
|
|
535
|
-
### Deprecated
|
|
536
|
-
|
|
537
|
-
### Removed
|
|
538
|
-
|
|
539
589
|
### Fixed
|
|
540
590
|
|
|
541
591
|
- **The README no longer says this package is unpublished.** It is on npm, and the sentence sat a
|
|
@@ -544,7 +594,3 @@ dependency: peer @cosyte/fhir@">=0.0.0" from @cosyte/transform@0.0.4`.
|
|
|
544
594
|
rendered directly beneath npm's own header, which shows the version being served. The replacement
|
|
545
595
|
names no version deliberately. A version written into prose is the part that goes stale, and the
|
|
546
596
|
registry is the only thing that knows which one is current.
|
|
547
|
-
|
|
548
|
-
### Security
|
|
549
|
-
|
|
550
|
-
[Unreleased]: https://github.com/cosyte/transform/commits/main
|
package/README.md
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
<
|
|
2
|
-
<
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
<a href="https://cosyte.com">
|
|
2
|
+
<picture>
|
|
3
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://cosyte.com/tile/cosyte-lockup-tile-on-dark-1200x300.png">
|
|
4
|
+
<img alt="Cosyte: a plus mark set in two overlapping rounded squares, one solid and one outlined, beside the Cosyte wordmark" src="https://cosyte.com/tile/cosyte-lockup-tile-on-light-1200x300.png">
|
|
5
|
+
</picture>
|
|
6
|
+
</a>
|
|
5
7
|
|
|
6
8
|
# @cosyte/transform
|
|
7
9
|
|
package/dist/index.cjs
CHANGED