Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/desktop/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@t3tools/desktop",
"version": "0.1.7",
"version": "0.1.11",
"private": true,
"type": "module",
"main": "dist-electron/boot.cjs",
Expand Down
2 changes: 1 addition & 1 deletion apps/server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "t3",
"version": "0.1.7",
"version": "0.1.11",
"private": true,
"license": "MIT",
"repository": {
Expand Down
11 changes: 1 addition & 10 deletions apps/server/src/provider/providerCompatibility.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,20 +70,11 @@ export const ProviderCompatibilityPolicy = Policy.pipe(
);
export type ProviderCompatibilityPolicy = typeof ProviderCompatibilityPolicy.Type;

// Fork manifests stay on 0.1.7 while shipping upstream 0.1.11 provider compatibility rules.
const UPSTREAM_COMPATIBILITY_BASELINE = "0.1.11";
const DEFAULT_T3_CODE_COMPATIBILITY_VERSION = satisfiesSemverRange(
packageJson.version,
`>=${UPSTREAM_COMPATIBILITY_BASELINE}`,
)
? packageJson.version
: UPSTREAM_COMPATIBILITY_BASELINE;

export function resolveProviderCompatibility(
policies: ReadonlyArray<ProviderCompatibilityPolicy> | undefined,
driver: ProviderDriverKind,
version: string | null,
t3CodeVersion = DEFAULT_T3_CODE_COMPATIBILITY_VERSION,
t3CodeVersion = packageJson.version,
): ServerProviderCompatibilityAdvisory | undefined {
const policy = policies?.find(
(entry) => entry.driver === driver && satisfiesSemverRange(t3CodeVersion, entry.t3CodeRange),
Expand Down
2 changes: 1 addition & 1 deletion apps/web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@t3tools/web",
"version": "0.1.7",
"version": "0.1.11",
"private": true,
"type": "module",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/contracts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@t3tools/contracts",
"version": "0.1.7",
"version": "0.1.11",
"private": true,
"files": [
"dist"
Expand Down
Loading