Skip to content

Commit

Permalink
Merge pull request #267 from kloudlite/website/refactor
Browse files Browse the repository at this point in the history
Website/refactor
  • Loading branch information
tulsiojha authored Aug 5, 2024
2 parents d7ccbf9 + e5d9c68 commit ae36aa8
Show file tree
Hide file tree
Showing 26 changed files with 4,030 additions and 807 deletions.
2 changes: 0 additions & 2 deletions lib/app-setup/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import { ReactNode, useEffect } from 'react';
import skeletonCSS from 'react-loading-skeleton/dist/skeleton.css';
import styleReactPulsable from 'react-pulsable/index.css';
import reactToast from 'react-toastify/dist/ReactToastify.css';
import styleZenerSelect from '@oshq/react-select/index.css';
import rcss from 'react-highlightjs-logs/dist/index.css';
import Container from '~/components/atoms/container';
import ProgressContainer, {
Expand All @@ -42,7 +41,6 @@ export const links: LinksFunction = () => [
{ rel: 'stylesheet', href: skeletonCSS },
{ rel: 'stylesheet', href: rcSlide },
{ rel: 'stylesheet', href: styleReactPulsable },
{ rel: 'stylesheet', href: styleZenerSelect },
{ rel: 'stylesheet', href: rcss },
{
rel: 'stylesheet',
Expand Down
282 changes: 141 additions & 141 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,143 +1,143 @@
{
"name": "kloudlite.github.io",
"private": true,
"version": "0.0.0",
"homepage": "https://kloudlite.github.io",
"type": "module",
"scripts": {
"postinstall": "cd src/generated && pnpm i",
"fake": "esbuild fake-data-generator/gen.ts --format=cjs --outfile=public/dist/fake-data-generator.cjs --platform=node && node public/dist/fake-data-generator.cjs",
"dev": "remix dev",
"serve": "remix-serve ./public/${APP}/server",
"watch": "nodemon --watch lib --watch src/${APP} --exec \"pnpm typecheck\"",
"start": "sh scripts/run.sh",
"build:ts": "pnpm fake && pnpm typecheck && remix build",
"build": "remix build",
"dbuild": "docker build --build-arg APP=${APP} . -t ghcr.io/kloudlite/web/${APP}:${IMAGE_TAG}",
"dpush": "docker push ghcr.io/kloudlite/web/${APP}:${IMAGE_TAG}",
"typecheck:watch": "tsc -w --p tsconfig-compile.json",
"typecheck": "tsc --p tsconfig-compile.json",
"typecheck:withtsgen": "pnpm tsgen && pnpm typecheck",
"gql:parse": "esbuild gql-queries-generator/index.ts --bundle --format=cjs --outfile=public/dist/gql-generator.cjs --platform=node && node public/dist/gql-generator.cjs",
"tsgen": "pnpm gql:parse && cd src/generated && pnpm tsgen",
"tsc": "tsc /Users/piyush/workspace/kloudlite/web/src/apps/iot-console/utils/commons.tsx"
},
"dependencies": {
"@jengaicons/react": "1.6.0",
"@mdx-js/react": "^2.3.0",
"@monaco-editor/react": "^4.6.0",
"@oshq/react-select": "^1.4.4",
"@radix-ui/primitive": "^1.0.1",
"@radix-ui/react-alert-dialog": "1.0.4",
"@radix-ui/react-checkbox": "^1.0.4",
"@radix-ui/react-collection": "^1.0.3",
"@radix-ui/react-compose-refs": "^1.0.1",
"@radix-ui/react-context": "^1.0.1",
"@radix-ui/react-dialog": "1.0.4",
"@radix-ui/react-direction": "1.0.1",
"@radix-ui/react-dismissable-layer": "^1.0.5",
"@radix-ui/react-dropdown-menu": "^2.0.6",
"@radix-ui/react-focus-guards": "^1.0.1",
"@radix-ui/react-focus-scope": "^1.0.4",
"@radix-ui/react-id": "^1.0.1",
"@radix-ui/react-menu": "2.0.5",
"@radix-ui/react-navigation-menu": "^1.1.4",
"@radix-ui/react-popover": "1.0.6",
"@radix-ui/react-popper": "^1.1.3",
"@radix-ui/react-portal": "^1.0.4",
"@radix-ui/react-presence": "^1.0.1",
"@radix-ui/react-primitive": "^1.0.3",
"@radix-ui/react-radio-group": "1.1.3",
"@radix-ui/react-roving-focus": "^1.0.4",
"@radix-ui/react-select": "^2.0.0",
"@radix-ui/react-separator": "^1.0.3",
"@radix-ui/react-slot": "^1.0.2",
"@radix-ui/react-switch": "^1.0.3",
"@radix-ui/react-toast": "^1.1.5",
"@radix-ui/react-toggle-group": "^1.0.4",
"@radix-ui/react-tooltip": "^1.0.7",
"@radix-ui/react-use-callback-ref": "^1.0.1",
"@radix-ui/react-use-controllable-state": "^1.0.1",
"@react-aria/focus": "^3.16.0",
"@react-aria/gridlist": "^3.7.3",
"@react-types/shared": "^3.22.0",
"@remix-run/node": "^1.19.3",
"@remix-run/react": "^1.19.3",
"anser": "^2.1.1",
"apexcharts": "^3.45.2",
"aria-hidden": "^1.2.3",
"axios": "^1.6.3",
"classnames": "^2.5.1",
"cookie": "^0.5.0",
"dayjs": "^1.11.10",
"framer-motion": "^11.0.23",
"fuse.js": "^6.6.2",
"graphql": "^16.8.1",
"graphql-tag": "^2.12.6",
"highlight.js": "^11.9.0",
"isbot": "^3.8.0",
"js-cookie": "^3.0.5",
"js-yaml": "^4.1.0",
"pino": "^8.17.2",
"rc-slider": "^10.5.0",
"react": "18.2.0",
"react-diff-viewer-continued": "^3.4.0",
"react-dom": "^18.2.0",
"react-google-recaptcha-v3": "^1.10.1",
"react-highlightjs-logs": "^1.1.0",
"react-hook-form": "^7.49.2",
"react-loading-skeleton": "^3.3.1",
"react-pulsable": "^1.0.17",
"react-qr-code": "^2.0.12",
"react-remove-scroll": "^2.5.7",
"react-router-dom": "^6.21.1",
"react-toastify": "^9.1.3",
"react-tooltip": "^5.27.0",
"react-viewport-list": "^7.1.2",
"reconnecting-websocket": "^4.4.0",
"remix": "^1.19.3",
"search-in-json": "^1.0.67",
"swr": "^2.2.4",
"use-immer": "^0.9.0",
"uuid": "^9.0.1",
"yup": "^1.3.3"
},
"devDependencies": {
"@babel/core": "^7.23.7",
"@babel/preset-env": "^7.23.7",
"@faker-js/faker": "^8.3.1",
"@remix-run/dev": "^1.19.3",
"@remix-run/serve": "^1.19.3",
"@types/cookie": "^0.5.4",
"@types/js-cookie": "^3.0.6",
"@types/js-yaml": "^4.0.9",
"@types/react": "^18.2.46",
"@types/react-dom": "^18.2.18",
"@types/react-ranger": "^2.0.4",
"@types/uuid": "^9.0.7",
"@typescript-eslint/eslint-plugin": "^6.17.0",
"@typescript-eslint/parser": "^6.17.0",
"autoprefixer": "^10.4.16",
"esbuild": "^0.19.11",
"eslint": "^8.56.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-prettier": "^8.10.0",
"eslint-import-resolver-jsconfig": "^1.1.0",
"eslint-import-resolver-node": "^0.3.9",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-prefer-arrow-functions": "^3.2.4",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"faker": "^5.5.3",
"json-schema-faker": "^0.5.4",
"nodemon": "^2.0.22",
"prettier": "^2.8.8",
"remix-flat-routes": "^0.6.4",
"tailwindcss": "^3.4.0",
"typescript": "^5.3.3",
"typescript-json-schema": "^0.62.0"
}
"name": "kloudlite.github.io",
"private": true,
"version": "0.0.0",
"homepage": "https://kloudlite.github.io",
"type": "module",
"scripts": {
"postinstall": "cd src/generated && pnpm i",
"fake": "esbuild fake-data-generator/gen.ts --format=cjs --outfile=public/dist/fake-data-generator.cjs --platform=node && node public/dist/fake-data-generator.cjs",
"dev": "remix dev",
"serve": "remix-serve ./public/${APP}/server",
"watch": "nodemon --watch lib --watch src/${APP} --exec \"pnpm typecheck\"",
"start": "sh scripts/run.sh",
"build:ts": "pnpm fake && pnpm typecheck && remix build",
"build": "remix build",
"dbuild": "docker build --build-arg APP=${APP} . -t ghcr.io/kloudlite/web/${APP}:${IMAGE_TAG}",
"dpush": "docker push ghcr.io/kloudlite/web/${APP}:${IMAGE_TAG}",
"typecheck:watch": "tsc -w --p tsconfig-compile.json",
"typecheck": "tsc --p tsconfig-compile.json",
"typecheck:withtsgen": "pnpm tsgen && pnpm typecheck",
"gql:parse": "esbuild gql-queries-generator/index.ts --bundle --format=cjs --outfile=public/dist/gql-generator.cjs --platform=node && node public/dist/gql-generator.cjs",
"tsgen": "pnpm gql:parse && cd src/generated && pnpm tsgen",
"tsc": "tsc /Users/piyush/workspace/kloudlite/web/src/apps/iot-console/utils/commons.tsx"
},
"dependencies": {
"@jengaicons/react": "1.6.0",
"@mdx-js/react": "^2.3.0",
"@monaco-editor/react": "^4.6.0",
"@oshq/react-select": "^1.4.6",
"@radix-ui/primitive": "^1.0.1",
"@radix-ui/react-alert-dialog": "1.0.4",
"@radix-ui/react-checkbox": "^1.0.4",
"@radix-ui/react-collection": "^1.0.3",
"@radix-ui/react-compose-refs": "^1.0.1",
"@radix-ui/react-context": "^1.0.1",
"@radix-ui/react-dialog": "1.0.4",
"@radix-ui/react-direction": "1.0.1",
"@radix-ui/react-dismissable-layer": "^1.0.5",
"@radix-ui/react-dropdown-menu": "^2.0.6",
"@radix-ui/react-focus-guards": "^1.0.1",
"@radix-ui/react-focus-scope": "^1.0.4",
"@radix-ui/react-id": "^1.0.1",
"@radix-ui/react-menu": "2.0.5",
"@radix-ui/react-navigation-menu": "^1.1.4",
"@radix-ui/react-popover": "1.0.6",
"@radix-ui/react-popper": "^1.1.3",
"@radix-ui/react-portal": "^1.0.4",
"@radix-ui/react-presence": "^1.0.1",
"@radix-ui/react-primitive": "^1.0.3",
"@radix-ui/react-radio-group": "1.1.3",
"@radix-ui/react-roving-focus": "^1.0.4",
"@radix-ui/react-select": "^2.0.0",
"@radix-ui/react-separator": "^1.0.3",
"@radix-ui/react-slot": "^1.0.2",
"@radix-ui/react-switch": "^1.0.3",
"@radix-ui/react-toast": "^1.1.5",
"@radix-ui/react-toggle-group": "^1.0.4",
"@radix-ui/react-tooltip": "^1.0.7",
"@radix-ui/react-use-callback-ref": "^1.0.1",
"@radix-ui/react-use-controllable-state": "^1.0.1",
"@react-aria/focus": "^3.16.0",
"@react-aria/gridlist": "^3.7.3",
"@react-types/shared": "^3.22.0",
"@remix-run/node": "^1.19.3",
"@remix-run/react": "^1.19.3",
"anser": "^2.1.1",
"apexcharts": "^3.45.2",
"aria-hidden": "^1.2.3",
"axios": "^1.6.3",
"classnames": "^2.5.1",
"cookie": "^0.5.0",
"dayjs": "^1.11.10",
"framer-motion": "^11.0.23",
"fuse.js": "^6.6.2",
"graphql": "^16.8.1",
"graphql-tag": "^2.12.6",
"highlight.js": "^11.9.0",
"isbot": "^3.8.0",
"js-cookie": "^3.0.5",
"js-yaml": "^4.1.0",
"pino": "^8.17.2",
"rc-slider": "^10.5.0",
"react": "18.2.0",
"react-diff-viewer-continued": "^3.4.0",
"react-dom": "^18.2.0",
"react-google-recaptcha-v3": "^1.10.1",
"react-highlightjs-logs": "^1.1.0",
"react-hook-form": "^7.49.2",
"react-loading-skeleton": "^3.3.1",
"react-pulsable": "^1.0.17",
"react-qr-code": "^2.0.12",
"react-remove-scroll": "^2.5.7",
"react-router-dom": "^6.21.1",
"react-toastify": "^9.1.3",
"react-tooltip": "^5.27.0",
"react-viewport-list": "^7.1.2",
"reconnecting-websocket": "^4.4.0",
"remix": "^1.19.3",
"search-in-json": "^1.0.67",
"swr": "^2.2.4",
"use-immer": "^0.9.0",
"uuid": "^9.0.1",
"yup": "^1.3.3"
},
"devDependencies": {
"@babel/core": "^7.23.7",
"@babel/preset-env": "^7.23.7",
"@faker-js/faker": "^8.3.1",
"@remix-run/dev": "^1.19.3",
"@remix-run/serve": "^1.19.3",
"@types/cookie": "^0.5.4",
"@types/js-cookie": "^3.0.6",
"@types/js-yaml": "^4.0.9",
"@types/react": "^18.2.46",
"@types/react-dom": "^18.2.18",
"@types/react-ranger": "^2.0.4",
"@types/uuid": "^9.0.7",
"@typescript-eslint/eslint-plugin": "^6.17.0",
"@typescript-eslint/parser": "^6.17.0",
"autoprefixer": "^10.4.16",
"esbuild": "^0.19.11",
"eslint": "^8.56.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-prettier": "^8.10.0",
"eslint-import-resolver-jsconfig": "^1.1.0",
"eslint-import-resolver-node": "^0.3.9",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-prefer-arrow-functions": "^3.2.4",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"faker": "^5.5.3",
"json-schema-faker": "^0.5.4",
"nodemon": "^2.0.22",
"prettier": "^2.8.8",
"remix-flat-routes": "^0.6.4",
"tailwindcss": "^3.4.0",
"typescript": "^5.3.3",
"typescript-json-schema": "^0.62.0"
}
}
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/apps/devdoc/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
enable-pre-post-scripts=true
Loading

0 comments on commit ae36aa8

Please sign in to comment.