Skip to content

Commit

Permalink
feat: new complete version of "Svelte SEO" (#45)
Browse files Browse the repository at this point in the history
* Initial commit

* Added the title property

* Added description tag

* Added applicationName property

* Added theme color and application name meta tags

* Added noindex and nofollow

* added nositelinkssearchbox

* Added notranslate

* Added canonical and amp

* Added manifest and languageAlternates tags

* Added the keywords tag

* Adding twitter tags

* Done with the twitter tags

* added opengraph component

* Run prettier on the files

* Addedtests

* Written tests for openGraph.music

* run prettier on files

* run all tests

* Added husky

* fixed linting issues

* removed cache file

* Merged new branch into master

* Add eslintcache to gitignore

* reverted prettier to default

* Added travis.yml

* Delete .prettierrc

* Run the default prettier config

* Updated dependencies

* Added other pages

* Working on readme

* Removed un-needed files

* Reformating readme

* Fixed grammartical errors

* Fixing formatting in markdown

* The component now accepts a default slot

* Formatting markdown

* Update README.md

* Delete .eslintcache

* Fixed eslint config

* Added jsonLd

* Fixed Error: Cannot find name 'SvelteSeo'.

* Changed to yarn from pnpm

* Now uses yarn

* Updated to use yarn. All tests passes

* Fixed formating in Travis CI

* trying to fix travis

* Changed node version to 18

* Removed format from travis.yml

* reducing node version to 16

* Adding `npm run format` to travis.yml

* Removed format from travis

* Update package.json

* Changed package version

* Added license

* Fixed tests

* Uses SvelteSeo instead of head

* Added toc to doc

* Added playwright install to `before_script`

* Formatted files
  • Loading branch information
lubiah authored and Artur Khusaenov committed Feb 17, 2023
1 parent aa47bb1 commit 0a1f2a8
Show file tree
Hide file tree
Showing 44 changed files with 2,716 additions and 2,802 deletions.
13 changes: 13 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.DS_Store
node_modules
/build
/.svelte-kit
/package
.env
.env.*
!.env.example

# Ignore files for PNPM, NPM and YARN
pnpm-lock.yaml
package-lock.json
yarn.lock
15 changes: 15 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
module.exports = {
root: true,
extends: ["eslint:recommended", "prettier"],
plugins: ["svelte3"],
overrides: [{ files: ["*.svelte"], processor: "svelte3/svelte3" }],
parserOptions: {
sourceType: "module",
ecmaVersion: 2020,
},
env: {
browser: true,
es2017: true,
node: true,
},
};
24 changes: 13 additions & 11 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

title: ""
labels: ""
assignees: ""
---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
Expand All @@ -24,15 +24,17 @@ A clear and concise description of what you expected to happen.
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]

- 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]

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

**Additional context**
Add any other context about the problem here.
17 changes: 8 additions & 9 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,20 @@ name: Mark stale issues and pull requests

on:
schedule:
- cron: '00 09 * * *'
- cron: "00 09 * * *"

jobs:
stale:

runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write

steps:
- uses: actions/stale@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.'
stale-pr-message: 'Stale pull request message'
stale-issue-label: 'no-issue-activity'
stale-pr-label: 'no-pr-activity'
- uses: actions/stale@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions."
stale-pr-message: "Stale pull request message"
stale-issue-label: "no-issue-activity"
stale-pr-label: "no-pr-activity"
13 changes: 8 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
/node_modules/
/dev/build/
/dist/
package-lock.json

.DS_Store
node_modules
/build
/.svelte-kit
/package
.env
.env.*
!.env.example
.eslintcache
1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn run lint-staged
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
engine-strict=true
13 changes: 13 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.DS_Store
node_modules
/build
/.svelte-kit
/package
.env
.env.*
!.env.example

# Ignore files for PNPM, NPM and YARN
pnpm-lock.yaml
package-lock.json
yarn.lock
13 changes: 7 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
language: node_js

node_js:
- 17
- 16

cache:
# cache both npm modules and Cypress binary
# cache both npm modules
directories:
- ~/.npm
- ~/.cache
# install dependencies and check that Cypress can run
override:
- npm ci
- npm run cy:verify

before_script:
- npx playwright install

script:
- npm run lint
- npm run check
- npm run test
- npm run build
5 changes: 2 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

## [1.4.0](https://www.github.com/artiebits/svelte-seo/compare/v1.3.1...v1.4.0) (2022-01-19)


### Features

* add Twitter summary and card types ([#23](https://www.github.com/artiebits/svelte-seo/issues/23)) ([adf7177](https://www.github.com/artiebits/svelte-seo/commit/adf717705bcfce504887370eb62e842a9b35b120))
* automate releases ([f94f0a9](https://www.github.com/artiebits/svelte-seo/commit/f94f0a9f23892164283c9866de1a12520cfe1381))
- add Twitter summary and card types ([#23](https://www.github.com/artiebits/svelte-seo/issues/23)) ([adf7177](https://www.github.com/artiebits/svelte-seo/commit/adf717705bcfce504887370eb62e842a9b35b120))
- automate releases ([f94f0a9](https://www.github.com/artiebits/svelte-seo/commit/f94f0a9f23892164283c9866de1a12520cfe1381))

0 comments on commit 0a1f2a8

Please sign in to comment.