-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(monorepo): converted to Monorepo Arch
- Loading branch information
Showing
163 changed files
with
856 additions
and
2,897 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 |
---|---|---|
|
@@ -37,4 +37,7 @@ yarn-error.log* | |
# Sentry Auth Token | ||
.sentryclirc | ||
|
||
.env | ||
.env | ||
|
||
/.next | ||
/node_modules |
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
/node_modules | ||
/.pnp | ||
.pnp.js | ||
|
||
# testing | ||
/coverage | ||
|
||
# next.js | ||
/.next/ | ||
/out/ | ||
|
||
# production | ||
/build | ||
|
||
# misc | ||
.DS_Store | ||
*.pem | ||
|
||
# debug | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
.pnpm-debug.log* | ||
|
||
# local env files | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
|
||
# vercel | ||
.vercel | ||
|
||
# Sentry Auth Token | ||
.sentryclirc | ||
|
||
.env | ||
|
||
/.next | ||
/node_modules |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,52 @@ | ||
import { withSentryConfig } from '@sentry/nextjs' | ||
import withPWA from 'next-pwa' | ||
|
||
/** @type {import('next').NextConfig} */ | ||
|
||
const nextConfig = { | ||
output: 'standalone', | ||
reactStrictMode: true, | ||
swcMinify: true, | ||
transpilePackages: ['@tool-empire/utils'], | ||
images: { | ||
domains: ['lh3.googleusercontent.com', 'vercel.com'], | ||
}, | ||
withPWA, | ||
} | ||
|
||
const sentryOptions = { | ||
// For all available options, see: | ||
// https://github.com/getsentry/sentry-webpack-plugin#options | ||
|
||
// Suppresses source map uploading logs during build | ||
silent: true, | ||
|
||
org: process.env.SENTRY_ORG, | ||
project: process.env.SENTRY_PROJECT, | ||
} | ||
|
||
const sentryConfig = { | ||
// For all available options, see: | ||
// https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/ | ||
|
||
// Upload a larger set of source maps for prettier stack traces (increases build time) | ||
widenClientFileUpload: true, | ||
|
||
// Transpiles SDK to be compatible with IE11 (increases bundle size) | ||
transpileClientSDK: true, | ||
|
||
// Routes browser requests to Sentry through a Next.js rewrite to circumvent ad-blockers (increases server load) | ||
tunnelRoute: '/monitoring', | ||
|
||
// Hides source maps from generated client bundles | ||
hideSourceMaps: true, | ||
|
||
// Automatically tree-shake Sentry logger statements to reduce bundle size | ||
disableLogger: true, | ||
} | ||
|
||
const exportConfig = process.env.NEXT_PUBLIC_SENTRY_DSN | ||
? withSentryConfig(nextConfig, sentryOptions, sentryConfig) | ||
: nextConfig | ||
|
||
export default exportConfig |
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 |
---|---|---|
@@ -0,0 +1,104 @@ | ||
{ | ||
"name": "web", | ||
"version": "0.1.0", | ||
"private": true, | ||
"scripts": { | ||
"dev": "next dev", | ||
"build": "next build", | ||
"start": "next start", | ||
"lint": "next lint", | ||
"analyze": "ANALYZE=true yarn build", | ||
"svgr": "svgr --icon --replace-attr-values '#F2F2F2'={props.color} -d src icons/assets --out-dir icons/output --index-template icons-template.js", | ||
"postbuild": "next-sitemap" | ||
}, | ||
"dependencies": { | ||
"@chakra-ui/react": "^2.2.1", | ||
"@dnd-kit/core": "^6.0.8", | ||
"@dnd-kit/modifiers": "^6.0.1", | ||
"@dnd-kit/sortable": "^7.0.2", | ||
"@emotion/react": "^11.9.3", | ||
"@emotion/styled": "^11.9.3", | ||
"@monaco-editor/react": "^4.6.0", | ||
"@next/bundle-analyzer": "^12.2.0", | ||
"@radix-ui/react-accordion": "^1.1.2", | ||
"@radix-ui/react-alert-dialog": "^1.0.4", | ||
"@radix-ui/react-aspect-ratio": "^1.0.3", | ||
"@radix-ui/react-avatar": "^1.0.3", | ||
"@radix-ui/react-checkbox": "^1.0.4", | ||
"@radix-ui/react-collapsible": "^1.0.3", | ||
"@radix-ui/react-context-menu": "^2.1.4", | ||
"@radix-ui/react-dialog": "^1.0.4", | ||
"@radix-ui/react-dropdown-menu": "^2.0.5", | ||
"@radix-ui/react-hover-card": "^1.0.6", | ||
"@radix-ui/react-label": "^2.0.2", | ||
"@radix-ui/react-menubar": "^1.0.3", | ||
"@radix-ui/react-navigation-menu": "^1.1.3", | ||
"@radix-ui/react-popover": "^1.0.6", | ||
"@radix-ui/react-progress": "^1.0.3", | ||
"@radix-ui/react-radio-group": "^1.1.3", | ||
"@radix-ui/react-scroll-area": "^1.0.4", | ||
"@radix-ui/react-select": "^1.2.2", | ||
"@radix-ui/react-separator": "^1.0.3", | ||
"@radix-ui/react-slider": "^1.1.2", | ||
"@radix-ui/react-slot": "^1.0.2", | ||
"@radix-ui/react-switch": "^1.0.3", | ||
"@radix-ui/react-tabs": "^1.0.4", | ||
"@radix-ui/react-toast": "^1.1.4", | ||
"@radix-ui/react-toggle": "^1.0.3", | ||
"@radix-ui/react-tooltip": "^1.0.6", | ||
"@sentry/nextjs": "^7.54.0", | ||
"@tool-empire/utils": "1.0.0", | ||
"@uimakers/tools-ui": "^1.0.0", | ||
"@vercel/analytics": "^1.1.1", | ||
"class-variance-authority": "^0.7.0", | ||
"cmdk": "^0.2.0", | ||
"flourite": "^1.2.4", | ||
"framer-motion": "^6.3.16", | ||
"globby": "11.1.0", | ||
"highlight.js": "^11.8.0", | ||
"html-to-image": "^1.11.11", | ||
"jsonlint-mod": "^1.7.6", | ||
"lucide-react": "^0.274.0", | ||
"next": "^13.4.19", | ||
"next-pwa": "^5.6.0", | ||
"next-sitemap": "^4.2.3", | ||
"next-themes": "^0.2.1", | ||
"pdf-parser": "^1.0.5", | ||
"re-resizable": "^6.9.11", | ||
"react": "^18.2.0", | ||
"react-day-picker": "^8.8.1", | ||
"react-dom": "^18.2.0", | ||
"react-drag-drop-files": "^2.3.10", | ||
"react-dropzone": "^14.2.3", | ||
"react-hook-form": "^7.46.0", | ||
"react-hot-toast": "^2.4.1", | ||
"react-lottie-player": "^1.5.0", | ||
"react-markdown": "^9.0.0", | ||
"react-monaco-editor": "^0.54.0", | ||
"react-simple-code-editor": "^0.13.1", | ||
"remark-gfm": "^4.0.0", | ||
"styled-components": "^5.3.5", | ||
"styled-normalize": "^8.0.7", | ||
"tailwindcss-animate": "^1.0.7", | ||
"webpack": "^5.75.0", | ||
"xml-js": "^1.6.11", | ||
"zustand": "^4.4.1" | ||
}, | ||
"devDependencies": { | ||
"@svgr/cli": "^6.5.1", | ||
"@trivago/prettier-plugin-sort-imports": "^4.2.0", | ||
"@types/react": "^18.2.21", | ||
"autoprefixer": "^10.4.15", | ||
"eslint": "8.11.0", | ||
"eslint-config-next": "13.4.19", | ||
"postcss": "^8.4.29", | ||
"prettier": "2.7.1", | ||
"tailwindcss": "^3.3.3", | ||
"typescript": "5.2.2" | ||
}, | ||
"browser": { | ||
"fs": false, | ||
"child_process": false, | ||
"os": false | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1"> | ||
<url><loc>https://tool-empire.vercel.app</loc><lastmod>2023-10-29T16:54:36.916Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url> | ||
<url><loc>https://tool-empire.vercel.app/code-glow</loc><lastmod>2023-10-29T16:54:36.916Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url> | ||
<url><loc>https://tool-empire.vercel.app/color-magic</loc><lastmod>2023-10-29T16:54:36.916Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url> | ||
<url><loc>https://tool-empire.vercel.app/contact</loc><lastmod>2023-10-29T16:54:36.916Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url> | ||
<url><loc>https://tool-empire.vercel.app/font-wise</loc><lastmod>2023-10-29T16:54:36.916Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url> | ||
<url><loc>https://tool-empire.vercel.app/json-formatter</loc><lastmod>2023-10-29T16:54:36.916Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url> | ||
<url><loc>https://tool-empire.vercel.app/json-formatter/editor</loc><lastmod>2023-10-29T16:54:36.916Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url> | ||
<url><loc>https://tool-empire.vercel.app/pdf-to-word</loc><lastmod>2023-10-29T16:54:36.916Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url> | ||
<url><loc>https://tool-empire.vercel.app/readme-generator</loc><lastmod>2023-10-29T16:54:36.916Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url> | ||
<url><loc>https://tool-empire.vercel.app/readme-generator/editor</loc><lastmod>2023-10-29T16:54:36.916Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url> | ||
<url><loc>https://tool-empire.vercel.app/sitemap.xml</loc><lastmod>2023-10-29T16:54:36.916Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url> | ||
</urlset> |
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> | ||
<sitemap><loc>https://tool-empire.vercel.app/sitemap-0.xml</loc></sitemap> | ||
</sitemapindex> |
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
...onents/code-glow/control/theme-select.tsx → ...onents/code-glow/control/theme-select.tsx
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
2 changes: 1 addition & 1 deletion
2
...omponents/code-glow/width-measurement.tsx → ...omponents/code-glow/width-measurement.tsx
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 1 addition & 2 deletions
3
src/components/pxtorem.tsx → apps/web/src/components/pxtorem.tsx
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 1 addition & 2 deletions
3
src/components/ui/accordion.tsx → apps/web/src/components/ui/accordion.tsx
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
3 changes: 1 addition & 2 deletions
3
src/components/ui/alert-dialog.tsx → apps/web/src/components/ui/alert-dialog.tsx
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
3 changes: 1 addition & 2 deletions
3
src/components/ui/alert.tsx → apps/web/src/components/ui/alert.tsx
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
File renamed without changes.
3 changes: 1 addition & 2 deletions
3
src/components/ui/avatar.tsx → apps/web/src/components/ui/avatar.tsx
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
3 changes: 1 addition & 2 deletions
3
src/components/ui/badge.tsx → apps/web/src/components/ui/badge.tsx
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
3 changes: 1 addition & 2 deletions
3
src/components/ui/button.tsx → apps/web/src/components/ui/button.tsx
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
3 changes: 1 addition & 2 deletions
3
src/components/ui/calendar.tsx → apps/web/src/components/ui/calendar.tsx
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
Oops, something went wrong.