@relations-dil/relations 0.2.3 → 0.2.4
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 +8 -0
- package/README.md +4 -0
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,14 @@ All notable changes to this project are recorded here, newest first. Format foll
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
## [0.2.4] - 2026-10-18
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
- A `prepare` script builds the package when there is source to build, so a dependent can pin a commit (`git+https://github.com/relations-dil/typescript-relations.git#<hash>`) and test against it before a release, the way the Python repos pin a hash in `requirements.txt`. The `Dockerfile` installs before the source is copied in, so there it has nothing to build and does nothing. `make release-check` refuses a release while a dependency is a pin.
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
- The clean-install check in `scripts/verify.sh` tries again while the registry catches up. The first release of `@relations-dil/unifist` stopped after its publish on a 404 from npm's package page, while the version page already answered. `make test-release` covers it.
|
|
15
|
+
|
|
8
16
|
## [0.2.3] - 2026-10-18
|
|
9
17
|
|
|
10
18
|
Parity with python-relations 0.6.20, the four releases since 0.6.16, and the release tooling the Python repos have.
|
package/README.md
CHANGED
|
@@ -955,6 +955,10 @@ make test-release # tests the scripts against a throwaway repo and a fak
|
|
|
955
955
|
is out and tagged it does nothing. It needs `~/.npmrc` with a token that can publish. The Jenkins
|
|
956
956
|
build runs it on `main`, so merging a pull request with an unreleased `VERSION` releases it.
|
|
957
957
|
|
|
958
|
+
A dependent can test against a commit before a release by pinning it, `"@relations-dil/relations":
|
|
959
|
+
"git+https://github.com/relations-dil/typescript-relations.git#<hash>"`: npm builds the package on install (`prepare`).
|
|
960
|
+
`make release-check` refuses to release while a dependency is a pin like that, so it becomes a version again first.
|
|
961
|
+
|
|
958
962
|
No runtime dependencies.
|
|
959
963
|
|
|
960
964
|
## License
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@relations-dil/relations",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
4
4
|
"description": "A simple, flexible DIL (data interface layer). Define models once, independent of backend; set the source at runtime.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -62,6 +62,7 @@
|
|
|
62
62
|
"coverage": "tsc -p tsconfig.test.json --noEmit false --outDir dist-test && node --test --experimental-test-coverage --test-coverage-exclude='dist-test/test/**' --test-reporter=spec dist-test/test/*.test.js",
|
|
63
63
|
"lint": "npm run typecheck && eslint src test",
|
|
64
64
|
"example": "npm run build && for e in example/*.mjs; do echo \"== $e\"; node $e; done",
|
|
65
|
+
"prepare": "[ ! -d src ] || npm run build",
|
|
65
66
|
"prepublishOnly": "npm run build"
|
|
66
67
|
},
|
|
67
68
|
"devDependencies": {
|