Skip to content

Commit

Permalink
Merge pull request #39 from ansidev/release/2.0.0
Browse files Browse the repository at this point in the history
Release v2.0.0
  • Loading branch information
ansidev authored Feb 26, 2023
2 parents f9fbdf5 + b9b53e1 commit 15c8e81
Show file tree
Hide file tree
Showing 51 changed files with 2,745 additions and 248 deletions.
13 changes: 13 additions & 0 deletions .changes/v2.0.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
## v2.0.0 (2023-02-26)

### Features

- TailwindCSS for UI.
- Multiple themes.
- SEO.
- Analytics: Google Analytics, Swetrix Analytics, Counter Analytics.
- Sitemap.
- RSS.
- Posts by tags, difficulty.

Full Changelog: [v2.0.0](https://github.com/ansidev/astro-basic-template/commits/v2.0.0)
2 changes: 1 addition & 1 deletion .github/workflows/deploy_to_netlify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ jobs:
steps:
- name: Delete the PR branch after merged into develop
env:
GH_TOKEN: ${{ github.token }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GIT_REF_PATH: /repos/${{ github.repository }}/git/refs/heads/${{ github.head_ref }}
run: |
STATUS_CODE=$(gh api -i -H "Accept: application/vnd.github+json" $GIT_REF_PATH | head -1)
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@ pnpm-debug.log*

# VSCode Workspace
astro-basic-template.code-workspace

# Astro directories
.astro
2 changes: 1 addition & 1 deletion .taskfiles/task_site.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ tasks:
clean:
desc: Clean the build output
cmds:
- rm -r {{.OUTPUT_DIR}}
- rm -r ./{{.OUTPUT_DIR}}
silent: true
ignore_error: true
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org).

## v2.0.0 (2023-02-26)

### Features

- TailwindCSS for UI.
- Multiple themes.
- SEO.
- Analytics: Google Analytics, Swetrix Analytics, Counter Analytics.
- Sitemap.
- RSS.
- Posts by tags, difficulty.

Full Changelog: [v2.0.0](https://github.com/ansidev/astro-basic-template/commits/v2.0.0)
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# LeetCode Blog

[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
[![Netlify Status](https://api.netlify.com/api/v1/badges/278e1add-72b0-4ffe-b932-03b27a72c8b5/deploy-status)](https://app.netlify.com/sites/leetcode-blog/deploys)

Solutions for LeetCode problems - Written by [ansidev](https://github.com/ansidev).

Expand Down
10 changes: 10 additions & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
import partytown from '@astrojs/partytown'
import sitemap from '@astrojs/sitemap'
import tailwind from '@astrojs/tailwind'
import { defineConfig } from 'astro/config'
import compress from 'astro-compress'
import purgecss from 'astro-purgecss'
Expand All @@ -17,6 +20,13 @@ if (baseURL.length === 0) {
export default defineConfig({
site: baseURL,
integrations: [
tailwind(),
partytown({
config: {
forward: ['dataLayer.push'],
},
}),
sitemap(),
purgecss(),
compress(),
]
Expand Down
23 changes: 18 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "leetcode-blog",
"description": "Solutions for LeetCode problems - Written by ansidev",
"type": "module",
"version": "1.0.1",
"version": "2.0.0",
"license": "MIT",
"scripts": {
"dev": "astro dev",
Expand All @@ -15,14 +15,23 @@
"lint": "eslint --ext .cjs,.mjs,.ts,.astro --ignore-path .gitignore ."
},
"dependencies": {
"astro": "^2.0.14",
"astro-compress": "^1.1.33",
"astro-purgecss": "^2.0.0"
"@astrojs/partytown": "^1.0.3",
"@astrojs/rss": "^2.1.1",
"@astrojs/sitemap": "^1.1.0",
"@astrojs/tailwind": "^3.0.1",
"astro": "^2.0.15",
"astro-compress": "^1.1.34",
"astro-purgecss": "^2.0.0",
"tailwindcss": "^3.2.7"
},
"devDependencies": {
"@commitlint/cli": "^17.4.4",
"@commitlint/config-conventional": "^17.4.4",
"@types/node": "^18.14.0",
"@iconify-json/bi": "^1.1.15",
"@tailwindcss/typography": "^0.5.9",
"@types/lodash.get": "^4.4.7",
"@types/lodash.kebabcase": "^4.1.7",
"@types/node": "^18.14.1",
"@typescript-eslint/eslint-plugin": "^5.53.0",
"@typescript-eslint/parser": "^5.53.0",
"commitizen": "^4.3.0",
Expand All @@ -31,6 +40,10 @@
"eslint-plugin-astro": "^0.23.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
"husky": "^8.0.3",
"lodash.get": "^4.4.2",
"lodash.kebabcase": "^4.1.1",
"sass": "^1.58.3",
"tailwindcss-themer": "^3.0.1",
"typescript": "^4.9.5"
}
}
Loading

0 comments on commit 15c8e81

Please sign in to comment.