티스토리 뷰
깃헙 페이지를 만들고 글을 조금 썼다. 2017년 5월 10일에.
지금은 2022년 9월 5일이니, 1944일이 지났다.
(new Date('2022-09-05').getTime() - new Date('2017-05-10').getTime()) / (1000 * 3600 * 24)
1944일 된 Hexo 블로그를 업데이트 해보자!
우선 현재의 package.json
파일
{
"name": "hexo-site",
"version": "0.0.0",
"private": true,
"hexo": {
"version": "3.5.0"
},
"dependencies": {
"hexo": "^3.2.0",
"hexo-browsersync": "^0.3.0",
"hexo-deployer-git": "^0.3.1",
"hexo-generator-archive": "^0.1.4",
"hexo-generator-category": "^0.1.3",
"hexo-generator-index": "^0.2.0",
"hexo-generator-json-content": "^3.0.1",
"hexo-generator-tag": "^0.2.0",
"hexo-pagination": "^0.1.0",
"hexo-renderer-ejs": "^0.3.1",
"hexo-renderer-less": "^0.2.0",
"hexo-renderer-marked": "^0.3.2",
"hexo-renderer-stylus": "^0.3.1",
"hexo-server": "^0.3.1",
"hexo-tag-plantuml": "^1.0.0"
}
}
현재 Hexo 최신 버전은 6.2.0, 다행이 지속적으로 개발이 되고 있었다.
npm upgrade
Highlight.js 9 버전은 더이상 개발하지 않겠다는 메시지
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Verion 9 of Highlight.js has reached EOL. It will no longer
be supported or receive security updates in the future.
Please upgrade to version 10 or encourage your indirect
dependencies to do so.
For more info:
https://github.com/highlightjs/highlight.js/issues/2877
https://github.com/highlightjs/highlight.js/blob/master/VERSION_10_UPGRADE.md
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
업그레이드 하고 보니, package.json 에서 명시된 버전 내에서만 업그레이드가 진행되었다, 좀더 과격하게 업그레이드 하고 싶은데,
방법을 찾았다 요기서 -> Update All Packages To The Latest Version
npm install -g npm-check-updates
Node 12 상태에서 실행하면, 에러가 발생, Node 16 버전으로 변경후 실행함.
➜ sangpire.github.io git:(hexo) ✗ ncu
Checking /Users/sangpire/lab/sangpire.github.io/package.json
[====================] 15/15 100%
hexo ^3.2.0 → ^6.2.0
hexo-deployer-git ^0.3.1 → ^3.0.0
hexo-generator-archive ^0.1.4 → ^1.0.0
hexo-generator-category ^0.1.3 → ^1.0.0
hexo-generator-index ^0.2.0 → ^2.0.0
hexo-generator-json-content ^3.0.1 → ^4.2.3
hexo-generator-tag ^0.2.0 → ^1.0.0
hexo-pagination ^0.1.0 → ^2.0.0
hexo-renderer-ejs ^0.3.1 → ^2.0.0
hexo-renderer-less ^0.2.0 → ^4.0.0
hexo-renderer-marked ^0.3.2 → ^5.0.0
hexo-renderer-stylus ^0.3.1 → ^2.1.0
hexo-server ^0.3.1 → ^3.0.0
Run ncu -u to upgrade package.json
➜ sangpire.github.io git:(hexo) ✗
ncu -u
하면 upgrade 해주는 모양이다. 실행 후, npm install
까지 실행 완료.
diff --git a/package.json b/package.json
index 7f08c6e..41e020a 100644
--- a/package.json
+++ b/package.json
@@ -6,20 +6,20 @@
"version": "3.5.0"
},
"dependencies": {
- "hexo": "^3.2.0",
+ "hexo": "^6.2.0",
"hexo-browsersync": "^0.3.0",
- "hexo-deployer-git": "^0.3.1",
- "hexo-generator-archive": "^0.1.4",
- "hexo-generator-category": "^0.1.3",
- "hexo-generator-index": "^0.2.0",
- "hexo-generator-json-content": "^3.0.1",
- "hexo-generator-tag": "^0.2.0",
- "hexo-pagination": "^0.1.0",
- "hexo-renderer-ejs": "^0.3.1",
- "hexo-renderer-less": "^0.2.0",
- "hexo-renderer-marked": "^0.3.2",
- "hexo-renderer-stylus": "^0.3.1",
- "hexo-server": "^0.3.1",
+ "hexo-deployer-git": "^3.0.0",
+ "hexo-generator-archive": "^1.0.0",
+ "hexo-generator-category": "^1.0.0",
+ "hexo-generator-index": "^2.0.0",
+ "hexo-generator-json-content": "^4.2.3",
+ "hexo-generator-tag": "^1.0.0",
+ "hexo-pagination": "^2.0.0",
+ "hexo-renderer-ejs": "^2.0.0",
+ "hexo-renderer-less": "^4.0.0",
+ "hexo-renderer-marked": "^5.0.0",
+ "hexo-renderer-stylus": "^2.1.0",
+ "hexo-server": "^3.0.0",
"hexo-tag-plantuml": "^1.0.0"
}
}
(END)
오 모두 업뎃 되었다.
hexo cli 를 설치 후, 로컬에서 서버를 띄워본다,
npm install hexo-cli -g
hexo server --draft
오.. 발행되지 않은 글들이 나온다.
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- Java
- Coffeescript
- Widget
- 커피스크립트
- 리액터
- VI
- console
- dojo
- Windows
- VIM
- React
- gvim
- Commonjs
- REACTOR
- tipoftheday
- 빔
- Configuration
- intellij
- 리액티브프로그래밍
- Eclipse
- Node.js
- 자바
- Git
- 스프링인액션
- 자바스크립트
- unit test
- JavaScript
- maven
- reactiveprogramming
- 윈도우즈
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
글 보관함