Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug fix and various enhancement #11

Merged
merged 26 commits into from
Jul 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,612 changes: 1,348 additions & 264 deletions Cargo.lock

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ Then setup the dependencies
yarn
```

Also please create a directory for development build.

```sh
mkdir app/build
```

Once it finished, you can run this command to get in development.

```bash
Expand All @@ -38,3 +44,7 @@ yarn tauri build
-h, --help Print help information
-p, --path <PATH> Path to store .link file [default: $HOME/ark-shelf]
```

## Note For AppImage Build

Due to the limitation of AppImage, if you want to use another directory to store you link, you have to provide the absolute path (or full path) to use it.
4 changes: 2 additions & 2 deletions app/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
/coverage

# production
/build

!.gitkeep
build/**/**
# misc
.DS_Store
.env.local
Expand Down
6 changes: 5 additions & 1 deletion app/craco.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
const CracoSwcPlugin = require('craco-swc');

module.exports = {
plugins: [{ plugin: CracoSwcPlugin }],
plugins: [
{
plugin: CracoSwcPlugin,
},
],
};
15 changes: 11 additions & 4 deletions app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,20 @@
"@emotion/styled": "^11.8.1",
"@mui/icons-material": "^5.8.2",
"@mui/material": "^5.8.2",
"@mui/x-date-pickers": "^5.0.0-beta.1",
"@swc/helpers": "^0.4.2",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^13.0.0",
"@testing-library/user-event": "^13.2.1",
"@types/jest": "^27.0.1",
"@types/node": "^16.7.13",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"axios": "^0.27.2",
"dayjs": "^1.11.3",
"react": "^18.1.0",
"react-dom": "^18.1.0",
"react-hook-form": "^7.31.3",
"react-hook-form-mui": "^5.1.0",
"react-scripts": "5.0.1",
"react-toastify": "^9.0.4",
"swr": "^1.3.0",
"typescript": "^4.4.2",
"web-vitals": "^2.1.0"
},
Expand Down Expand Up @@ -47,6 +50,10 @@
},
"devDependencies": {
"@craco/craco": "^6.4.3",
"@types/jest": "^27.0.1",
"@types/node": "^16.7.13",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"craco-swc": "^0.5.1"
}
}
Loading