@vttforge/core 0.11.1 → 0.11.3
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 +16 -0
- package/README.md +1 -1
- package/dist/errors-manifest.json +2 -2
- package/dist/index.d.mts +73 -176
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +68 -68
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @vttforge/core
|
|
2
2
|
|
|
3
|
+
## 0.11.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 9b8ca8c: Export the option and config interfaces that public functions already took: `MockDocumentOptions` and `MockFoundryOptions` from `@vttforge/testing`, `ActorConfig` and `ItemConfig` from `@vttforge/core`. They were reachable through the functions but could not be named.
|
|
8
|
+
- 9b8ca8c: Plain punctuation in error messages, prompts and doc comments: em dashes replaced with sentence breaks, colons or parentheses. The generated API reference reads these comments, so they are public text.
|
|
9
|
+
- e0941e2: `@vttforge/types` now holds the Foundry surface the base factories stand on: `ApplicationV2Members`, `DocumentSheetV2Members` and `VttforgeClass`. `@vttforge/core` depends on it and re-exports the same names, so nothing changes for a system that imports from core.
|
|
10
|
+
- Updated dependencies [e0941e2]
|
|
11
|
+
- @vttforge/types@0.2.0
|
|
12
|
+
|
|
13
|
+
## 0.11.2
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- 7eeeb20: Rewrite the npm package descriptions to say what each package does today. `types` claimed full schema inference it does not have, `vite-plugin` claimed Handlebars HMR that lives in the dev loop, and `cli` did not mention `audit`.
|
|
18
|
+
|
|
3
19
|
## 0.11.1
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@ pnpm add @vttforge/core
|
|
|
11
11
|
| Export | What it replaces |
|
|
12
12
|
|---|---|
|
|
13
13
|
| `registerSystem` / `registerModule` | The `Hooks.once("init")` block: data models, document classes, initiative, status effects, sheets, enrichers, and `ready` |
|
|
14
|
-
| `BaseTypeDataModel(defineSchema)` | A `TypeDataModel` whose fields are typed from the schema
|
|
14
|
+
| `BaseTypeDataModel(defineSchema)` | A `TypeDataModel` whose fields are typed from the schema, so `this.level` is a `number` inside `prepareDerivedData` |
|
|
15
15
|
| `fields()` | `foundry.data.fields`, typed, read lazily so the module imports in Node |
|
|
16
16
|
| `InferSchema<T>` / `Model['$inferData']` | The hand-written interface that drifts from the schema |
|
|
17
17
|
| `BaseActorSheet()` / `BaseItemSheet()` | `static TABS`, `static DRAG_DROP`, typed `onDropItem` and friends on `ActorSheetV2` / `ItemSheetV2` with Handlebars |
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 1,
|
|
3
3
|
"package": "@vttforge/core",
|
|
4
|
-
"packageVersion": "0.11.
|
|
4
|
+
"packageVersion": "0.11.3",
|
|
5
5
|
"entries": [
|
|
6
6
|
{
|
|
7
7
|
"code": "VTTF-0001",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
{
|
|
27
27
|
"code": "VTTF-0005",
|
|
28
28
|
"name": "WorldTooOldForMigration",
|
|
29
|
-
"summary": "createMigrationRunner() was called on a world whose stored schemaVersion is older than the configured compatibleVersion floor. Upgrade the world to a supported intermediate version before continuing
|
|
29
|
+
"summary": "createMigrationRunner() was called on a world whose stored schemaVersion is older than the configured compatibleVersion floor. Upgrade the world to a supported intermediate version before continuing. Running migrations across the gap would corrupt data."
|
|
30
30
|
},
|
|
31
31
|
{
|
|
32
32
|
"code": "VTTF-0006",
|