Skip to content

Commit

Permalink
Bug fix and various enhancement (#11)
Browse files Browse the repository at this point in the history
- Setup Github Action CI
- Preview Generate #5
- UI Enhancements #6
- Link Sorting #7 
- Various Enhancement (#8 #9)
  • Loading branch information
j4w3ny authored Jul 17, 2022
1 parent 8724c32 commit 092f6b8
Show file tree
Hide file tree
Showing 14 changed files with 4,070 additions and 1,957 deletions.
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

0 comments on commit 092f6b8

Please sign in to comment.