Skip to content

Commit df36fd1

Browse files
committed
Update to layouts v3
1 parent 349f267 commit df36fd1

File tree

4 files changed

+10
-29
lines changed

4 files changed

+10
-29
lines changed

examples/blueprint.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ export const handler: Handler<Options> = async ({ logger }) => {
4747
.use(
4848
layouts({
4949
default: 'default.hbs',
50+
transform: 'handlebars',
5051
engineOptions: {
5152
noEscape: true,
5253
helpers: handlebarsHelpers,

package-lock.json

Lines changed: 6 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
"npm": ">= 10.9.0"
8282
},
8383
"peerDependencies": {
84-
"@metalsmith/layouts": "^2.7.0",
84+
"@metalsmith/layouts": "^3.0.0",
8585
"@seamapi/blueprint": ">=0.43.1",
8686
"del": "^8.0.0",
8787
"eslint": "^8.9.0",
@@ -103,7 +103,7 @@
103103
"glob": "^11.0.2"
104104
},
105105
"devDependencies": {
106-
"@metalsmith/layouts": "^2.7.0",
106+
"@metalsmith/layouts": "^3.0.0",
107107
"@seamapi/blueprint": "^0.43.1",
108108
"@seamapi/types": "^1.402.0",
109109
"@swc/core": "^1.11.29",

tsconfig.base.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"noUnusedParameters": true,
2323
"noUnusedLocals": true,
2424
"forceConsistentCasingInFileNames": true,
25+
"skipLibCheck": true,
2526
"baseUrl": "./"
2627
}
2728
}

0 commit comments

Comments
 (0)