Skip to content

Commit

Permalink
some refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
Puyodead1 committed Dec 18, 2024
1 parent fa81a96 commit c65c935
Show file tree
Hide file tree
Showing 160 changed files with 1,928 additions and 1,069 deletions.
10 changes: 6 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
node_modules
.pnp
.pnp.js

# testing
/coverage
coverage

# production
/dist
dist

# misc
.DS_Store
Expand All @@ -22,3 +22,5 @@ npm-debug.log*
yarn-debug.log*
yarn-error.log*
src-tauri/.cargo/config.toml

.swc/
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
{
"references.preferredLocation": "view"
}
10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"@mattjennings/react-modal-stack": "^1.0.4",
"@mdi/js": "^7.4.47",
"@mdi/react": "^1.6.1",
"@mui/material": "^6.1.3",
"@originjs/vite-plugin-commonjs": "^1.0.3",
"@rollup/plugin-replace": "^6.0.1",
"@spacebarchat/spacebar-api-types": "0.37.51",
Expand Down Expand Up @@ -75,6 +74,7 @@
},
"devDependencies": {
"@craco/craco": "^7.1.0",
"@swc/plugin-styled-components": "^3.0.3",
"@tauri-apps/cli": "2.0.2",
"@types/jest": "^29.5.13",
"@types/loadable__component": "^5.13.9",
Expand All @@ -88,10 +88,12 @@
"@typescript-eslint/eslint-plugin": "^8.7.0",
"@typescript-eslint/parser": "^8.7.0",
"@vitejs/plugin-react": "^4.3.2",
"@vitejs/plugin-react-swc": "^3.7.1",
"cross-env": "^7.0.3",
"eslint": "^8.57.1",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.12",
"source-map-explorer": "^2.5.3",
"typescript": "^5.6.3",
"vite": "^5.4.8",
"vite-plugin-chunk-split": "^0.5.0",
Expand All @@ -108,12 +110,14 @@
"url": "git+https://github.com/spacebarchat/client.git"
},
"scripts": {
"dev": "vite --open",
"preview": "vite preview",
"analyze": "source-map-explorer 'dist/asset/*.js'",
"build": "tsc && vite build",
"build:dev": "tsc && cross-env VITE_ENV_DEV=true vite build",
"ci:prebuild": "node scripts/tauri-version.js",
"dev": "vite",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"lint:fix": "pnpx prettier . --write",
"preview": "vite preview",
"tauri:dev": "pnpm run ci:prebuild && tauri dev",
"tauri:build": "pnpm run ci:prebuild && tauri build",
"tauri:android:dev": "pnpm run ci:prebuild && tauri android dev",
Expand Down
Loading

0 comments on commit c65c935

Please sign in to comment.