@heroiclands/package-build 3.0.0 → 3.0.1
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 +10 -0
- package/MIGRATING.md +4 -4
- package/README.md +1 -1
- package/config.mjs +1 -1
- package/engine/pack-config.mjs +1 -1
- package/package.json +1 -1
- package/types/engine/pack-config.d.mts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @heroiclands/package-build
|
|
2
2
|
|
|
3
|
+
## 3.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 73a7e60: Correct the release the merge is dated to: 3.0.0, not 2.0.0.
|
|
8
|
+
|
|
9
|
+
The merge commit set `version` by hand _and_ carried a major changeset, so
|
|
10
|
+
changesets bumped it a second time. `MIGRATING.md` was the live defect — it told
|
|
11
|
+
a consumer to install `^2.0.0`, which resolves nowhere.
|
|
12
|
+
|
|
3
13
|
## 3.0.0
|
|
4
14
|
|
|
5
15
|
### Major Changes
|
package/MIGRATING.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
# Migrating to `@heroiclands/package-build`
|
|
1
|
+
# Migrating to `@heroiclands/package-build` 3.0.0
|
|
2
2
|
|
|
3
3
|
`@heroiclands/content-build` and `@heroiclands/package-build` are one package.
|
|
4
|
-
The content half now ships inside `@heroiclands/package-build` at
|
|
4
|
+
The content half now ships inside `@heroiclands/package-build` at 3.0.0;
|
|
5
5
|
`@heroiclands/content-build` is deprecated and receives no further releases.
|
|
6
6
|
|
|
7
7
|
Nothing about how a build _works_ changed. This is a packaging change: the same
|
|
@@ -22,13 +22,13 @@ that touched a single idea.
|
|
|
22
22
|
|
|
23
23
|
## 1. Dependencies
|
|
24
24
|
|
|
25
|
-
Drop `@heroiclands/content-build` and move to
|
|
25
|
+
Drop `@heroiclands/content-build` and move to 3.0.0:
|
|
26
26
|
|
|
27
27
|
```diff
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
- "@heroiclands/content-build": "^1.8.2",
|
|
30
30
|
- "@heroiclands/package-build": "^0.6.1"
|
|
31
|
-
+ "@heroiclands/package-build": "^
|
|
31
|
+
+ "@heroiclands/package-build": "^3.0.0"
|
|
32
32
|
}
|
|
33
33
|
```
|
|
34
34
|
|
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@ The content half is documented separately in **[CONTENT.md](CONTENT.md)** — th
|
|
|
14
14
|
note format, the pack pipeline, and the configuration contract a content tree
|
|
15
15
|
declares itself with.
|
|
16
16
|
|
|
17
|
-
> **This package was two.** Until
|
|
17
|
+
> **This package was two.** Until 3.0.0 the content half shipped as
|
|
18
18
|
> `@heroiclands/content-build`. No consumer ever installed one without the
|
|
19
19
|
> other, and the packaging half depended on the content half besides, so the
|
|
20
20
|
> boundary bought nothing and cost a configuration file with two owners and a
|
package/config.mjs
CHANGED
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
* loader checks that the section is a mapping and hands it back frozen;
|
|
30
30
|
* everything inside it is validated here.
|
|
31
31
|
*
|
|
32
|
-
* **That section used to be a reservation.** Until
|
|
32
|
+
* **That section used to be a reservation.** Until 3.0.0 these were two
|
|
33
33
|
* packages, and `packageBuild:` was a block `@heroiclands/content-build`
|
|
34
34
|
* carried on behalf of a toolchain it knew nothing about. One package now owns
|
|
35
35
|
* the whole file, so it is an ordinary section — but the validation split is
|
package/engine/pack-config.mjs
CHANGED
|
@@ -94,7 +94,7 @@ export const CONFIG_BASENAME = "package-build.config";
|
|
|
94
94
|
* reach for them: YAML first, `.mjs` last.
|
|
95
95
|
*
|
|
96
96
|
* The `content-build.config.*` stem this package read before the two toolchains
|
|
97
|
-
* merged is **not** resolved.
|
|
97
|
+
* merged is **not** resolved. 3.0.0 renames the file rather than accepting both:
|
|
98
98
|
* a deprecation window here would mean a repository could sit indefinitely on a
|
|
99
99
|
* name for a package that no longer exists, and the upgrade already requires
|
|
100
100
|
* touching the consumer's manifest and imports.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@heroiclands/package-build",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"description": "Shared toolchain for building and shipping a HeroicLands Foundry VTT package — content compilation, manifest, localization, staging, bundle, release and deployment.",
|
|
5
5
|
"license": "GPL-3.0-or-later",
|
|
6
6
|
"type": "module",
|
|
@@ -67,7 +67,7 @@ export const CONFIG_BASENAME: "package-build.config";
|
|
|
67
67
|
* reach for them: YAML first, `.mjs` last.
|
|
68
68
|
*
|
|
69
69
|
* The `content-build.config.*` stem this package read before the two toolchains
|
|
70
|
-
* merged is **not** resolved.
|
|
70
|
+
* merged is **not** resolved. 3.0.0 renames the file rather than accepting both:
|
|
71
71
|
* a deprecation window here would mean a repository could sit indefinitely on a
|
|
72
72
|
* name for a package that no longer exists, and the upgrade already requires
|
|
73
73
|
* touching the consumer's manifest and imports.
|