Skip to content

Commit acd0aa4

Browse files
committed
prettier
1 parent 64d55b9 commit acd0aa4

File tree

69 files changed

+9136
-2877
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+9136
-2877
lines changed

.changeset/config.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
{
22
"$schema": "https://unpkg.com/@changesets/config@1.6.4/schema.json",
3-
"changelog": ["@changesets/changelog-github", { "repo": "riccardoperra/codeimage" }],
3+
"changelog": [
4+
"@changesets/changelog-github",
5+
{"repo": "riccardoperra/codeimage"}
6+
],
47
"commit": true,
58
"linked": [],
69
"access": "restricted",

.codesandbox/tasks.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,4 @@
111111
"command": "docker-compose -f ./apps/api/docker-compose.dev.yml -p codeimage up -d"
112112
}
113113
}
114-
}
114+
}

.github/ISSUE_TEMPLATE/1-bug-report.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: '🐞 - Bug Report'
22
title: '🐞 - '
33
description: Report a bug in Codeimage
4-
labels: [ 'bug', 'state: need triage' ]
4+
labels: ['bug', 'state: need triage']
55

66
body:
77
- type: dropdown
@@ -23,7 +23,7 @@ body:
2323
id: reproduction-url
2424
attributes:
2525
label: Please provide a screenshot or a video to a minimal reproduction of the bug
26-
placeholder: "Enter an url or attach a file after submitting your issue"
26+
placeholder: 'Enter an url or attach a file after submitting your issue'
2727

2828
- type: textarea
2929
id: description

.github/workflows/main.yml

Lines changed: 13 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,12 @@ name: Main
22

33
on:
44
pull_request:
5-
types: [ opened, synchronize, reopened, edited, assigned ]
5+
types: [opened, synchronize, reopened, edited, assigned]
66
pull_request_target:
7-
types: [ opened, synchronize, reopened, edited, assigned ]
7+
types: [opened, synchronize, reopened, edited, assigned]
88
branches:
99
- changeset-release/main
1010

11-
1211
env:
1312
IS_MAIN_BRANCH: ${{ github.head_ref == 'main' }}
1413
IS_NEXT_BRANCH: ${{ github.head_ref == 'next' }}
@@ -74,7 +73,7 @@ jobs:
7473

7574
build-packages:
7675
name: Build packages
77-
needs: [ install ]
76+
needs: [install]
7877
runs-on: ubuntu-latest
7978
steps:
8079
- name: Checkout PR
@@ -103,7 +102,7 @@ jobs:
103102
typecheck-packages:
104103
if: ${{ needs.install.outputs.libs-change == 'true' }}
105104
name: Type-checking
106-
needs: [ install, build-packages ]
105+
needs: [install, build-packages]
107106
runs-on: ubuntu-latest
108107
steps:
109108
- name: Checkout PR
@@ -137,7 +136,7 @@ jobs:
137136
build-app-dev:
138137
name: Build App and Preview (Dev)
139138
environment: Preview
140-
needs: [ build-packages ]
139+
needs: [build-packages]
141140
if: ${{ github.head_ref != 'next' }}
142141
runs-on: ubuntu-latest
143142
steps:
@@ -180,11 +179,10 @@ jobs:
180179
alias-domains: | #Optional
181180
codeimage-app-pr-{{PR_NUMBER}}.vercel.app
182181
183-
184182
build-app-next:
185183
name: Build App and Preview (Next)
186184
environment: Next
187-
needs: [ build-packages ]
185+
needs: [build-packages]
188186
if: ${{ github.head_ref == 'next' }}
189187
runs-on: ubuntu-latest
190188
steps:
@@ -231,7 +229,7 @@ jobs:
231229
build-highlight-dev:
232230
name: '@codeimage/highlight dev and Preview'
233231
environment: Preview
234-
needs: [ build-packages ]
232+
needs: [build-packages]
235233
if: (${{ needs.install.outputs.app-change == 'true' }} || ${{ needs.install.outputs.libs-change == 'true' }})
236234
runs-on: ubuntu-latest
237235
steps:
@@ -268,7 +266,7 @@ jobs:
268266
build-website-dev:
269267
name: '@codeimage/website dev and Preview'
270268
environment: Preview
271-
needs: [ build-packages ]
269+
needs: [build-packages]
272270
if: (${{ needs.install.outputs.app-change == 'true' }} || ${{ needs.install.outputs.libs-change == 'true' }})
273271
runs-on: ubuntu-latest
274272
steps:
@@ -314,7 +312,7 @@ jobs:
314312

315313
website-lhci:
316314
name: Lighthouse
317-
needs: [ build-website-dev ]
315+
needs: [build-website-dev]
318316
runs-on: ubuntu-latest
319317
steps:
320318
- name: Checkout PR
@@ -339,7 +337,7 @@ jobs:
339337

340338
build-api:
341339
name: Build Api
342-
needs: [ install, build-packages ]
340+
needs: [install, build-packages]
343341
runs-on: ubuntu-latest
344342

345343
steps:
@@ -350,7 +348,7 @@ jobs:
350348
- name: 📥 Monorepo install
351349
uses: ./.github/actions/pnpm-install
352350

353-
- name: "[API] Generate Prisma Migration"
351+
- name: '[API] Generate Prisma Migration'
354352
run: |
355353
pnpm --filter=@codeimage/api exec prisma generate
356354
pnpm --filter=@codeimage/prisma-models build
@@ -371,7 +369,7 @@ jobs:
371369
be-test:
372370
if: ${{ needs.install.outputs.backend-change == 'true' }}
373371
name: Api test
374-
needs: [ install ]
372+
needs: [install]
375373
runs-on: ubuntu-latest
376374

377375
services:
@@ -433,13 +431,7 @@ jobs:
433431
if: ${{ github.head_ref == 'next' }}
434432
environment: Next
435433
name: Deploy next
436-
needs: [
437-
lint,
438-
build-packages,
439-
build-api,
440-
be-test,
441-
build-app-next
442-
]
434+
needs: [lint, build-packages, build-api, be-test, build-app-next]
443435
runs-on: ubuntu-latest
444436
steps:
445437
- name: Checkout PR

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ jobs:
2424
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2525
with:
2626
version: pnpm changeset:pr
27-
title: "chore(release): version packages"
27+
title: 'chore(release): version packages'
2828
commit: 'chore(release): version packages'

.vscode/settings.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"editor.formatOnSave": true,
3-
"editor.bracketPairColorization.enabled": false,
4-
"typescript.tsdk": "node_modules/typescript/lib"
5-
}
2+
"editor.formatOnSave": true,
3+
"editor.bracketPairColorization.enabled": false,
4+
"typescript.tsdk": "node_modules/typescript/lib"
5+
}

CHANGELOG.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,13 @@
2424

2525
- fix: fix broken image export using safari
2626

27-
2827
## 13-03-2022
2928

3029
`@codeimage/app@0.8.3`
3130

3231
- feat: add native select input on mobile modality
3332
fix: fix select overflow on bottom bar
3433

35-
3634
## 13-03-2022
3735

3836
`@codeimage/app@0.8.2`
@@ -54,4 +52,3 @@
5452
**Ui** `v0.4.2`
5553

5654
- Workflow update
57-

CODE_OF_CONDUCT.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
# Contributor Covenant Code of Conduct
32

43
## Our Pledge
@@ -18,23 +17,23 @@ diverse, inclusive, and healthy community.
1817
Examples of behavior that contributes to a positive environment for our
1918
community include:
2019

21-
* Demonstrating empathy and kindness toward other people
22-
* Being respectful of differing opinions, viewpoints, and experiences
23-
* Giving and gracefully accepting constructive feedback
24-
* Accepting responsibility and apologizing to those affected by our mistakes,
20+
- Demonstrating empathy and kindness toward other people
21+
- Being respectful of differing opinions, viewpoints, and experiences
22+
- Giving and gracefully accepting constructive feedback
23+
- Accepting responsibility and apologizing to those affected by our mistakes,
2524
and learning from the experience
26-
* Focusing on what is best not just for us as individuals, but for the overall
25+
- Focusing on what is best not just for us as individuals, but for the overall
2726
community
2827

2928
Examples of unacceptable behavior include:
3029

31-
* The use of sexualized language or imagery, and sexual attention or advances of
30+
- The use of sexualized language or imagery, and sexual attention or advances of
3231
any kind
33-
* Trolling, insulting or derogatory comments, and personal or political attacks
34-
* Public or private harassment
35-
* Publishing others' private information, such as a physical or email address,
32+
- Trolling, insulting or derogatory comments, and personal or political attacks
33+
- Public or private harassment
34+
- Publishing others' private information, such as a physical or email address,
3635
without their explicit permission
37-
* Other conduct which could reasonably be considered inappropriate in a
36+
- Other conduct which could reasonably be considered inappropriate in a
3837
professional setting
3938

4039
## Enforcement Responsibilities

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ You will be able to access the Project repository through this link:
100100
https://codesandbox.io/p/github/riccardoperra/codeimage
101101

102102
![img.png](assets/codesandbox_fork.png)
103-
*Preview of CodeSandbox projects with Fork action*
103+
_Preview of CodeSandbox projects with Fork action_
104104

105105
[You don't know CodeSandbox Projects?](https://codesandbox.io/post/announcing-codesandbox-projects)
106106

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,8 @@ with the owners of this repository before making a change.
7979

8080
See the [CONTRIBUTING.md](./CONTRIBUTING.md) guide for more details.
8181

82-
8382
---
8483

85-
8684
<p align="left">
8785
<img src="https://user-images.githubusercontent.com/37072694/168666273-22af1fed-6ee5-49a5-be2a-6e0b9da998cf.png" width="600">
8886
</p>

0 commit comments

Comments
 (0)