Skip to content

Commit

Permalink
feat: ✨ upgrade logseq/libs react typescript antd vite
Browse files Browse the repository at this point in the history
  • Loading branch information
haydenull committed Nov 29, 2022
1 parent 3dcd6b3 commit 6e1fadf
Show file tree
Hide file tree
Showing 4 changed files with 1,010 additions and 583 deletions.
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,25 @@
"preview": "vite preview"
},
"dependencies": {
"@logseq/libs": "^0.0.1-alpha.34",
"antd": "^4.18.9",
"react": "^17.0.2",
"react-dom": "^17.0.2"
"@logseq/libs": "^0.0.10",
"antd": "^5.0.2",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/exec": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/npm": "^8.0.3",
"@types/node": "^17.0.9",
"@types/react": "^17.0.33",
"@types/react-dom": "^17.0.10",
"@vitejs/plugin-react": "^1.0.7",
"@types/node": "^18.11.9",
"@types/react": "^18.0.25",
"@types/react-dom": "^18.0.9",
"@vitejs/plugin-react": "^2.2.0",
"autoprefixer": "^10.4.2",
"postcss": "^8.4.5",
"tailwindcss": "^3.0.15",
"typescript": "^4.4.4",
"vite": "^2.7.2",
"tailwindcss": "^3.2.4",
"typescript": "^4.9.3",
"vite": "^3.2.4",
"vite-plugin-importer": "^0.2.5"
}
}
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const App: React.FC<{ env: string }> = ({ env }) => {
return (
<div className="w-screen h-screen flex items-center justify-center text-white">
<div className="w-screen h-screen fixed top-0 left-0" onClick={() => logseq.hideMainUI()}></div>
<div className="w-5/6 h-5/6 z-0 bg-gradient-to-tr from-yellow-400 via-red-500 to-pink-500 flex flex-col items-center justify-center">
<div className="w-5/6 h-5/6 z-0 bg-gradient-to-tr from-green-300 via-green-500 to-green-700 flex flex-col items-center justify-center">
<h1 className="font-bold text-4xl">Logseq-plugin-react-boilerplate</h1>
<h2 className="text-2xl mt-6">Current Env: {env}</h2>
</div>
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"useDefineForClassFields": true,
"lib": ["DOM", "DOM.Iterable", "ESNext"],
"allowJs": false,
"skipLibCheck": false,
"skipLibCheck": true,
"esModuleInterop": false,
"allowSyntheticDefaultImports": true,
"strict": true,
Expand Down
Loading

0 comments on commit 6e1fadf

Please sign in to comment.