Skip to content

Commit b9d053b

Browse files
committed
Merge branch 'master' into production
2 parents ba764c1 + cd258c9 commit b9d053b

32 files changed

+305
-185
lines changed

.github/codeql/codeql-config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
paths-ignore:
2+
- "assets/js"

.github/dependabot.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,20 @@ updates:
77
bundler:
88
dependency-type: "production"
99
schedule:
10-
interval: "monthly"
10+
interval: "weekly"
1111
- package-ecosystem: "npm"
1212
directory: "/"
1313
versioning-strategy: increase
1414
groups:
1515
npm:
1616
dependency-type: "development"
1717
schedule:
18-
interval: "monthly"
18+
interval: "weekly"
1919
- package-ecosystem: "github-actions"
2020
directory: "/"
2121
groups:
2222
gh-actions:
2323
update-types:
2424
- "major"
2525
schedule:
26-
interval: "monthly"
26+
interval: "weekly"

.github/workflows/codeql.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@ name: "CodeQL"
22

33
on:
44
push:
5-
paths: ["**.js"]
5+
paths: ["_javascript/**/*.js"]
66
pull_request:
7-
paths: ["**.js"]
8-
schedule:
9-
- cron: "0 0 * * 5"
7+
paths: ["_javascript/**/*.js"]
108

119
jobs:
1210
analyze:
@@ -32,6 +30,7 @@ jobs:
3230
uses: github/codeql-action/init@v3
3331
with:
3432
languages: "${{ matrix.language }}"
33+
config-file: .github/codeql/codeql-config.yml
3534

3635
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
3736
# If this step fails, then you should remove it and run the build manually (see below)

.github/workflows/stale.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ jobs:
2222
steps:
2323
- uses: actions/stale@v9
2424
with:
25-
days-before-stale: 30
26-
days-before-close: 1
25+
# 60 days before marking issues/PRs stale
26+
days-before-close: -1 # does not close automatically
2727
stale-issue-label: ${{ env.STALE_LABEL }}
2828
exempt-issue-labels: ${{ env.EXEMPT_LABELS }}
2929
stale-issue-message: ${{ env.MESSAGE }}

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ package-lock.json
1616

1717
# IDE configurations
1818
.idea
19-
.vscode
2019

2120
# Misc
2221
assets/js/dist

.husky/commit-msg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/sh
22
. "$(dirname "$0")/_/husky.sh"
33

4-
npx --no -- commitlint -x $(npm root -g)/@commitlint/config-conventional --edit
4+
npx --no -- commitlint --edit ${1}

.vscode/extensions.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"recommendations": [
3+
// Liquid tags auto-complete
4+
"killalau.vscode-liquid-snippets",
5+
// Liquid syntax highlighting and formatting
6+
"Shopify.theme-check-vscode",
7+
// Common formatter
8+
"esbenp.prettier-vscode",
9+
"foxundermoon.shell-format",
10+
"stylelint.vscode-stylelint"
11+
]
12+
}

.vscode/settings.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
// Prettier
3+
"editor.defaultFormatter": "esbenp.prettier-vscode",
4+
"editor.formatOnSave": true,
5+
"prettier.trailingComma": "none",
6+
// Shopify Liquid
7+
"files.associations": {
8+
"*.html": "liquid"
9+
},
10+
// Formatter
11+
"[html][liquid]": {
12+
"editor.defaultFormatter": "Shopify.theme-check-vscode"
13+
},
14+
"[shellscript]": {
15+
"editor.defaultFormatter": "foxundermoon.shell-format"
16+
},
17+
// Disable vscode built-in stylelint
18+
"css.validate": false,
19+
"scss.validate": false,
20+
"less.validate": false,
21+
// Stylint extension settings
22+
"stylelint.snippet": ["css", "less", "postcss", "scss"],
23+
"stylelint.validate": ["css", "less", "postcss", "scss"]
24+
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
- Built-in Search
3535
- Atom Feeds
3636
- PWA
37-
- Google Analytics
37+
- Google Analytics / GoatCounter
3838
- SEO & Performance Optimization
3939

4040
## Documentation

_config.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ google_site_verification: # fill in to your verification string
5252
google_analytics:
5353
id: # fill in your Google Analytics ID
5454

55+
goatcounter:
56+
id: # fill in your Goatcounter ID
57+
5558
# Prefer color scheme setting.
5659
#
5760
# Note: Keep empty will follow the system prefer color by default,
@@ -63,7 +66,7 @@ google_analytics:
6366
# light - Use the light color scheme
6467
# dark - Use the dark color scheme
6568
#
66-
theme_mode: # [light|dark]
69+
theme_mode: # [light | dark]
6770

6871
# The CDN endpoint for images.
6972
# Notice that once it is assigned, the CDN url
@@ -108,10 +111,17 @@ assets:
108111
enabled: # boolean, keep empty means false
109112
# specify the Jekyll environment, empty means both
110113
# only works if `assets.self_host.enabled` is 'true'
111-
env: # [development|production]
114+
env: # [development | production]
112115

113116
pwa:
114-
enabled: true # the option for PWA feature
117+
enabled: true # the option for PWA feature (installable)
118+
cache:
119+
enabled: true # the option for PWA offline cache
120+
# Paths defined here will be excluded from the PWA cache.
121+
# Usually its value is the `baseurl` of another website that
122+
# shares the same domain name as the current website.
123+
deny_paths:
124+
# - "/example" # URLs match `<SITE_URL>/example/*` will not be cached by the PWA
115125

116126
paginate: 10
117127

@@ -157,10 +167,6 @@ defaults:
157167
values:
158168
layout: page
159169
permalink: /:title/
160-
- scope:
161-
path: assets/img/favicons
162-
values:
163-
swcache: true
164170
- scope:
165171
path: assets/js/dist
166172
values:

0 commit comments

Comments
 (0)