Skip to content

Commit 40adb22

Browse files
authored
Merge pull request #188 from cryptomator/feature/update-to-hugo-0.166.0
Bump Hugo to 0.166.0 and hoist node_modules
2 parents c422b29 + be4ed62 commit 40adb22

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

‎.github/workflows/gh-pages.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Setup Hugo
1919
uses: peaceiris/actions-hugo@2752ce1d29631191ea3f27c23495fa06139a5b78 # v3.2.1
2020
with:
21-
hugo-version: '0.165.0'
21+
hugo-version: '0.166.0'
2222
extended: true
2323
- uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
2424
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0

‎pnpm-workspace.yaml‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,9 @@ minimumReleaseAgeExclude:
3434
# find that script; it understands a symlink but not pnpm's shim, and
3535
# otherwise fails with `binary "tailwindcss" is not a Node.js script`.
3636
preferSymlinkedExecutables: true
37+
38+
# Lay out node_modules flat and without symlinks, like npm does. We mount
39+
# several node_modules packages into assets/, and Hugo (0.166+) drops any
40+
# mount whose source path goes through a symlink; pnpm's default isolated
41+
# layout links every package via node_modules/.pnpm/.
42+
nodeLinker: hoisted

0 commit comments

Comments
 (0)