chore: depend on a core range, ^26.11.0-rc.1
Each plugin's deno.json imported an exact npm:@green-tea/core@26.9.0-beta.2. JSR consumers resolve that import, so an application on a newer core got a second, older copy under the plugin. Plugins import core as types only, so it never ran, but tsc could resolve a plugin's Plugin type against it. Import ^26.11.0-rc.1 instead: the floor is the core the tests run against, now rc.1 (devDependency and lockfile bumped), and ^ stops at the next year, the only core release that may break under core's versioning policy. The workspace test now requires that range shape, and the README no longer says no range can express compatibility. Refs: Expressive-Tea/green-tea#73 Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
This commit is contained in:
12 files changed
+53
-22
No files matched your search
@@ -1,5 +1,14 @@
|
||||
# Changelog
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
### Changed
|
||||
|
||||
- **Core is a range, `^26.11.0-rc.1`, not an exact `26.9.0-beta.2`.** JSR consumers resolve the
|
||||
`@green-tea/core` import in `deno.json`, and the exact pin gave an application on a newer core a
|
||||
second, older copy whose types `tsc` could pick up. The range starts at the core the tests run
|
||||
against (now 26.11.0-rc.1) and stops at the next year, the only core release that may break.
|
||||
|
||||
## [26.9.0-beta.0] - 2026-09-23
|
||||
|
||||
### Added
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"license": "MIT",
|
||||
"exports": "./src/index.ts",
|
||||
"imports": {
|
||||
"@green-tea/core": "npm:@green-tea/core@26.9.0-beta.2",
|
||||
"@green-tea/core": "npm:@green-tea/core@^26.11.0-rc.1",
|
||||
"jose": "npm:jose@^6.2.12"
|
||||
},
|
||||
"publish": {
|
||||
|
||||
@@ -20,6 +20,6 @@
|
||||
"jose": "^6.2.12"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@green-tea/core": "26.9.0-beta.2"
|
||||
"@green-tea/core": "26.11.0-rc.1"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user