Compare commits

...

6 Commits

Author SHA1 Message Date
Renovate Bot
b9e7886639 Update dependency react to v19.0.0-rc-fb9a90fa48-20240614
Some checks failed
Add copyright notice / copyright_notice (pull_request) Successful in 3m48s
Check usage of free licenses / build-static-assets (pull_request) Successful in 2m20s
Playwright Tests / test (pull_request) Failing after 2m31s
Build Nginx-based docker image / build-static-assets (pull_request) Failing after 11m50s
2024-10-28 23:07:35 +00:00
a96ad3692e Merge pull request 'Add .ts extension to copyright notice' (#67) from copyright-v2 into main
All checks were successful
Check usage of free licenses / build-static-assets (push) Successful in 28s
Playwright Tests / test (push) Successful in 2m45s
Build Nginx-based docker image / build-static-assets (push) Successful in 3m39s
Reviewed-on: #67
2024-10-28 08:03:35 +00:00
Renovate Bot
69b0f165fa Update dependency @types/node to v22.8.1
All checks were successful
Check usage of free licenses / build-static-assets (push) Successful in 1m16s
Playwright Tests / test (push) Successful in 6m57s
Build Nginx-based docker image / build-static-assets (push) Successful in 18m24s
2024-10-27 23:27:32 +00:00
Renovate Bot
f85d4eecb6 Update dependency @playwright/test to v1.48.2
Some checks failed
Add copyright notice / copyright_notice (pull_request) Successful in 1m33s
Check usage of free licenses / build-static-assets (pull_request) Successful in 1m17s
Playwright Tests / test (pull_request) Successful in 3m44s
Build Nginx-based docker image / build-static-assets (pull_request) Successful in 10m43s
Playwright Tests / test (push) Waiting to run
Build Nginx-based docker image / build-static-assets (push) Has been cancelled
Check usage of free licenses / build-static-assets (push) Has been cancelled
2024-10-27 23:05:56 +00:00
18a0fdc514 Add copyright notice
All checks were successful
Add copyright notice / copyright_notice (pull_request) Successful in 3m40s
Check usage of free licenses / build-static-assets (pull_request) Successful in 2m17s
Playwright Tests / test (pull_request) Successful in 6m11s
Build Nginx-based docker image / build-static-assets (pull_request) Successful in 18m2s
2024-10-27 21:27:41 +00:00
ca17dd1adb Add .ts extension to copyright notice
All checks were successful
Check usage of free licenses / build-static-assets (pull_request) Successful in 2m28s
Add copyright notice / copyright_notice (pull_request) Successful in 2m49s
Playwright Tests / test (pull_request) Successful in 6m23s
Build Nginx-based docker image / build-static-assets (pull_request) Successful in 16m5s
2024-10-27 22:24:55 +01:00
8 changed files with 70 additions and 60 deletions

View File

@ -14,7 +14,7 @@ jobs:
- uses: VinnyBabuManjaly/copyright-action@v1.0.0
with:
CopyrightString: '/* Copyright (C) 2024 Manuel Bustillo*/\n\n'
FileType: '.tsx, .jsx'
FileType: '.tsx, .jsx, .ts'
Path: 'app/, config/, db/'
IgnorePath: 'testfolder1/a/, testfolder3'
- name: Commit changes

View File

@ -1,3 +1,5 @@
/* Copyright (C) 2024 Manuel Bustillo*/
// This file contains type definitions for your data.
// It describes the shape of the data, and what data type each property should accept.
// For simplicity of teaching, we're manually defining these types.

View File

@ -1,3 +1,5 @@
/* Copyright (C) 2024 Manuel Bustillo*/
// This file contains placeholder data that you'll be replacing with real data in the Data Fetching chapter:
// https://nextjs.org/learn/dashboard-app/fetching-data
const users = [

View File

@ -1,3 +1,5 @@
/* Copyright (C) 2024 Manuel Bustillo*/
import { Revenue } from './definitions';
export const formatCurrency = (amount: number) => {

View File

@ -1,3 +1,5 @@
/* Copyright (C) 2024 Manuel Bustillo*/
// import bcrypt from 'bcrypt';
// import { db } from '@vercel/postgres';
// import { guests, customers, revenue, users } from '../lib/placeholder-data';

View File

@ -1,3 +1,5 @@
/* Copyright (C) 2024 Manuel Bustillo*/
import { Inter, Lusitana, Gloria_Hallelujah} from 'next/font/google';
export const inter = Inter({ subsets: ['latin'] });

View File

@ -17,7 +17,7 @@
"postcss": "8.4.47",
"primeicons": "^7.0.0",
"primereact": "^10.8.2",
"react": "19.0.0-rc-f38c22b244-20240704",
"react": "19.0.0-rc-fb9a90fa48-20240614",
"react-dom": "19.0.0-rc-f38c22b244-20240704",
"tailwindcss": "3.4.14",
"typescript": "5.6.3",
@ -27,7 +27,7 @@
"devDependencies": {
"@playwright/test": "^1.46.0",
"@types/bcrypt": "^5.0.2",
"@types/node": "22.7.9",
"@types/node": "22.8.1",
"@types/react": "18.3.5",
"@types/react-dom": "18.3.1"
},

114
pnpm-lock.yaml generated
View File

@ -10,7 +10,7 @@ importers:
dependencies:
'@heroicons/react':
specifier: ^2.1.4
version: 2.1.5(react@19.0.0-rc-f38c22b244-20240704)
version: 2.1.5(react@19.0.0-rc-fb9a90fa48-20240614)
'@tailwindcss/forms':
specifier: ^0.5.7
version: 0.5.9(tailwindcss@3.4.14)
@ -28,10 +28,10 @@ importers:
version: 2.1.1
next:
specifier: 15.0.1
version: 15.0.1(@playwright/test@1.48.1)(react-dom@19.0.0-rc-f38c22b244-20240704(react@19.0.0-rc-f38c22b244-20240704))(react@19.0.0-rc-f38c22b244-20240704)
version: 15.0.1(@playwright/test@1.48.2)(react-dom@19.0.0-rc-f38c22b244-20240704(react@19.0.0-rc-fb9a90fa48-20240614))(react@19.0.0-rc-fb9a90fa48-20240614)
next-auth:
specifier: 5.0.0-beta.25
version: 5.0.0-beta.25(next@15.0.1(@playwright/test@1.48.1)(react-dom@19.0.0-rc-f38c22b244-20240704(react@19.0.0-rc-f38c22b244-20240704))(react@19.0.0-rc-f38c22b244-20240704))(react@19.0.0-rc-f38c22b244-20240704)
version: 5.0.0-beta.25(next@15.0.1(@playwright/test@1.48.2)(react-dom@19.0.0-rc-f38c22b244-20240704(react@19.0.0-rc-fb9a90fa48-20240614))(react@19.0.0-rc-fb9a90fa48-20240614))(react@19.0.0-rc-fb9a90fa48-20240614)
postcss:
specifier: 8.4.47
version: 8.4.47
@ -40,13 +40,13 @@ importers:
version: 7.0.0
primereact:
specifier: ^10.8.2
version: 10.8.4(@types/react@18.3.5)(react-dom@19.0.0-rc-f38c22b244-20240704(react@19.0.0-rc-f38c22b244-20240704))(react@19.0.0-rc-f38c22b244-20240704)
version: 10.8.4(@types/react@18.3.5)(react-dom@19.0.0-rc-f38c22b244-20240704(react@19.0.0-rc-fb9a90fa48-20240614))(react@19.0.0-rc-fb9a90fa48-20240614)
react:
specifier: 19.0.0-rc-f38c22b244-20240704
version: 19.0.0-rc-f38c22b244-20240704
specifier: 19.0.0-rc-fb9a90fa48-20240614
version: 19.0.0-rc-fb9a90fa48-20240614
react-dom:
specifier: 19.0.0-rc-f38c22b244-20240704
version: 19.0.0-rc-f38c22b244-20240704(react@19.0.0-rc-f38c22b244-20240704)
version: 19.0.0-rc-f38c22b244-20240704(react@19.0.0-rc-fb9a90fa48-20240614)
tailwindcss:
specifier: 3.4.14
version: 3.4.14
@ -55,20 +55,20 @@ importers:
version: 5.6.3
use-debounce:
specifier: ^10.0.1
version: 10.0.4(react@19.0.0-rc-f38c22b244-20240704)
version: 10.0.4(react@19.0.0-rc-fb9a90fa48-20240614)
zod:
specifier: ^3.23.8
version: 3.23.8
devDependencies:
'@playwright/test':
specifier: ^1.46.0
version: 1.48.1
version: 1.48.2
'@types/bcrypt':
specifier: ^5.0.2
version: 5.0.2
'@types/node':
specifier: 22.7.9
version: 22.7.9
specifier: 22.8.1
version: 22.8.1
'@types/react':
specifier: 18.3.5
version: 18.3.5
@ -312,8 +312,8 @@ packages:
resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==}
engines: {node: '>=14'}
'@playwright/test@1.48.1':
resolution: {integrity: sha512-s9RtWoxkOLmRJdw3oFvhFbs9OJS0BzrLUc8Hf6l2UdCNd1rqeEyD4BhCJkvzeEoD1FsK4mirsWwGerhVmYKtZg==}
'@playwright/test@1.48.2':
resolution: {integrity: sha512-54w1xCWfXuax7dz4W2M9uw0gDyh+ti/0K/MxcCUxChFh37kkdxPdfZDw5QBbuPUJHr1CiHJ1hXgSs+GgeQc5Zw==}
engines: {node: '>=18'}
hasBin: true
@ -334,8 +334,8 @@ packages:
'@types/cookie@0.6.0':
resolution: {integrity: sha512-4Kh9a6B2bQciAhf7FSuMRRkUWecJgJu9nPnx3yzpsfXX/c50REIqpHY4C82bXP90qrLtXtkDxTZosYO3UpOwlA==}
'@types/node@22.7.9':
resolution: {integrity: sha512-jrTfRC7FM6nChvU7X2KqcrgquofrWLFDeYC1hKfwNWomVvrn7JIksqf344WN2X/y8xrgqBd2dJATZV4GbatBfg==}
'@types/node@22.8.1':
resolution: {integrity: sha512-k6Gi8Yyo8EtrNtkHXutUu2corfDf9su95VYVP10aGYMMROM6SAItZi0w1XszA6RtWTHSVp5OeFof37w0IEqCQg==}
'@types/pg@8.11.6':
resolution: {integrity: sha512-/2WmmBXHLsfRqzfHW7BNZ8SbYzE8OSk7i3WjFYvfgRHj7S1xj+16Je5fUKv3lVdVzk/zn9TXOqf+avFCFIE0yQ==}
@ -878,13 +878,13 @@ packages:
resolution: {integrity: sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==}
engines: {node: '>= 6'}
playwright-core@1.48.1:
resolution: {integrity: sha512-Yw/t4VAFX/bBr1OzwCuOMZkY1Cnb4z/doAFSwf4huqAGWmf9eMNjmK7NiOljCdLmxeRYcGPPmcDgU0zOlzP0YA==}
playwright-core@1.48.2:
resolution: {integrity: sha512-sjjw+qrLFlriJo64du+EK0kJgZzoQPsabGF4lBvsid+3CNIZIYLgnMj9V6JY5VhM2Peh20DJWIVpVljLLnlawA==}
engines: {node: '>=18'}
hasBin: true
playwright@1.48.1:
resolution: {integrity: sha512-j8CiHW/V6HxmbntOfyB4+T/uk08tBy6ph0MpBXwuoofkSnLmlfdYNNkFTYD6ofzzlSqLA1fwH4vwvVFvJgLN0w==}
playwright@1.48.2:
resolution: {integrity: sha512-NjYvYgp4BPmiwfe31j4gHLa3J7bD2WiBz8Lk2RoSsmX38SVIARZ18VYjxLjAcDsAhA+F4iSEXTSGgjua0rrlgQ==}
engines: {node: '>=18'}
hasBin: true
@ -997,8 +997,8 @@ packages:
react: '>=16.6.0'
react-dom: '>=16.6.0'
react@19.0.0-rc-f38c22b244-20240704:
resolution: {integrity: sha512-OP8O6Oc1rdR9IdIKJRKaL1PYd4eGkn6f88VqiygWyyG4P4RmPPix5pp7MatqSt9TnBOcVT+lBMGoVxRgUFeudQ==}
react@19.0.0-rc-fb9a90fa48-20240614:
resolution: {integrity: sha512-nvE3Gy+IOIfH/DXhkyxFVQSrITarFcQz4+shzC/McxQXEUSonpw2oDy/Wi9hdDtV3hlP12VYuDL95iiBREedNQ==}
engines: {node: '>=0.10.0'}
read-cache@1.0.0:
@ -1159,8 +1159,8 @@ packages:
engines: {node: '>=14.17'}
hasBin: true
undici-types@6.19.6:
resolution: {integrity: sha512-e/vggGopEfTKSvj4ihnOLTsqhrKRN3LeO6qSN/GxohhuRv8qH9bNQ4B8W7e/vFL+0XTnmHPB4/kegunZGA4Org==}
undici-types@6.19.8:
resolution: {integrity: sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==}
update-browserslist-db@1.1.0:
resolution: {integrity: sha512-EdRAaAyk2cUE1wOf2DkEhzxqOQvFOoRJFNS6NeyJ01Gp2beMRpBAINjM2iDXE3KCuKhwnvHIQCJm6ThL2Z+HzQ==}
@ -1252,9 +1252,9 @@ snapshots:
tslib: 2.6.3
optional: true
'@heroicons/react@2.1.5(react@19.0.0-rc-f38c22b244-20240704)':
'@heroicons/react@2.1.5(react@19.0.0-rc-fb9a90fa48-20240614)':
dependencies:
react: 19.0.0-rc-f38c22b244-20240704
react: 19.0.0-rc-fb9a90fa48-20240614
'@img/sharp-darwin-arm64@0.33.5':
optionalDependencies:
@ -1419,9 +1419,9 @@ snapshots:
'@pkgjs/parseargs@0.11.0':
optional: true
'@playwright/test@1.48.1':
'@playwright/test@1.48.2':
dependencies:
playwright: 1.48.1
playwright: 1.48.2
'@swc/counter@0.1.3': {}
@ -1436,17 +1436,17 @@ snapshots:
'@types/bcrypt@5.0.2':
dependencies:
'@types/node': 22.7.9
'@types/node': 22.8.1
'@types/cookie@0.6.0': {}
'@types/node@22.7.9':
'@types/node@22.8.1':
dependencies:
undici-types: 6.19.6
undici-types: 6.19.8
'@types/pg@8.11.6':
dependencies:
'@types/node': 22.7.9
'@types/node': 22.8.1
pg-protocol: 1.6.1
pg-types: 4.0.2
@ -1830,13 +1830,13 @@ snapshots:
nanoid@3.3.7: {}
next-auth@5.0.0-beta.25(next@15.0.1(@playwright/test@1.48.1)(react-dom@19.0.0-rc-f38c22b244-20240704(react@19.0.0-rc-f38c22b244-20240704))(react@19.0.0-rc-f38c22b244-20240704))(react@19.0.0-rc-f38c22b244-20240704):
next-auth@5.0.0-beta.25(next@15.0.1(@playwright/test@1.48.2)(react-dom@19.0.0-rc-f38c22b244-20240704(react@19.0.0-rc-fb9a90fa48-20240614))(react@19.0.0-rc-fb9a90fa48-20240614))(react@19.0.0-rc-fb9a90fa48-20240614):
dependencies:
'@auth/core': 0.37.2
next: 15.0.1(@playwright/test@1.48.1)(react-dom@19.0.0-rc-f38c22b244-20240704(react@19.0.0-rc-f38c22b244-20240704))(react@19.0.0-rc-f38c22b244-20240704)
react: 19.0.0-rc-f38c22b244-20240704
next: 15.0.1(@playwright/test@1.48.2)(react-dom@19.0.0-rc-f38c22b244-20240704(react@19.0.0-rc-fb9a90fa48-20240614))(react@19.0.0-rc-fb9a90fa48-20240614)
react: 19.0.0-rc-fb9a90fa48-20240614
next@15.0.1(@playwright/test@1.48.1)(react-dom@19.0.0-rc-f38c22b244-20240704(react@19.0.0-rc-f38c22b244-20240704))(react@19.0.0-rc-f38c22b244-20240704):
next@15.0.1(@playwright/test@1.48.2)(react-dom@19.0.0-rc-f38c22b244-20240704(react@19.0.0-rc-fb9a90fa48-20240614))(react@19.0.0-rc-fb9a90fa48-20240614):
dependencies:
'@next/env': 15.0.1
'@swc/counter': 0.1.3
@ -1844,9 +1844,9 @@ snapshots:
busboy: 1.6.0
caniuse-lite: 1.0.30001651
postcss: 8.4.31
react: 19.0.0-rc-f38c22b244-20240704
react-dom: 19.0.0-rc-f38c22b244-20240704(react@19.0.0-rc-f38c22b244-20240704)
styled-jsx: 5.1.6(react@19.0.0-rc-f38c22b244-20240704)
react: 19.0.0-rc-fb9a90fa48-20240614
react-dom: 19.0.0-rc-f38c22b244-20240704(react@19.0.0-rc-fb9a90fa48-20240614)
styled-jsx: 5.1.6(react@19.0.0-rc-fb9a90fa48-20240614)
optionalDependencies:
'@next/swc-darwin-arm64': 15.0.1
'@next/swc-darwin-x64': 15.0.1
@ -1856,7 +1856,7 @@ snapshots:
'@next/swc-linux-x64-musl': 15.0.1
'@next/swc-win32-arm64-msvc': 15.0.1
'@next/swc-win32-x64-msvc': 15.0.1
'@playwright/test': 1.48.1
'@playwright/test': 1.48.2
sharp: 0.33.5
transitivePeerDependencies:
- '@babel/core'
@ -1936,11 +1936,11 @@ snapshots:
pirates@4.0.6: {}
playwright-core@1.48.1: {}
playwright-core@1.48.2: {}
playwright@1.48.1:
playwright@1.48.2:
dependencies:
playwright-core: 1.48.1
playwright-core: 1.48.2
optionalDependencies:
fsevents: 2.3.2
@ -2010,12 +2010,12 @@ snapshots:
primeicons@7.0.0: {}
primereact@10.8.4(@types/react@18.3.5)(react-dom@19.0.0-rc-f38c22b244-20240704(react@19.0.0-rc-f38c22b244-20240704))(react@19.0.0-rc-f38c22b244-20240704):
primereact@10.8.4(@types/react@18.3.5)(react-dom@19.0.0-rc-f38c22b244-20240704(react@19.0.0-rc-fb9a90fa48-20240614))(react@19.0.0-rc-fb9a90fa48-20240614):
dependencies:
'@types/react-transition-group': 4.4.11
react: 19.0.0-rc-f38c22b244-20240704
react-dom: 19.0.0-rc-f38c22b244-20240704(react@19.0.0-rc-f38c22b244-20240704)
react-transition-group: 4.4.5(react-dom@19.0.0-rc-f38c22b244-20240704(react@19.0.0-rc-f38c22b244-20240704))(react@19.0.0-rc-f38c22b244-20240704)
react: 19.0.0-rc-fb9a90fa48-20240614
react-dom: 19.0.0-rc-f38c22b244-20240704(react@19.0.0-rc-fb9a90fa48-20240614)
react-transition-group: 4.4.5(react-dom@19.0.0-rc-f38c22b244-20240704(react@19.0.0-rc-fb9a90fa48-20240614))(react@19.0.0-rc-fb9a90fa48-20240614)
optionalDependencies:
'@types/react': 18.3.5
@ -2027,23 +2027,23 @@ snapshots:
queue-microtask@1.2.3: {}
react-dom@19.0.0-rc-f38c22b244-20240704(react@19.0.0-rc-f38c22b244-20240704):
react-dom@19.0.0-rc-f38c22b244-20240704(react@19.0.0-rc-fb9a90fa48-20240614):
dependencies:
react: 19.0.0-rc-f38c22b244-20240704
react: 19.0.0-rc-fb9a90fa48-20240614
scheduler: 0.25.0-rc-f38c22b244-20240704
react-is@16.13.1: {}
react-transition-group@4.4.5(react-dom@19.0.0-rc-f38c22b244-20240704(react@19.0.0-rc-f38c22b244-20240704))(react@19.0.0-rc-f38c22b244-20240704):
react-transition-group@4.4.5(react-dom@19.0.0-rc-f38c22b244-20240704(react@19.0.0-rc-fb9a90fa48-20240614))(react@19.0.0-rc-fb9a90fa48-20240614):
dependencies:
'@babel/runtime': 7.25.7
dom-helpers: 5.2.1
loose-envify: 1.4.0
prop-types: 15.8.1
react: 19.0.0-rc-f38c22b244-20240704
react-dom: 19.0.0-rc-f38c22b244-20240704(react@19.0.0-rc-f38c22b244-20240704)
react: 19.0.0-rc-fb9a90fa48-20240614
react-dom: 19.0.0-rc-f38c22b244-20240704(react@19.0.0-rc-fb9a90fa48-20240614)
react@19.0.0-rc-f38c22b244-20240704: {}
react@19.0.0-rc-fb9a90fa48-20240614: {}
read-cache@1.0.0:
dependencies:
@ -2160,10 +2160,10 @@ snapshots:
dependencies:
ansi-regex: 6.0.1
styled-jsx@5.1.6(react@19.0.0-rc-f38c22b244-20240704):
styled-jsx@5.1.6(react@19.0.0-rc-fb9a90fa48-20240614):
dependencies:
client-only: 0.0.1
react: 19.0.0-rc-f38c22b244-20240704
react: 19.0.0-rc-fb9a90fa48-20240614
sucrase@3.35.0:
dependencies:
@ -2233,7 +2233,7 @@ snapshots:
typescript@5.6.3: {}
undici-types@6.19.6: {}
undici-types@6.19.8: {}
update-browserslist-db@1.1.0(browserslist@4.23.3):
dependencies:
@ -2241,9 +2241,9 @@ snapshots:
escalade: 3.1.2
picocolors: 1.0.1
use-debounce@10.0.4(react@19.0.0-rc-f38c22b244-20240704):
use-debounce@10.0.4(react@19.0.0-rc-fb9a90fa48-20240614):
dependencies:
react: 19.0.0-rc-f38c22b244-20240704
react: 19.0.0-rc-fb9a90fa48-20240614
utf-8-validate@6.0.4:
dependencies: