Skip to content

Commit af9552c

Browse files
damilola-oladelesemantic-release-botcotes2020jasontenpennydependabot[bot]
authored
Update from upstream (#63)
* chore(release): 7.0.1 ## [7.0.1](cotes2020/jekyll-theme-chirpy@v7.0.0...v7.0.1) (2024-05-18) ### Bug Fixes * **analytics:** goatcounter pv greater than 1K cannot be converted to numbers ([#1762](cotes2020/jekyll-theme-chirpy#1762)) ([33a1fa7](cotes2020/jekyll-theme-chirpy@33a1fa7)) * audio/video path apply variable `media_subpath` ([#1745](cotes2020/jekyll-theme-chirpy#1745)) ([00a27a1](cotes2020/jekyll-theme-chirpy@00a27a1)) * feat: add Bluesky social links (#1759) * docs: correct markdown syntax of tutorial (#1787) * refactor: restore shell script extensions Without an extension, the shell script configuration in `.gitattribute` will not work. * feat(dev): support vscode dev-container (#1781) * build(deps-dev): bump the npm group across 1 directory with 8 updates Updates the requirements on [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core), [@babel/plugin-transform-class-properties](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-class-properties), [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env), [conventional-changelog-conventionalcommits](https://github.com/conventional-changelog/conventional-changelog/tree/HEAD/packages/conventional-changelog-conventionalcommits), [rollup](https://github.com/rollup/rollup), [rollup-plugin-license](https://github.com/mjeanroy/rollup-plugin-license), [semantic-release](https://github.com/semantic-release/semantic-release) and [stylelint](https://github.com/stylelint/stylelint) to permit the latest version. Updates `@babel/core` to 7.24.6 - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.24.6/packages/babel-core) Updates `@babel/plugin-transform-class-properties` to 7.24.6 - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.24.6/packages/babel-plugin-transform-class-properties) Updates `@babel/preset-env` to 7.24.6 - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.24.6/packages/babel-preset-env) Updates `conventional-changelog-conventionalcommits` from 7.0.2 to 8.0.0 - [Release notes](https://github.com/conventional-changelog/conventional-changelog/releases) - [Changelog](https://github.com/conventional-changelog/conventional-changelog/blob/master/packages/conventional-changelog-conventionalcommits/CHANGELOG.md) - [Commits](https://github.com/conventional-changelog/conventional-changelog/commits/conventional-changelog-conventionalcommits-v8.0.0/packages/conventional-changelog-conventionalcommits) Updates `rollup` to 4.18.0 - [Release notes](https://github.com/rollup/rollup/releases) - [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md) - [Commits](rollup/rollup@v4.17.2...v4.18.0) Updates `rollup-plugin-license` to 3.4.0 - [Changelog](https://github.com/mjeanroy/rollup-plugin-license/blob/master/CHANGELOG.md) - [Commits](mjeanroy/rollup-plugin-license@v3.3.1...v3.4.0) Updates `semantic-release` from 23.1.1 to 24.0.0 - [Release notes](https://github.com/semantic-release/semantic-release/releases) - [Commits](semantic-release/semantic-release@v23.1.1...v24.0.0) Updates `stylelint` to 16.6.1 - [Release notes](https://github.com/stylelint/stylelint/releases) - [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md) - [Commits](stylelint/stylelint@16.5.0...16.6.1) * build(deps): improve dependency grouping * docs: change ordering of badges * build(deps-dev): remove package `rollup-plugin-license` (#1796) The `rollup-plugin-license` has been using too many deprecated dependencies, so it is necessary to remove it. As an alternative, this changes uses Rollup `output.banner` to insert copyright information. Since `terser` runs after `output`, it is not possible to insert the Front Matter defining permlink for `sw.js` through the same way (Jekyll Front Matter is YAML rather than JS, which would cause errors with terser). Therefore, _Jekyll Collection_ is now used to add permlink to `sw.js`, with the collection named `app`, and the directory placed in `_app`. This directory is not tracked by git, but it will be included when building the gem. * chore: upgrade `husky` v9 settings * build(devcontainer): add omz plugins & verify extension signature VSCode fixed signature validation hangs in v1.90 * fix: adapt the giscus localization parameter (#1810) * docs: unify the style of badges * feat(ui): improve visibility of inline code (#1831) * chore: fix typos in project files and docs * refactor: fix typos in locale variable statment -> statement * build(deps-dev): bump the dev-deps group with 3 updates (#1824) Updates the requirements on [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core), [@babel/plugin-transform-class-properties](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-class-properties) and [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) to permit the latest version. Updates `@babel/core` to 7.24.7 - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.24.7/packages/babel-core) Updates `@babel/plugin-transform-class-properties` to 7.24.7 - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.24.7/packages/babel-plugin-transform-class-properties) Updates `@babel/preset-env` to 7.24.7 - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.24.7/packages/babel-preset-env) --- updated-dependencies: - dependency-name: "@babel/core" dependency-type: direct:development dependency-group: dev-deps - dependency-name: "@babel/plugin-transform-class-properties" dependency-type: direct:development dependency-group: dev-deps - dependency-name: "@babel/preset-env" dependency-type: direct:development dependency-group: dev-deps ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat(ui): make `info-prompt` icon looks like the letter "i" (#1835) * feat: add Reddit social option (#1836) * feat: add Threads social links (#1837) * feat(dev): add vscode tasks (#1843) * build(dev): support for running tasks in macOS * fix: avoid caching pageviews data (#1849) * ci: set node version to LTS There are some problems with the latest version. See: https://github.com/cotes2020/jekyll-theme-chirpy/actions/runs/9977150040 * fix: remove extra dual-mode images from lightbox (#1883) * docs: add devcontainers tutorial (#1844) * build: update ruby version requirements `html-proofer` 5.x requires Ruby `>= 3.1, < 4.0` * refactor: update the sass mixed declarations (#1872) See: https://sass-lang.com/d/mixed-decls * chore(tools): improve the init-script * refactor: improve the efficiency of `GLightbox` switching Repeatedly using `GLightbox.destroy()` (>= 4 times) will cause `GLightbox` to fail to generate new objects * build: resume platform-specific dependencies * chore: remove duplicate config * chore: move entries in git-ignore * feat(analytics): add fathom analytics (#1913) * feat(ui): improve block quote layout * refactor: improve heading layout * feat(ui): set `<kbd>` font to 'Lato' * build(deps-dev): bump the dev-deps * build: upgrade dependencies * refactor(ui): standardize the border radius (#1920) Impact: - Increase the border radius of inline code and `<kbd>` tags - Variable `$base-radius` renamed to `$radius-lg` * chore(deps): correct `Tocbot` version number * build: improve the JS build for PWA (#1923) * docs: update tutorial and readme Change Dev Containers logo in README: Simple Icons has removed all Microsoft icons due to copyright restrictions, see <simple-icons/simple-icons#11236> * chore(release): 7.1.0 ## [7.1.0](cotes2020/jekyll-theme-chirpy@v7.0.1...v7.1.0) (2024-08-27) ### Features * add Bluesky social links ([#1759](cotes2020/jekyll-theme-chirpy#1759)) ([0102aba](cotes2020/jekyll-theme-chirpy@0102aba)) * add Reddit social option ([#1836](cotes2020/jekyll-theme-chirpy#1836)) ([8673e13](cotes2020/jekyll-theme-chirpy@8673e13)) * add Threads social links ([#1837](cotes2020/jekyll-theme-chirpy#1837)) ([e3a78b6](cotes2020/jekyll-theme-chirpy@e3a78b6)) * **analytics:** add fathom analytics ([#1913](cotes2020/jekyll-theme-chirpy#1913)) ([befc4ce](cotes2020/jekyll-theme-chirpy@befc4ce)) * **dev:** add vscode tasks ([#1843](cotes2020/jekyll-theme-chirpy#1843)) ([e4db1a1](cotes2020/jekyll-theme-chirpy@e4db1a1)) * **dev:** support vscode dev-container ([#1781](cotes2020/jekyll-theme-chirpy#1781)) ([1e3d4a6](cotes2020/jekyll-theme-chirpy@1e3d4a6)) * **ui:** improve block quote layout ([80bd792](cotes2020/jekyll-theme-chirpy@80bd792)) * **ui:** improve visibility of inline code ([#1831](cotes2020/jekyll-theme-chirpy#1831)) ([c876731](cotes2020/jekyll-theme-chirpy@c876731)) * **ui:** make `info-prompt` icon looks like the letter "i" ([#1835](cotes2020/jekyll-theme-chirpy#1835)) ([a07a57e](cotes2020/jekyll-theme-chirpy@a07a57e)) * **ui:** set `<kbd>` font to 'Lato' ([64c7262](cotes2020/jekyll-theme-chirpy@64c7262)) ### Bug Fixes * adapt the giscus localization parameter ([#1810](cotes2020/jekyll-theme-chirpy#1810)) ([0709854](cotes2020/jekyll-theme-chirpy@0709854)) * avoid caching pageviews data ([#1849](cotes2020/jekyll-theme-chirpy#1849)) ([979f86c](cotes2020/jekyll-theme-chirpy@979f86c)) * remove extra dual-mode images from lightbox ([#1883](cotes2020/jekyll-theme-chirpy#1883)) ([5c5910f](cotes2020/jekyll-theme-chirpy@5c5910f)) * fix(i18n): correct fr-FR translations (#1949) Co-authored-by: Denis Jean <[email protected]> * refactor: replace deprecated meta element Replace `apple-mobile-web-app-capable` with `mobile-web-app-capable` * fix(pwa): site baseurl not passed to `app.js` (#1955) * build(dev-deps): bump 7 dependencies versions * chore(release): 7.1.1 ## [7.1.1](cotes2020/jekyll-theme-chirpy@v7.1.0...v7.1.1) (2024-09-23) ### Bug Fixes * **i18n:** correct fr-FR translations ([#1949](cotes2020/jekyll-theme-chirpy#1949)) ([367262e](cotes2020/jekyll-theme-chirpy@367262e)) * **pwa:** site baseurl not passed to `app.js` ([#1955](cotes2020/jekyll-theme-chirpy#1955)) ([5a63244](cotes2020/jekyll-theme-chirpy@5a63244)) * chore: remove `h1` element from site title (#1960) * fix: pagination error when pinned posts exceed the page size (#1965) * chore(i18n): update hungarian translation (#1976) * feat: show toc on mobile screens (#1964) * chore: close toc-popup gracefully with Esc key (#1990) * refactor: improve toc popup module * refactor: reduce duplicate scss * refactor: simplify sidebar animation * ci: block invalid pull requests (#2010) * ci: skip test for invalid PRs (#2013) * ci: improve workflow triggers (#2017) - Unchain commit-lint and CI - Even if a commit does not meet the CI path filter, it still needs to lint the commit message. - Unchain PR filter and CI - The CI workflow needs to be triggered when the commits in a pull request are modified. - Allow manual publishing - Sometimes `semantic-release` will error out due to commit messages referencing discussions, but this does not affect the final RubyGems/GitHub Release. In such cases, manual triggering of the publish process is needed to complete the remaining publishing steps. * chore: improve feed interoperability (#2024) * build(deps): update `wdm` gem version for compatibility (#2028) * chore: change stale label to `inactive` * ci: reduce unnecessary pr-filter runs (#2033) - Checking the repository of the PR is more effective than checking the label to identify bot-initiated PRs - This change also allows more flexible PR body definitions for developers with write access to the repository * perf: speed up page rendering and jekyll build process (#2034) - Ensure inline scripts execute after the DOM has fully loaded. - Use Rollup to bundle the theme-mode and Mermaid scripts, reducing the number of Jekyll include snippets. * ci: avoid repeated runs of stylelint (#2057) * perf: modular sass architecture (#2052) - Modularized the Sass architecture to enhance code maintainability and reduce the output file size - Replaced deprecated `@import` with `@use` / `@forward` * build(deps-dev): upgrade dependencies Close #2058 * build(deps): update dependencies version * feat: support vertical scrolling for toc in desktop mode (#2064) * chore(release): 7.2.0 ## [7.2.0](cotes2020/jekyll-theme-chirpy@v7.1.1...v7.2.0) (2024-11-28) ### Features * show toc on mobile screens ([#1964](cotes2020/jekyll-theme-chirpy#1964)) ([8a064a5](cotes2020/jekyll-theme-chirpy@8a064a5)) * support vertical scrolling for toc in desktop mode ([#2064](cotes2020/jekyll-theme-chirpy#2064)) ([5265b03](cotes2020/jekyll-theme-chirpy@5265b03)) ### Bug Fixes * pagination error when pinned posts exceed the page size ([#1965](cotes2020/jekyll-theme-chirpy#1965)) ([93f616b](cotes2020/jekyll-theme-chirpy@93f616b)) ### Improvements * modular sass architecture ([#2052](cotes2020/jekyll-theme-chirpy#2052)) ([35c794c](cotes2020/jekyll-theme-chirpy@35c794c)) * speed up page rendering and jekyll build process ([#2034](cotes2020/jekyll-theme-chirpy#2034)) ([65f960c](cotes2020/jekyll-theme-chirpy@65f960c)) * fix: ensure pageviews are fetched after DOM is loaded (#2071) * build: correct the js rollup watch path (#2074) 1. Correct the rollup watch path 2. Avoid registering watch listeners redundantly across multiple tasks * fix: correct the import condition for theme script (#2075) * style: add indentation to js code * fix(toc): resume fade up animation in desktop mode (#2085) * refactor: reduce the height of the TOC bottom overlay in desktop mode * fix(build): exclude `purgecss.js` from output files (#2090) * chore(release): 7.2.1 ## [7.2.1](cotes2020/jekyll-theme-chirpy@v7.2.0...v7.2.1) (2024-12-05) ### Bug Fixes * **build:** exclude `purgecss.js` from output files ([#2090](cotes2020/jekyll-theme-chirpy#2090)) ([976e1a1](cotes2020/jekyll-theme-chirpy@976e1a1)) * correct the import condition for theme script ([#2075](cotes2020/jekyll-theme-chirpy#2075)) ([a16aa7d](cotes2020/jekyll-theme-chirpy@a16aa7d)) * ensure pageviews are fetched after DOM is loaded ([#2071](cotes2020/jekyll-theme-chirpy#2071)) ([b4019f3](cotes2020/jekyll-theme-chirpy@b4019f3)) * **toc:** resume fade up animation in desktop mode ([#2085](cotes2020/jekyll-theme-chirpy#2085)) ([8280adb](cotes2020/jekyll-theme-chirpy@8280adb)) * feat(i18n): add Dutch locale (#2076) * fix: js files in subdirectories are excluded from the site output (#2101) * chore(release): 7.2.2 ## [7.2.2](cotes2020/jekyll-theme-chirpy@v7.2.1...v7.2.2) (2024-12-06) ### Bug Fixes * js files in subdirectories are excluded from the site output ([#2101](cotes2020/jekyll-theme-chirpy#2101)) ([f55cc31](cotes2020/jekyll-theme-chirpy@f55cc31)) * fix: refreshing mermaid theme may fail (#2113) * fix(ui): gap between TOC entries is inconsistent (#2119) In desktop mode, H2 and the first sub-level H3 in the TOC are too close. * fix(ui): slow script loading hides TOC fade-up effect in desktop (#2120) * chore(release): 7.2.3 ## [7.2.3](cotes2020/jekyll-theme-chirpy@v7.2.2...v7.2.3) (2024-12-15) ### Bug Fixes * refreshing mermaid theme may fail ([#2113](cotes2020/jekyll-theme-chirpy#2113)) ([2f00d41](cotes2020/jekyll-theme-chirpy@2f00d41)) * **ui:** gap between TOC entries is inconsistent ([#2119](cotes2020/jekyll-theme-chirpy#2119)) ([1b4e318](cotes2020/jekyll-theme-chirpy@1b4e318)) * **ui:** slow script loading hides TOC fade-up effect in desktop ([#2120](cotes2020/jekyll-theme-chirpy#2120)) ([e0c3faf](cotes2020/jekyll-theme-chirpy@e0c3faf)) * fix: toc not visible when switching from mobile to desktop mode (#2139) * docs: update the setting name for the comments * fix(ui): left borderline of TOC is notched (#2140) * chore(release): 7.2.4 ## [7.2.4](cotes2020/jekyll-theme-chirpy@v7.2.3...v7.2.4) (2024-12-21) ### Bug Fixes * toc not visible when switching from mobile to desktop mode ([#2139](cotes2020/jekyll-theme-chirpy#2139)) ([32051da](cotes2020/jekyll-theme-chirpy@32051da)) * **ui:** left borderline of TOC is notched ([#2140](cotes2020/jekyll-theme-chirpy#2140)) ([8a4d0bc](cotes2020/jekyll-theme-chirpy@8a4d0bc)) * fix(search): avoid missing spaces between paragraphs in search results (#2199) - Use a common post-snippet for search results to avoid line break issues - Reduce Jekyll include files to speed up the build - Remove outdated key from search.json * docs: using long form Jekyll subcommand (#2231) * feat(i18n): add persian language (#2238) * docs: fix typo in `2019-08-08-write-a-new-post.md` (#2281) Signed-off-by: Corey Goldberg <[email protected]> * perf(seo): improve accessibility and aligns with best practices (#2289) * feat(i18n): add Japanese locale (#2295) * chore: add parameter in `search-results.html` (#2330) * fix: prevent the search bar from moving when focused (#2336) * feat(i18n): add Catalan Spanish locale translation (#2349) * fix: recognize global theme mode (#2357) * fix(ui): fix incomplete border color on hover for tags (#2359) * chore: update `linkedin` sharing url (#2307) * chore(deps): remove plugin `jekyll-redirect-from` Discussed in #2313 * refactor: move the path of `theme.js` * chore(dev-deps): add eslint config file * chore: avoid auto-formatting liquid and sass mixed code * fix: avoid `mathjax` loading failure on page refresh (#2389) * fix: improve accuracy of moving `img` element classes (#2399) * chore: upgrade dependencies to the latest version (#2409) * chore(release): 7.3.0 ## [7.3.0](cotes2020/jekyll-theme-chirpy@v7.2.4...v7.3.0) (2025-05-18) ### Features * **i18n:** add Catalan Spanish locale translation ([#2349](cotes2020/jekyll-theme-chirpy#2349)) ([167c98c](cotes2020/jekyll-theme-chirpy@167c98c)) * **i18n:** add Dutch locale ([#2076](cotes2020/jekyll-theme-chirpy#2076)) ([981ddba](cotes2020/jekyll-theme-chirpy@981ddba)) * **i18n:** add Japanese locale ([#2295](cotes2020/jekyll-theme-chirpy#2295)) ([571c90f](cotes2020/jekyll-theme-chirpy@571c90f)) * **i18n:** add persian language ([#2238](cotes2020/jekyll-theme-chirpy#2238)) ([7d4d35c](cotes2020/jekyll-theme-chirpy@7d4d35c)) ### Bug Fixes * avoid `mathjax` loading failure on page refresh ([#2389](cotes2020/jekyll-theme-chirpy#2389)) ([401e2af](cotes2020/jekyll-theme-chirpy@401e2af)) * improve accuracy of moving `img` element classes ([#2399](cotes2020/jekyll-theme-chirpy#2399)) ([d0f8f95](cotes2020/jekyll-theme-chirpy@d0f8f95)) * prevent the search bar from moving when focused ([#2336](cotes2020/jekyll-theme-chirpy#2336)) ([f744929](cotes2020/jekyll-theme-chirpy@f744929)) * recognize global theme mode ([#2357](cotes2020/jekyll-theme-chirpy#2357)) ([7708adb](cotes2020/jekyll-theme-chirpy@7708adb)) * **search:** avoid missing spaces between paragraphs in search results ([#2199](cotes2020/jekyll-theme-chirpy#2199)) ([0eb7efa](cotes2020/jekyll-theme-chirpy@0eb7efa)) * **ui:** fix incomplete border color on hover for tags ([#2359](cotes2020/jekyll-theme-chirpy#2359)) ([c626447](cotes2020/jekyll-theme-chirpy@c626447)) ### Improvements * **seo:** improve accessibility and aligns with best practices ([#2289](cotes2020/jekyll-theme-chirpy#2289)) ([54d4d59](cotes2020/jekyll-theme-chirpy@54d4d59)) * feat(i18n): add Danish locale (#2410) * feat(i18n): add locale files for some rtl languages (#2415) * fix: correct GoatCounter pageviews extraction (#2420) * fix: resolve discrepancy in lqip between post and main page (#2453) * remove unnecessary workflows --------- Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Corey Goldberg <[email protected]> Co-authored-by: semantic-release-bot <[email protected]> Co-authored-by: Cotes Chung <[email protected]> Co-authored-by: Jason <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Daniel Singleton <[email protected]> Co-authored-by: Alexander Fuks <[email protected]> Co-authored-by: Andrew <[email protected]> Co-authored-by: Julius Gamanyi <[email protected]> Co-authored-by: denis-games <[email protected]> Co-authored-by: Denis Jean <[email protected]> Co-authored-by: Bence Boros <[email protected]> Co-authored-by: Supreeth Mysore Venkatesh <[email protected]> Co-authored-by: cheese <[email protected]> Co-authored-by: algorithmic-parallels <[email protected]> Co-authored-by: MasihGhaznavi <[email protected]> Co-authored-by: Corey Goldberg <[email protected]> Co-authored-by: Türkalp Burak KAYRANCIOĞLU <[email protected]> Co-authored-by: nakamura <[email protected]> Co-authored-by: Alejandro <[email protected]> Co-authored-by: László Várady <[email protected]> Co-authored-by: Delyn Choong <[email protected]> Co-authored-by: László Várady <[email protected]> Co-authored-by: iSpeakNerd <[email protected]> Co-authored-by: Nicolai Skødt Holmgaard <[email protected]> Co-authored-by: Zakaria Fatahi <[email protected]> Co-authored-by: Josh Wickham <[email protected]> Co-authored-by: activus-d <[email protected]>
1 parent 2e950af commit af9552c

File tree

158 files changed

+4786
-3156
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

158 files changed

+4786
-3156
lines changed

.devcontainer/devcontainer.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"name": "Jekyll",
3+
"image": "mcr.microsoft.com/devcontainers/jekyll:2-bullseye",
4+
"onCreateCommand": "git config --global --add safe.directory ${containerWorkspaceFolder}",
5+
"postCreateCommand": "bash .devcontainer/post-create.sh",
6+
"customizations": {
7+
"vscode": {
8+
"settings": {
9+
"terminal.integrated.defaultProfile.linux": "zsh"
10+
},
11+
"extensions": [
12+
// Liquid tags auto-complete
13+
"killalau.vscode-liquid-snippets",
14+
// Liquid syntax highlighting and formatting
15+
"Shopify.theme-check-vscode",
16+
// Shell
17+
"timonwong.shellcheck",
18+
"mkhl.shfmt",
19+
// Common formatter
20+
"EditorConfig.EditorConfig",
21+
"esbenp.prettier-vscode",
22+
"stylelint.vscode-stylelint",
23+
"yzhang.markdown-all-in-one",
24+
// Git
25+
"mhutchie.git-graph"
26+
]
27+
}
28+
}
29+
}

.devcontainer/post-create.sh

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!/usr/bin/env bash
2+
3+
if [ -f package.json ]; then
4+
bash -i -c "nvm install --lts && nvm install-latest-npm"
5+
npm i
6+
npm run build
7+
fi
8+
9+
# Install dependencies for shfmt extension
10+
curl -sS https://webi.sh/shfmt | sh &>/dev/null
11+
12+
# Add OMZ plugins
13+
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting
14+
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions
15+
sed -i -E "s/^(plugins=\()(git)(\))/\1\2 zsh-syntax-highlighting zsh-autosuggestions\3/" ~/.zshrc
16+
17+
# Avoid git log use less
18+
echo -e "\nunset LESS" >>~/.zshrc

.gitignore

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ package-lock.json
2121

2222
# IDE configurations
2323
.idea
24-
.vscode
24+
.vscode/*
2525
!.vscode/settings.json
2626
!.vscode/extensions.json
27-
28-
# Misc
27+
!.vscode/tasks.json

.husky/commit-msg

100755100644
Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
4-
npx --no -- commitlint --edit ${1}
1+
npx --no -- commitlint --edit $1

.stylelintrc.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"ignoreFiles": ["_sass/vendors/**"],
3+
"extends": "stylelint-config-standard-scss",
4+
"rules": {
5+
"no-descending-specificity": null,
6+
"shorthand-property-no-redundant-values": null,
7+
"at-rule-no-vendor-prefix": null,
8+
"property-no-vendor-prefix": null,
9+
"selector-no-vendor-prefix": null,
10+
"value-no-vendor-prefix": null,
11+
"color-function-notation": "legacy",
12+
"alpha-value-notation": "number",
13+
"selector-not-notation": "simple",
14+
"color-hex-length": "long",
15+
"declaration-block-single-line-max-declarations": 3,
16+
"scss/operator-no-newline-after": null,
17+
"rule-empty-line-before": [
18+
"always",
19+
{
20+
"ignore": ["after-comment", "first-nested"]
21+
}
22+
],
23+
"value-keyword-case": [
24+
"lower",
25+
{
26+
"ignoreProperties": ["/^\\$/"]
27+
}
28+
],
29+
"media-feature-range-notation": "prefix"
30+
}
31+
}

.vscode/extensions.json

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,3 @@
11
{
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-
"yzhang.markdown-all-in-one"
12-
]
2+
"recommendations": ["ms-vscode-remote.remote-containers"]
133
}

.vscode/settings.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// Prettier
33
"editor.defaultFormatter": "esbenp.prettier-vscode",
44
"editor.formatOnSave": true,
5-
"prettier.trailingComma": "none",
65
// Shopify Liquid
76
"files.associations": {
87
"*.html": "liquid"
@@ -15,13 +14,17 @@
1514
"editor.defaultFormatter": "Shopify.theme-check-vscode"
1615
},
1716
"[shellscript]": {
18-
"editor.defaultFormatter": "foxundermoon.shell-format"
17+
"editor.defaultFormatter": "mkhl.shfmt"
1918
},
2019
// Disable vscode built-in stylelint
2120
"css.validate": false,
2221
"scss.validate": false,
2322
"less.validate": false,
2423
// Stylint extension settings
25-
"stylelint.snippet": ["css", "less", "postcss", "scss"],
26-
"stylelint.validate": ["css", "less", "postcss", "scss"]
24+
"stylelint.snippet": ["css", "scss"],
25+
"stylelint.validate": ["css", "scss"],
26+
// Run tasks in macOS
27+
"terminal.integrated.profiles.osx": {
28+
"zsh": { "path": "/bin/zsh", "args": ["-l", "-i"] }
29+
}
2730
}

.vscode/tasks.json

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"label": "Run Jekyll Server",
6+
"type": "shell",
7+
"command": "./tools/run.sh",
8+
"group": {
9+
"kind": "build",
10+
"isDefault": true
11+
},
12+
"problemMatcher": [],
13+
"detail": "Runs the Jekyll server with live reload."
14+
},
15+
{
16+
"label": "Build Jekyll Site",
17+
"type": "shell",
18+
"command": "./tools/test.sh",
19+
"group": {
20+
"kind": "build"
21+
},
22+
"problemMatcher": [],
23+
"detail": "Build the Jekyll site for production."
24+
},
25+
{
26+
"label": "Build JS (watch)",
27+
"type": "shell",
28+
"command": "npm run watch:js",
29+
"group": {
30+
"kind": "build"
31+
},
32+
"problemMatcher": [],
33+
"detail": "Build JS files in watch mode."
34+
},
35+
{
36+
"label": "Build CSS",
37+
"type": "shell",
38+
"command": "npm run build:css",
39+
"group": {
40+
"kind": "build"
41+
},
42+
"problemMatcher": [],
43+
"detail": "Build CSS files."
44+
},
45+
{
46+
"label": "Build JS & CSS",
47+
"type": "shell",
48+
"command": "npm run build",
49+
"group": {
50+
"kind": "build"
51+
},
52+
"problemMatcher": [],
53+
"detail": "Build JS & CSS for production."
54+
},
55+
{
56+
"label": "Run Jekyll Server + Build JS (watch)",
57+
"dependsOn": ["Run Jekyll Server", "Build JS (watch)"],
58+
"group": {
59+
"kind": "build"
60+
},
61+
"detail": "Runs both the Jekyll server with live reload and build JS files in watch mode."
62+
}
63+
]
64+
}

Gemfile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,12 @@ source "https://rubygems.org"
44

55
gemspec
66

7-
group :test do
8-
gem "html-proofer", "~> 5.0"
7+
gem "html-proofer", "~> 5.0", group: :test
8+
9+
platforms :mingw, :x64_mingw, :mswin, :jruby do
10+
gem "tzinfo", ">= 1", "< 3"
11+
gem "tzinfo-data"
912
end
1013

1114
gem "jekyll-google_search_console_verification_file", "~> 1.1", :group => :jekyll_plugins
15+
gem "wdm", "~> 0.2.0", :platforms => [:mingw, :x64_mingw, :mswin]

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66

77
A minimal, responsive, and feature-rich Jekyll theme for technical writing.
88

9-
[![Gem Version](https://img.shields.io/gem/v/jekyll-theme-chirpy?color=brightgreen)][gem]&nbsp;
10-
[![CI](https://github.com/cotes2020/jekyll-theme-chirpy/actions/workflows/ci.yml/badge.svg?branch=master&event=push)][ci]&nbsp;
11-
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/4e556876a3c54d5e8f2d2857c4f43894)][codacy]&nbsp;
12-
[![GitHub license](https://img.shields.io/github/license/cotes2020/jekyll-theme-chirpy.svg)][license]&nbsp;
13-
[![996.icu](https://img.shields.io/badge/link-996.icu-%23FF4D5B.svg)](https://996.icu)
9+
[![CI](https://img.shields.io/github/actions/workflow/status/cotes2020/jekyll-theme-chirpy/ci.yml?logo=github)][ci]&nbsp;
10+
[![Codacy Badge](https://img.shields.io/codacy/grade/4e556876a3c54d5e8f2d2857c4f43894?logo=codacy)][codacy]&nbsp;
11+
[![GitHub license](https://img.shields.io/github/license/cotes2020/jekyll-theme-chirpy?color=goldenrod)][license]&nbsp;
12+
[![Gem Version](https://img.shields.io/gem/v/jekyll-theme-chirpy?&logo=RubyGems&logoColor=ghostwhite&label=gem&color=orange)][gem]&nbsp;
13+
[![Open in Dev Containers](https://img.shields.io/badge/Dev_Containers-Open-deepskyblue?logo=linuxcontainers)][open-container]
1414

1515
[**Live Demo**][demo]
1616

@@ -80,6 +80,7 @@ This project is published under [MIT License][license].
8080
[ci]: https://github.com/cotes2020/jekyll-theme-chirpy/actions/workflows/ci.yml?query=event%3Apush+branch%3Amaster
8181
[codacy]: https://app.codacy.com/gh/cotes2020/jekyll-theme-chirpy/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade
8282
[license]: https://github.com/cotes2020/jekyll-theme-chirpy/blob/master/LICENSE
83+
[open-container]: https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/cotes2020/jekyll-theme-chirpy
8384
[jekyllrb]: https://jekyllrb.com/
8485
[clipartmax]: https://www.clipartmax.com/middle/m2i8b1m2K9Z5m2K9_ant-clipart-childrens-ant-cute/
8586
[demo]: https://cotes2020.github.io/chirpy-demo/

0 commit comments

Comments
 (0)