Skip to content

Commit

Permalink
Misc changes [take 2] (#1019)
Browse files Browse the repository at this point in the history
* Fix horizontal scrollbar size

* Remove extra css classes

* Fix layout of top 10 tags in series page

* Use preferred description instead of AniDB description for series

* Update episode file count on deleting a file

* Add `FileLocation` critieria to release mgmt quick select

* Update deps, remove eslint formatter

* Fix stylelint

* Disable build step in PR workflow

* Update dprint TS wasm module
  • Loading branch information
harshithmohan authored Aug 26, 2024
1 parent 43135db commit 83dc47b
Show file tree
Hide file tree
Showing 25 changed files with 2,087 additions and 2,201 deletions.
2 changes: 1 addition & 1 deletion .dprint.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"src/**"
],
"plugins": [
"https://plugins.dprint.dev/typescript-0.90.5.wasm"
"https://plugins.dprint.dev/typescript-0.91.6.wasm"
]
}
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
],
"no-param-reassign": [
"error",
{ "props": true, "ignorePropertyModificationsFor": ["sliceState", "immerState", "draftState"] }
{ "props": true, "ignorePropertyModificationsFor": ["sliceState", "immerState", "draftState", "draftState2"] }
],
"no-restricted-imports": [
"error",
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/CI.yml → .github/workflows/Lint-PR.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: Test
name: Lint-PR
on:
pull_request:
types: [opened, synchronize]

jobs:
lint-and-build:
runs-on: ubuntu-latest
name: Lint check and build test PR
name: Lint check PR

steps:
- name: Checkout
Expand All @@ -26,5 +26,5 @@ jobs:
- name: Lint
run: pnpm lint --quiet

- name: Build
run: pnpm build
# - name: Build
# run: pnpm build
95 changes: 47 additions & 48 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,29 +8,29 @@
"npm": ">=3.8"
},
"dependencies": {
"@fontsource/sora": "^5.0.18",
"@headlessui/react": "^2.0.3",
"@headlessui/tailwindcss": "^0.2.0",
"@fontsource/sora": "^5.0.19",
"@headlessui/react": "^2.1.3",
"@headlessui/tailwindcss": "^0.2.1",
"@hello-pangea/dnd": "^16.6.0",
"@mdi/js": "^7.4.47",
"@mdi/react": "^1.6.1",
"@microsoft/signalr": "^8.0.0",
"@microsoft/signalr": "^8.0.7",
"@monaco-editor/react": "^4.6.0",
"@reduxjs/toolkit": "^2.2.5",
"@sentry/browser": "^8.2.1",
"@sentry/react": "^8.2.1",
"@tanstack/react-query": "^5.37.1",
"@tanstack/react-query-devtools": "^5.37.1",
"@tanstack/react-virtual": "^3.5.0",
"axios": "^1.7.1",
"@reduxjs/toolkit": "^2.2.7",
"@sentry/browser": "^8.26.0",
"@sentry/react": "^8.26.0",
"@tanstack/react-query": "^5.52.1",
"@tanstack/react-query-devtools": "^5.52.1",
"@tanstack/react-virtual": "^3.10.4",
"axios": "^1.7.5",
"classnames": "^2.5.1",
"copy-to-clipboard": "^3.3.3",
"dayjs": "^1.11.11",
"dayjs": "^1.11.13",
"fast-json-patch": "^3.1.1",
"format-thousands": "^2.0.0",
"immer": "^10.1.1",
"lodash": "^4.17.21",
"monaco-editor": "^0.50.0",
"monaco-editor": "^0.51.0",
"pretty-bytes": "^6.1.1",
"react": "^18.3.1",
"react-animate-height": "^3.2.3",
Expand All @@ -41,67 +41,66 @@
"react-redux": "^9.1.2",
"react-resizable": "^3.0.5",
"react-responsive": "^10.0.0",
"react-router": "^6.23.1",
"react-router-dom": "^6.23.1",
"react-router": "^6.26.1",
"react-router-dom": "^6.26.1",
"react-toastify": "^10.0.5",
"react-tooltip": "^5.26.4",
"react-tooltip": "^5.28.0",
"react-use-measure": "^2.1.1",
"redux": "^5.0.1",
"semver": "^7.6.2",
"simple-icons": "^11.15.0",
"use-immer": "^0.9.0",
"semver": "^7.6.3",
"simple-icons": "^13.7.0",
"use-immer": "^0.10.0",
"usehooks-ts": "^3.1.0"
},
"devDependencies": {
"@sentry/vite-plugin": "^2.16.1",
"@stylistic/stylelint-config": "^1.0.1",
"@stylistic/stylelint-plugin": "^2.1.2",
"@tanstack/eslint-plugin-query": "^5.35.6",
"@sentry/vite-plugin": "^2.22.2",
"@stylistic/stylelint-config": "^2.0.0",
"@stylistic/stylelint-plugin": "^3.0.1",
"@tanstack/eslint-plugin-query": "^5.52.0",
"@types/format-thousands": "^2.0.3",
"@types/lodash": "^4.17.4",
"@types/node": "^20.12.12",
"@types/react": "^18.3.2",
"@types/lodash": "^4.17.7",
"@types/node": "^20.16.1",
"@types/react": "^18.3.4",
"@types/react-avatar-editor": "^13.0.2",
"@types/react-dom": "^18.3.0",
"@types/react-grid-layout": "^1.3.5",
"@types/react-modal": "^3.16.3",
"@types/react-redux": "^7.1.33",
"@types/semver": "^7.5.8",
"@typescript-eslint/eslint-plugin": "^7.10.0",
"@typescript-eslint/parser": "^7.10.0",
"@vitejs/plugin-react": "^4.2.1",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"@vitejs/plugin-react": "^4.3.1",
"cross-env": "^7.0.3",
"dprint": "^0.45.1",
"dprint": "^0.47.2",
"eslint": "^8.57.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^18.0.0",
"eslint-formatter-pretty": "^5.0.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-jsx-a11y": "^6.9.0",
"eslint-plugin-react": "^7.35.0",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.7",
"eslint-plugin-react-refresh": "^0.4.11",
"eslint-plugin-sort-destructure-keys": "^2.0.0",
"eslint-plugin-tailwindcss": "^3.15.2",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"postcss": "^8.4.38",
"eslint-plugin-tailwindcss": "^3.17.4",
"husky": "^9.1.5",
"lint-staged": "^15.2.9",
"postcss": "^8.4.41",
"postcss-import": "^16.1.0",
"postcss-load-config": "^5.1.0",
"postcss-preset-env": "^9.5.13",
"stylelint": "^16.5.0",
"stylelint-config-standard": "^36.0.0",
"postcss-load-config": "^6.0.1",
"postcss-preset-env": "^10.0.2",
"stylelint": "^16.8.2",
"stylelint-config-standard": "^36.0.1",
"stylelint-config-tailwindcss": "^0.0.7",
"tailwindcss": "^3.4.3",
"tailwindcss": "^3.4.10",
"tailwindcss-text-fill-stroke": "2.0.0-beta.1",
"typescript": "5.4.5",
"vite": "^5.2.11",
"typescript": "5.5.4",
"vite": "^5.4.2",
"vite-plugin-webpackchunkname": "^1.0.3"
},
"scripts": {
"eslint": "eslint --cache --format=node_modules/eslint-formatter-pretty src",
"eslint:fix": "eslint --fix --cache --format=node_modules/eslint-formatter-pretty src",
"eslint": "eslint --cache src",
"eslint:fix": "eslint --fix --cache src",
"dprint": "dprint check",
"dprint:fix": "dprint fmt",
"stylelint": "stylelint \"src/css/*.css\"",
Expand All @@ -115,7 +114,7 @@
"lint-staged": {
"*.{ts,tsx}": [
"dprint fmt",
"eslint --cache --format=node_modules/eslint-formatter-pretty"
"eslint --cache"
],
"*.css": "stylelint"
},
Expand Down
Loading

0 comments on commit 83dc47b

Please sign in to comment.