-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
33 changed files
with
894 additions
and
448 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
{ | ||
"name": "@solana-wallets-solid/react-next", | ||
"version": "0.1.0", | ||
"private": true, | ||
"scripts": { | ||
"dev": "next dev", | ||
"build": "next build", | ||
"start": "next start", | ||
"lint": "next lint" | ||
}, | ||
"dependencies": { | ||
"react": "^18", | ||
"react-dom": "^18", | ||
"next": "14.2.12", | ||
"@nanostores/react": "^0.7.3", | ||
"@solana-wallets-solid/react": "workspace:*", | ||
"@solana-wallets-solid/unified": "workspace:*" | ||
}, | ||
"devDependencies": { | ||
"typescript": "^5", | ||
"@types/node": "^20", | ||
"@types/react": "^18", | ||
"@types/react-dom": "^18" | ||
} | ||
"name": "@solana-wallets-solid/react-next", | ||
"version": "0.1.0", | ||
"private": true, | ||
"scripts": { | ||
"dev": "next dev", | ||
"build": "next build", | ||
"start": "next start", | ||
"lint": "next lint" | ||
}, | ||
"dependencies": { | ||
"react": "^18", | ||
"react-dom": "^18", | ||
"next": "14.2.12", | ||
"@nanostores/react": "^0.7.3", | ||
"@solana-wallets-solid/react": "workspace:*", | ||
"@solana-wallets-solid/unified": "workspace:*" | ||
}, | ||
"devDependencies": { | ||
"typescript": "^5", | ||
"@types/node": "^20", | ||
"@types/react": "^18", | ||
"@types/react-dom": "^18" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,3 @@ | ||
{ | ||
"cSpell.words": [ | ||
"lightningcss", | ||
"packagejson", | ||
"tailwindcss", | ||
"tilg", | ||
"wireit" | ||
] | ||
"cSpell.words": ["lightningcss", "packagejson", "tailwindcss", "tilg", "wireit"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,37 @@ | ||
{ | ||
"name": "@solana-wallets-solid/react-vite", | ||
"version": "0.0.0", | ||
"type": "module", | ||
"scripts": { | ||
"typecheck": "tsc", | ||
"build": "vite build", | ||
"dev": "vite --host", | ||
"preview": "vite preview" | ||
}, | ||
"dependencies": { | ||
"@nanostores/react": "^0.7.3", | ||
"@solana-wallets-solid/react": "workspace:*", | ||
"@solana-wallets-solid/unified": "workspace:*", | ||
"@solana/spl-token": "^0.4.8", | ||
"@solana/web3.js": "^1.95.3", | ||
"react": "18.3.1", | ||
"react-dom": "18.3.1", | ||
"react-router-dom": "6.26.2", | ||
"vite-plugin-node-polyfills": "^0.22.0" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "20.16.5", | ||
"@types/react": "18.3.7", | ||
"@types/react-dom": "18.3.0", | ||
"@vitejs/plugin-react-swc": "3.7.0", | ||
"autoprefixer": "10.4.20", | ||
"is-ci": "3.0.1", | ||
"lightningcss": "1.27.0", | ||
"postcss": "8.4.47", | ||
"sort-package-json": "2.10.1", | ||
"tailwindcss": "3.4.12", | ||
"typescript": "5.6.2", | ||
"vite": "5.4.6", | ||
"vite-tsconfig-paths": "5.0.1" | ||
} | ||
"name": "@solana-wallets-solid/react-vite", | ||
"version": "0.0.0", | ||
"type": "module", | ||
"scripts": { | ||
"typecheck": "tsc", | ||
"build": "vite build", | ||
"dev": "vite --host", | ||
"preview": "vite preview" | ||
}, | ||
"dependencies": { | ||
"@nanostores/react": "^0.7.3", | ||
"@solana-wallets-solid/react": "workspace:*", | ||
"@solana-wallets-solid/unified": "workspace:*", | ||
"@solana/spl-token": "^0.4.8", | ||
"@solana/web3.js": "^1.95.3", | ||
"react": "18.3.1", | ||
"react-dom": "18.3.1", | ||
"react-router-dom": "6.26.2", | ||
"vite-plugin-node-polyfills": "^0.22.0" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "20.16.5", | ||
"@types/react": "18.3.7", | ||
"@types/react-dom": "18.3.0", | ||
"@vitejs/plugin-react-swc": "3.7.0", | ||
"autoprefixer": "10.4.20", | ||
"is-ci": "3.0.1", | ||
"lightningcss": "1.27.0", | ||
"postcss": "8.4.47", | ||
"sort-package-json": "2.10.1", | ||
"tailwindcss": "3.4.12", | ||
"typescript": "5.6.2", | ||
"vite": "5.4.6", | ||
"vite-tsconfig-paths": "5.0.1" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,4 @@ export default { | |
tailwindcss: {}, | ||
autoprefixer: {}, | ||
}, | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
import "@/styles/tailwind.css"; | ||
import "@solana-wallets-solid/unified/index.css"; | ||
import "@/styles/tailwind.css" | ||
import "@solana-wallets-solid/unified/index.css" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
import { StrictMode } from "react"; | ||
import { createRoot } from "react-dom/client"; | ||
import { createBrowserRouter, RouterProvider } from "react-router-dom"; | ||
import routes from "@/routes"; | ||
import App from "@/App"; | ||
import "@/global"; | ||
import { loadCustomElements } from "@solana-wallets-solid/unified"; | ||
import { StrictMode } from "react" | ||
import { createRoot } from "react-dom/client" | ||
import { createBrowserRouter, RouterProvider } from "react-router-dom" | ||
import routes from "@/routes" | ||
import App from "@/App" | ||
import "@/global" | ||
import { loadCustomElements } from "@solana-wallets-solid/unified" | ||
|
||
loadCustomElements(); | ||
const container = document.getElementById("root") as HTMLElement; | ||
loadCustomElements() | ||
const container = document.getElementById("root") as HTMLElement | ||
|
||
const root = createRoot(container); | ||
const root = createRoot(container) | ||
|
||
const router = createBrowserRouter([ | ||
{ | ||
path: "/", | ||
element: <App />, | ||
children: routes, | ||
errorElement: <div>error</div>, | ||
}, | ||
]); | ||
{ | ||
path: "/", | ||
element: <App />, | ||
children: routes, | ||
errorElement: <div>error</div>, | ||
}, | ||
]) | ||
|
||
root.render( | ||
<StrictMode> | ||
<RouterProvider router={router} fallbackElement={<div>loading...</div>} /> | ||
</StrictMode>, | ||
); | ||
<StrictMode> | ||
<RouterProvider router={router} fallbackElement={<div>loading...</div>} /> | ||
</StrictMode>, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
export default function Notfound() { | ||
return <div>404</div>; | ||
return <div>404</div> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,4 @@ export default { | |
extend: {}, | ||
}, | ||
plugins: [], | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,34 @@ | ||
{ | ||
"name": "@solana-wallets-solid/start-tailwind", | ||
"type": "module", | ||
"private": true, | ||
"scripts": { | ||
"dev": "vinxi dev", | ||
"build": "vinxi build", | ||
"start": "vinxi start", | ||
"typecheck": "tsc --noEmit -p tsconfig.typecheck.json", | ||
"deploy": "vinxi build && wrangler pages deploy dist" | ||
}, | ||
"dependencies": { | ||
"@nanostores/solid": "^0.4.2", | ||
"@solana-wallets-solid/solid": "workspace:*", | ||
"@solana-wallets-solid/unified": "workspace:*", | ||
"@solana/spl-token": "^0.4.8", | ||
"@solana/web3.js": "^1.95.3", | ||
"@solidjs/router": "^0.14.1", | ||
"@solidjs/start": "^1.0.6", | ||
"nanostores": "^0.11.3", | ||
"solid-js": "^1.8.18", | ||
"vinxi": "^0.4.1", | ||
"vite-plugin-node-polyfills": "^0.22.0" | ||
}, | ||
"engines": { | ||
"node": ">=18" | ||
}, | ||
"devDependencies": { | ||
"autoprefixer": "^10.4.19", | ||
"postcss": "^8.4.38", | ||
"tailwindcss": "^3.4.3", | ||
"wrangler": "^3.70.0" | ||
} | ||
"name": "@solana-wallets-solid/start-tailwind", | ||
"type": "module", | ||
"private": true, | ||
"scripts": { | ||
"dev": "vinxi dev", | ||
"build": "vinxi build", | ||
"start": "vinxi start", | ||
"typecheck": "tsc --noEmit -p tsconfig.typecheck.json", | ||
"deploy": "vinxi build && wrangler pages deploy dist" | ||
}, | ||
"dependencies": { | ||
"@nanostores/solid": "^0.4.2", | ||
"@solana-wallets-solid/solid": "workspace:*", | ||
"@solana-wallets-solid/unified": "workspace:*", | ||
"@solana/spl-token": "^0.4.8", | ||
"@solana/web3.js": "^1.95.3", | ||
"@solidjs/router": "^0.14.1", | ||
"@solidjs/start": "^1.0.6", | ||
"nanostores": "^0.11.3", | ||
"solid-js": "^1.8.18", | ||
"vinxi": "^0.4.1", | ||
"vite-plugin-node-polyfills": "^0.22.0" | ||
}, | ||
"engines": { | ||
"node": ">=18" | ||
}, | ||
"devDependencies": { | ||
"autoprefixer": "^10.4.19", | ||
"postcss": "^8.4.38", | ||
"tailwindcss": "^3.4.3", | ||
"wrangler": "^3.70.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,20 @@ | ||
{ | ||
"compilerOptions": { | ||
"target": "ESNext", | ||
"module": "ESNext", | ||
"moduleResolution": "bundler", | ||
"allowSyntheticDefaultImports": true, | ||
"esModuleInterop": true, | ||
"jsx": "preserve", | ||
"jsxImportSource": "solid-js", | ||
"allowJs": true, | ||
"noEmit": true, | ||
"strict": true, | ||
"types": [ | ||
"vinxi/types/client" | ||
], | ||
"isolatedModules": true, | ||
"paths": { | ||
"~/*": [ | ||
"./src/*" | ||
] | ||
}, | ||
"skipLibCheck": true | ||
} | ||
"compilerOptions": { | ||
"target": "ESNext", | ||
"module": "ESNext", | ||
"moduleResolution": "bundler", | ||
"allowSyntheticDefaultImports": true, | ||
"esModuleInterop": true, | ||
"jsx": "preserve", | ||
"jsxImportSource": "solid-js", | ||
"allowJs": true, | ||
"noEmit": true, | ||
"strict": true, | ||
"types": ["vinxi/types/client"], | ||
"isolatedModules": true, | ||
"paths": { | ||
"~/*": ["./src/*"] | ||
}, | ||
"skipLibCheck": true | ||
} | ||
} |
Oops, something went wrong.