Compare commits

...

6 Commits

Author SHA1 Message Date
Renovate Bot
34393ba32c Update dependency react-dom to v19.0.0-rc-fb9a90fa48-20240614
Some checks failed
Add copyright notice / copyright_notice (pull_request) Successful in 2m46s
Playwright Tests / test (pull_request) Failing after 1m34s
Check usage of free licenses / build-static-assets (pull_request) Successful in 1m51s
Build Nginx-based docker image / build-static-assets (pull_request) Failing after 16m54s
2024-10-28 23:07:40 +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 59 additions and 49 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

@ -18,7 +18,7 @@
"primeicons": "^7.0.0",
"primereact": "^10.8.2",
"react": "19.0.0-rc-f38c22b244-20240704",
"react-dom": "19.0.0-rc-f38c22b244-20240704",
"react-dom": "19.0.0-rc-fb9a90fa48-20240614",
"tailwindcss": "3.4.14",
"typescript": "5.6.3",
"use-debounce": "^10.0.1",
@ -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"
},

92
pnpm-lock.yaml generated
View File

@ -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-fb9a90fa48-20240614(react@19.0.0-rc-f38c22b244-20240704))(react@19.0.0-rc-f38c22b244-20240704)
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-fb9a90fa48-20240614(react@19.0.0-rc-f38c22b244-20240704))(react@19.0.0-rc-f38c22b244-20240704))(react@19.0.0-rc-f38c22b244-20240704)
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-fb9a90fa48-20240614(react@19.0.0-rc-f38c22b244-20240704))(react@19.0.0-rc-f38c22b244-20240704)
react:
specifier: 19.0.0-rc-f38c22b244-20240704
version: 19.0.0-rc-f38c22b244-20240704
react-dom:
specifier: 19.0.0-rc-f38c22b244-20240704
version: 19.0.0-rc-f38c22b244-20240704(react@19.0.0-rc-f38c22b244-20240704)
specifier: 19.0.0-rc-fb9a90fa48-20240614
version: 19.0.0-rc-fb9a90fa48-20240614(react@19.0.0-rc-f38c22b244-20240704)
tailwindcss:
specifier: 3.4.14
version: 3.4.14
@ -62,13 +62,13 @@ importers:
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
@ -983,10 +983,10 @@ packages:
queue-microtask@1.2.3:
resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==}
react-dom@19.0.0-rc-f38c22b244-20240704:
resolution: {integrity: sha512-g89q2pf3irdpKFUMgCQgtxgqo3TSV1k1J6Sc8God4FwfxuNmAOOthkijENe5XZe6VeV1tor9DPzpjdTD9EyvNw==}
react-dom@19.0.0-rc-fb9a90fa48-20240614:
resolution: {integrity: sha512-PoEsPe32F7KPLYOBvZfjylEI1B67N44PwY3lyvpmBkhlluLnLz0jH8q2Wg9YidAi6z0k3iUnNRm5x10wurzt9Q==}
peerDependencies:
react: 19.0.0-rc-f38c22b244-20240704
react: 19.0.0-rc-fb9a90fa48-20240614
react-is@16.13.1:
resolution: {integrity: sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==}
@ -1034,8 +1034,8 @@ packages:
safe-buffer@5.2.1:
resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==}
scheduler@0.25.0-rc-f38c22b244-20240704:
resolution: {integrity: sha512-uAELK9fHhvg7kDQhk29+uO8FUMWUpkg9WpzkNXFP+BJy5HEtqnajde3CxuSgh202WH9TqoaiWT1mdA3DvUu6cQ==}
scheduler@0.25.0-rc-fb9a90fa48-20240614:
resolution: {integrity: sha512-HHqQ/SqbeiDfXXVKgNxTpbQTD4n7IUb4hZATvHjp03jr3TF7igehCyHdOjeYTrzIseLO93cTTfSb5f4qWcirMQ==}
semver@6.3.1:
resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==}
@ -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==}
@ -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-fb9a90fa48-20240614(react@19.0.0-rc-f38c22b244-20240704))(react@19.0.0-rc-f38c22b244-20240704))(react@19.0.0-rc-f38c22b244-20240704):
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)
next: 15.0.1(@playwright/test@1.48.2)(react-dom@19.0.0-rc-fb9a90fa48-20240614(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.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-fb9a90fa48-20240614(react@19.0.0-rc-f38c22b244-20240704))(react@19.0.0-rc-f38c22b244-20240704):
dependencies:
'@next/env': 15.0.1
'@swc/counter': 0.1.3
@ -1845,7 +1845,7 @@ snapshots:
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)
react-dom: 19.0.0-rc-fb9a90fa48-20240614(react@19.0.0-rc-f38c22b244-20240704)
styled-jsx: 5.1.6(react@19.0.0-rc-f38c22b244-20240704)
optionalDependencies:
'@next/swc-darwin-arm64': 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-fb9a90fa48-20240614(react@19.0.0-rc-f38c22b244-20240704))(react@19.0.0-rc-f38c22b244-20240704):
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-dom: 19.0.0-rc-fb9a90fa48-20240614(react@19.0.0-rc-f38c22b244-20240704)
react-transition-group: 4.4.5(react-dom@19.0.0-rc-fb9a90fa48-20240614(react@19.0.0-rc-f38c22b244-20240704))(react@19.0.0-rc-f38c22b244-20240704)
optionalDependencies:
'@types/react': 18.3.5
@ -2027,21 +2027,21 @@ 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-fb9a90fa48-20240614(react@19.0.0-rc-f38c22b244-20240704):
dependencies:
react: 19.0.0-rc-f38c22b244-20240704
scheduler: 0.25.0-rc-f38c22b244-20240704
scheduler: 0.25.0-rc-fb9a90fa48-20240614
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-fb9a90fa48-20240614(react@19.0.0-rc-f38c22b244-20240704))(react@19.0.0-rc-f38c22b244-20240704):
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-dom: 19.0.0-rc-fb9a90fa48-20240614(react@19.0.0-rc-f38c22b244-20240704)
react@19.0.0-rc-f38c22b244-20240704: {}
@ -2079,7 +2079,7 @@ snapshots:
safe-buffer@5.2.1: {}
scheduler@0.25.0-rc-f38c22b244-20240704: {}
scheduler@0.25.0-rc-fb9a90fa48-20240614: {}
semver@6.3.1: {}
@ -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: