Skip to content

Commit 3d64281

Browse files
author
1000ch
committed
Use Node.js 20 and npm 10
1 parent 06f64ab commit 3d64281

File tree

3 files changed

+867
-1679
lines changed

3 files changed

+867
-1679
lines changed

Gruntfile.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
"use strict";
2-
31
let fs = require("fs");
42
let yaml = require("js-yaml");
53

64
const articles = "articles";
7-
const bookConfig = yaml.safeLoad(fs.readFileSync(`${articles}/config.yml`, "utf8"));
5+
const bookConfig = yaml.load(fs.readFileSync(`${articles}/config.yml`, "utf8"));
86

97
const reviewPrefix = process.env["REVIEW_PREFIX"] || "bundle exec ";
108
const reviewPostfix = process.env["REVIEW_POSTFIX"] || ""; // REVIEW_POSTFIX="-peg" npm run pdf とかするとPEGでビルドできるよ

0 commit comments

Comments
 (0)