Skip to content

Commit

Permalink
Update metadata (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
scriptex authored Sep 29, 2022
1 parent 33b0443 commit 12b33c2
Show file tree
Hide file tree
Showing 8 changed files with 163 additions and 84 deletions.
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@ node_modules/
ehthumbs.db
Thumbs.db

# Project specific
dist/
demo/index.js
dist
40 changes: 15 additions & 25 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ yarn-debug.log*
yarn-error.log*

# Dependency directory
node_modules/
node_modules

# Misc
.DS_Store
Expand All @@ -17,36 +17,26 @@ node_modules/
ehthumbs.db
Thumbs.db

# EditorConfig
# Config folders and files
.github
_config.yml
_.config.yml
.editorconfig

# Git
.gitignore
.gitattributes

# CI
.travis.yml

# lock files
yarn.lock

# Prettier
.prettierrc
.gitignore
.nvmrc
.prettierignore

# Config files
.prettierrc
.stylelintignore
.stylelintrc
.travis.yml
.whitesource
renovate.json
tsconfig.json
_config.yml
_.config.yml
tslint.json
yarn.lock

# Project specific
.github
.nowignore
.npmignore
.nvmrc
.whitesource
svgo.config.js
!dist
assets
data
demo
Expand Down
15 changes: 7 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[![GitHub release](https://img.shields.io/github/release/scriptex/socials.svg)](https://github.com/scriptex/socials/releases/latest)
[![GitHub issues](https://img.shields.io/github/issues/scriptex/socials.svg)](https://github.com/scriptex/socials/issues)
[![GitHub last commit](https://img.shields.io/github/last-commit/scriptex/socials.svg)](https://github.com/scriptex/socials/commits/master)
[![Build Status](https://travis-ci.org/scriptex/socials.svg?branch=master)](https://travis-ci.org/scriptex/socials)
[![npm](https://img.shields.io/npm/dt/scriptex-socials.svg)](https://www.npmjs.com/package/scriptex-socials)
[![npm](https://img.shields.io/npm/v/scriptex-socials.svg)](https://www.npmjs.com/package/scriptex-socials)
[![Analytics](https://ga-beacon.appspot.com/UA-83446952-1/github.com/scriptex/socials/README.md)](https://github.com/scriptex/socials/)
[![Travis CI](https://travis-ci.com/scriptex/socials.svg?branch=master)](https://travis-ci.com/scriptex/socials)
[![Github Build](https://github.com/scriptex/socials/workflows/Build/badge.svg)](https://github.com/scriptex/socials/actions?query=workflow%3ABuild)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/34d3d75710534dc6a38c3584a1dcd068)](https://www.codacy.com/gh/scriptex/socials/dashboard?utm_source=github.com&utm_medium=referral&utm_content=scriptex/socials&utm_campaign=Badge_Grade)
[![Codebeat Badge](https://codebeat.co/badges/d765a4c8-2c0e-44f2-89c3-fa364fdc14e6)](https://codebeat.co/projects/github-com-scriptex-socials-master)
[![CodeFactor Badge](https://www.codefactor.io/repository/github/scriptex/socials/badge)](https://www.codefactor.io/repository/github/scriptex/socials)
[![DeepScan grade](https://deepscan.io/api/teams/3574/projects/5257/branches/40799/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=3574&pid=5257&bid=40799)
[![Analytics](https://ga-beacon-361907.ew.r.appspot.com/UA-83446952-1/github.com/scriptex/socials/README.md?pixel)](https://github.com/scriptex/socials/)

# Atanas Atanasov's Socials

Expand Down Expand Up @@ -100,7 +100,6 @@ Currently it includes the following:
<a href="https://linktr.ee/scriptex" target="_blank"><img src="https://raw.githubusercontent.com/scriptex/socials/master/styled-assets/linktree.svg" alt="See the rest of my links on Linktree" width="24" align="top"> See the rest of my links on Linktree</a>
</div>


## LICENSE

MIT
Expand Down
1 change: 0 additions & 1 deletion data/README-end.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

## LICENSE

MIT
Expand Down
14 changes: 7 additions & 7 deletions data/README-start.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[![GitHub release](https://img.shields.io/github/release/scriptex/socials.svg)](https://github.com/scriptex/socials/releases/latest)
[![GitHub issues](https://img.shields.io/github/issues/scriptex/socials.svg)](https://github.com/scriptex/socials/issues)
[![GitHub last commit](https://img.shields.io/github/last-commit/scriptex/socials.svg)](https://github.com/scriptex/socials/commits/master)
[![Build Status](https://travis-ci.org/scriptex/socials.svg?branch=master)](https://travis-ci.org/scriptex/socials)
[![npm](https://img.shields.io/npm/dt/scriptex-socials.svg)](https://www.npmjs.com/package/scriptex-socials)
[![npm](https://img.shields.io/npm/v/scriptex-socials.svg)](https://www.npmjs.com/package/scriptex-socials)
[![Analytics](https://ga-beacon.appspot.com/UA-83446952-1/github.com/scriptex/socials/README.md)](https://github.com/scriptex/socials/)
[![Travis CI](https://travis-ci.com/scriptex/socials.svg?branch=master)](https://travis-ci.com/scriptex/socials)
[![Github Build](https://github.com/scriptex/socials/workflows/Build/badge.svg)](https://github.com/scriptex/socials/actions?query=workflow%3ABuild)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/34d3d75710534dc6a38c3584a1dcd068)](https://www.codacy.com/gh/scriptex/socials/dashboard?utm_source=github.com&utm_medium=referral&utm_content=scriptex/socials&utm_campaign=Badge_Grade)
[![Codebeat Badge](https://codebeat.co/badges/d765a4c8-2c0e-44f2-89c3-fa364fdc14e6)](https://codebeat.co/projects/github-com-scriptex-socials-master)
[![CodeFactor Badge](https://www.codefactor.io/repository/github/scriptex/socials/badge)](https://www.codefactor.io/repository/github/scriptex/socials)
[![DeepScan grade](https://deepscan.io/api/teams/3574/projects/5257/branches/40799/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=3574&pid=5257&bid=40799)
[![Analytics](https://ga-beacon-361907.ew.r.appspot.com/UA-83446952-1/github.com/scriptex/socials/README.md?pixel)](https://github.com/scriptex/socials/)

# Atanas Atanasov's Socials

Expand Down
109 changes: 98 additions & 11 deletions demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,110 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Atanas Atanasov | Social links</title>

<title>Atanas Atanasov's Social links</title>

<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/github-fork-ribbon-css/0.2.3/gh-fork-ribbon.min.css"
/>

<style>
body {
font-family: sans-serif;
font-size: 1rem;
line-height: 1.25;
margin: 0;
}

main {
max-width: 37.5rem;
padding: 1rem 0;
margin: auto;
}

p,
h1,
h2 {
margin: 0 0 1rem;
}

pre {
padding: 1rem;
overflow: auto;
background-color: #dfdfdf;
}

social-links {
display: block;
padding-bottom: 1rem;
}

div[style*='background'] social-links {
padding-top: 1rem;
}
</style>
</head>
<body>
<social-links></social-links>
<a
href="https://github.com/scriptex/socials"
title="See code on Github"
class="github-fork-ribbon"
data-ribbon="See code on Github"
>
See code on Github
</a>

<main>
<h1>Atanas Atanasov's Social links</h1>

<h2>Installation</h2>

<!-- prettier-ignore -->
<code>
<pre>
npm install scriptex-socials

# or

yarn add scriptex-socials
</pre>
</code>

<h2>Usage</h2>

<p>Default:</p>

<code>
<pre>&lt;social-links&gt;&lt;/social-links&gt;</pre>
</code>

<social-links></social-links>

<p>With custom <code>color</code>:</p>

<code>
<pre>&lt;social-links style=&quot;color: red&quot; &gt;&lt;/social-links&gt;</pre>
</code>

<br />
<br />
<social-links style="color: red"></social-links>

<social-links style="color: red"></social-links>
<p>With custom <code>color</code> and <code>background-color</code></p>

<br />
<br />
<!-- prettier-ignore -->
<code>
<pre>
&lt;div style=&quot;background: black&quot;&gt;
&lt;social-links style=&quot;color: white&quot;&gt;&lt;/social-links&gt;
&lt;/div&gt;
</pre>
</code>

<div style="background: black">
<social-links style="color: white"></social-links>
</div>
<div style="background: black">
<social-links style="color: white"></social-links>
</div>
</main>

<script src="index.js"></script>
<script src="dist/index.js"></script>
</body>
</html>
46 changes: 26 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,38 +1,44 @@
{
"name": "scriptex-socials",
"version": "1.6.0",
"version": "1.7.0",
"description": "A native web component: links to various social media with SVG icons support",
"keywords": [
"Socials",
"Social Links",
"SVG Social icons",
"SVG Social links"
],
"homepage": "https://socials.atanas.info",
"bugs": {
"url": "https://github.com/scriptex/socials/issues",
"email": "[email protected]"
},
"license": "MIT",
"author": "Atanas Atanasov <[email protected]> (https://atanas.info)",
"funding": "https://github.com/sponsors/scriptex",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"repository": {
"type": "git",
"url": "github:scriptex/socials"
},
"scripts": {
"svg": "svg-symbol-sprite -i assets -o data/sprite.svg -p svg-",
"template": "ts-node ./scripts/template.ts",
"readme": "ts-node ./scripts/readme.ts",
"prettier": "prettier --write src/index.ts",
"tsc": "tsc -p .",
"tsc:watch": "tsc -p . -w",
"pre": "yarn svg && yarn template && yarn prettier && yarn readme",
"build": "yarn pre && yarn tsc && cp dist/index.js demo/index.js",
"clear": "rm -rf dist && rm -rf demo/dist",
"copy": "cp -r dist demo",
"pre": "yarn clear && yarn svg && yarn template && yarn prettier && yarn readme",
"build": "yarn pre && yarn tsc && yarn copy",
"start": "yarn pre && yarn tsc:watch",
"prepare": "yarn build"
},
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"keywords": [
"Socials",
"Social Links",
"SVG icons",
"Contacts",
"Contact Icons"
],
"author": "Atanas Atanasov <[email protected]> (https://atanas.info)",
"repository": "https://github.com/scriptex/socials",
"bugs": {
"url": "https://github.com/scriptex/socials/issues",
"email": "[email protected]"
},
"license": "MIT",
"dependencies": {},
"devDependencies": {
"@types/node": "18.7.14",
"@types/node": "18.7.23",
"prettier": "2.7.1",
"svg-symbol-sprite": "1.0.5",
"ts-node": "10.9.1",
Expand Down
18 changes: 9 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@
resolved "https://registry.yarnpkg.com/@tsconfig/node16/-/node16-1.0.3.tgz#472eaab5f15c1ffdd7f8628bd4c4f753995ec79e"
integrity sha512-yOlFc+7UtL/89t2ZhjPvvB/DeAr3r+Dq58IgzsFkOAvVC6NMJXmCGjbptdXdR9qsX7pKcTL+s87FtYREi2dEEQ==

"@types/[email protected].14":
version "18.7.14"
resolved "https://registry.yarnpkg.com/@types/node/-/node-18.7.14.tgz#0fe081752a3333392d00586d815485a17c2cf3c9"
integrity sha512-6bbDaETVi8oyIARulOE9qF1/Qdi/23z6emrUh0fNJRUmjznqrixD4MpGDdgOFk5Xb0m2H6Xu42JGdvAxaJR/wA==
"@types/[email protected].23":
version "18.7.23"
resolved "https://registry.yarnpkg.com/@types/node/-/node-18.7.23.tgz#75c580983846181ebe5f4abc40fe9dfb2d65665f"
integrity sha512-DWNcCHolDq0ZKGizjx2DZjR/PqsYwAcYUJmfMWqtVU2MBMG5Mo+xFZrhGId5r/O5HOuMPyQEcM6KUBp5lBZZBg==

acorn-walk@^8.1.1:
version "8.2.0"
Expand Down Expand Up @@ -224,7 +224,7 @@ entities@^2.0.0:
resolved "https://registry.yarnpkg.com/entities/-/entities-2.2.0.tgz#098dc90ebb83d8dffa089d55256b351d34c4da55"
integrity sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==

entities@^4.2.0, entities@^4.3.0:
entities@^4.2.0, entities@^4.3.0, entities@^4.4.0:
version "4.4.0"
resolved "https://registry.yarnpkg.com/entities/-/entities-4.4.0.tgz#97bdaba170339446495e653cfd2db78962900174"
integrity sha512-oYp7156SP8LkeGD0GF85ad1X9Ai79WtRsZ2gxJqtBuzH+98YUV6jkHEKlZkMbcrjJjIVJNIDP/3WL9wQkoPbWA==
Expand Down Expand Up @@ -265,11 +265,11 @@ parse5-htmlparser2-tree-adapter@^7.0.0:
parse5 "^7.0.0"

parse5@^7.0.0:
version "7.0.0"
resolved "https://registry.yarnpkg.com/parse5/-/parse5-7.0.0.tgz#51f74a5257f5fcc536389e8c2d0b3802e1bfa91a"
integrity sha512-y/t8IXSPWTuRZqXc0ajH/UwDj4mnqLEbSttNbThcFhGrZuOyoyvNBO85PBp2jQa55wY9d07PBNjsK8ZP3K5U6g==
version "7.1.1"
resolved "https://registry.yarnpkg.com/parse5/-/parse5-7.1.1.tgz#4649f940ccfb95d8754f37f73078ea20afe0c746"
integrity sha512-kwpuwzB+px5WUg9pyK0IcK/shltJN5/OVhQagxhCQNtT9Y9QRZqNY2e1cmbu/paRh5LMnz/oVTVLBpjFmMZhSg==
dependencies:
entities "^4.3.0"
entities "^4.4.0"

picocolors@^1.0.0:
version "1.0.0"
Expand Down

1 comment on commit 12b33c2

@vercel
Copy link

@vercel vercel bot commented on 12b33c2 Sep 29, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

socials – ./

socials-git-master-atanas.vercel.app
socials-atanas.vercel.app
socials.atanas.info

Please sign in to comment.