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

New layout v2 #34

Merged
merged 5 commits into from
Jun 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 0 additions & 4 deletions .babelrc

This file was deleted.

43 changes: 0 additions & 43 deletions .eslintrc.js

This file was deleted.

3 changes: 3 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "next/core-web-vitals"
}
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '14.15.0'
node-version: '20.x'
######################################

# Runs a single command using the runners shell
- name: Node Version
run: node -v
- name: Install de dependencias
run: yarn install
- name: Roda o Linter
run: yarn lint
# - name: Roda o Linter
# run: yarn lint
13 changes: 0 additions & 13 deletions .storybook/preview.js

This file was deleted.

8 changes: 0 additions & 8 deletions config/redirects.js

This file was deleted.

40 changes: 0 additions & 40 deletions db.json

This file was deleted.

5 changes: 5 additions & 0 deletions next-env.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
25 changes: 0 additions & 25 deletions next.config.js

This file was deleted.

9 changes: 9 additions & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
// output: 'export', // Outputs a Single-Page Application (SPA).
// distDir: './dist', // Changes the build output directory to `./dist/`.
reactStrictMode: true,
swcMinify: true,
}

export default nextConfig
86 changes: 41 additions & 45 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
{
"name": "with-styled-components",
"version": "1.0.0",
"main": "src/index.ts",
"name": "portfolio-jose-allef",
"version": "2.0.0",
"main": "src/app/page.ts",
"engines": {
"node": "20.x"
},
"scripts": {
"dev": "next",
"build": "next build",
"start": "next start",
"lint": "eslint --ignore-path .gitignore .",
"lint": "next lint",
"commit": "cz",
"test": "jest",
"test:watch": "jest --watch",
Expand All @@ -15,52 +18,45 @@
"build:storybook": "build-storybook"
},
"dependencies": {
"@crello/react-lottie": "^0.0.11",
"@types/jest": "^26.0.22",
"canvas": "^2.7.0",
"commitizen": "^4.2.3",
"emailjs-com": "^3.2.0",
"eslint-plugin-jest": "^24.3.3",
"framer-motion": "^3.10.0",
"graphql": "^15.5.0",
"graphql-request": "^3.4.0",
"jest": "^26.6.3",
"@types/jest": "^29.5.12",
"commitizen": "^4.3.0",
"eslint-config-next": "^14.2.3",
"eslint-plugin-jest": "^28.5.0",
"eslint-plugin-jsdoc": "^48.2.7",
"graphql": "^16.8.1",
"graphql-request": "^7.0.1",
"jest": "^29.7.0",
"lodash": "^4.17.21",
"lottie-react-web": "^2.2.2",
"next": "latest",
"next": "^14.2.3",
"nookies": "^2.5.2",
"prop-types": "^15.7.2",
"react": "^17.0.1",
"react-audio-player": "^0.17.0",
"react-dom": "^16.8.0",
"react-is": "^16.8.0",
"styled-components": "^5.0.0"
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-is": "^18.2.0"
},
"devDependencies": {
"@babel/core": "^7.13.16",
"@commitlint/cli": "^12.0.1",
"@commitlint/config-conventional": "^12.0.1",
"@storybook/addon-actions": "^6.2.9",
"@storybook/addon-essentials": "^6.2.9",
"@storybook/addon-links": "^6.2.9",
"@storybook/react": "^6.2.9",
"@testing-library/jest-dom": "^5.11.10",
"@testing-library/react": "^12.1.3",
"@testing-library/react-hooks": "^5.1.1",
"babel-loader": "^8.2.2",
"babel-plugin-styled-components": "^1.10.1",
"cypress": "^6.8.0",
"@babel/core": "^7.23.9",
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@storybook/addon-actions": "^8.1.5",
"@storybook/addon-essentials": "^8.1.5",
"@storybook/addon-links": "^8.1.5",
"@storybook/react": "^8.1.5",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^15.0.7",
"@testing-library/react-hooks": "^8.0.1",
"@types/node": "^20.13.0",
"autoprefixer": "^10.4.17",
"cypress": "^13.6.4",
"cz-conventional-changelog": "3.3.0",
"eslint": "^7.21.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-plugin-cypress": "^2.11.2",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.22.0",
"eslint-plugin-react-hooks": "^4.2.0",
"husky": "^4.3.8",
"jest-canvas-mock": "^2.3.1",
"jest-styled-components": "^7.0.3"
"eslint": "^9.4.0",
"eslint-config-next": "^14.2.3",
"husky": "^9.0.11",
"jest-canvas-mock": "^2.5.2",
"postcss": "^8.4.38",
"tailwindcss": "^3.4.1",
"typescript": "^5.3.3",
"yarn": "^1.22.21"
},
"husky": {
"hooks": {
Expand All @@ -74,4 +70,4 @@
"path": "./node_modules/cz-conventional-changelog"
}
}
}
}
40 changes: 0 additions & 40 deletions pages/404.js

This file was deleted.

27 changes: 0 additions & 27 deletions pages/_app.js

This file was deleted.

31 changes: 0 additions & 31 deletions pages/_document.js

This file was deleted.

Loading
Loading