From 6e5603fc3e4871bb23a358687c4d23158254e35d Mon Sep 17 00:00:00 2001 From: PhatPhuckDave Date: Sun, 6 Jul 2025 19:42:42 +0200 Subject: [PATCH] Remove wails so lovable is happy --- .gitignore | 2 +- README.md | 78 ++++++++++++--- app.go | 27 ----- frontend/bun.lock => bun.lock | 0 frontend/bun.lockb => bun.lockb | Bin frontend/components.json => components.json | 0 frontend/eslint.config.js => eslint.config.js | 0 frontend/.gitignore | 24 ----- frontend/README.md | 73 -------------- go.mod | 39 -------- go.sum | 94 ------------------ frontend/index.html => index.html | 0 main.go | 36 ------- .../package-lock.json => package-lock.json | 0 frontend/package.json => package.json | 0 frontend/package.json.md5 => package.json.md5 | 0 .../postcss.config.js => postcss.config.js | 0 {frontend/public => public}/favicon.ico | Bin {frontend/public => public}/placeholder.svg | 0 {frontend/public => public}/robots.txt | 0 {frontend/src => src}/App.css | 0 {frontend/src => src}/App.tsx | 0 .../components/BatchTransactionForm.tsx | 0 {frontend/src => src}/components/JobCard.tsx | 0 {frontend/src => src}/components/JobForm.tsx | 0 .../components/MaterialsImportExport.tsx | 0 .../components/TransactionForm.tsx | 0 .../components/TransactionTable.tsx | 0 .../src => src}/components/ui/accordion.tsx | 0 .../components/ui/alert-dialog.tsx | 0 {frontend/src => src}/components/ui/alert.tsx | 0 .../components/ui/aspect-ratio.tsx | 0 .../src => src}/components/ui/avatar.tsx | 0 {frontend/src => src}/components/ui/badge.tsx | 0 .../src => src}/components/ui/breadcrumb.tsx | 0 .../src => src}/components/ui/button.tsx | 0 .../src => src}/components/ui/calendar.tsx | 0 {frontend/src => src}/components/ui/card.tsx | 0 .../src => src}/components/ui/carousel.tsx | 0 {frontend/src => src}/components/ui/chart.tsx | 0 .../src => src}/components/ui/checkbox.tsx | 0 .../src => src}/components/ui/collapsible.tsx | 0 .../src => src}/components/ui/command.tsx | 0 .../components/ui/context-menu.tsx | 0 .../src => src}/components/ui/dialog.tsx | 0 .../src => src}/components/ui/drawer.tsx | 0 .../components/ui/dropdown-menu.tsx | 0 {frontend/src => src}/components/ui/form.tsx | 0 .../src => src}/components/ui/hover-card.tsx | 0 .../src => src}/components/ui/input-otp.tsx | 0 {frontend/src => src}/components/ui/input.tsx | 0 {frontend/src => src}/components/ui/label.tsx | 0 .../src => src}/components/ui/menubar.tsx | 0 .../components/ui/navigation-menu.tsx | 0 .../src => src}/components/ui/pagination.tsx | 0 .../src => src}/components/ui/popover.tsx | 0 .../src => src}/components/ui/progress.tsx | 0 .../src => src}/components/ui/radio-group.tsx | 0 .../src => src}/components/ui/resizable.tsx | 0 .../src => src}/components/ui/scroll-area.tsx | 0 .../src => src}/components/ui/select.tsx | 0 .../src => src}/components/ui/separator.tsx | 0 {frontend/src => src}/components/ui/sheet.tsx | 0 .../src => src}/components/ui/sidebar.tsx | 0 .../src => src}/components/ui/skeleton.tsx | 0 .../src => src}/components/ui/slider.tsx | 0 .../src => src}/components/ui/sonner.tsx | 0 .../src => src}/components/ui/switch.tsx | 0 {frontend/src => src}/components/ui/table.tsx | 0 {frontend/src => src}/components/ui/tabs.tsx | 0 .../src => src}/components/ui/textarea.tsx | 0 {frontend/src => src}/components/ui/toast.tsx | 0 .../src => src}/components/ui/toaster.tsx | 0 .../components/ui/toggle-group.tsx | 0 .../src => src}/components/ui/toggle.tsx | 0 .../src => src}/components/ui/tooltip.tsx | 0 .../src => src}/components/ui/use-toast.ts | 0 {frontend/src => src}/hooks/use-mobile.tsx | 0 {frontend/src => src}/hooks/use-toast.ts | 0 {frontend/src => src}/index.css | 0 {frontend/src => src}/lib/pbtypes.ts | 0 {frontend/src => src}/lib/pocketbase.ts | 0 {frontend/src => src}/lib/types.ts | 0 {frontend/src => src}/lib/utils.ts | 0 {frontend/src => src}/main.tsx | 0 {frontend/src => src}/pages/Index.tsx | 0 {frontend/src => src}/pages/NotFound.tsx | 0 .../src => src}/services/billItemService.ts | 0 .../src => src}/services/facilityService.ts | 0 {frontend/src => src}/services/jobService.ts | 0 .../services/transactionService.ts | 0 {frontend/src => src}/utils/priceUtils.ts | 0 {frontend/src => src}/vite-env.d.ts | 0 .../tailwind.config.ts => tailwind.config.ts | 0 .../tsconfig.app.json => tsconfig.app.json | 0 frontend/tsconfig.json => tsconfig.json | 0 .../tsconfig.node.json => tsconfig.node.json | 0 frontend/vite.config.ts => vite.config.ts | 0 wails.json | 13 --- .../wailsjs => wailsjs}/go/main/App.d.ts | 0 {frontend/wailsjs => wailsjs}/go/main/App.js | 0 .../wailsjs => wailsjs}/runtime/package.json | 0 .../wailsjs => wailsjs}/runtime/runtime.d.ts | 0 .../wailsjs => wailsjs}/runtime/runtime.js | 0 104 files changed, 67 insertions(+), 319 deletions(-) delete mode 100644 app.go rename frontend/bun.lock => bun.lock (100%) rename frontend/bun.lockb => bun.lockb (100%) rename frontend/components.json => components.json (100%) rename frontend/eslint.config.js => eslint.config.js (100%) delete mode 100644 frontend/.gitignore delete mode 100644 frontend/README.md delete mode 100644 go.mod delete mode 100644 go.sum rename frontend/index.html => index.html (100%) delete mode 100644 main.go rename frontend/package-lock.json => package-lock.json (100%) rename frontend/package.json => package.json (100%) rename frontend/package.json.md5 => package.json.md5 (100%) rename frontend/postcss.config.js => postcss.config.js (100%) rename {frontend/public => public}/favicon.ico (100%) rename {frontend/public => public}/placeholder.svg (100%) rename {frontend/public => public}/robots.txt (100%) rename {frontend/src => src}/App.css (100%) rename {frontend/src => src}/App.tsx (100%) rename {frontend/src => src}/components/BatchTransactionForm.tsx (100%) rename {frontend/src => src}/components/JobCard.tsx (100%) rename {frontend/src => src}/components/JobForm.tsx (100%) rename {frontend/src => src}/components/MaterialsImportExport.tsx (100%) rename {frontend/src => src}/components/TransactionForm.tsx (100%) rename {frontend/src => src}/components/TransactionTable.tsx (100%) rename {frontend/src => src}/components/ui/accordion.tsx (100%) rename {frontend/src => src}/components/ui/alert-dialog.tsx (100%) rename {frontend/src => src}/components/ui/alert.tsx (100%) rename {frontend/src => src}/components/ui/aspect-ratio.tsx (100%) rename {frontend/src => src}/components/ui/avatar.tsx (100%) rename {frontend/src => src}/components/ui/badge.tsx (100%) rename {frontend/src => src}/components/ui/breadcrumb.tsx (100%) rename {frontend/src => src}/components/ui/button.tsx (100%) rename {frontend/src => src}/components/ui/calendar.tsx (100%) rename {frontend/src => src}/components/ui/card.tsx (100%) rename {frontend/src => src}/components/ui/carousel.tsx (100%) rename {frontend/src => src}/components/ui/chart.tsx (100%) rename {frontend/src => src}/components/ui/checkbox.tsx (100%) rename {frontend/src => src}/components/ui/collapsible.tsx (100%) rename {frontend/src => src}/components/ui/command.tsx (100%) rename {frontend/src => src}/components/ui/context-menu.tsx (100%) rename {frontend/src => src}/components/ui/dialog.tsx (100%) rename {frontend/src => src}/components/ui/drawer.tsx (100%) rename {frontend/src => src}/components/ui/dropdown-menu.tsx (100%) rename {frontend/src => src}/components/ui/form.tsx (100%) rename {frontend/src => src}/components/ui/hover-card.tsx (100%) rename {frontend/src => src}/components/ui/input-otp.tsx (100%) rename {frontend/src => src}/components/ui/input.tsx (100%) rename {frontend/src => src}/components/ui/label.tsx (100%) rename {frontend/src => src}/components/ui/menubar.tsx (100%) rename {frontend/src => src}/components/ui/navigation-menu.tsx (100%) rename {frontend/src => src}/components/ui/pagination.tsx (100%) rename {frontend/src => src}/components/ui/popover.tsx (100%) rename {frontend/src => src}/components/ui/progress.tsx (100%) rename {frontend/src => src}/components/ui/radio-group.tsx (100%) rename {frontend/src => src}/components/ui/resizable.tsx (100%) rename {frontend/src => src}/components/ui/scroll-area.tsx (100%) rename {frontend/src => src}/components/ui/select.tsx (100%) rename {frontend/src => src}/components/ui/separator.tsx (100%) rename {frontend/src => src}/components/ui/sheet.tsx (100%) rename {frontend/src => src}/components/ui/sidebar.tsx (100%) rename {frontend/src => src}/components/ui/skeleton.tsx (100%) rename {frontend/src => src}/components/ui/slider.tsx (100%) rename {frontend/src => src}/components/ui/sonner.tsx (100%) rename {frontend/src => src}/components/ui/switch.tsx (100%) rename {frontend/src => src}/components/ui/table.tsx (100%) rename {frontend/src => src}/components/ui/tabs.tsx (100%) rename {frontend/src => src}/components/ui/textarea.tsx (100%) rename {frontend/src => src}/components/ui/toast.tsx (100%) rename {frontend/src => src}/components/ui/toaster.tsx (100%) rename {frontend/src => src}/components/ui/toggle-group.tsx (100%) rename {frontend/src => src}/components/ui/toggle.tsx (100%) rename {frontend/src => src}/components/ui/tooltip.tsx (100%) rename {frontend/src => src}/components/ui/use-toast.ts (100%) rename {frontend/src => src}/hooks/use-mobile.tsx (100%) rename {frontend/src => src}/hooks/use-toast.ts (100%) rename {frontend/src => src}/index.css (100%) rename {frontend/src => src}/lib/pbtypes.ts (100%) rename {frontend/src => src}/lib/pocketbase.ts (100%) rename {frontend/src => src}/lib/types.ts (100%) rename {frontend/src => src}/lib/utils.ts (100%) rename {frontend/src => src}/main.tsx (100%) rename {frontend/src => src}/pages/Index.tsx (100%) rename {frontend/src => src}/pages/NotFound.tsx (100%) rename {frontend/src => src}/services/billItemService.ts (100%) rename {frontend/src => src}/services/facilityService.ts (100%) rename {frontend/src => src}/services/jobService.ts (100%) rename {frontend/src => src}/services/transactionService.ts (100%) rename {frontend/src => src}/utils/priceUtils.ts (100%) rename {frontend/src => src}/vite-env.d.ts (100%) rename frontend/tailwind.config.ts => tailwind.config.ts (100%) rename frontend/tsconfig.app.json => tsconfig.app.json (100%) rename frontend/tsconfig.json => tsconfig.json (100%) rename frontend/tsconfig.node.json => tsconfig.node.json (100%) rename frontend/vite.config.ts => vite.config.ts (100%) delete mode 100644 wails.json rename {frontend/wailsjs => wailsjs}/go/main/App.d.ts (100%) rename {frontend/wailsjs => wailsjs}/go/main/App.js (100%) rename {frontend/wailsjs => wailsjs}/runtime/package.json (100%) rename {frontend/wailsjs => wailsjs}/runtime/runtime.d.ts (100%) rename {frontend/wailsjs => wailsjs}/runtime/runtime.js (100%) diff --git a/.gitignore b/.gitignore index 129d522..ebe2975 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ build/bin +dist node_modules -frontend/dist diff --git a/README.md b/README.md index 397b08b..19d2709 100644 --- a/README.md +++ b/README.md @@ -1,19 +1,73 @@ -# README +# Welcome to your Lovable project -## About +## Project info -This is the official Wails Vanilla template. +**URL**: https://lovable.dev/projects/d225defa-9140-4bac-bcc6-c0b9f5f703e2 -You can configure the project by editing `wails.json`. More information about the project settings can be found -here: https://wails.io/docs/reference/project-config +## How can I edit this code? -## Live Development +There are several ways of editing your application. -To run in live development mode, run `wails dev` in the project directory. This will run a Vite development -server that will provide very fast hot reload of your frontend changes. If you want to develop in a browser -and have access to your Go methods, there is also a dev server that runs on http://localhost:34115. Connect -to this in your browser, and you can call your Go code from devtools. +**Use Lovable** -## Building +Simply visit the [Lovable Project](https://lovable.dev/projects/d225defa-9140-4bac-bcc6-c0b9f5f703e2) and start prompting. -To build a redistributable, production mode package, use `wails build`. +Changes made via Lovable will be committed automatically to this repo. + +**Use your preferred IDE** + +If you want to work locally using your own IDE, you can clone this repo and push changes. Pushed changes will also be reflected in Lovable. + +The only requirement is having Node.js & npm installed - [install with nvm](https://github.com/nvm-sh/nvm#installing-and-updating) + +Follow these steps: + +```sh +# Step 1: Clone the repository using the project's Git URL. +git clone + +# Step 2: Navigate to the project directory. +cd + +# Step 3: Install the necessary dependencies. +npm i + +# Step 4: Start the development server with auto-reloading and an instant preview. +npm run dev +``` + +**Edit a file directly in GitHub** + +- Navigate to the desired file(s). +- Click the "Edit" button (pencil icon) at the top right of the file view. +- Make your changes and commit the changes. + +**Use GitHub Codespaces** + +- Navigate to the main page of your repository. +- Click on the "Code" button (green button) near the top right. +- Select the "Codespaces" tab. +- Click on "New codespace" to launch a new Codespace environment. +- Edit files directly within the Codespace and commit and push your changes once you're done. + +## What technologies are used for this project? + +This project is built with: + +- Vite +- TypeScript +- React +- shadcn-ui +- Tailwind CSS + +## How can I deploy this project? + +Simply open [Lovable](https://lovable.dev/projects/d225defa-9140-4bac-bcc6-c0b9f5f703e2) and click on Share -> Publish. + +## Can I connect a custom domain to my Lovable project? + +Yes, you can! + +To connect a domain, navigate to Project > Settings > Domains and click Connect Domain. + +Read more here: [Setting up a custom domain](https://docs.lovable.dev/tips-tricks/custom-domain#step-by-step-guide) diff --git a/app.go b/app.go deleted file mode 100644 index af53038..0000000 --- a/app.go +++ /dev/null @@ -1,27 +0,0 @@ -package main - -import ( - "context" - "fmt" -) - -// App struct -type App struct { - ctx context.Context -} - -// NewApp creates a new App application struct -func NewApp() *App { - return &App{} -} - -// startup is called when the app starts. The context is saved -// so we can call the runtime methods -func (a *App) startup(ctx context.Context) { - a.ctx = ctx -} - -// Greet returns a greeting for the given name -func (a *App) Greet(name string) string { - return fmt.Sprintf("Hello %s, It's show time!", name) -} diff --git a/frontend/bun.lock b/bun.lock similarity index 100% rename from frontend/bun.lock rename to bun.lock diff --git a/frontend/bun.lockb b/bun.lockb similarity index 100% rename from frontend/bun.lockb rename to bun.lockb diff --git a/frontend/components.json b/components.json similarity index 100% rename from frontend/components.json rename to components.json diff --git a/frontend/eslint.config.js b/eslint.config.js similarity index 100% rename from frontend/eslint.config.js rename to eslint.config.js diff --git a/frontend/.gitignore b/frontend/.gitignore deleted file mode 100644 index a547bf3..0000000 --- a/frontend/.gitignore +++ /dev/null @@ -1,24 +0,0 @@ -# Logs -logs -*.log -npm-debug.log* -yarn-debug.log* -yarn-error.log* -pnpm-debug.log* -lerna-debug.log* - -node_modules -dist -dist-ssr -*.local - -# Editor directories and files -.vscode/* -!.vscode/extensions.json -.idea -.DS_Store -*.suo -*.ntvs* -*.njsproj -*.sln -*.sw? diff --git a/frontend/README.md b/frontend/README.md deleted file mode 100644 index 19d2709..0000000 --- a/frontend/README.md +++ /dev/null @@ -1,73 +0,0 @@ -# Welcome to your Lovable project - -## Project info - -**URL**: https://lovable.dev/projects/d225defa-9140-4bac-bcc6-c0b9f5f703e2 - -## How can I edit this code? - -There are several ways of editing your application. - -**Use Lovable** - -Simply visit the [Lovable Project](https://lovable.dev/projects/d225defa-9140-4bac-bcc6-c0b9f5f703e2) and start prompting. - -Changes made via Lovable will be committed automatically to this repo. - -**Use your preferred IDE** - -If you want to work locally using your own IDE, you can clone this repo and push changes. Pushed changes will also be reflected in Lovable. - -The only requirement is having Node.js & npm installed - [install with nvm](https://github.com/nvm-sh/nvm#installing-and-updating) - -Follow these steps: - -```sh -# Step 1: Clone the repository using the project's Git URL. -git clone - -# Step 2: Navigate to the project directory. -cd - -# Step 3: Install the necessary dependencies. -npm i - -# Step 4: Start the development server with auto-reloading and an instant preview. -npm run dev -``` - -**Edit a file directly in GitHub** - -- Navigate to the desired file(s). -- Click the "Edit" button (pencil icon) at the top right of the file view. -- Make your changes and commit the changes. - -**Use GitHub Codespaces** - -- Navigate to the main page of your repository. -- Click on the "Code" button (green button) near the top right. -- Select the "Codespaces" tab. -- Click on "New codespace" to launch a new Codespace environment. -- Edit files directly within the Codespace and commit and push your changes once you're done. - -## What technologies are used for this project? - -This project is built with: - -- Vite -- TypeScript -- React -- shadcn-ui -- Tailwind CSS - -## How can I deploy this project? - -Simply open [Lovable](https://lovable.dev/projects/d225defa-9140-4bac-bcc6-c0b9f5f703e2) and click on Share -> Publish. - -## Can I connect a custom domain to my Lovable project? - -Yes, you can! - -To connect a domain, navigate to Project > Settings > Domains and click Connect Domain. - -Read more here: [Setting up a custom domain](https://docs.lovable.dev/tips-tricks/custom-domain#step-by-step-guide) diff --git a/go.mod b/go.mod deleted file mode 100644 index 0692815..0000000 --- a/go.mod +++ /dev/null @@ -1,39 +0,0 @@ -module industrializer - -go 1.21 - -toolchain go1.23.6 - -require github.com/wailsapp/wails/v2 v2.9.2 - -require ( - github.com/bep/debounce v1.2.1 // indirect - github.com/go-ole/go-ole v1.2.6 // indirect - github.com/godbus/dbus/v5 v5.1.0 // indirect - github.com/google/uuid v1.3.0 // indirect - github.com/jchv/go-winloader v0.0.0-20210711035445-715c2860da7e // indirect - github.com/labstack/echo/v4 v4.10.2 // indirect - github.com/labstack/gommon v0.4.0 // indirect - github.com/leaanthony/go-ansi-parser v1.6.0 // indirect - github.com/leaanthony/gosod v1.0.3 // indirect - github.com/leaanthony/slicer v1.6.0 // indirect - github.com/leaanthony/u v1.1.0 // indirect - github.com/mattn/go-colorable v0.1.13 // indirect - github.com/mattn/go-isatty v0.0.19 // indirect - github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8 // indirect - github.com/pkg/errors v0.9.1 // indirect - github.com/rivo/uniseg v0.4.4 // indirect - github.com/samber/lo v1.38.1 // indirect - github.com/tkrajina/go-reflector v0.5.6 // indirect - github.com/valyala/bytebufferpool v1.0.0 // indirect - github.com/valyala/fasttemplate v1.2.2 // indirect - github.com/wailsapp/go-webview2 v1.0.16 // indirect - github.com/wailsapp/mimetype v1.4.1 // indirect - golang.org/x/crypto v0.23.0 // indirect - golang.org/x/exp v0.0.0-20230522175609-2e198f4a06a1 // indirect - golang.org/x/net v0.25.0 // indirect - golang.org/x/sys v0.20.0 // indirect - golang.org/x/text v0.15.0 // indirect -) - -// replace github.com/wailsapp/wails/v2 v2.9.2 => C:\Users\Administrator\go\pkg\mod diff --git a/go.sum b/go.sum deleted file mode 100644 index 6ed0576..0000000 --- a/go.sum +++ /dev/null @@ -1,94 +0,0 @@ -github.com/bep/debounce v1.2.1 h1:v67fRdBA9UQu2NhLFXrSg0Brw7CexQekrBwDMM8bzeY= -github.com/bep/debounce v1.2.1/go.mod h1:H8yggRPQKLUhUoqrJC1bO2xNya7vanpDl7xR3ISbCJ0= -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= -github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/go-ole/go-ole v1.2.6 h1:/Fpf6oFPoeFik9ty7siob0G6Ke8QvQEuVcuChpwXzpY= -github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0= -github.com/godbus/dbus/v5 v5.1.0 h1:4KLkAxT3aOY8Li4FRJe/KvhoNFFxo0m6fNuFUO8QJUk= -github.com/godbus/dbus/v5 v5.1.0/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= -github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= -github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/jchv/go-winloader v0.0.0-20210711035445-715c2860da7e h1:Q3+PugElBCf4PFpxhErSzU3/PY5sFL5Z6rfv4AbGAck= -github.com/jchv/go-winloader v0.0.0-20210711035445-715c2860da7e/go.mod h1:alcuEEnZsY1WQsagKhZDsoPCRoOijYqhZvPwLG0kzVs= -github.com/labstack/echo/v4 v4.10.2 h1:n1jAhnq/elIFTHr1EYpiYtyKgx4RW9ccVgkqByZaN2M= -github.com/labstack/echo/v4 v4.10.2/go.mod h1:OEyqf2//K1DFdE57vw2DRgWY0M7s65IVQO2FzvI4J5k= -github.com/labstack/gommon v0.4.0 h1:y7cvthEAEbU0yHOf4axH8ZG2NH8knB9iNSoTO8dyIk8= -github.com/labstack/gommon v0.4.0/go.mod h1:uW6kP17uPlLJsD3ijUYn3/M5bAxtlZhMI6m3MFxTMTM= -github.com/leaanthony/debme v1.2.1 h1:9Tgwf+kjcrbMQ4WnPcEIUcQuIZYqdWftzZkBr+i/oOc= -github.com/leaanthony/debme v1.2.1/go.mod h1:3V+sCm5tYAgQymvSOfYQ5Xx2JCr+OXiD9Jkw3otUjiA= -github.com/leaanthony/go-ansi-parser v1.6.0 h1:T8TuMhFB6TUMIUm0oRrSbgJudTFw9csT3ZK09w0t4Pg= -github.com/leaanthony/go-ansi-parser v1.6.0/go.mod h1:+vva/2y4alzVmmIEpk9QDhA7vLC5zKDTRwfZGOp3IWU= -github.com/leaanthony/gosod v1.0.3 h1:Fnt+/B6NjQOVuCWOKYRREZnjGyvg+mEhd1nkkA04aTQ= -github.com/leaanthony/gosod v1.0.3/go.mod h1:BJ2J+oHsQIyIQpnLPjnqFGTMnOZXDbvWtRCSG7jGxs4= -github.com/leaanthony/slicer v1.5.0/go.mod h1:FwrApmf8gOrpzEWM2J/9Lh79tyq8KTX5AzRtwV7m4AY= -github.com/leaanthony/slicer v1.6.0 h1:1RFP5uiPJvT93TAHi+ipd3NACobkW53yUiBqZheE/Js= -github.com/leaanthony/slicer v1.6.0/go.mod h1:o/Iz29g7LN0GqH3aMjWAe90381nyZlDNquK+mtH2Fj8= -github.com/leaanthony/u v1.1.0 h1:2n0d2BwPVXSUq5yhe8lJPHdxevE2qK5G99PMStMZMaI= -github.com/leaanthony/u v1.1.0/go.mod h1:9+o6hejoRljvZ3BzdYlVL0JYCwtnAsVuN9pVTQcaRfI= -github.com/matryer/is v1.4.0 h1:sosSmIWwkYITGrxZ25ULNDeKiMNzFSr4V/eqBQP0PeE= -github.com/matryer/is v1.4.0/go.mod h1:8I/i5uYgLzgsgEloJE1U6xx5HkBQpAZvepWuujKwMRU= -github.com/mattn/go-colorable v0.1.11/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4= -github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA= -github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg= -github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= -github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= -github.com/mattn/go-isatty v0.0.19 h1:JITubQf0MOLdlGRuRq+jtsDlekdYPia9ZFsB8h/APPA= -github.com/mattn/go-isatty v0.0.19/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= -github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8 h1:KoWmjvw+nsYOo29YJK9vDA65RGE3NrOnUtO7a+RF9HU= -github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8/go.mod h1:HKlIX3XHQyzLZPlr7++PzdhaXEj94dEiJgZDTsxEqUI= -github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= -github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= -github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis= -github.com/rivo/uniseg v0.4.4/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88= -github.com/samber/lo v1.38.1 h1:j2XEAqXKb09Am4ebOg31SpvzUTTs6EN3VfgeLUhPdXM= -github.com/samber/lo v1.38.1/go.mod h1:+m/ZKRl6ClXCE2Lgf3MsQlWfh4bn1bz6CXEOxnEXnEA= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= -github.com/tkrajina/go-reflector v0.5.6 h1:hKQ0gyocG7vgMD2M3dRlYN6WBBOmdoOzJ6njQSepKdE= -github.com/tkrajina/go-reflector v0.5.6/go.mod h1:ECbqLgccecY5kPmPmXg1MrHW585yMcDkVl6IvJe64T4= -github.com/valyala/bytebufferpool v1.0.0 h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6KllzawFIhcdPw= -github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc= -github.com/valyala/fasttemplate v1.2.1/go.mod h1:KHLXt3tVN2HBp8eijSv/kGJopbvo7S+qRAEEKiv+SiQ= -github.com/valyala/fasttemplate v1.2.2 h1:lxLXG0uE3Qnshl9QyaK6XJxMXlQZELvChBOCmQD0Loo= -github.com/valyala/fasttemplate v1.2.2/go.mod h1:KHLXt3tVN2HBp8eijSv/kGJopbvo7S+qRAEEKiv+SiQ= -github.com/wailsapp/go-webview2 v1.0.16 h1:wffnvnkkLvhRex/aOrA3R7FP7rkvOqL/bir1br7BekU= -github.com/wailsapp/go-webview2 v1.0.16/go.mod h1:Uk2BePfCRzttBBjFrBmqKGJd41P6QIHeV9kTgIeOZNo= -github.com/wailsapp/mimetype v1.4.1 h1:pQN9ycO7uo4vsUUuPeHEYoUkLVkaRntMnHJxVwYhwHs= -github.com/wailsapp/mimetype v1.4.1/go.mod h1:9aV5k31bBOv5z6u+QP8TltzvNGJPmNJD4XlAL3U+j3o= -github.com/wailsapp/wails/v2 v2.9.2 h1:Xb5YRTos1w5N7DTMyYegWaGukCP2fIaX9WF21kPPF2k= -github.com/wailsapp/wails/v2 v2.9.2/go.mod h1:uehvlCwJSFcBq7rMCGfk4rxca67QQGsbg5Nm4m9UnBs= -golang.org/x/crypto v0.23.0 h1:dIJU/v2J8Mdglj/8rJ6UUOM3Zc9zLZxVZwwxMooUSAI= -golang.org/x/crypto v0.23.0/go.mod h1:CKFgDieR+mRhux2Lsu27y0fO304Db0wZe70UKqHu0v8= -golang.org/x/exp v0.0.0-20230522175609-2e198f4a06a1 h1:k/i9J1pBpvlfR+9QsetwPyERsqu1GIbi967PQMq3Ivc= -golang.org/x/exp v0.0.0-20230522175609-2e198f4a06a1/go.mod h1:V1LtkGg67GoY2N1AnLN78QLrzxkLyJw7RJb1gzOOz9w= -golang.org/x/net v0.0.0-20210505024714-0287a6fb4125/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac= -golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM= -golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200810151505-1b9f1253b3ed/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210616045830-e2b7044e8c71/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20211103235746-7861aae1554b/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y= -golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= -golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk= -golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= -golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= -gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= diff --git a/frontend/index.html b/index.html similarity index 100% rename from frontend/index.html rename to index.html diff --git a/main.go b/main.go deleted file mode 100644 index e1ba6ad..0000000 --- a/main.go +++ /dev/null @@ -1,36 +0,0 @@ -package main - -import ( - "embed" - - "github.com/wailsapp/wails/v2" - "github.com/wailsapp/wails/v2/pkg/options" - "github.com/wailsapp/wails/v2/pkg/options/assetserver" -) - -//go:embed all:frontend/dist -var assets embed.FS - -func main() { - // Create an instance of the app structure - app := NewApp() - - // Create application with options - err := wails.Run(&options.App{ - Title: "industrializer", - Width: 1024, - Height: 768, - AssetServer: &assetserver.Options{ - Assets: assets, - }, - BackgroundColour: &options.RGBA{R: 27, G: 38, B: 54, A: 1}, - OnStartup: app.startup, - Bind: []interface{}{ - app, - }, - }) - - if err != nil { - println("Error:", err.Error()) - } -} diff --git a/frontend/package-lock.json b/package-lock.json similarity index 100% rename from frontend/package-lock.json rename to package-lock.json diff --git a/frontend/package.json b/package.json similarity index 100% rename from frontend/package.json rename to package.json diff --git a/frontend/package.json.md5 b/package.json.md5 similarity index 100% rename from frontend/package.json.md5 rename to package.json.md5 diff --git a/frontend/postcss.config.js b/postcss.config.js similarity index 100% rename from frontend/postcss.config.js rename to postcss.config.js diff --git a/frontend/public/favicon.ico b/public/favicon.ico similarity index 100% rename from frontend/public/favicon.ico rename to public/favicon.ico diff --git a/frontend/public/placeholder.svg b/public/placeholder.svg similarity index 100% rename from frontend/public/placeholder.svg rename to public/placeholder.svg diff --git a/frontend/public/robots.txt b/public/robots.txt similarity index 100% rename from frontend/public/robots.txt rename to public/robots.txt diff --git a/frontend/src/App.css b/src/App.css similarity index 100% rename from frontend/src/App.css rename to src/App.css diff --git a/frontend/src/App.tsx b/src/App.tsx similarity index 100% rename from frontend/src/App.tsx rename to src/App.tsx diff --git a/frontend/src/components/BatchTransactionForm.tsx b/src/components/BatchTransactionForm.tsx similarity index 100% rename from frontend/src/components/BatchTransactionForm.tsx rename to src/components/BatchTransactionForm.tsx diff --git a/frontend/src/components/JobCard.tsx b/src/components/JobCard.tsx similarity index 100% rename from frontend/src/components/JobCard.tsx rename to src/components/JobCard.tsx diff --git a/frontend/src/components/JobForm.tsx b/src/components/JobForm.tsx similarity index 100% rename from frontend/src/components/JobForm.tsx rename to src/components/JobForm.tsx diff --git a/frontend/src/components/MaterialsImportExport.tsx b/src/components/MaterialsImportExport.tsx similarity index 100% rename from frontend/src/components/MaterialsImportExport.tsx rename to src/components/MaterialsImportExport.tsx diff --git a/frontend/src/components/TransactionForm.tsx b/src/components/TransactionForm.tsx similarity index 100% rename from frontend/src/components/TransactionForm.tsx rename to src/components/TransactionForm.tsx diff --git a/frontend/src/components/TransactionTable.tsx b/src/components/TransactionTable.tsx similarity index 100% rename from frontend/src/components/TransactionTable.tsx rename to src/components/TransactionTable.tsx diff --git a/frontend/src/components/ui/accordion.tsx b/src/components/ui/accordion.tsx similarity index 100% rename from frontend/src/components/ui/accordion.tsx rename to src/components/ui/accordion.tsx diff --git a/frontend/src/components/ui/alert-dialog.tsx b/src/components/ui/alert-dialog.tsx similarity index 100% rename from frontend/src/components/ui/alert-dialog.tsx rename to src/components/ui/alert-dialog.tsx diff --git a/frontend/src/components/ui/alert.tsx b/src/components/ui/alert.tsx similarity index 100% rename from frontend/src/components/ui/alert.tsx rename to src/components/ui/alert.tsx diff --git a/frontend/src/components/ui/aspect-ratio.tsx b/src/components/ui/aspect-ratio.tsx similarity index 100% rename from frontend/src/components/ui/aspect-ratio.tsx rename to src/components/ui/aspect-ratio.tsx diff --git a/frontend/src/components/ui/avatar.tsx b/src/components/ui/avatar.tsx similarity index 100% rename from frontend/src/components/ui/avatar.tsx rename to src/components/ui/avatar.tsx diff --git a/frontend/src/components/ui/badge.tsx b/src/components/ui/badge.tsx similarity index 100% rename from frontend/src/components/ui/badge.tsx rename to src/components/ui/badge.tsx diff --git a/frontend/src/components/ui/breadcrumb.tsx b/src/components/ui/breadcrumb.tsx similarity index 100% rename from frontend/src/components/ui/breadcrumb.tsx rename to src/components/ui/breadcrumb.tsx diff --git a/frontend/src/components/ui/button.tsx b/src/components/ui/button.tsx similarity index 100% rename from frontend/src/components/ui/button.tsx rename to src/components/ui/button.tsx diff --git a/frontend/src/components/ui/calendar.tsx b/src/components/ui/calendar.tsx similarity index 100% rename from frontend/src/components/ui/calendar.tsx rename to src/components/ui/calendar.tsx diff --git a/frontend/src/components/ui/card.tsx b/src/components/ui/card.tsx similarity index 100% rename from frontend/src/components/ui/card.tsx rename to src/components/ui/card.tsx diff --git a/frontend/src/components/ui/carousel.tsx b/src/components/ui/carousel.tsx similarity index 100% rename from frontend/src/components/ui/carousel.tsx rename to src/components/ui/carousel.tsx diff --git a/frontend/src/components/ui/chart.tsx b/src/components/ui/chart.tsx similarity index 100% rename from frontend/src/components/ui/chart.tsx rename to src/components/ui/chart.tsx diff --git a/frontend/src/components/ui/checkbox.tsx b/src/components/ui/checkbox.tsx similarity index 100% rename from frontend/src/components/ui/checkbox.tsx rename to src/components/ui/checkbox.tsx diff --git a/frontend/src/components/ui/collapsible.tsx b/src/components/ui/collapsible.tsx similarity index 100% rename from frontend/src/components/ui/collapsible.tsx rename to src/components/ui/collapsible.tsx diff --git a/frontend/src/components/ui/command.tsx b/src/components/ui/command.tsx similarity index 100% rename from frontend/src/components/ui/command.tsx rename to src/components/ui/command.tsx diff --git a/frontend/src/components/ui/context-menu.tsx b/src/components/ui/context-menu.tsx similarity index 100% rename from frontend/src/components/ui/context-menu.tsx rename to src/components/ui/context-menu.tsx diff --git a/frontend/src/components/ui/dialog.tsx b/src/components/ui/dialog.tsx similarity index 100% rename from frontend/src/components/ui/dialog.tsx rename to src/components/ui/dialog.tsx diff --git a/frontend/src/components/ui/drawer.tsx b/src/components/ui/drawer.tsx similarity index 100% rename from frontend/src/components/ui/drawer.tsx rename to src/components/ui/drawer.tsx diff --git a/frontend/src/components/ui/dropdown-menu.tsx b/src/components/ui/dropdown-menu.tsx similarity index 100% rename from frontend/src/components/ui/dropdown-menu.tsx rename to src/components/ui/dropdown-menu.tsx diff --git a/frontend/src/components/ui/form.tsx b/src/components/ui/form.tsx similarity index 100% rename from frontend/src/components/ui/form.tsx rename to src/components/ui/form.tsx diff --git a/frontend/src/components/ui/hover-card.tsx b/src/components/ui/hover-card.tsx similarity index 100% rename from frontend/src/components/ui/hover-card.tsx rename to src/components/ui/hover-card.tsx diff --git a/frontend/src/components/ui/input-otp.tsx b/src/components/ui/input-otp.tsx similarity index 100% rename from frontend/src/components/ui/input-otp.tsx rename to src/components/ui/input-otp.tsx diff --git a/frontend/src/components/ui/input.tsx b/src/components/ui/input.tsx similarity index 100% rename from frontend/src/components/ui/input.tsx rename to src/components/ui/input.tsx diff --git a/frontend/src/components/ui/label.tsx b/src/components/ui/label.tsx similarity index 100% rename from frontend/src/components/ui/label.tsx rename to src/components/ui/label.tsx diff --git a/frontend/src/components/ui/menubar.tsx b/src/components/ui/menubar.tsx similarity index 100% rename from frontend/src/components/ui/menubar.tsx rename to src/components/ui/menubar.tsx diff --git a/frontend/src/components/ui/navigation-menu.tsx b/src/components/ui/navigation-menu.tsx similarity index 100% rename from frontend/src/components/ui/navigation-menu.tsx rename to src/components/ui/navigation-menu.tsx diff --git a/frontend/src/components/ui/pagination.tsx b/src/components/ui/pagination.tsx similarity index 100% rename from frontend/src/components/ui/pagination.tsx rename to src/components/ui/pagination.tsx diff --git a/frontend/src/components/ui/popover.tsx b/src/components/ui/popover.tsx similarity index 100% rename from frontend/src/components/ui/popover.tsx rename to src/components/ui/popover.tsx diff --git a/frontend/src/components/ui/progress.tsx b/src/components/ui/progress.tsx similarity index 100% rename from frontend/src/components/ui/progress.tsx rename to src/components/ui/progress.tsx diff --git a/frontend/src/components/ui/radio-group.tsx b/src/components/ui/radio-group.tsx similarity index 100% rename from frontend/src/components/ui/radio-group.tsx rename to src/components/ui/radio-group.tsx diff --git a/frontend/src/components/ui/resizable.tsx b/src/components/ui/resizable.tsx similarity index 100% rename from frontend/src/components/ui/resizable.tsx rename to src/components/ui/resizable.tsx diff --git a/frontend/src/components/ui/scroll-area.tsx b/src/components/ui/scroll-area.tsx similarity index 100% rename from frontend/src/components/ui/scroll-area.tsx rename to src/components/ui/scroll-area.tsx diff --git a/frontend/src/components/ui/select.tsx b/src/components/ui/select.tsx similarity index 100% rename from frontend/src/components/ui/select.tsx rename to src/components/ui/select.tsx diff --git a/frontend/src/components/ui/separator.tsx b/src/components/ui/separator.tsx similarity index 100% rename from frontend/src/components/ui/separator.tsx rename to src/components/ui/separator.tsx diff --git a/frontend/src/components/ui/sheet.tsx b/src/components/ui/sheet.tsx similarity index 100% rename from frontend/src/components/ui/sheet.tsx rename to src/components/ui/sheet.tsx diff --git a/frontend/src/components/ui/sidebar.tsx b/src/components/ui/sidebar.tsx similarity index 100% rename from frontend/src/components/ui/sidebar.tsx rename to src/components/ui/sidebar.tsx diff --git a/frontend/src/components/ui/skeleton.tsx b/src/components/ui/skeleton.tsx similarity index 100% rename from frontend/src/components/ui/skeleton.tsx rename to src/components/ui/skeleton.tsx diff --git a/frontend/src/components/ui/slider.tsx b/src/components/ui/slider.tsx similarity index 100% rename from frontend/src/components/ui/slider.tsx rename to src/components/ui/slider.tsx diff --git a/frontend/src/components/ui/sonner.tsx b/src/components/ui/sonner.tsx similarity index 100% rename from frontend/src/components/ui/sonner.tsx rename to src/components/ui/sonner.tsx diff --git a/frontend/src/components/ui/switch.tsx b/src/components/ui/switch.tsx similarity index 100% rename from frontend/src/components/ui/switch.tsx rename to src/components/ui/switch.tsx diff --git a/frontend/src/components/ui/table.tsx b/src/components/ui/table.tsx similarity index 100% rename from frontend/src/components/ui/table.tsx rename to src/components/ui/table.tsx diff --git a/frontend/src/components/ui/tabs.tsx b/src/components/ui/tabs.tsx similarity index 100% rename from frontend/src/components/ui/tabs.tsx rename to src/components/ui/tabs.tsx diff --git a/frontend/src/components/ui/textarea.tsx b/src/components/ui/textarea.tsx similarity index 100% rename from frontend/src/components/ui/textarea.tsx rename to src/components/ui/textarea.tsx diff --git a/frontend/src/components/ui/toast.tsx b/src/components/ui/toast.tsx similarity index 100% rename from frontend/src/components/ui/toast.tsx rename to src/components/ui/toast.tsx diff --git a/frontend/src/components/ui/toaster.tsx b/src/components/ui/toaster.tsx similarity index 100% rename from frontend/src/components/ui/toaster.tsx rename to src/components/ui/toaster.tsx diff --git a/frontend/src/components/ui/toggle-group.tsx b/src/components/ui/toggle-group.tsx similarity index 100% rename from frontend/src/components/ui/toggle-group.tsx rename to src/components/ui/toggle-group.tsx diff --git a/frontend/src/components/ui/toggle.tsx b/src/components/ui/toggle.tsx similarity index 100% rename from frontend/src/components/ui/toggle.tsx rename to src/components/ui/toggle.tsx diff --git a/frontend/src/components/ui/tooltip.tsx b/src/components/ui/tooltip.tsx similarity index 100% rename from frontend/src/components/ui/tooltip.tsx rename to src/components/ui/tooltip.tsx diff --git a/frontend/src/components/ui/use-toast.ts b/src/components/ui/use-toast.ts similarity index 100% rename from frontend/src/components/ui/use-toast.ts rename to src/components/ui/use-toast.ts diff --git a/frontend/src/hooks/use-mobile.tsx b/src/hooks/use-mobile.tsx similarity index 100% rename from frontend/src/hooks/use-mobile.tsx rename to src/hooks/use-mobile.tsx diff --git a/frontend/src/hooks/use-toast.ts b/src/hooks/use-toast.ts similarity index 100% rename from frontend/src/hooks/use-toast.ts rename to src/hooks/use-toast.ts diff --git a/frontend/src/index.css b/src/index.css similarity index 100% rename from frontend/src/index.css rename to src/index.css diff --git a/frontend/src/lib/pbtypes.ts b/src/lib/pbtypes.ts similarity index 100% rename from frontend/src/lib/pbtypes.ts rename to src/lib/pbtypes.ts diff --git a/frontend/src/lib/pocketbase.ts b/src/lib/pocketbase.ts similarity index 100% rename from frontend/src/lib/pocketbase.ts rename to src/lib/pocketbase.ts diff --git a/frontend/src/lib/types.ts b/src/lib/types.ts similarity index 100% rename from frontend/src/lib/types.ts rename to src/lib/types.ts diff --git a/frontend/src/lib/utils.ts b/src/lib/utils.ts similarity index 100% rename from frontend/src/lib/utils.ts rename to src/lib/utils.ts diff --git a/frontend/src/main.tsx b/src/main.tsx similarity index 100% rename from frontend/src/main.tsx rename to src/main.tsx diff --git a/frontend/src/pages/Index.tsx b/src/pages/Index.tsx similarity index 100% rename from frontend/src/pages/Index.tsx rename to src/pages/Index.tsx diff --git a/frontend/src/pages/NotFound.tsx b/src/pages/NotFound.tsx similarity index 100% rename from frontend/src/pages/NotFound.tsx rename to src/pages/NotFound.tsx diff --git a/frontend/src/services/billItemService.ts b/src/services/billItemService.ts similarity index 100% rename from frontend/src/services/billItemService.ts rename to src/services/billItemService.ts diff --git a/frontend/src/services/facilityService.ts b/src/services/facilityService.ts similarity index 100% rename from frontend/src/services/facilityService.ts rename to src/services/facilityService.ts diff --git a/frontend/src/services/jobService.ts b/src/services/jobService.ts similarity index 100% rename from frontend/src/services/jobService.ts rename to src/services/jobService.ts diff --git a/frontend/src/services/transactionService.ts b/src/services/transactionService.ts similarity index 100% rename from frontend/src/services/transactionService.ts rename to src/services/transactionService.ts diff --git a/frontend/src/utils/priceUtils.ts b/src/utils/priceUtils.ts similarity index 100% rename from frontend/src/utils/priceUtils.ts rename to src/utils/priceUtils.ts diff --git a/frontend/src/vite-env.d.ts b/src/vite-env.d.ts similarity index 100% rename from frontend/src/vite-env.d.ts rename to src/vite-env.d.ts diff --git a/frontend/tailwind.config.ts b/tailwind.config.ts similarity index 100% rename from frontend/tailwind.config.ts rename to tailwind.config.ts diff --git a/frontend/tsconfig.app.json b/tsconfig.app.json similarity index 100% rename from frontend/tsconfig.app.json rename to tsconfig.app.json diff --git a/frontend/tsconfig.json b/tsconfig.json similarity index 100% rename from frontend/tsconfig.json rename to tsconfig.json diff --git a/frontend/tsconfig.node.json b/tsconfig.node.json similarity index 100% rename from frontend/tsconfig.node.json rename to tsconfig.node.json diff --git a/frontend/vite.config.ts b/vite.config.ts similarity index 100% rename from frontend/vite.config.ts rename to vite.config.ts diff --git a/wails.json b/wails.json deleted file mode 100644 index cd37ce5..0000000 --- a/wails.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "$schema": "https://wails.io/schemas/config.v2.json", - "name": "industrializer", - "outputfilename": "industrializer", - "frontend:install": "npm install", - "frontend:build": "npm run build", - "frontend:dev:watcher": "npm run dev", - "frontend:dev:serverUrl": "auto", - "author": { - "name": "PhatPhuckDave", - "email": "david.majdandzic@hotmail.com" - } -} diff --git a/frontend/wailsjs/go/main/App.d.ts b/wailsjs/go/main/App.d.ts similarity index 100% rename from frontend/wailsjs/go/main/App.d.ts rename to wailsjs/go/main/App.d.ts diff --git a/frontend/wailsjs/go/main/App.js b/wailsjs/go/main/App.js similarity index 100% rename from frontend/wailsjs/go/main/App.js rename to wailsjs/go/main/App.js diff --git a/frontend/wailsjs/runtime/package.json b/wailsjs/runtime/package.json similarity index 100% rename from frontend/wailsjs/runtime/package.json rename to wailsjs/runtime/package.json diff --git a/frontend/wailsjs/runtime/runtime.d.ts b/wailsjs/runtime/runtime.d.ts similarity index 100% rename from frontend/wailsjs/runtime/runtime.d.ts rename to wailsjs/runtime/runtime.d.ts diff --git a/frontend/wailsjs/runtime/runtime.js b/wailsjs/runtime/runtime.js similarity index 100% rename from frontend/wailsjs/runtime/runtime.js rename to wailsjs/runtime/runtime.js