mirror of
https://github.com/gethinode/hinode.git
synced 2025-10-09 11:03:13 +00:00
Compare commits
7 Commits
v0.20.0-al
...
v0.20.0
Author | SHA1 | Date | |
---|---|---|---|
![]() |
b4f7163913 | ||
![]() |
6ef4738619 | ||
![]() |
333e4c3e07 | ||
![]() |
705900dd27 | ||
![]() |
363b6293af | ||
![]() |
97ef22d3fb | ||
![]() |
f7fa573347 |
32
netlify.toml
32
netlify.toml
@@ -1,25 +1,15 @@
|
|||||||
# toml-docs-start netlify
|
# toml-docs-start netlify
|
||||||
[build]
|
[build]
|
||||||
publish = "exampleSite/public"
|
publish = "exampleSite/public"
|
||||||
|
command = "npm run build:example"
|
||||||
|
|
||||||
[build.environment]
|
[build.environment]
|
||||||
NODE_VERSION = "18.17.1"
|
|
||||||
NPM_VERSION = "9.6.7"
|
|
||||||
|
|
||||||
[context.production]
|
|
||||||
command = """\
|
|
||||||
curl -LJO https://github.com/sass/dart-sass/releases/download/${DART_SASS_VERSION}/dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz && \
|
|
||||||
tar -xf dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz && \
|
|
||||||
rm dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz && \
|
|
||||||
export PATH=/opt/build/repo/dart-sass:$PATH && \
|
|
||||||
npm run build:example \
|
|
||||||
"""
|
|
||||||
|
|
||||||
[context.production.environment]
|
|
||||||
DART_SASS_VERSION = "1.66.1"
|
DART_SASS_VERSION = "1.66.1"
|
||||||
HUGO_VERSION = "0.118.2"
|
HUGO_VERSION = "0.118.2"
|
||||||
HUGO_ENV = "production"
|
HUGO_ENV = "production"
|
||||||
HUGO_ENABLEGITINFO = "true"
|
HUGO_ENABLEGITINFO = "true"
|
||||||
|
NODE_VERSION = "18.17.1"
|
||||||
|
NPM_VERSION = "9.6.7"
|
||||||
# toml-docs-end netlify
|
# toml-docs-end netlify
|
||||||
|
|
||||||
[[headers]]
|
[[headers]]
|
||||||
@@ -81,3 +71,19 @@
|
|||||||
port = 8888
|
port = 8888
|
||||||
publish = "public"
|
publish = "public"
|
||||||
autoLaunch = false
|
autoLaunch = false
|
||||||
|
|
||||||
|
# toml-docs-start plugins
|
||||||
|
[[plugins]]
|
||||||
|
package = "@gethinode/netlify-plugin-dartsass"
|
||||||
|
|
||||||
|
[[plugins]]
|
||||||
|
package = "netlify-plugin-hugo-cache-resources"
|
||||||
|
[plugins.inputs]
|
||||||
|
# Redirected in exampleSite/config/_default/hugo.toml
|
||||||
|
# srcdir = ""
|
||||||
|
|
||||||
|
[[plugins]]
|
||||||
|
package = "@netlify/plugin-lighthouse"
|
||||||
|
# [plugins.inputs]
|
||||||
|
# output_path = "reports/lighthouse.html"
|
||||||
|
# toml-docs-end plugins
|
||||||
|
3298
package-lock.json
generated
3298
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@gethinode/hinode",
|
"name": "@gethinode/hinode",
|
||||||
"version": "0.20.0-alpha",
|
"version": "0.20.0",
|
||||||
"description": "Hinode is a clean documentation and blog theme for Hugo, an open-source static site generator",
|
"description": "Hinode is a clean documentation and blog theme for Hugo, an open-source static site generator",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"hugo",
|
"hugo",
|
||||||
@@ -67,6 +67,8 @@
|
|||||||
"homepage": "https://gethinode.com",
|
"homepage": "https://gethinode.com",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@fullhuman/postcss-purgecss": "^5.0.0",
|
"@fullhuman/postcss-purgecss": "^5.0.0",
|
||||||
|
"@gethinode/netlify-plugin-dartsass": "^0.2.0",
|
||||||
|
"@netlify/plugin-lighthouse": "^5.0.0",
|
||||||
"autoprefixer": "^10.4.15",
|
"autoprefixer": "^10.4.15",
|
||||||
"cssnano": "^6.0.1",
|
"cssnano": "^6.0.1",
|
||||||
"cssnano-preset-advanced": "^6.0.1",
|
"cssnano-preset-advanced": "^6.0.1",
|
||||||
@@ -77,6 +79,7 @@
|
|||||||
"eslint-plugin-promise": "^6.1.1",
|
"eslint-plugin-promise": "^6.1.1",
|
||||||
"hugo-bin": "^0.114.2",
|
"hugo-bin": "^0.114.2",
|
||||||
"markdownlint-cli2": "^0.9.2",
|
"markdownlint-cli2": "^0.9.2",
|
||||||
|
"netlify-plugin-hugo-cache-resources": "^0.2.1",
|
||||||
"npm-run-all": "^4.1.5",
|
"npm-run-all": "^4.1.5",
|
||||||
"postcss-cli": "^10.1.0",
|
"postcss-cli": "^10.1.0",
|
||||||
"purgecss-whitelister": "^2.4.0",
|
"purgecss-whitelister": "^2.4.0",
|
||||||
|
Reference in New Issue
Block a user