Compare commits

...

6 Commits

Author SHA1 Message Date
Renovate Bot
249389dc23 Update node Docker tag to v23
Some checks failed
Add copyright notice / copyright_notice (pull_request) Successful in 6m9s
Check usage of free licenses / build-static-assets (pull_request) Successful in 2m33s
Playwright Tests / test (pull_request) Failing after 1m34s
Build Nginx-based docker image / build-static-assets (pull_request) Successful in 21m23s
2024-10-28 23:08:07 +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
9 changed files with 42 additions and 32 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,6 +1,6 @@
# Based on https://github.com/vercel/next.js/blob/canary/examples/with-docker/Dockerfile
FROM node:22-alpine AS base
FROM node:23-alpine AS base
# Install dependencies only when needed
FROM base AS deps

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

@ -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"
},

58
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-f38c22b244-20240704(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-f38c22b244-20240704(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
@ -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
@ -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-f38c22b244-20240704(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-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.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-f38c22b244-20240704))(react@19.0.0-rc-f38c22b244-20240704):
dependencies:
'@next/env': 15.0.1
'@swc/counter': 0.1.3
@ -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
@ -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: