chore(deps-dev): upgrade prettier to v2.2.1

pull/206/head
sct 3 years ago
parent 383c79c19a
commit 335377e250

@ -4,7 +4,6 @@ about: Create a report to help us improve
title: '' title: ''
labels: bug labels: bug
assignees: '' assignees: ''
--- ---
**Describe the bug** **Describe the bug**
@ -12,6 +11,7 @@ A clear and concise description of what the bug is.
**To Reproduce** **To Reproduce**
Steps to reproduce the behavior: Steps to reproduce the behavior:
1. Go to '...' 1. Go to '...'
2. Click on '....' 2. Click on '....'
3. Scroll down to '....' 3. Scroll down to '....'
@ -24,15 +24,17 @@ A clear and concise description of what you expected to happen.
If applicable, add screenshots to help explain your problem. If applicable, add screenshots to help explain your problem.
**Desktop (please complete the following information):** **Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari] - OS: [e.g. iOS]
- Version [e.g. 22] - Browser [e.g. chrome, safari]
- Version [e.g. 22]
**Smartphone (please complete the following information):** **Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1] - Device: [e.g. iPhone6]
- Browser [e.g. stock browser, safari] - OS: [e.g. iOS8.1]
- Version [e.g. 22] - Browser [e.g. stock browser, safari]
- Version [e.g. 22]
**Additional context** **Additional context**
Add any other context about the problem here. Add any other context about the problem here.

@ -4,7 +4,6 @@ about: Suggest an idea for this project
title: '' title: ''
labels: enhancement labels: enhancement
assignees: '' assignees: ''
--- ---
**Is your feature request related to a problem? Please describe.** **Is your feature request related to a problem? Please describe.**

1
.github/lock.yml vendored

@ -22,7 +22,6 @@ lockComment: >
# Assign `resolved` as the reason for locking. Set to `false` to disable # Assign `resolved` as the reason for locking. Set to `false` to disable
setLockReason: true setLockReason: true
# Limit to only `issues` or `pulls` # Limit to only `issues` or `pulls`
# only: issues # only: issues

@ -2391,7 +2391,7 @@ paths:
crew: crew:
type: array type: array
items: items:
$ref: "#/components/schemas/CreditCrew" $ref: '#/components/schemas/CreditCrew'
id: id:
type: number type: number
/media: /media:

@ -104,7 +104,7 @@
"nodemon": "^2.0.6", "nodemon": "^2.0.6",
"postcss": "^7", "postcss": "^7",
"postcss-preset-env": "^6.7.0", "postcss-preset-env": "^6.7.0",
"prettier": "^2.1.2", "prettier": "^2.2.1",
"semantic-release": "^17.3.0", "semantic-release": "^17.3.0",
"semantic-release-docker": "^2.2.0", "semantic-release-docker": "^2.2.0",
"tailwindcss": "npm:@tailwindcss/postcss7-compat", "tailwindcss": "npm:@tailwindcss/postcss7-compat",

@ -57,9 +57,12 @@ const Discover: React.FC = () => {
`/api/v1/discover/tv?language=${locale}` `/api/v1/discover/tv?language=${locale}`
); );
const { data: movieUpcomingData, error: movieUpcomingError } = useSWR< const {
MovieDiscoverResult data: movieUpcomingData,
>(`/api/v1/discover/movies/upcoming?language=${locale}`); error: movieUpcomingError,
} = useSWR<MovieDiscoverResult>(
`/api/v1/discover/movies/upcoming?language=${locale}`
);
const { data: trendingData, error: trendingError } = useSWR<MixedResult>( const { data: trendingData, error: trendingError } = useSWR<MixedResult>(
`/api/v1/discover/trending?language=${locale}` `/api/v1/discover/trending?language=${locale}`
@ -69,9 +72,12 @@ const Discover: React.FC = () => {
'/api/v1/media?filter=available&take=20&sort=modified' '/api/v1/media?filter=available&take=20&sort=modified'
); );
const { data: requests, error: requestError } = useSWR< const {
RequestResultsResponse data: requests,
>('/api/v1/request?filter=unavailable&take=10&sort=modified&skip=0'); error: requestError,
} = useSWR<RequestResultsResponse>(
'/api/v1/request?filter=unavailable&take=10&sort=modified&skip=0'
);
return ( return (
<> <>

@ -54,9 +54,11 @@ const RequestCard: React.FC<RequestCardProps> = ({ request }) => {
const { data: title, error } = useSWR<MovieDetails | TvDetails>( const { data: title, error } = useSWR<MovieDetails | TvDetails>(
inView ? `${url}?language=${locale}` : null inView ? `${url}?language=${locale}` : null
); );
const { data: requestData, error: requestError, revalidate } = useSWR< const {
MediaRequest data: requestData,
>(`/api/v1/request/${request.id}`, { error: requestError,
revalidate,
} = useSWR<MediaRequest>(`/api/v1/request/${request.id}`, {
initialData: request, initialData: request,
}); });

@ -10758,10 +10758,10 @@ prettier-linter-helpers@^1.0.0:
dependencies: dependencies:
fast-diff "^1.1.2" fast-diff "^1.1.2"
prettier@^2.1.2: prettier@^2.2.1:
version "2.1.2" version "2.2.1"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.1.2.tgz#3050700dae2e4c8b67c4c3f666cdb8af405e1ce5" resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.2.1.tgz#795a1a78dd52f073da0cd42b21f9c91381923ff5"
integrity sha512-16c7K+x4qVlJg9rEbXl7HEGmQyZlG4R9AgP+oHKRMsMsuk8s+ATStlf1NpDqyBI1HpVyfjLOeMhH2LvuNvV5Vg== integrity sha512-PqyhM2yCjg/oKkFPtTGUojv7gnZAoG80ttl45O6x2Ug/rMJw4wcc9k6aaf2hibP7BGVCCM33gZoGjyvt9mm16Q==
pretty-hrtime@^1.0.3: pretty-hrtime@^1.0.3:
version "1.0.3" version "1.0.3"

Loading…
Cancel
Save