edfcore 0.6.68 → 0.6.69
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 +7 -4
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/docs/CHANGELOG.md +14 -0
- package/package.json +1 -1
- package/src/constants.ts +1 -1
package/README.md
CHANGED
|
@@ -321,10 +321,13 @@ the reason to trust the reader.
|
|
|
321
321
|
|
|
322
322
|
Every number above is asserted against the package by
|
|
323
323
|
[`tests/integration/api-surface.test.ts`](tests/integration/api-surface.test.ts) — it counts the
|
|
324
|
-
real exports, renders the real `--help`, and fails when this table drifts from either.
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
324
|
+
real exports, renders the real `--help`, and fails when this table drifts from either.
|
|
325
|
+
|
|
326
|
+
The first two rows are also served at [`/api.json`](https://edfcore.vercel.app/api.json), which
|
|
327
|
+
the documentation site generates at deploy time by importing the three published entry points and
|
|
328
|
+
counting what they export, so it needs no maintenance at all. The other three are not there and
|
|
329
|
+
cannot be: types are erased before that endpoint can see them, and the diagnostic codes and CLI
|
|
330
|
+
commands are counted by reading source rather than by importing a barrel.
|
|
328
331
|
|
|
329
332
|
---
|
|
330
333
|
|
package/dist/constants.d.ts
CHANGED
|
@@ -109,5 +109,5 @@ export declare const SIGNAL_FIELD_BLOCK_OFFSETS: {
|
|
|
109
109
|
readonly reserved: 224;
|
|
110
110
|
};
|
|
111
111
|
/** Published package version. Kept in sync with package.json by a test. */
|
|
112
|
-
export declare const VERSION = "0.6.
|
|
112
|
+
export declare const VERSION = "0.6.69";
|
|
113
113
|
//# sourceMappingURL=constants.d.ts.map
|
package/dist/constants.js
CHANGED
package/docs/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,20 @@ alone does not tell you whether you were affected.
|
|
|
6
6
|
edfcore is pre-1.0. Patch releases have carried behaviour changes where the old behaviour was a
|
|
7
7
|
defect; those are called out below.
|
|
8
8
|
|
|
9
|
+
## 0.6.69
|
|
10
|
+
|
|
11
|
+
- **Fixed** the README saying that the API-surface table's counts "are served at `/api.json`".
|
|
12
|
+
Two of the five rows are. The endpoint serves the entry-point count and the total number of
|
|
13
|
+
runtime exports, and cannot serve the other three: its own docblock says "Runtime exports only.
|
|
14
|
+
Types are erased before this file can see them", and the diagnostic codes and CLI commands are
|
|
15
|
+
the same problem — `api-surface.test.ts` counts those by reading source, which is not something
|
|
16
|
+
a build-time endpoint importing `dist` can do.
|
|
17
|
+
- A reader who took "the same counts" at its word went looking for a machine-readable public-type
|
|
18
|
+
count and found a document that does not mention types.
|
|
19
|
+
- The test reads the endpoint rather than importing it: it names `edfcore` by package, which
|
|
20
|
+
resolves through `website/node_modules`, and reaching into that directory is what broke CI on
|
|
21
|
+
0.4.231 through 0.4.236.
|
|
22
|
+
|
|
9
23
|
## 0.6.68
|
|
10
24
|
|
|
11
25
|
- **Fixed** every docs page describing itself two ways at once. `og:type` said `website` while the
|
package/package.json
CHANGED
package/src/constants.ts
CHANGED