Skip to content

Commit

Permalink
Merge pull request #135 from ViorelMocanu/feat/dependency-update-comp…
Browse files Browse the repository at this point in the history
…ress-rss

feat: add additional dependencies
  • Loading branch information
ViorelMocanu authored Oct 28, 2023
2 parents 03dd3fc + d577f04 commit 2a4e894
Show file tree
Hide file tree
Showing 115 changed files with 3,394 additions and 2,901 deletions.
43 changes: 26 additions & 17 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,46 @@
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

labels: 'bug'
assignees: '@ViorelMocanu'
---

**Describe the bug**
# Astro Simple Analytics Plugin: Bug report

## Describe the bug

A clear and concise description of what the bug is.

**To Reproduce**
## To Reproduce

Steps to reproduce the behavior:

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
## Expected behavior

A clear and concise description of what you expected to happen.

**Screenshots**
## Screenshots

If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
## Desktop (please complete the following information)

- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

## Smartphone (please complete the following information)

- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
## Additional context

**Additional context**
Add any other context about the problem here.
19 changes: 12 additions & 7 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,24 @@
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

labels: 'request'
assignees: '@ViorelMocanu'
---

**Is your feature request related to a problem? Please describe.**
# Astro Simple Analytics Plugin: Feature request

## Is your feature request related to a problem? Please describe

A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
## Describe the solution you'd like

A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
## Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
## Additional context

Add any other context or screenshots about the feature request here.
8 changes: 4 additions & 4 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

version: 2
updates:
- package-ecosystem: "npm" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
- package-ecosystem: 'npm' # See documentation for possible values
directory: '/' # Location of package manifests
schedule:
interval: 'weekly'
22 changes: 11 additions & 11 deletions .github/workflows/greetings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ name: Greetings
on: [pull_request_target, issues]

jobs:
greeting:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: "Viorel thanks you for contributing your first issue! :)"
pr-message: "Viorel thanks you for contributing your first Pull Request! :)"
greeting:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: 'Viorel thanks you for contributing your first issue! :)'
pr-message: 'Viorel thanks you for contributing your first Pull Request! :)'
76 changes: 38 additions & 38 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,51 +2,51 @@
name: Deploy static content to Pages

on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]
# Runs on pushes targeting the default branch
push:
branches: ['main']

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false
group: 'pages'
cancel-in-progress: false

jobs:
# Single deploy job since we're just deploying
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Install PNPM
uses: pnpm/action-setup@v2
with:
version: 8
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm build
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
# Upload entire repository
path: './dist'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
# Find an alternative 2-step version of this on https://docs.astro.build/en/guides/deploy/github/
# Single deploy job since we're just deploying
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Install PNPM
uses: pnpm/action-setup@v2
with:
version: 8
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm build
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
# Upload entire repository
path: './dist'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
# Find an alternative 2-step version of this on https://docs.astro.build/en/guides/deploy/github/
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
pnpm build
pnpm lint --quiet
pnpm typecheck
pnpm format
4 changes: 1 addition & 3 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

pnpm typecheck
# @TODO
# pnpm test:unit:coverage --ci
pnpm verify:fix
8 changes: 8 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ pids
*.pid
*.seed
*.pid.lock
pnpm-lock.yaml

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
Expand All @@ -76,5 +77,12 @@ coverage
# Husky
.husky

# static files from original design
static
_old*

# Certain 3rd party code components
src/components/Analytics.astro

# My precious single-line styles
src/styles
12 changes: 8 additions & 4 deletions .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,15 @@
"bracketSpacing": true,
"bracketSameLine": false,
"arrowParens": "always",
"insertPragma": true,
"embeddedLanguageFormatting": "auto",
"endOfLine": "lf",
"requirePragma": false,
"insertPragma": false,
"proseWrap": "never",
"singleQuote": true,
"singleAttributePerLine": false,
"plugins": [
"prettier-plugin-astro"
]
"printWidth": 180,
"tabWidth": 4,
"htmlWhitespaceSensitivity": "css",
"plugins": ["prettier-plugin-astro"]
}
11 changes: 11 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"version": "0.2.0",
"configurations": [
{
"command": "./node_modules/.bin/astro dev",
"name": "Development server",
"request": "launch",
"type": "node-terminal"
}
]
}
6 changes: 1 addition & 5 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,5 @@
"typescript.tsdk": "node_modules/typescript/lib",
"git.inputValidationLength": 100,
"git.inputValidationSubjectLength": 72,
"eslint.validate": [
"javascript",
"astro",
"typescript",
],
"eslint.validate": ["javascript", "astro", "typescript"]
}
Loading

0 comments on commit 2a4e894

Please sign in to comment.