Skip to content

Commit 7d95a14

Browse files
authored
Updated dependencies (#40)
1 parent 99b937a commit 7d95a14

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+12559
-9462
lines changed

.copier-answers.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Changes here will be overwritten by Copier; NEVER EDIT MANUALLY
2-
_commit: 0.8.0
2+
_commit: 0.9.0
33
_src_path: gh:quickplates/meta
44
accountname: quickplates
55
description: React app template ⚛️

.devcontainer/devcontainer.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -249,15 +249,15 @@
249249
"ghcr.io/devcontainers/features/nix:1.2.0": {
250250
// Enable experimental features
251251
"extraNixConfig": "experimental-features = nix-command flakes",
252-
"version": "2.20.5"
252+
"version": "2.26.2"
253253
},
254254
// Install Direnv
255-
"ghcr.io/devcontainers-contrib/features/direnv:1.0.2": {
256-
"version": "2.34.0"
255+
"ghcr.io/devcontainers-extra/features/direnv:1.0.2": {
256+
"version": "2.35.0"
257257
},
258258
// Install Starship
259-
"ghcr.io/devcontainers-contrib/features/starship:1.0.9": {
260-
"version": "1.17.1"
259+
"ghcr.io/devcontainers-extra/features/starship:1.0.9": {
260+
"version": "1.22.1"
261261
}
262262
},
263263
// Volumes

.devcontainer/image/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# It also has git, zsh and a bunch of other stuff preinstalled
44
# Also, it includes a non-root 'vscode' user with sudo access
55
# The version is pinned to ensure reproducibility
6-
FROM mcr.microsoft.com/devcontainers/base:1.0.22-ubuntu-22.04
6+
FROM mcr.microsoft.com/devcontainers/base:1.2.3-ubuntu-24.04
77

88
ENV REMOTE_USER=vscode
99

.github/workflows/example.yaml

+10-9
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
build:
2828
name: Build template
2929
# Pin version of Ubuntu to avoid breaking changes
30-
runs-on: ubuntu-22.04
30+
runs-on: ubuntu-24.04
3131
# Use reasonable timeout to avoid stuck workflows
3232
timeout-minutes: 10
3333
env:
@@ -37,18 +37,18 @@ jobs:
3737
contents: read
3838
steps:
3939
- name: Checkout code
40-
uses: actions/checkout@v4.1.1
40+
uses: actions/checkout@v4.2.2
4141
- name: Setup Nix cache
42-
uses: actions/cache@v4.0.1
42+
uses: actions/cache@v4.2.1
4343
id: cache-nix
4444
with:
4545
path: ${{ env.NIX_CACHE_DIR }}
4646
key: example-nix
4747
- name: Install Nix
48-
uses: cachix/install-nix-action@v26
48+
uses: cachix/install-nix-action@v30
4949
with:
5050
github_access_token: ${{ github.token }}
51-
install_url: https://releases.nixos.org/nix/nix-2.20.5/install
51+
install_url: https://releases.nixos.org/nix/nix-2.26.2/install
5252
# See: https://github.com/cachix/install-nix-action/issues/56
5353
- name: Import Nix store cache
5454
if: steps.cache-nix.outputs.cache-hit == 'true'
@@ -88,8 +88,9 @@ jobs:
8888
archive.tar
8989
./
9090
- name: Upload artifact
91-
uses: actions/upload-artifact@v4.3.1
91+
uses: actions/upload-artifact@v4.6.0
9292
with:
93+
include-hidden-files: true
9394
name: build
9495
path: archive.tar
9596
# See: https://github.com/cachix/install-nix-action/issues/56
@@ -108,12 +109,12 @@ jobs:
108109
# Run only if build job succeeded
109110
needs: build
110111
# Pin version of Ubuntu to avoid breaking changes
111-
runs-on: ubuntu-22.04
112+
runs-on: ubuntu-24.04
112113
# Use reasonable timeout to avoid stuck workflows
113114
timeout-minutes: 10
114115
steps:
115116
- name: Download artifact
116-
uses: actions/[email protected].4
117+
uses: actions/[email protected].8
117118
with:
118119
name: build
119120
- name: Extract archive
@@ -130,7 +131,7 @@ jobs:
130131
--file
131132
archive.tar
132133
- name: Checkout example repository
133-
uses: actions/checkout@v4.1.1
134+
uses: actions/checkout@v4.2.2
134135
with:
135136
repository: quickplates/react-example
136137
token: ${{ secrets.EXAMPLES_ACCESS_TOKEN }}

.github/workflows/lint.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
lint:
1818
name: Lint
1919
# Pin version of Ubuntu to avoid breaking changes
20-
runs-on: ubuntu-22.04
20+
runs-on: ubuntu-24.04
2121
# Use reasonable timeout to avoid stuck workflows
2222
timeout-minutes: 10
2323
env:
@@ -28,7 +28,7 @@ jobs:
2828
contents: read
2929
steps:
3030
- name: Checkout code
31-
uses: actions/checkout@v4.1.1
31+
uses: actions/checkout@v4.2.2
3232
# We need to fetch upstream so Trunk can compare against it
3333
- name: Fetch upstream
3434
if: github.event_name == 'pull_request'
@@ -38,21 +38,21 @@ jobs:
3838
origin
3939
${{ github.event.pull_request.base.ref }}
4040
- name: Setup Nix cache
41-
uses: actions/cache@v4.0.1
41+
uses: actions/cache@v4.2.1
4242
id: cache-nix
4343
with:
4444
path: ${{ env.NIX_CACHE_DIR }}
4545
key: lint-nix
4646
- name: Setup Trunk cache
47-
uses: actions/cache@v4.0.1
47+
uses: actions/cache@v4.2.1
4848
with:
4949
path: ${{ env.TRUNK_CACHE_DIR }}
5050
key: lint-trunk
5151
- name: Install Nix
52-
uses: cachix/install-nix-action@v26
52+
uses: cachix/install-nix-action@v30
5353
with:
5454
github_access_token: ${{ github.token }}
55-
install_url: https://releases.nixos.org/nix/nix-2.20.5/install
55+
install_url: https://releases.nixos.org/nix/nix-2.26.2/install
5656
# See: https://github.com/cachix/install-nix-action/issues/56
5757
- name: Import Nix store cache
5858
if: steps.cache-nix.outputs.cache-hit == 'true'

.github/workflows/test.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
test:
3636
name: Test
3737
# Pin version of Ubuntu to avoid breaking changes
38-
runs-on: ubuntu-22.04
38+
runs-on: ubuntu-24.04
3939
# Use reasonable timeout to avoid stuck workflows
4040
timeout-minutes: 30
4141
env:
@@ -46,23 +46,23 @@ jobs:
4646
contents: read
4747
steps:
4848
- name: Checkout code
49-
uses: actions/checkout@v4.1.1
49+
uses: actions/checkout@v4.2.2
5050
- name: Setup Nix cache
51-
uses: actions/cache@v4.0.1
51+
uses: actions/cache@v4.2.1
5252
id: cache-nix
5353
with:
5454
path: ${{ env.NIX_CACHE_DIR }}
5555
key: test-nix
5656
- name: Setup Trunk cache
57-
uses: actions/cache@v4.0.1
57+
uses: actions/cache@v4.2.1
5858
with:
5959
path: ${{ env.TRUNK_CACHE_DIR }}
6060
key: test-trunk
6161
- name: Install Nix
62-
uses: cachix/install-nix-action@v26
62+
uses: cachix/install-nix-action@v30
6363
with:
6464
github_access_token: ${{ github.token }}
65-
install_url: https://releases.nixos.org/nix/nix-2.20.5/install
65+
install_url: https://releases.nixos.org/nix/nix-2.26.2/install
6666
# See: https://github.com/cachix/install-nix-action/issues/56
6767
- name: Import Nix store cache
6868
if: steps.cache-nix.outputs.cache-hit == 'true'

.trunk/configs/.yamllint.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
rules:
22
line-length:
33
allow-non-breakable-words: true
4+
allow-non-breakable-inline-mappings: true

.trunk/trunk.yaml

+23-14
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
version: 0.1
22
cli:
3-
version: 1.20.1
3+
version: 1.22.8
44
plugins:
55
sources:
66
- id: trunk
7-
ref: v1.4.4
7+
ref: v1.6.7
88
uri: https://github.com/trunk-io/plugins
99
runtimes:
1010
enabled:
1111
# Needed for gitleaks, shfmt
12-
- go@1.22.1
12+
- go@1.23.6
1313
# Needed for markdownlint, prettier, svgo
14-
- node@21.7.1
14+
- node@22.14.0
1515
# Needed for black, ruff, yamllint
16-
- python@3.11.6
16+
- python@3.12.2
1717
lint:
1818
ignore:
1919
- linters: [ALL]
@@ -57,34 +57,43 @@ lint:
5757
check
5858
path:${target}
5959
success_codes: [0, 1]
60+
# Override default Prettier definition
61+
- name: prettier
62+
commands:
63+
- name: format
64+
run: >-
65+
prettier
66+
--no-error-on-unmatched-pattern
67+
--write
68+
${target}
6069
enabled:
6170
# GitHub Actions linting
62-
- actionlint@1.6.27
71+
- actionlint@1.7.7
6372
# Python formatting
64-
- black@24.2.0
73+
- black@25.1.0
6574
# Check for whitespace errors
6675
- git-diff-check
6776
# Check for secrets in the code
68-
- gitleaks@8.18.2
77+
- gitleaks@8.23.3
6978
# Dockerfile linting
7079
7180
# Markdown linting
72-
- markdownlint@0.39.0
81+
- markdownlint@0.44.0
7382
# Nix formatting check
7483
- nix-fmt-check@SYSTEM
7584
# Nix flake check
7685
- nix-flake-check@SYSTEM
7786
# JS, JSON, YAML, Markdown formatting
78-
- prettier@3.0.2
87+
- prettier@3.5.1
7988
# Python linting
80-
- ruff@0.3.2
89+
- ruff@0.9.6
8190
# Shell linting
8291
8392
# Shell formatting
84-
- shfmt@3.8.0
93+
- shfmt@3.10.0
8594
# SVG formatting
86-
- svgo@3.2.0
95+
- svgo@3.3.2
8796
# TOML formatting
88-
- taplo@0.8.1
97+
- taplo@0.9.3
8998
# YAML linting
9099

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT No Attribution
22

3-
Copyright (c) 2024 quickplates
3+
Copyright (c) 2025 quickplates
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy of this
66
software and associated documentation files (the "Software"), to deal in the Software

Taskfile.dist.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: "3"
1+
version: "3.39"
22

33
tasks:
44
template:

flake.lock

+13-19
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
inputs = {
33
nixpkgs = {
4-
url = "github:NixOS/nixpkgs/nixpkgs-unstable";
4+
url = "github:NixOS/nixpkgs/nixos-24.11";
55
};
66

77
flake-parts = {
@@ -35,7 +35,7 @@
3535
system,
3636
...
3737
}: let
38-
python = pkgs.python311.withPackages (ps: [ps.pytest ps.plumbum]);
38+
python = pkgs.python312.withPackages (ps: [ps.pytest ps.plumbum]);
3939
nil = pkgs.nil;
4040
task = pkgs.go-task;
4141
coreutils = pkgs.coreutils;

0 commit comments

Comments
 (0)