Skip to content

Commit

Permalink
feat!: dynamic routing for property types, id
Browse files Browse the repository at this point in the history
  • Loading branch information
crystalcheong committed Feb 19, 2023
1 parent ded967e commit b05ba23
Show file tree
Hide file tree
Showing 29 changed files with 2,357 additions and 189 deletions.
18 changes: 18 additions & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,24 @@
const config = {
reactStrictMode: true,

// SVGR
webpack(config) {
config.module.rules.push({
test: /\.svg$/i,
issuer: /\.[jt]sx?$/,
use: [
{
loader: "@svgr/webpack",
options: {
typescript: true,
icon: true,
},
},
],
});
return config;
},

/**
* If you have the "experimental: { appDir: true }" setting enabled, then you
* must comment the below `i18n` config out.
Expand Down
45 changes: 26 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,40 +20,47 @@
"prepare": "husky install && pnpm prisma:prepare"
},
"dependencies": {
"@emotion/react": "^11.10.6",
"@mantine/core": "^5.10.4",
"@mantine/dates": "^5.10.4",
"@mantine/hooks": "^5.10.4",
"@mantine/notifications": "^5.10.4",
"@mantine/nprogress": "^5.10.4",
"@next-auth/prisma-adapter": "^1.0.5",
"@prisma/client": "^4.9.0",
"@tanstack/react-query": "^4.20.2",
"@trpc/client": "^10.9.0",
"@trpc/next": "^10.9.0",
"@trpc/react-query": "^10.9.0",
"@trpc/server": "^10.9.0",
"@prisma/client": "^4.10.1",
"@tanstack/react-query": "^4.24.9",
"@trpc/client": "^10.12.0",
"@trpc/next": "^10.12.0",
"@trpc/react-query": "^10.12.0",
"@trpc/server": "^10.12.0",
"next": "13.1.6",
"next-auth": "^4.19.0",
"next-auth": "^4.19.2",
"react": "18.2.0",
"react-dom": "18.2.0",
"superjson": "1.9.1",
"zod": "^3.20.2",
"react-icons": "^4.7.1",
"superjson": "1.12.2",
"zod": "^3.20.6",
"zustand": "^4.3.3"
},
"devDependencies": {
"@commitlint/cli": "^17.4.2",
"@commitlint/config-conventional": "^17.4.2",
"@commitlint/cli": "^17.4.4",
"@commitlint/config-conventional": "^17.4.4",
"@svgr/webpack": "^6.5.1",
"@types/node": "^18.11.18",
"@types/react": "^18.0.26",
"@types/react-dom": "^18.0.10",
"@typescript-eslint/eslint-plugin": "^5.47.1",
"@typescript-eslint/parser": "^5.47.1",
"@types/node": "^18.14.0",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
"@typescript-eslint/eslint-plugin": "^5.52.0",
"@typescript-eslint/parser": "^5.52.0",
"dotenv-cli": "^7.0.0",
"eslint": "^8.30.0",
"eslint": "^8.34.0",
"eslint-config-next": "13.1.6",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-unused-imports": "^2.0.0",
"husky": "^8.0.3",
"prettier": "^2.8.4",
"prisma": "^4.9.0",
"typescript": "^4.9.4"
"prisma": "^4.10.1",
"typescript": "^4.9.5"
},
"lint-staged": {
"**/*.{js,jsx,ts,tsx}": [
Expand Down
Loading

1 comment on commit b05ba23

@vercel
Copy link

@vercel vercel bot commented on b05ba23 Feb 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

webapp – ./

webapp-git-main-homey.vercel.app
webapp-homey.vercel.app
webapp-nine-virid.vercel.app

Please sign in to comment.