Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(trpc): allow install of superjson version 2.2.1 and newer #793

Merged
merged 1 commit into from
Dec 30, 2023
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 package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"react-dom": "^18.0.0",
"rxjs": "7.8.0",
"semver": "^7.5.1",
"superjson": "^1.12.3",
"superjson": "^2.2.1",
"tslib": "^2.4.0",
"ufo": "^1.1.2",
"xhr2": "^0.2.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/nx-plugin/src/generators/app/versions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const V16_ANALOG_JS_TRPC = '0.2.0-beta.15';
export const V16_TRPC_CLIENT = '^10.25.0';
export const V16_TRPC_SERVER = '^10.25.0';
export const V16_ISOMORPHIC_FETCH = '^3.0.0';
export const V16_SUPERJSON = '^1.12.3';
export const V16_SUPERJSON = '^2.2.1';

export const V16_ANGULAR_PLATFORM_SERVER = '~16.0.0';
export const V16_FRONT_MATTER = '^4.0.2';
Expand Down Expand Up @@ -39,7 +39,7 @@ export const V15_ANALOG_JS_TRPC = '0.2.0-beta.15';
export const V15_TRPC_CLIENT = '^10.25.0';
export const V15_TRPC_SERVER = '^10.25.0';
export const V15_ISOMORPHIC_FETCH = '^3.0.0';
export const V15_SUPERJSON = '^1.12.3';
export const V15_SUPERJSON = '^2.2.1';
export const V15_ANGULAR_PLATFORM_SERVER = '^15.0.0';
export const V15_FRONT_MATTER = '^4.0.2';
export const V15_MARKED = '^5.0.2';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const V15_X_ANALOG_JS_VITE_PLUGIN_ANGULAR = '0.2.0-alpha.29';
export const V15_X_TRPC_CLIENT = '^10.25.0';
export const V15_X_TRPC_SERVER = '^10.25.0';
export const V15_X_ISOMORPHIC_FETCH = '^3.0.0';
export const V15_X_SUPERJSON = '^1.12.3';
export const V15_X_SUPERJSON = '^2.2.1';
export const V15_X_FRONT_MATTER = '^4.0.2';
export const V15_X_MARKED = '^4.2.4';
export const V15_X_MERMAID = '^10.2.4';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const V16_X_ANALOG_JS_VITE_PLUGIN_ANGULAR = '^0.2.0';
export const V16_X_TRPC_CLIENT = '^10.25.0';
export const V16_X_TRPC_SERVER = '^10.25.0';
export const V16_X_ISOMORPHIC_FETCH = '^3.0.0';
export const V16_X_SUPERJSON = '^1.12.3';
export const V16_X_SUPERJSON = '^2.2.1';
export const V16_X_FRONT_MATTER = '^4.0.2';
export const V16_X_MARKED = '^5.0.2';
export const V16_X_MARKED_GFM_HEADING_ID = '^3.1.0';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const V17_X_ANALOG_JS_VITE_PLUGIN_ANGULAR = '^0.2.0';
export const V17_X_TRPC_CLIENT = '^10.25.0';
export const V17_X_TRPC_SERVER = '^10.25.0';
export const V17_X_ISOMORPHIC_FETCH = '^3.0.0';
export const V17_X_SUPERJSON = '^1.12.3';
export const V17_X_SUPERJSON = '^2.2.1';
export const V17_X_FRONT_MATTER = '^4.0.2';
export const V17_X_MARKED = '^5.0.2';
export const V17_X_MARKED_GFM_HEADING_ID = '^3.1.0';
Expand Down
14 changes: 13 additions & 1 deletion packages/trpc/migrations/migration.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
{
"$schema": "../../../node_modules/@angular-devkit/schematics/collection-schema.json",
"schematics": {}
"schematics": {},
"packageJsonUpdates": {
"0.2.30": {
brandonroberts marked this conversation as resolved.
Show resolved Hide resolved
"version": "0.2.29",
"description": "Updates the superjson dependency from 1.x to 2.x",
"packages": {
"superjson": {
"version": "^2.2.1",
"alwaysAddToPackageJson": true
}
}
}
}
}
2 changes: 1 addition & 1 deletion packages/trpc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"@trpc/client": "^10.25.0",
"@trpc/server": "^10.25.0",
"isomorphic-fetch": "^3.0.0",
"superjson": "^1.12.3"
"superjson": "^2.2.1"
},
"dependencies": {},
"ng-update": {
Expand Down
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.