mirror of
https://github.com/konpa/devicon.git
synced 2025-08-16 11:35:11 +02:00
Merge pull request #2118 from Snailedlt/some-small-fixes
Some small fixes
This commit is contained in:
427
.vscode/devicon-schema.json
vendored
427
.vscode/devicon-schema.json
vendored
@@ -1,223 +1,224 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"definitions": {
|
||||
"IconVersions": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"original",
|
||||
"plain",
|
||||
"line",
|
||||
"original-wordmark",
|
||||
"plain-wordmark",
|
||||
"line-wordmark"
|
||||
]
|
||||
},
|
||||
"IconVersionsArray": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/IconVersions"
|
||||
}
|
||||
}
|
||||
},
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"title": "The official name of the technology.",
|
||||
"description": "Pattern: Only lower-case letters and digits.",
|
||||
"pattern": "^(dot-net|[0-9a-z]+)$"
|
||||
},
|
||||
"altnames": {
|
||||
"type": "array",
|
||||
"title": "List of alternative names for this technology.",
|
||||
"description": "Used for the searchbar on the Devicon website. https://devicon.dev",
|
||||
"uniqueItems": true,
|
||||
"items": {
|
||||
"type": "string"
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"definitions": {
|
||||
"IconVersions": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"original",
|
||||
"plain",
|
||||
"line",
|
||||
"original-wordmark",
|
||||
"plain-wordmark",
|
||||
"line-wordmark"
|
||||
]
|
||||
},
|
||||
"IconVersionsArray": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/IconVersions"
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": {
|
||||
"type": "array",
|
||||
"title": "List of tags relating to the technology for categorization/search purpose.",
|
||||
"$ref": "./tags-enum.json/#/definitions/Tags"
|
||||
},
|
||||
"versions": {
|
||||
"title": "Keeps track of the different versions that you have.",
|
||||
},
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"svg": {
|
||||
"title": "List all the SVGs that you have.",
|
||||
"contains": {
|
||||
"$ref": "#/definitions/IconVersions"
|
||||
"name": {
|
||||
"type": "string",
|
||||
"title": "The official name of the technology.",
|
||||
"description": "Pattern: Only lower-case letters and digits.",
|
||||
"pattern": "^(dot-net|[0-9a-z]+)$"
|
||||
},
|
||||
"minItems": 1,
|
||||
"uniqueItems": true,
|
||||
"$ref": "#/definitions/IconVersionsArray"
|
||||
},
|
||||
"font": {
|
||||
"title": "List only the SVGs that can be converted to fonts. Usually refers to \"plain\" and \"line\" versions but \"original\" can be accepted.",
|
||||
"description": "DO NOT list aliases here! In this case use \"aliases\" property!",
|
||||
"contains": {
|
||||
"$ref": "#/definitions/IconVersions"
|
||||
"altnames": {
|
||||
"type": "array",
|
||||
"title": "List of alternative names for this technology.",
|
||||
"description": "Used for the searchbar on the Devicon website. https://devicon.dev",
|
||||
"uniqueItems": true,
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"minItems": 1,
|
||||
"uniqueItems": true,
|
||||
"$ref": "#/definitions/IconVersionsArray"
|
||||
}
|
||||
}
|
||||
},
|
||||
"color": {
|
||||
"title": "The official/main hexadecimal color of the logo. [Case insensitive]",
|
||||
"description": "Pattern example: #FFFFFF",
|
||||
"type": "string",
|
||||
"pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$"
|
||||
},
|
||||
"aliases": {
|
||||
"title": "Keeps track of the aliases for the font versions ONLY.",
|
||||
"description": "Can be empty, or contain objects, each with an alias and a base version. More info here: https://github.com/devicons/devicon/wiki/Updating-%60devicon.json%60#aliases-and-aliasobj",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"title": "AliasObj, an object containing an alias and a base version",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"base": {
|
||||
"title": "The SVG file you are using as source for the alias.",
|
||||
"$ref": "#/definitions/IconVersions"
|
||||
"tags": {
|
||||
"type": "array",
|
||||
"title": "List of tags relating to the technology for categorization/search purpose.",
|
||||
"$ref": "./tags-enum.json/#/definitions/Tags"
|
||||
},
|
||||
"alias": {
|
||||
"title": "The new name (alias) that you want to generate.",
|
||||
"$ref": "#/definitions/IconVersions"
|
||||
"versions": {
|
||||
"title": "Keeps track of the different versions that you have.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"svg": {
|
||||
"title": "List all the SVGs that you have.",
|
||||
"contains": {
|
||||
"$ref": "#/definitions/IconVersions"
|
||||
},
|
||||
"minItems": 1,
|
||||
"uniqueItems": true,
|
||||
"$ref": "#/definitions/IconVersionsArray"
|
||||
},
|
||||
"font": {
|
||||
"title": "List only the SVGs that can be converted to fonts. Usually refers to \"plain\" and \"line\" versions but \"original\" can be accepted.",
|
||||
"description": "DO NOT list aliases here! In this case use \"aliases\" property!",
|
||||
"contains": {
|
||||
"$ref": "#/definitions/IconVersions"
|
||||
},
|
||||
"minItems": 1,
|
||||
"uniqueItems": true,
|
||||
"$ref": "#/definitions/IconVersionsArray"
|
||||
}
|
||||
}
|
||||
},
|
||||
"color": {
|
||||
"title": "The official/main hexadecimal color of the logo. [Case insensitive]",
|
||||
"description": "Pattern example: #FFFFFF",
|
||||
"type": "string",
|
||||
"pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$",
|
||||
"format": "color"
|
||||
},
|
||||
"aliases": {
|
||||
"title": "Keeps track of the aliases for the font versions ONLY.",
|
||||
"description": "Can be empty, or contain objects, each with an alias and a base version. More info here: https://github.com/devicons/devicon/wiki/Updating-%60devicon.json%60#aliases-and-aliasobj",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"title": "AliasObj, an object containing an alias and a base version",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"base": {
|
||||
"title": "The SVG file you are using as source for the alias.",
|
||||
"$ref": "#/definitions/IconVersions"
|
||||
},
|
||||
"alias": {
|
||||
"title": "The new name (alias) that you want to generate.",
|
||||
"$ref": "#/definitions/IconVersions"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"base",
|
||||
"alias"
|
||||
],
|
||||
"allOf": [
|
||||
{
|
||||
"if": {
|
||||
"properties": {
|
||||
"base": {
|
||||
"const": "original"
|
||||
}
|
||||
}
|
||||
},
|
||||
"then": {
|
||||
"not": {
|
||||
"properties": {
|
||||
"alias": {
|
||||
"const": "original"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"properties": {
|
||||
"base": {
|
||||
"const": "plain"
|
||||
}
|
||||
}
|
||||
},
|
||||
"then": {
|
||||
"not": {
|
||||
"properties": {
|
||||
"alias": {
|
||||
"const": "plain"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"properties": {
|
||||
"base": {
|
||||
"const": "line"
|
||||
}
|
||||
}
|
||||
},
|
||||
"then": {
|
||||
"not": {
|
||||
"properties": {
|
||||
"alias": {
|
||||
"const": "line"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"properties": {
|
||||
"base": {
|
||||
"const": "original-wordmark"
|
||||
}
|
||||
}
|
||||
},
|
||||
"then": {
|
||||
"not": {
|
||||
"properties": {
|
||||
"alias": {
|
||||
"const": "original-wordmark"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"properties": {
|
||||
"base": {
|
||||
"const": "plain-wordmark"
|
||||
}
|
||||
}
|
||||
},
|
||||
"then": {
|
||||
"not": {
|
||||
"properties": {
|
||||
"alias": {
|
||||
"const": "plain-wordmark"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"properties": {
|
||||
"base": {
|
||||
"const": "line-wordmark"
|
||||
}
|
||||
}
|
||||
},
|
||||
"then": {
|
||||
"not": {
|
||||
"properties": {
|
||||
"alias": {
|
||||
"const": "line-wordmark"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"base",
|
||||
"alias"
|
||||
],
|
||||
"allOf": [
|
||||
{
|
||||
"if": {
|
||||
"properties": {
|
||||
"base": {
|
||||
"const": "original"
|
||||
}
|
||||
}
|
||||
},
|
||||
"then": {
|
||||
"not": {
|
||||
"properties": {
|
||||
"alias": {
|
||||
"const": "original"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"properties": {
|
||||
"base": {
|
||||
"const": "plain"
|
||||
}
|
||||
}
|
||||
},
|
||||
"then": {
|
||||
"not": {
|
||||
"properties": {
|
||||
"alias": {
|
||||
"const": "plain"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"properties": {
|
||||
"base": {
|
||||
"const": "line"
|
||||
}
|
||||
}
|
||||
},
|
||||
"then": {
|
||||
"not": {
|
||||
"properties": {
|
||||
"alias": {
|
||||
"const": "line"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"properties": {
|
||||
"base": {
|
||||
"const": "original-wordmark"
|
||||
}
|
||||
}
|
||||
},
|
||||
"then": {
|
||||
"not": {
|
||||
"properties": {
|
||||
"alias": {
|
||||
"const": "original-wordmark"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"properties": {
|
||||
"base": {
|
||||
"const": "plain-wordmark"
|
||||
}
|
||||
}
|
||||
},
|
||||
"then": {
|
||||
"not": {
|
||||
"properties": {
|
||||
"alias": {
|
||||
"const": "plain-wordmark"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"properties": {
|
||||
"base": {
|
||||
"const": "line-wordmark"
|
||||
}
|
||||
}
|
||||
},
|
||||
"then": {
|
||||
"not": {
|
||||
"properties": {
|
||||
"alias": {
|
||||
"const": "line-wordmark"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name",
|
||||
"altnames",
|
||||
"tags",
|
||||
"versions",
|
||||
"color",
|
||||
"aliases"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name",
|
||||
"altnames",
|
||||
"tags",
|
||||
"versions",
|
||||
"color",
|
||||
"aliases"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
18909
package-lock.json
generated
18909
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
76
package.json
76
package.json
@@ -1,38 +1,42 @@
|
||||
{
|
||||
"name": "devicon",
|
||||
"version": "2.16.0",
|
||||
"description": "Programming related icons collection",
|
||||
"main": "devicon.min.css",
|
||||
"scripts": {
|
||||
"build-css": "gulp updateCss && gulp clean",
|
||||
"peek-test": "python ./.github/scripts/icomoon_peek.py ./.github/scripts/build_assets/geckodriver-v0.32.2-linux64/geckodriver ./icomoon.json ./devicon.json ./icons ./ --pr_title \"$PR_TITLE\"",
|
||||
"optimize-svg": "gulp optimizeSvg",
|
||||
"bump": "gulp bumpVersion",
|
||||
"build-icons": "python3 ./.github/scripts/icomoon_build_githubless.py ./.github/scripts/build_assets/geckodriver-v0.32.2-linux64/geckodriver ./icomoon.json ./devicon.json ./icons ./ --headless",
|
||||
"dev": "python3 -m http.server 8000 -d ./docs/"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/devicons/devicon.git"
|
||||
},
|
||||
"keywords": [
|
||||
"programming",
|
||||
"icons",
|
||||
"svg",
|
||||
"font"
|
||||
],
|
||||
"author": "devicons",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/devicons/devicon/issues"
|
||||
},
|
||||
"homepage": "https://devicon.dev",
|
||||
"devDependencies": {
|
||||
"gulp": "^4.0.2",
|
||||
"gulp-footer": "^2.0.2",
|
||||
"gulp-sass": "^5.0.0",
|
||||
"gulp-svgmin": "^3.0.0",
|
||||
"sass": "^1.26.10",
|
||||
"yargs": "^17.0.0"
|
||||
}
|
||||
"name": "devicon",
|
||||
"version": "2.16.0",
|
||||
"description": "Programming related icons collection",
|
||||
"main": "devicon.min.css",
|
||||
"scripts": {
|
||||
"build-css": "gulp updateCss && gulp clean",
|
||||
"peek-test": "python ./.github/scripts/icomoon_peek.py ./.github/scripts/build_assets/geckodriver-v0.32.2-linux64/geckodriver ./icomoon.json ./devicon.json ./icons ./ --pr_title \"$PR_TITLE\"",
|
||||
"optimize-svg": "gulp optimizeSvg",
|
||||
"bump": "gulp bumpVersion",
|
||||
"build-icons": "python3 ./.github/scripts/icomoon_build_githubless.py ./.github/scripts/build_assets/geckodriver-v0.32.2-linux64/geckodriver ./icomoon.json ./devicon.json ./icons ./ --headless",
|
||||
"dev": "concurrently \"npm:open-browser\" \"npm:start-local-server\"",
|
||||
"start-local-server": "python3 -m http.server 8000",
|
||||
"open-browser": "node -e \"import('open').then(pkg => pkg.default('http://localhost:8000/docs'))\""
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/devicons/devicon.git"
|
||||
},
|
||||
"keywords": [
|
||||
"programming",
|
||||
"icons",
|
||||
"svg",
|
||||
"font"
|
||||
],
|
||||
"author": "devicons",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/devicons/devicon/issues"
|
||||
},
|
||||
"homepage": "https://devicon.dev",
|
||||
"devDependencies": {
|
||||
"concurrently": "^8.2.2",
|
||||
"gulp": "^4.0.2",
|
||||
"gulp-footer": "^2.0.2",
|
||||
"gulp-sass": "^5.0.0",
|
||||
"gulp-svgmin": "^3.0.0",
|
||||
"open": "^10.0.3",
|
||||
"sass": "^1.26.10",
|
||||
"yargs": "^17.0.0"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user