chore: replace sass lib

This commit is contained in:
uetchy 2022-06-22 15:17:37 +09:00
parent fc3d5f5abb
commit 9c176438b2
3 changed files with 18 additions and 15 deletions

View File

@ -1,16 +1,17 @@
FROM node:15 as build FROM node:16 as build
# https://github.com/jgm/pandoc/releases # https://github.com/jgm/pandoc/releases
RUN curl -LO https://github.com/jgm/pandoc/releases/download/2.14.0.1/pandoc-2.14.0.1-1-amd64.deb RUN curl -LO https://github.com/jgm/pandoc/releases/download/2.14.0.1/pandoc-2.14.0.1-1-amd64.deb
RUN dpkg -i pandoc-2.14.0.1-1-amd64.deb RUN dpkg -i pandoc-2.14.0.1-1-amd64.deb
WORKDIR /app WORKDIR /app
COPY package.json /app/
RUN yarn install
COPY themes /app/themes COPY package.json yarn.lock ./
COPY source /app/source RUN yarn install --frozen-lockfile
COPY _config.yml /app/
COPY themes themes
COPY source source
COPY _config.yml ./
RUN yarn build RUN yarn build
FROM nginx:stable-alpine as runtime FROM nginx:stable-alpine as runtime

View File

@ -28,6 +28,9 @@ node_sass:
precision: 5 precision: 5
sourceComments: false sourceComments: false
sass:
outputStyle: expanded
# URL # URL
## If your site is put in a subdirectory, set url as 'http://example.com/child' and root as '/child/' ## If your site is put in a subdirectory, set url as 'http://example.com/child' and root as '/child/'
url: https://uechi.io url: https://uechi.io
@ -142,4 +145,3 @@ feed:
atom: atom:
enable: true enable: true
output: "feed.xml" output: "feed.xml"

View File

@ -9,27 +9,27 @@
"test": "lint-staged" "test": "lint-staged"
}, },
"dependencies": { "dependencies": {
"hexo": "^6.0.0", "hexo": "6.0.0",
"hexo-excerpt": "^1.2.1", "hexo-excerpt": "^1.3.0",
"hexo-feed": "^1.1.0", "hexo-feed": "^1.1.0",
"hexo-filter-mathjax": "^0.8.0", "hexo-filter-mathjax": "^0.8.1",
"hexo-generator-archive": "^1.0.0", "hexo-generator-archive": "^1.0.0",
"hexo-generator-category": "^1.0.0", "hexo-generator-category": "^1.0.0",
"hexo-generator-index": "^2.0.0", "hexo-generator-index": "^2.0.0",
"hexo-generator-tag": "^1.0.0", "hexo-generator-tag": "^1.0.0",
"hexo-renderer-dartsass": "^0.1.2",
"hexo-renderer-ejs": "^2.0.0", "hexo-renderer-ejs": "^2.0.0",
"hexo-renderer-pandoc": "^0.3.1", "hexo-renderer-pandoc": "^0.3.1",
"hexo-renderer-sass": "^0.4.0", "hexo-renderer-stylus": "^2.1.0",
"hexo-renderer-stylus": "^2.0.0",
"hexo-server": "^3.0.0", "hexo-server": "^3.0.0",
"hexo-theme-landscape": "^0.0.3" "hexo-theme-landscape": "^0.0.3"
}, },
"devDependencies": { "devDependencies": {
"textlint": "^11.9.0", "textlint": "^12.1.1",
"textlint-filter-rule-whitelist": "^2.0.0", "textlint-filter-rule-whitelist": "^2.0.0",
"textlint-rule-common-misspellings": "^1.0.1", "textlint-rule-common-misspellings": "^1.0.1",
"textlint-rule-no-start-duplicated-conjunction": "^2.0.2", "textlint-rule-no-start-duplicated-conjunction": "^2.0.2",
"textlint-rule-preset-japanese": "^6.0.1" "textlint-rule-preset-japanese": "^7.0.0"
}, },
"hexo": { "hexo": {
"version": "6.0.0" "version": "6.0.0"