File tree Expand file tree Collapse file tree 7 files changed +8819
-6948
lines changed
Expand file tree Collapse file tree 7 files changed +8819
-6948
lines changed Original file line number Diff line number Diff line change 5858 cache : ' npm'
5959 cache-dependency-path : ' **/package-lock.json'
6060
61+ - name : Install Dart Sass
62+ run : |
63+ if [ "$RUNNER_OS" == "Linux" ]; then
64+ sudo snap install dart-sass
65+ elif [ "$RUNNER_OS" == "macOS" ]; then
66+ brew install sass/sass/sass
67+ elif [ "$RUNNER_OS" == "Windows" ]; then
68+ choco install sass
69+ fi
70+ shell : bash
71+
6172 # [24/AUG/23] Adjusted from npm ci for non-macOS to prevent EBADPLATFORM error due to fsevents
6273 - name : Perform clean install of npm
6374 run : |
Original file line number Diff line number Diff line change 88 [main .externalLinks ]
99 cue = false
1010 tab = false
11+ [main .build ]
12+ transpiler = " libsass"
1113
1214[modules ]
1315 core = [" bootstrap" , " flexsearch" , " fontawesome" ]
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ module github.com/gethinode/template
33go 1.20
44
55require (
6- github.com/gethinode/hinode v0.19 .0 // indirect
6+ github.com/gethinode/hinode v0.20 .0 // indirect
77 github.com/nextapps-de/flexsearch v0.0.0-20230711092928-1243fd883ec3 // indirect
88 github.com/twbs/bootstrap v5.3.0+incompatible // indirect
99)
Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ github.com/gethinode/hinode v0.18.5 h1:6oKtmz2EPfOMY6sy15GWDIJcpjlsswPl78ZqwsCvc
1616github.com/gethinode/hinode v0.18.5 /go.mod h1:TcI/H42BxRS4UNqz9/bC246sYC6z3Ssfv0ZuOF5wEpM =
1717github.com/gethinode/hinode v0.18.6 h1:AWzrwNOEtRIs67FjNCmeN4yL/bXf1FbCTAqHg2FfQiQ =
1818github.com/gethinode/hinode v0.18.6 /go.mod h1:TcI/H42BxRS4UNqz9/bC246sYC6z3Ssfv0ZuOF5wEpM =
19+ github.com/gethinode/hinode v0.20.0 h1:A6lxLIdKUMHOFWz9D7iQaSpqcMlKDPK1e/Cs3/SV1P8 =
20+ github.com/gethinode/hinode v0.20.0 /go.mod h1:/q/TH3TlGSzBHunDb3TdrpO7Zrckr0CeLay/Qpj9uWQ =
1921github.com/gethinode/hinode v0.18.7 h1:I2MwE1K2E7TjTiPaHUNGNLrD0FGxN0oS3svMlluGrmE =
2022github.com/gethinode/hinode v0.18.7 /go.mod h1:TcI/H42BxRS4UNqz9/bC246sYC6z3Ssfv0ZuOF5wEpM =
2123github.com/gethinode/hinode v0.19.0 h1:7QDAA0RGUvFJMlmzoBfUy8b27yI5+84xPBc5/1qfWrU =
Original file line number Diff line number Diff line change 11[build ]
22 publish = " public"
3- functions = " functions"
4-
5- [build .environment ]
6- NODE_VERSION = " 18.16.1"
7- NPM_VERSION = " 9.5.1"
8-
9- [context .production ]
103 command = " npm run build"
114
12- [context .production .environment ]
13- HUGO_VERSION = " 0.110.0"
5+ [build .environment ]
6+ DART_SASS_VERSION = " 1.66.1"
7+ HUGO_VERSION = " 0.118.2"
148 HUGO_ENV = " production"
159 HUGO_ENABLEGITINFO = " true"
10+ NODE_VERSION = " 18.17.1"
11+ NPM_VERSION = " 9.6.7"
1612
1713[[headers ]]
1814 for = " /*"
7874 targetPort = 1313
7975 port = 8888
8076 publish = " public"
81- autoLaunch = false
77+ autoLaunch = false
78+
79+ [[plugins ]]
80+ package = " @gethinode/netlify-plugin-dartsass"
81+
82+ [[plugins ]]
83+ package = " netlify-plugin-hugo-cache-resources"
84+ [plugins .inputs ]
85+ # Relative path to source directory in case you use Hugo's "--s" option
86+ # srcdir = ""
87+
88+ [[plugins ]]
89+ package = " @netlify/plugin-lighthouse"
90+ # [plugins.inputs]
91+ # output_path = "reports/lighthouse.html"
You can’t perform that action at this time.
0 commit comments