Skip to content

Commit 35b3745

Browse files
authored
Merge pull request #265 from davidwesst/chore/update-environment
Updated 11ty and Supporting Packages
2 parents 08c10ab + 55a6c15 commit 35b3745

File tree

4 files changed

+600
-777
lines changed

4 files changed

+600
-777
lines changed

.devcontainer/devcontainer.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,13 @@
1313
},
1414
"features": {
1515
"ghcr.io/devcontainers/features/git-lfs:1": {},
16-
"ghcr.io/devcontainers/features/github-cli:1": {},
17-
"ghcr.io/devcontainers-contrib/features/act-asdf:2": {}
16+
"ghcr.io/devcontainers/features/github-cli:1": {}
1817
},
1918
"customizations": {
2019
"vscode": {
2120
"extensions": [
2221
"GitHub.vscode-pull-request-github",
23-
"DavidAnson.vscode-markdownlint",
24-
"streetsidesoftware.code-spell-checker"
22+
"DavidAnson.vscode-markdownlint"
2523
]
2624
}
2725
},

.devcontainer/postCreateCommand.sh

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#!/usr/bin/env bash
2+
3+
set -e
4+
5+
echo "Updating npm to latest version..."
6+
npm install -g npm@latest
7+
8+
echo "Installing Playwright dependencies..."
9+
npx playwright install --with-deps
10+
11+
echo "Installing project dependencies..."
12+
npm install
13+
14+
echo "Pulling Git LFS files..."
15+
if command -v git-lfs &> /dev/null; then
16+
git lfs install
17+
git lfs pull
18+
else
19+
echo "Git LFS not installed. Installing Git LFS..."
20+
sudo apt-get update && sudo apt-get install -y git-lfs
21+
git lfs install
22+
git lfs pull
23+
fi
24+
25+
echo "Post-create steps completed."

0 commit comments

Comments
 (0)