From 03b44cd37b5fc0296a32e7d5215ac860e6eeeaa5 Mon Sep 17 00:00:00 2001 From: VisualDust Date: Sat, 2 Dec 2023 11:15:37 +0800 Subject: [PATCH] moved frontend out --- .github/workflows/build-and-publish-pypi.yml | 8 ++++---- .github/workflows/build-frontend.yml | 8 ++++---- .github/workflows/maunal-build.yml | 8 ++++---- {neetbox/frontend => frontend}/.eslintrc.cjs | 0 {neetbox/frontend => frontend}/.gitignore | 0 {neetbox/frontend => frontend}/README.md | 0 {neetbox/frontend => frontend}/index.html | 0 {neetbox/frontend => frontend}/package.json | 0 {neetbox/frontend => frontend}/public/logo.svg | 2 +- {neetbox/frontend => frontend}/public/vite.svg | 2 +- {neetbox/frontend => frontend}/src/App.tsx | 0 .../src/components/dashboard/project/actions.tsx | 0 .../components/dashboard/project/hardware/cpugraph.tsx | 0 .../components/dashboard/project/hardware/gpugraph.tsx | 0 .../src/components/dashboard/project/hardware/index.tsx | 0 .../components/dashboard/project/hardware/ramgraph.tsx | 0 .../src/components/dashboard/project/hardware/utils.ts | 0 .../src/components/dashboard/project/images.tsx | 0 .../src/components/dashboard/project/logs/logs.css | 0 .../src/components/dashboard/project/logs/logs.tsx | 0 .../src/components/dashboard/project/platformProps.tsx | 0 {neetbox/frontend => frontend}/src/components/echarts.tsx | 0 .../src/components/layout/AppFooter.tsx | 0 .../src/components/layout/AppHeader.tsx | 0 .../src/components/layout/AppLayout.tsx | 0 .../src/components/layout/ConsoleLayout.tsx | 0 {neetbox/frontend => frontend}/src/components/loading.tsx | 0 .../frontend => frontend}/src/components/logo.module.css | 0 {neetbox/frontend => frontend}/src/components/logo.tsx | 0 .../frontend => frontend}/src/components/sectionTitle.tsx | 0 .../src/components/themeSwitcher.tsx | 0 {neetbox/frontend => frontend}/src/hooks/useMemoJSON.ts | 0 {neetbox/frontend => frontend}/src/hooks/useProject.ts | 0 {neetbox/frontend => frontend}/src/hooks/useTheme.tsx | 0 {neetbox/frontend => frontend}/src/index.css | 0 {neetbox/frontend => frontend}/src/main.tsx | 0 .../frontend => frontend}/src/pages/console/index.tsx | 0 .../frontend => frontend}/src/pages/console/overview.tsx | 0 .../src/pages/console/projectDashboard.tsx | 0 .../frontend => frontend}/src/pages/console/sidebar.tsx | 0 .../src/pages/login/index.module.css | 0 {neetbox/frontend => frontend}/src/pages/login/index.tsx | 0 {neetbox/frontend => frontend}/src/services/api.ts | 0 .../src/services/projectWebsocket.ts | 0 {neetbox/frontend => frontend}/src/services/projects.ts | 0 .../src/services/serviceProvider.tsx | 0 {neetbox/frontend => frontend}/src/services/types.ts | 0 {neetbox/frontend => frontend}/src/styles/global.css | 0 {neetbox/frontend => frontend}/src/utils/betterAtom.ts | 0 {neetbox/frontend => frontend}/src/vite-env.d.ts | 0 {neetbox/frontend => frontend}/tsconfig.json | 0 {neetbox/frontend => frontend}/tsconfig.node.json | 0 {neetbox/frontend => frontend}/vite.config.ts | 2 +- {neetbox/frontend => frontend}/yarn.lock | 0 neetbox.code-workspace | 4 ++-- pyproject.toml | 2 +- scripts/dev.sh | 2 +- scripts/install.sh | 2 +- scripts/release.linux.sh | 2 +- 59 files changed, 21 insertions(+), 21 deletions(-) rename {neetbox/frontend => frontend}/.eslintrc.cjs (100%) rename {neetbox/frontend => frontend}/.gitignore (100%) rename {neetbox/frontend => frontend}/README.md (100%) rename {neetbox/frontend => frontend}/index.html (100%) rename {neetbox/frontend => frontend}/package.json (100%) rename {neetbox/frontend => frontend}/public/logo.svg (88%) rename {neetbox/frontend => frontend}/public/vite.svg (98%) rename {neetbox/frontend => frontend}/src/App.tsx (100%) rename {neetbox/frontend => frontend}/src/components/dashboard/project/actions.tsx (100%) rename {neetbox/frontend => frontend}/src/components/dashboard/project/hardware/cpugraph.tsx (100%) rename {neetbox/frontend => frontend}/src/components/dashboard/project/hardware/gpugraph.tsx (100%) rename {neetbox/frontend => frontend}/src/components/dashboard/project/hardware/index.tsx (100%) rename {neetbox/frontend => frontend}/src/components/dashboard/project/hardware/ramgraph.tsx (100%) rename {neetbox/frontend => frontend}/src/components/dashboard/project/hardware/utils.ts (100%) rename {neetbox/frontend => frontend}/src/components/dashboard/project/images.tsx (100%) rename {neetbox/frontend => frontend}/src/components/dashboard/project/logs/logs.css (100%) rename {neetbox/frontend => frontend}/src/components/dashboard/project/logs/logs.tsx (100%) rename {neetbox/frontend => frontend}/src/components/dashboard/project/platformProps.tsx (100%) rename {neetbox/frontend => frontend}/src/components/echarts.tsx (100%) rename {neetbox/frontend => frontend}/src/components/layout/AppFooter.tsx (100%) rename {neetbox/frontend => frontend}/src/components/layout/AppHeader.tsx (100%) rename {neetbox/frontend => frontend}/src/components/layout/AppLayout.tsx (100%) rename {neetbox/frontend => frontend}/src/components/layout/ConsoleLayout.tsx (100%) rename {neetbox/frontend => frontend}/src/components/loading.tsx (100%) rename {neetbox/frontend => frontend}/src/components/logo.module.css (100%) rename {neetbox/frontend => frontend}/src/components/logo.tsx (100%) rename {neetbox/frontend => frontend}/src/components/sectionTitle.tsx (100%) rename {neetbox/frontend => frontend}/src/components/themeSwitcher.tsx (100%) rename {neetbox/frontend => frontend}/src/hooks/useMemoJSON.ts (100%) rename {neetbox/frontend => frontend}/src/hooks/useProject.ts (100%) rename {neetbox/frontend => frontend}/src/hooks/useTheme.tsx (100%) rename {neetbox/frontend => frontend}/src/index.css (100%) rename {neetbox/frontend => frontend}/src/main.tsx (100%) rename {neetbox/frontend => frontend}/src/pages/console/index.tsx (100%) rename {neetbox/frontend => frontend}/src/pages/console/overview.tsx (100%) rename {neetbox/frontend => frontend}/src/pages/console/projectDashboard.tsx (100%) rename {neetbox/frontend => frontend}/src/pages/console/sidebar.tsx (100%) rename {neetbox/frontend => frontend}/src/pages/login/index.module.css (100%) rename {neetbox/frontend => frontend}/src/pages/login/index.tsx (100%) rename {neetbox/frontend => frontend}/src/services/api.ts (100%) rename {neetbox/frontend => frontend}/src/services/projectWebsocket.ts (100%) rename {neetbox/frontend => frontend}/src/services/projects.ts (100%) rename {neetbox/frontend => frontend}/src/services/serviceProvider.tsx (100%) rename {neetbox/frontend => frontend}/src/services/types.ts (100%) rename {neetbox/frontend => frontend}/src/styles/global.css (100%) rename {neetbox/frontend => frontend}/src/utils/betterAtom.ts (100%) rename {neetbox/frontend => frontend}/src/vite-env.d.ts (100%) rename {neetbox/frontend => frontend}/tsconfig.json (100%) rename {neetbox/frontend => frontend}/tsconfig.node.json (100%) rename {neetbox/frontend => frontend}/vite.config.ts (94%) rename {neetbox/frontend => frontend}/yarn.lock (100%) diff --git a/.github/workflows/build-and-publish-pypi.yml b/.github/workflows/build-and-publish-pypi.yml index 6f5b73fb..f69c38aa 100644 --- a/.github/workflows/build-and-publish-pypi.yml +++ b/.github/workflows/build-and-publish-pypi.yml @@ -25,14 +25,14 @@ jobs: with: node-version: 18 cache: "yarn" - cache-dependency-path: "neetbox/frontend/yarn.lock" + cache-dependency-path: "frontend/yarn.lock" - name: setup yarn run: corepack enable - working-directory: neetbox/frontend + working-directory: frontend - run: yarn install --frozen-lockfile - working-directory: neetbox/frontend + working-directory: frontend - run: yarn build - working-directory: neetbox/frontend + working-directory: frontend - name: Build and publish to pypi uses: JRubics/poetry-publish@v1.17 with: diff --git a/.github/workflows/build-frontend.yml b/.github/workflows/build-frontend.yml index 15806b2d..5a2e06f5 100644 --- a/.github/workflows/build-frontend.yml +++ b/.github/workflows/build-frontend.yml @@ -3,10 +3,10 @@ name: Frontend Build & Lint on: push: paths: - - 'neetbox/frontend/**' + - 'frontend/**' pull_request: paths: - - 'neetbox/frontend/**' + - 'frontend/**' jobs: @@ -14,14 +14,14 @@ jobs: runs-on: ubuntu-latest defaults: run: - working-directory: neetbox/frontend + working-directory: frontend steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 18 cache: 'yarn' - cache-dependency-path: 'neetbox/frontend/yarn.lock' + cache-dependency-path: 'frontend/yarn.lock' - name: setup yarn run: corepack enable - run: yarn install --frozen-lockfile diff --git a/.github/workflows/maunal-build.yml b/.github/workflows/maunal-build.yml index 78f49466..b8ff37c8 100644 --- a/.github/workflows/maunal-build.yml +++ b/.github/workflows/maunal-build.yml @@ -23,14 +23,14 @@ jobs: with: node-version: 18 cache: "yarn" - cache-dependency-path: "neetbox/frontend/yarn.lock" + cache-dependency-path: "frontend/yarn.lock" - name: setup yarn run: corepack enable - working-directory: neetbox/frontend + working-directory: frontend - run: yarn install --frozen-lockfile - working-directory: neetbox/frontend + working-directory: frontend - run: yarn build - working-directory: neetbox/frontend + working-directory: frontend - name: Build and publish to pypi uses: JRubics/poetry-publish@v1.17 with: diff --git a/neetbox/frontend/.eslintrc.cjs b/frontend/.eslintrc.cjs similarity index 100% rename from neetbox/frontend/.eslintrc.cjs rename to frontend/.eslintrc.cjs diff --git a/neetbox/frontend/.gitignore b/frontend/.gitignore similarity index 100% rename from neetbox/frontend/.gitignore rename to frontend/.gitignore diff --git a/neetbox/frontend/README.md b/frontend/README.md similarity index 100% rename from neetbox/frontend/README.md rename to frontend/README.md diff --git a/neetbox/frontend/index.html b/frontend/index.html similarity index 100% rename from neetbox/frontend/index.html rename to frontend/index.html diff --git a/neetbox/frontend/package.json b/frontend/package.json similarity index 100% rename from neetbox/frontend/package.json rename to frontend/package.json diff --git a/neetbox/frontend/public/logo.svg b/frontend/public/logo.svg similarity index 88% rename from neetbox/frontend/public/logo.svg rename to frontend/public/logo.svg index ae1f8b10..553d6b87 100644 --- a/neetbox/frontend/public/logo.svg +++ b/frontend/public/logo.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/neetbox/frontend/public/vite.svg b/frontend/public/vite.svg similarity index 98% rename from neetbox/frontend/public/vite.svg rename to frontend/public/vite.svg index e7b8dfb1..ee9fadaf 100644 --- a/neetbox/frontend/public/vite.svg +++ b/frontend/public/vite.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/neetbox/frontend/src/App.tsx b/frontend/src/App.tsx similarity index 100% rename from neetbox/frontend/src/App.tsx rename to frontend/src/App.tsx diff --git a/neetbox/frontend/src/components/dashboard/project/actions.tsx b/frontend/src/components/dashboard/project/actions.tsx similarity index 100% rename from neetbox/frontend/src/components/dashboard/project/actions.tsx rename to frontend/src/components/dashboard/project/actions.tsx diff --git a/neetbox/frontend/src/components/dashboard/project/hardware/cpugraph.tsx b/frontend/src/components/dashboard/project/hardware/cpugraph.tsx similarity index 100% rename from neetbox/frontend/src/components/dashboard/project/hardware/cpugraph.tsx rename to frontend/src/components/dashboard/project/hardware/cpugraph.tsx diff --git a/neetbox/frontend/src/components/dashboard/project/hardware/gpugraph.tsx b/frontend/src/components/dashboard/project/hardware/gpugraph.tsx similarity index 100% rename from neetbox/frontend/src/components/dashboard/project/hardware/gpugraph.tsx rename to frontend/src/components/dashboard/project/hardware/gpugraph.tsx diff --git a/neetbox/frontend/src/components/dashboard/project/hardware/index.tsx b/frontend/src/components/dashboard/project/hardware/index.tsx similarity index 100% rename from neetbox/frontend/src/components/dashboard/project/hardware/index.tsx rename to frontend/src/components/dashboard/project/hardware/index.tsx diff --git a/neetbox/frontend/src/components/dashboard/project/hardware/ramgraph.tsx b/frontend/src/components/dashboard/project/hardware/ramgraph.tsx similarity index 100% rename from neetbox/frontend/src/components/dashboard/project/hardware/ramgraph.tsx rename to frontend/src/components/dashboard/project/hardware/ramgraph.tsx diff --git a/neetbox/frontend/src/components/dashboard/project/hardware/utils.ts b/frontend/src/components/dashboard/project/hardware/utils.ts similarity index 100% rename from neetbox/frontend/src/components/dashboard/project/hardware/utils.ts rename to frontend/src/components/dashboard/project/hardware/utils.ts diff --git a/neetbox/frontend/src/components/dashboard/project/images.tsx b/frontend/src/components/dashboard/project/images.tsx similarity index 100% rename from neetbox/frontend/src/components/dashboard/project/images.tsx rename to frontend/src/components/dashboard/project/images.tsx diff --git a/neetbox/frontend/src/components/dashboard/project/logs/logs.css b/frontend/src/components/dashboard/project/logs/logs.css similarity index 100% rename from neetbox/frontend/src/components/dashboard/project/logs/logs.css rename to frontend/src/components/dashboard/project/logs/logs.css diff --git a/neetbox/frontend/src/components/dashboard/project/logs/logs.tsx b/frontend/src/components/dashboard/project/logs/logs.tsx similarity index 100% rename from neetbox/frontend/src/components/dashboard/project/logs/logs.tsx rename to frontend/src/components/dashboard/project/logs/logs.tsx diff --git a/neetbox/frontend/src/components/dashboard/project/platformProps.tsx b/frontend/src/components/dashboard/project/platformProps.tsx similarity index 100% rename from neetbox/frontend/src/components/dashboard/project/platformProps.tsx rename to frontend/src/components/dashboard/project/platformProps.tsx diff --git a/neetbox/frontend/src/components/echarts.tsx b/frontend/src/components/echarts.tsx similarity index 100% rename from neetbox/frontend/src/components/echarts.tsx rename to frontend/src/components/echarts.tsx diff --git a/neetbox/frontend/src/components/layout/AppFooter.tsx b/frontend/src/components/layout/AppFooter.tsx similarity index 100% rename from neetbox/frontend/src/components/layout/AppFooter.tsx rename to frontend/src/components/layout/AppFooter.tsx diff --git a/neetbox/frontend/src/components/layout/AppHeader.tsx b/frontend/src/components/layout/AppHeader.tsx similarity index 100% rename from neetbox/frontend/src/components/layout/AppHeader.tsx rename to frontend/src/components/layout/AppHeader.tsx diff --git a/neetbox/frontend/src/components/layout/AppLayout.tsx b/frontend/src/components/layout/AppLayout.tsx similarity index 100% rename from neetbox/frontend/src/components/layout/AppLayout.tsx rename to frontend/src/components/layout/AppLayout.tsx diff --git a/neetbox/frontend/src/components/layout/ConsoleLayout.tsx b/frontend/src/components/layout/ConsoleLayout.tsx similarity index 100% rename from neetbox/frontend/src/components/layout/ConsoleLayout.tsx rename to frontend/src/components/layout/ConsoleLayout.tsx diff --git a/neetbox/frontend/src/components/loading.tsx b/frontend/src/components/loading.tsx similarity index 100% rename from neetbox/frontend/src/components/loading.tsx rename to frontend/src/components/loading.tsx diff --git a/neetbox/frontend/src/components/logo.module.css b/frontend/src/components/logo.module.css similarity index 100% rename from neetbox/frontend/src/components/logo.module.css rename to frontend/src/components/logo.module.css diff --git a/neetbox/frontend/src/components/logo.tsx b/frontend/src/components/logo.tsx similarity index 100% rename from neetbox/frontend/src/components/logo.tsx rename to frontend/src/components/logo.tsx diff --git a/neetbox/frontend/src/components/sectionTitle.tsx b/frontend/src/components/sectionTitle.tsx similarity index 100% rename from neetbox/frontend/src/components/sectionTitle.tsx rename to frontend/src/components/sectionTitle.tsx diff --git a/neetbox/frontend/src/components/themeSwitcher.tsx b/frontend/src/components/themeSwitcher.tsx similarity index 100% rename from neetbox/frontend/src/components/themeSwitcher.tsx rename to frontend/src/components/themeSwitcher.tsx diff --git a/neetbox/frontend/src/hooks/useMemoJSON.ts b/frontend/src/hooks/useMemoJSON.ts similarity index 100% rename from neetbox/frontend/src/hooks/useMemoJSON.ts rename to frontend/src/hooks/useMemoJSON.ts diff --git a/neetbox/frontend/src/hooks/useProject.ts b/frontend/src/hooks/useProject.ts similarity index 100% rename from neetbox/frontend/src/hooks/useProject.ts rename to frontend/src/hooks/useProject.ts diff --git a/neetbox/frontend/src/hooks/useTheme.tsx b/frontend/src/hooks/useTheme.tsx similarity index 100% rename from neetbox/frontend/src/hooks/useTheme.tsx rename to frontend/src/hooks/useTheme.tsx diff --git a/neetbox/frontend/src/index.css b/frontend/src/index.css similarity index 100% rename from neetbox/frontend/src/index.css rename to frontend/src/index.css diff --git a/neetbox/frontend/src/main.tsx b/frontend/src/main.tsx similarity index 100% rename from neetbox/frontend/src/main.tsx rename to frontend/src/main.tsx diff --git a/neetbox/frontend/src/pages/console/index.tsx b/frontend/src/pages/console/index.tsx similarity index 100% rename from neetbox/frontend/src/pages/console/index.tsx rename to frontend/src/pages/console/index.tsx diff --git a/neetbox/frontend/src/pages/console/overview.tsx b/frontend/src/pages/console/overview.tsx similarity index 100% rename from neetbox/frontend/src/pages/console/overview.tsx rename to frontend/src/pages/console/overview.tsx diff --git a/neetbox/frontend/src/pages/console/projectDashboard.tsx b/frontend/src/pages/console/projectDashboard.tsx similarity index 100% rename from neetbox/frontend/src/pages/console/projectDashboard.tsx rename to frontend/src/pages/console/projectDashboard.tsx diff --git a/neetbox/frontend/src/pages/console/sidebar.tsx b/frontend/src/pages/console/sidebar.tsx similarity index 100% rename from neetbox/frontend/src/pages/console/sidebar.tsx rename to frontend/src/pages/console/sidebar.tsx diff --git a/neetbox/frontend/src/pages/login/index.module.css b/frontend/src/pages/login/index.module.css similarity index 100% rename from neetbox/frontend/src/pages/login/index.module.css rename to frontend/src/pages/login/index.module.css diff --git a/neetbox/frontend/src/pages/login/index.tsx b/frontend/src/pages/login/index.tsx similarity index 100% rename from neetbox/frontend/src/pages/login/index.tsx rename to frontend/src/pages/login/index.tsx diff --git a/neetbox/frontend/src/services/api.ts b/frontend/src/services/api.ts similarity index 100% rename from neetbox/frontend/src/services/api.ts rename to frontend/src/services/api.ts diff --git a/neetbox/frontend/src/services/projectWebsocket.ts b/frontend/src/services/projectWebsocket.ts similarity index 100% rename from neetbox/frontend/src/services/projectWebsocket.ts rename to frontend/src/services/projectWebsocket.ts diff --git a/neetbox/frontend/src/services/projects.ts b/frontend/src/services/projects.ts similarity index 100% rename from neetbox/frontend/src/services/projects.ts rename to frontend/src/services/projects.ts diff --git a/neetbox/frontend/src/services/serviceProvider.tsx b/frontend/src/services/serviceProvider.tsx similarity index 100% rename from neetbox/frontend/src/services/serviceProvider.tsx rename to frontend/src/services/serviceProvider.tsx diff --git a/neetbox/frontend/src/services/types.ts b/frontend/src/services/types.ts similarity index 100% rename from neetbox/frontend/src/services/types.ts rename to frontend/src/services/types.ts diff --git a/neetbox/frontend/src/styles/global.css b/frontend/src/styles/global.css similarity index 100% rename from neetbox/frontend/src/styles/global.css rename to frontend/src/styles/global.css diff --git a/neetbox/frontend/src/utils/betterAtom.ts b/frontend/src/utils/betterAtom.ts similarity index 100% rename from neetbox/frontend/src/utils/betterAtom.ts rename to frontend/src/utils/betterAtom.ts diff --git a/neetbox/frontend/src/vite-env.d.ts b/frontend/src/vite-env.d.ts similarity index 100% rename from neetbox/frontend/src/vite-env.d.ts rename to frontend/src/vite-env.d.ts diff --git a/neetbox/frontend/tsconfig.json b/frontend/tsconfig.json similarity index 100% rename from neetbox/frontend/tsconfig.json rename to frontend/tsconfig.json diff --git a/neetbox/frontend/tsconfig.node.json b/frontend/tsconfig.node.json similarity index 100% rename from neetbox/frontend/tsconfig.node.json rename to frontend/tsconfig.node.json diff --git a/neetbox/frontend/vite.config.ts b/frontend/vite.config.ts similarity index 94% rename from neetbox/frontend/vite.config.ts rename to frontend/vite.config.ts index ecb05059..630a22f4 100644 --- a/neetbox/frontend/vite.config.ts +++ b/frontend/vite.config.ts @@ -28,6 +28,6 @@ export default defineConfig({ }, }, build: { - outDir: "../frontend_dist", + outDir: "../neetbox/frontend_dist", }, }); diff --git a/neetbox/frontend/yarn.lock b/frontend/yarn.lock similarity index 100% rename from neetbox/frontend/yarn.lock rename to frontend/yarn.lock diff --git a/neetbox.code-workspace b/neetbox.code-workspace index 1b17355a..bb260afd 100644 --- a/neetbox.code-workspace +++ b/neetbox.code-workspace @@ -4,8 +4,8 @@ "path": "." }, { - "path": "neetbox/frontend" + "path": "frontend" } ], "settings": {} -} \ No newline at end of file +} diff --git a/pyproject.toml b/pyproject.toml index 3e4eb4ba..ce3a4f75 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,7 +26,7 @@ classifiers = [ "Topic :: Utilities", ] -exclude = ["neetbox/frontend"] +exclude = ["frontend"] include = ["neetbox/frontend_dist"] # [[tool.poetry.source]] diff --git a/scripts/dev.sh b/scripts/dev.sh index d67ef5b8..a27f92bc 100755 --- a/scripts/dev.sh +++ b/scripts/dev.sh @@ -9,7 +9,7 @@ tmux split-window -h tmux send 'cd tests/client' ENTER tmux send 'python test.py' ENTER tmux split-window -f -tmux send 'cd neetbox/frontend' ENTER +tmux send 'cd frontend' ENTER tmux send 'yarn dev' ENTER tmux set mouse on tmux a -t neetbox diff --git a/scripts/install.sh b/scripts/install.sh index b4512647..15dea81d 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -4,5 +4,5 @@ cd $(dirname $0)/.. tmux new-session -d -s neetbox 'poetry install || sleep 5' -tmux split-window -c neetbox/frontend 'yarn || sleep 5' +tmux split-window -c frontend 'yarn || sleep 5' tmux a -t neetbox diff --git a/scripts/release.linux.sh b/scripts/release.linux.sh index 3124e583..1c967820 100755 --- a/scripts/release.linux.sh +++ b/scripts/release.linux.sh @@ -4,7 +4,7 @@ cd $(dirname $0)/.. # build frontend -pushd neetbox/frontend +pushd frontend yarn build popd