Skip to content

Commit

Permalink
fix publint stuff + upgrade workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
oscartbeaumont committed Jul 2, 2024
1 parent 6e1da5b commit 5e7c1ef
Show file tree
Hide file tree
Showing 13 changed files with 2,064 additions and 2,349 deletions.
22 changes: 11 additions & 11 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,23 @@
},
"dependencies": {
"astro-spa": "^1.3.9",
"clsx": "^2.1.0",
"morphdom": "^2.7.2",
"solid-js": "^1.8.15"
"clsx": "^2.1.1",
"morphdom": "^2.7.3",
"solid-js": "^1.8.18"
},
"devDependencies": {
"@astrojs/sitemap": "^3.1.1",
"@astrojs/solid-js": "^4.0.1",
"@astrojs/sitemap": "^3.1.6",
"@astrojs/solid-js": "^4.4.0",
"@astrojs/tailwind": "^5.1.0",
"@tailwindcss/typography": "^0.5.10",
"astro": "4.5.5",
"astro-compress": "^2.2.15",
"@tailwindcss/typography": "^0.5.13",
"astro": "4.11.3",
"astro-compress": "^2.2.28",
"astro-icon": "^1.1.0",
"node-html-parser": "^6.1.12",
"node-html-parser": "^6.1.13",
"rehype-external-links": "^3.0.0",
"svgo": "3.2.0",
"svgo": "3.3.2",
"tailwind-scrollbar": "^3.1.0",
"tailwindcss": "^3.4.1"
"tailwindcss": "^3.4.4"
},
"engines": {
"pnpm": ">=7.0.0",
Expand Down
2 changes: 1 addition & 1 deletion docs/src/config.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { JSX } from "solid-js";
import { type JSX } from "solid-js";

export interface Config {
repository: string;
Expand Down
18 changes: 9 additions & 9 deletions examples/astro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@
"@rspc/client": "workspace:*",
"@rspc/react": "workspace:*",
"@rspc/solid": "workspace:*",
"@tanstack/react-query": "^5.48.0",
"@tanstack/solid-query": "^5.48.0",
"astro": "4.5.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"solid-js": "^1.8.15"
"@tanstack/react-query": "^5.49.2",
"@tanstack/solid-query": "^5.49.1",
"astro": "4.11.3",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"solid-js": "^1.8.18"
},
"devDependencies": {
"@astrojs/react": "^3.1.0",
"@astrojs/solid-js": "^4.0.1",
"@types/react": "^18.2.66"
"@astrojs/react": "^3.6.0",
"@astrojs/solid-js": "^4.4.0",
"@types/react": "^18.3.3"
}
}
16 changes: 8 additions & 8 deletions examples/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
"dependencies": {
"@rspc/client": "workspace:*",
"@rspc/react": "workspace:*",
"@tanstack/react-query": "^5.48.0",
"next": "^14.1.3",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"@tanstack/react-query": "^5.49.2",
"next": "^14.2.4",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@types/node": "^20.11.28",
"@types/react": "^18.2.66",
"@types/react-dom": "^18.2.22",
"typescript": "^5.4.2"
"@types/node": "^20.14.9",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"typescript": "^5.5.3"
}
}
4 changes: 2 additions & 2 deletions examples/nextjs/pages/using-use-mutation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { useMutation } from "../src/rspc";
import styles from "../styles/Home.module.css";

const UsingUseMutation: NextPage = () => {
const { mutate, data, isLoading, error } = useMutation("sendMsg");
const { mutate, data, isPending, error } = useMutation("sendMsg");

const handleSubmit = async (
event: React.FormEvent<HTMLFormElement>
Expand Down Expand Up @@ -35,7 +35,7 @@ const UsingUseMutation: NextPage = () => {
</form>

<p className={styles.description}>
{isLoading && "Loading data ..."}
{isPending && "Loading data ..."}
{data && `Server received message: ${data}`}
{error?.message}
</p>
Expand Down
6 changes: 4 additions & 2 deletions packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@
"keywords": [],
"author": "Oscar Beaumont",
"license": "MIT",
"type": "module",
"main": "dist/index.js",
"exports": {
"./package.json": "./package.json",
".": {
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
Expand All @@ -23,8 +25,8 @@
"prepare": "tsup"
},
"devDependencies": {
"tsup": "^8.0.2",
"typescript": "^5.4.2"
"tsup": "^8.1.0",
"typescript": "^5.5.3"
},
"tsup": {
"entry": [
Expand Down
12 changes: 6 additions & 6 deletions packages/query-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@
"keywords": [],
"author": "Oscar Beaumont",
"license": "MIT",
"type": "module",
"main": "dist/index.js",
"exports": {
"./package.json": "./package.json",
".": {
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
Expand All @@ -22,15 +24,13 @@
"build": "tsup",
"prepare": "tsup"
},
"dependencies": {
"@tanstack/query-core": "^5.48.0"
},
"devDependencies": {
"tsup": "^8.0.2",
"typescript": "^5.4.2"
"tsup": "^8.1.0",
"typescript": "^5.5.3"
},
"peerDependencies": {
"@rspc/client": "workspace:*"
"@rspc/client": "workspace:*",
"@tanstack/query-core": "^5.0.0"
},
"tsup": {
"entry": [
Expand Down
12 changes: 7 additions & 5 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@
"keywords": [],
"author": "Oscar Beaumont",
"license": "MIT",
"type": "module",
"main": "dist/index.js",
"exports": {
"./package.json": "./package.json",
".": {
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
Expand Down Expand Up @@ -42,11 +44,11 @@
"@rspc/query-core": "workspace:*"
},
"devDependencies": {
"@tanstack/react-query": "^5.48.0",
"@types/react": "^18.2.66",
"react": "^18.2.0",
"tsup": "^8.0.2",
"typescript": "^5.4.2"
"@tanstack/react-query": "^5.49.2",
"@types/react": "^18.3.3",
"react": "^18.3.1",
"tsup": "^8.1.0",
"typescript": "^5.5.3"
},
"peerDependencies": {
"@tanstack/react-query": "^5.0.0",
Expand Down
8 changes: 4 additions & 4 deletions packages/solid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@
"@rspc/query-core": "workspace:*"
},
"devDependencies": {
"@tanstack/solid-query": "^5.48.0",
"rollup": "^4.13.0",
"@tanstack/solid-query": "^5.49.1",
"rollup": "^4.18.0",
"rollup-preset-solid": "^2.0.1",
"solid-js": "^1.8.15",
"typescript": "^5.4.2"
"solid-js": "^1.8.18",
"typescript": "^5.5.3"
},
"peerDependencies": {
"@tanstack/solid-query": "^5.0.0",
Expand Down
8 changes: 5 additions & 3 deletions packages/tauri/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@
"keywords": [],
"author": "Oscar Beaumont",
"license": "MIT",
"type": "module",
"main": "dist/index.js",
"exports": {
"./package.json": "./package.json",
".": {
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
Expand Down Expand Up @@ -41,9 +43,9 @@
"@rspc/client": "workspace:*"
},
"devDependencies": {
"@tauri-apps/api": "^1.5.3",
"tsup": "^8.0.2",
"typescript": "^5.4.2"
"@tauri-apps/api": "^1.6.0",
"tsup": "^8.1.0",
"typescript": "^5.5.3"
},
"peerDependencies": {
"@tauri-apps/api": "^1.2.0"
Expand Down
6 changes: 4 additions & 2 deletions packages/tauri2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@
"keywords": [],
"author": "Oscar Beaumont",
"license": "MIT",
"type": "module",
"main": "dist/index.js",
"exports": {
"./package.json": "./package.json",
".": {
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
Expand Down Expand Up @@ -42,8 +44,8 @@
},
"devDependencies": {
"@tauri-apps/api": "next",
"tsup": "^8.0.2",
"typescript": "^5.4.2"
"tsup": "^8.1.0",
"typescript": "^5.5.3"
},
"peerDependencies": {
"@tauri-apps/api": "^1.2.0"
Expand Down
3 changes: 2 additions & 1 deletion packages/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"compilerOptions": {
"baseUrl": "./packages",
"strict": true,
"target": "ES2015",
"target": "ESNext",
"noEmit": true,
"skipLibCheck": true,
"paths": {
"@rspc/client": ["../client/src"],
"@rspc/react": ["../react/src"],
Expand Down
Loading

0 comments on commit 5e7c1ef

Please sign in to comment.