Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2 #72

Closed
wants to merge 26 commits into from
Closed

v2 #72

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
b886bc6
initial commit for v2
IgorHalfeld Oct 2, 2020
9ff2414
finish MVP
IgorHalfeld Oct 4, 2020
f184472
add netifly badge
IgorHalfeld Oct 4, 2020
d41a90b
fix broken link
IgorHalfeld Oct 4, 2020
fbcc200
enhance docs
IgorHalfeld Oct 4, 2020
129b233
fix for more resolutions
IgorHalfeld Oct 4, 2020
d277fb6
add v2 label on tweet div
IgorHalfeld Oct 4, 2020
5f10520
fix vulnerabilities package-lock
IgorHalfeld Oct 4, 2020
2516227
enhance mobile layout
IgorHalfeld Oct 4, 2020
411f7ba
add donate link
IgorHalfeld Oct 5, 2020
b89cc5a
change configs for pwa module
IgorHalfeld Oct 14, 2020
0d207a4
add animation on change tweets
IgorHalfeld Oct 14, 2020
1573d8d
Chewbacca PR's
AugustoBondanca Oct 20, 2020
1cca832
update img chewbacca
AugustoBondanca Oct 20, 2020
62ed2f9
update img chewbacca
AugustoBondanca Oct 20, 2020
120257c
Merge pull request #78 from AugustoBondanca/patch-2
Oct 20, 2020
442215c
new_person(Julius - Everybody Hates Chris) (#82)
emersonjds Oct 21, 2020
c6fab3d
Footer (#75)
Trocatti Oct 30, 2020
7d60ef2
Atualizado assets do relacionado a pwa (#84)
marcotterra Oct 30, 2020
56b1066
feat: v2 dark mode (#83)
luizcieslak Oct 30, 2020
fdc5ee5
Pabllo vittar tamplate (#86)
ananeridev Oct 30, 2020
5ef5b0f
Fix: Manter tweet digitado ao trocar de template (#85)
omarkdev Nov 3, 2020
8fd7c5f
add baroes
IgorHalfeld Jan 28, 2021
cdfae54
Cria switch-box para alterar origem de Android ou iPhone (#87)
omarkdev May 30, 2021
5dda77f
Adiciona dark mode no tweet (#88)
omarkdev May 30, 2021
cac60b9
Fix scroll in homepage (#95)
rhuangabrielsantos May 30, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
> 1%
last 2 versions
not dead
13 changes: 3 additions & 10 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
root = true

[*]
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true
[*.{js,jsx,ts,tsx,vue}]
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space

[*.{md,txt}]
trim_trailing_whitespace = false
36 changes: 20 additions & 16 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,25 +1,29 @@
module.exports = {
root: true,
env: {
browser: true,
es6: true,
'jest/globals': true
node: true
},
extends: [
'standard'
'plugin:vue/vue3-recommended',
'@vue/standard',
'@vue/typescript/recommended'
],
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly'
},
plugins: ['jest'],
parserOptions: {
ecmaVersion: 2018
ecmaVersion: 2020
},
rules: {
"jest/no-disabled-tests": "warn",
"jest/no-focused-tests": "error",
"jest/no-identical-title": "error",
"jest/prefer-to-have-length": "warn",
"jest/valid-expect": "error"
}
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off'
},
overrides: [
{
files: [
'**/__tests__/*.{j,t}s?(x)',
'**/tests/unit/**/*.spec.{j,t}s?(x)'
],
env: {
jest: true
}
}
]
}
26 changes: 25 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,26 @@
node_modules
.DS_Store
node_modules
/dist

/tests/e2e/videos/
/tests/e2e/screenshots/


# local env files
.env.local
.env.*.local

# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*

# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
9 changes: 0 additions & 9 deletions .prettierrc

This file was deleted.

5 changes: 0 additions & 5 deletions .travis.yml

This file was deleted.

45 changes: 26 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
<p align="center">
<img src="icon.png" width="100" />
<img src="src/assets/icon.png" width="100" />
<h3 align="center">PR Maneiro 👍🏻</h3>
<p align="center">Faça alguém feliz com um comentário no PR!</p>
<p align="center">
<img src="https://api.netlify.com/api/v1/badges/6c6af1cf-6b77-41cf-90cb-5060b5abbd79/deploy-status" alt="Netlify Status">
<img src="https://travis-ci.org/IgorHalfeld/pr-maneiro.svg?branch=master" alt="Build Status">
<a href="http://picpay.me/igorhalfeld">
<img src="https://img.shields.io/badge/donate-picpay-green.svg" alt="Donate">
</a>
</p>
</p>

<p align="center">
<img src="assets/demo-1.gif" width="500">
<p>
> ⚠️ Em ativo desenvolvimento

<hr />
[**Versão 2 esta sendo desenvolvida, veja aqui**](https://github.com/IgorHalfeld/pr-maneiro/pull/72)

### Templates já disponíveis

- Arnaldo Cezar Coelho
- Big Smoke
- Cabo Daciolo
- Carlos Bolsonaro
- Celso Portiolli
Expand All @@ -36,6 +39,7 @@
- Jailson Mendes
- Jair M. Bolsonaro
- Joel Santana
- Julius - Everybody Hates Chris
- Kid Bengala
- Kléber Bambam
- Maike da S.W.A.T
Expand All @@ -46,6 +50,7 @@
- Neymar Jr
- Nego Di
- Padre Marcelo Rossi
- Pabllo Vittar
- Pedro Bial
- PC Siqueira
- Professor Raimundo
Expand All @@ -55,24 +60,26 @@
- Vampeta
- Yudi Tamashiro
- Zeca Pagodinho
- Xandão

### Como instalar
## Setup

Clone esse repositório e instale nas extensões do chrome, exemplo abaixo:
```sh
# install docs
npm install

![demo 2](assets/demo-2.gif)
# Compiles and hot-reloads for development
npm run serve

### Como adicionar mais alguém
# Compiles and minifies for production
npm run build

Coloque no arquivo [`persons.js`](https://github.com/IgorHalfeld/pr-maneiro/blob/master/scripts/persons.js) seguindo o padrão:
# Run your unit tests
npm run test:unit

```js
ney: {
name: 'Neymar Jr', // nome (pode ter espaços)
username: 'neymarjr', // username
msg: 'Saudade do que a gente não viveu ainda!!', // mensagem do tweet
image: 'https://i.imgur.com/k2Uah9s.jpg' // url da image (precisa usar o imgur.com)
}
```
# Run your end-to-end tests
npm run test:e2e

e não esqueça de adicionar [aqui na lista](https://github.com/IgorHalfeld/pr-maneiro#templates-j%C3%A1-dispon%C3%ADveis) desse README ❤️ pra galera ficar sabendo que o template existe.
# Lints and fixes files
npm run lint
```
Binary file removed assets/demo-1.gif
Binary file not shown.
Binary file removed assets/demo-2.gif
Binary file not shown.
77 changes: 0 additions & 77 deletions components/tweet.html

This file was deleted.

3 changes: 3 additions & 0 deletions cypress.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"pluginsFile": "tests/e2e/plugins/index.js"
}
55 changes: 0 additions & 55 deletions index.html

This file was deleted.

39 changes: 0 additions & 39 deletions index.template.html

This file was deleted.

Loading