Skip to content

Commit

Permalink
chore: release 4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
RaunoT authored Aug 14, 2024
2 parents 87f8ea0 + f58ea87 commit 700cd93
Show file tree
Hide file tree
Showing 49 changed files with 762 additions and 581 deletions.
13 changes: 11 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@
"prettier"
],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"root": true
"plugins": ["@typescript-eslint", "@stylistic/js"],
"root": true,
"rules": {
"@stylistic/js/padding-line-between-statements": [
"error",
{ "blankLine": "always", "prev": "const", "next": "*" },
{ "blankLine": "any", "prev": "const", "next": "const" },
{ "blankLine": "always", "prev": "*", "next": "if" },
{ "blankLine": "always", "prev": "if", "next": "*" }
]
}
}
6 changes: 1 addition & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,7 @@ jobs:
run: pnpm install

- name: Lint code and check formatting
run: |
pnpm lint
pnpm lint:css
pnpm lint:types
pnpm format:check
run: pnpm lint:all

- name: Build
run: pnpm build
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,11 @@ Please follow the guidelines below.

- Use the appropriate Unicode characters for ellipses, arrows, and other special characters/symbols

- Branch and PR naming should follow [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) logic. If there's an issue linked to the PR, it should be included in the scope.
- Branch and PR naming should follow [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) logic.

> Example branch name: `feat(#123)/new-feature` or `fix/bug`
> Example branch name: `feat(dashboard)/new-feature` or `fix/bug`
> Example pull request name: `feat(#123): new feature` or `fix: bug`
> Example pull request name: `feat(dashboard): new feature` or `fix: bug`
- Make sure to keep your branch up-to-date.

Expand Down
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,5 @@ ENV PORT=8383

# server.js is created by next build from the standalone output
# https://nextjs.org/docs/pages/api-reference/next-config-js/output
CMD HOSTNAME="0.0.0.0" node server.js
ENV HOSTNAME=0.0.0.0
CMD ["node", "server.js"]
15 changes: 9 additions & 6 deletions config/settings.example.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,20 @@
"tautulliApiKey": "",
"plexUrl": "",
"overseerrUrl": "",
"overseerrApiKey": ""
"overseerrApiKey": "",
"complete": false
},
"general": {
"activeLibraries": [],
"isPostersTmdbOnly": false,
"googleAnalyticsId": "",
"isOutsideAccess": false
"isOutsideAccess": false,
"complete": false
},
"rewind": {
"isActive": true,
"isLibrariesSizeAndCountActive": true
"isLibrariesSizeAndCountActive": true,
"complete": false
},
"dashboard": {
"isActive": true,
Expand All @@ -30,7 +33,7 @@
"activeTotalStatistics": ["size", "duration", "count", "requests"],
"defaultStyle": "general",
"defaultPeriod": "custom",
"customPeriod": "30"
},
"test": false
"customPeriod": "30",
"complete": false
}
}
24 changes: 14 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,13 @@
"version": "1.0.0",
"scripts": {
"dev": "next dev",
"start": "next start",
"build": "next build",
"lint": "next lint",
"lint:types": "tsc --noEmit",
"lint:css": "stylelint --cache \"**/*.css\"",
"lint": "next lint",
"lint:all": "pnpm lint && pnpm lint:types && pnpm lint:css && pnpm format:check",
"lint:all:fix": "next lint --fix && pnpm lint:types && stylelint --cache --fix \"**/*.css\" && pnpm format",
"format": "prettier --write --cache .",
"format:check": "prettier --check --cache .",
"prepare": "husky",
Expand All @@ -19,7 +22,7 @@
},
"dependencies": {
"@heroicons/react": "^2.1.5",
"framer-motion": "^11.3.21",
"framer-motion": "^11.3.24",
"lodash": "^4.17.21",
"next": "^14.2.5",
"next-auth": "^4.24.7",
Expand All @@ -35,21 +38,22 @@
"zod": "^3.23.8"
},
"devDependencies": {
"@commitlint/cli": "^19.3.0",
"@commitlint/cli": "^19.4.0",
"@commitlint/config-conventional": "^19.2.2",
"@saithodev/semantic-release-backmerge": "^4.0.1",
"@semantic-release/exec": "^6.0.3",
"@serwist/next": "^9.0.5",
"@stylistic/eslint-plugin-js": "^2.6.2",
"@tailwindcss/forms": "^0.5.7",
"@types/lodash": "^4.17.7",
"@types/node": "^22.1.0",
"@types/node": "^22.2.0",
"@types/qs": "^6.9.15",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@types/uuid": "^10.0.0",
"@types/xml2js": "^0.4.14",
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"autoprefixer": "^10.4.20",
"clsx": "^2.1.1",
"commitizen": "^4.3.0",
Expand All @@ -58,16 +62,16 @@
"eslint-config-next": "^14.2.5",
"eslint-config-prettier": "^9.1.0",
"husky": "^9.1.4",
"lint-staged": "^15.2.8",
"postcss": "^8.4.40",
"lint-staged": "^15.2.9",
"postcss": "^8.4.41",
"prettier": "^3.3.3",
"prettier-plugin-organize-imports": "^4.0.0",
"prettier-plugin-tailwindcss": "^0.6.5",
"prettier-plugin-tailwindcss": "^0.6.6",
"semantic-release": "^24.0.0",
"serwist": "^9.0.5",
"stylelint": "^16.8.1",
"stylelint-config-standard": "^36.0.1",
"tailwindcss": "^3.4.7",
"tailwindcss": "^3.4.9",
"typescript": "^5.5.4"
},
"pnpm": {
Expand Down
Loading

0 comments on commit 700cd93

Please sign in to comment.