Added biomejs

This commit is contained in:
Gabriele Giambrone 2024-02-22 18:17:15 +01:00
parent 1c64ffb253
commit 0d2f783396
3 changed files with 98 additions and 39 deletions

12
biome.json Normal file
View file

@ -0,0 +1,12 @@
{
"$schema": "https://biomejs.dev/schemas/1.5.3/schema.json",
"organizeImports": {
"enabled": true
},
"linter": {
"enabled": true,
"rules": {
"recommended": true
}
}
}

View file

@ -3,9 +3,7 @@
"version": "1.0.0", "version": "1.0.0",
"description": "A React Library containing multiple customizable components.", "description": "A React Library containing multiple customizable components.",
"main": "dist/index.js", "main": "dist/index.js",
"files": [ "files": ["dist"],
"dist"
],
"exports": { "exports": {
".": { ".": {
"types": "./dist/index.d.ts", "types": "./dist/index.d.ts",
@ -22,13 +20,14 @@
"type": "git", "type": "git",
"url": "https://source.thundernetwork.org/ThunderNetworkRaD/Dynamic_Design.git" "url": "https://source.thundernetwork.org/ThunderNetworkRaD/Dynamic_Design.git"
}, },
"keywords": [ "keywords": ["dynamic", "design"],
"dynamic",
"design"
],
"author": "ThunderNetworkRaD - KillerBossOriginal | Sadyn Project - Mambuco", "author": "ThunderNetworkRaD - KillerBossOriginal | Sadyn Project - Mambuco",
"license": "MIT", "license": "MIT",
"devDependencies": { "devDependencies": {
"@biomejs/biome": "1.5.3",
"@types/react": "^18.2.57",
"react": "^18.2.0",
"tslib": "^2.6.2",
"typescript": "^5.3.3" "typescript": "^5.3.3"
}, },
"peerDependencies": { "peerDependencies": {

View file

@ -2,6 +2,25 @@
# yarn lockfile v1 # yarn lockfile v1
"@biomejs/biome@1.5.3":
version "1.5.3"
resolved "https://registry.npmjs.org/@biomejs/biome/-/biome-1.5.3.tgz"
integrity sha512-yvZCa/g3akwTaAQ7PCwPWDCkZs3Qa5ONg/fgOUT9e6wAWsPftCjLQFPXBeGxPK30yZSSpgEmRCfpGTmVbUjGgg==
optionalDependencies:
"@biomejs/cli-darwin-arm64" "1.5.3"
"@biomejs/cli-darwin-x64" "1.5.3"
"@biomejs/cli-linux-arm64" "1.5.3"
"@biomejs/cli-linux-arm64-musl" "1.5.3"
"@biomejs/cli-linux-x64" "1.5.3"
"@biomejs/cli-linux-x64-musl" "1.5.3"
"@biomejs/cli-win32-arm64" "1.5.3"
"@biomejs/cli-win32-x64" "1.5.3"
"@biomejs/cli-win32-x64@1.5.3":
version "1.5.3"
resolved "https://registry.npmjs.org/@biomejs/cli-win32-x64/-/cli-win32-x64-1.5.3.tgz"
integrity sha512-fMvbSouZEASU7mZH8SIJSANDm5OqsjgtVXlbUqxwed6BP7uuHRSs396Aqwh2+VoW8fwTpp6ybIUoC9FrzB0kyA==
"@isaacs/cliui@^8.0.2": "@isaacs/cliui@^8.0.2":
version "8.0.2" version "8.0.2"
resolved "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz" resolved "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz"
@ -19,6 +38,25 @@
resolved "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz" resolved "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz"
integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg== integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==
"@types/prop-types@*":
version "15.7.11"
resolved "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.11.tgz"
integrity sha512-ga8y9v9uyeiLdpKddhxYQkxNDrfvuPrlFb0N1qnZZByvcElJaXthF1UhvCh9TLWJBEHeNtdnbysW7Y6Uq8CVng==
"@types/react@^18.2.57":
version "18.2.57"
resolved "https://registry.npmjs.org/@types/react/-/react-18.2.57.tgz"
integrity sha512-ZvQsktJgSYrQiMirAN60y4O/LRevIV8hUzSOSNB6gfR3/o3wCBFQx3sPwIYtuDMeiVgsSS3UzCV26tEzgnfvQw==
dependencies:
"@types/prop-types" "*"
"@types/scheduler" "*"
csstype "^3.0.2"
"@types/scheduler@*":
version "0.16.8"
resolved "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.8.tgz"
integrity sha512-WZLiwShhwLRmeV6zH+GkbOFT6Z6VklCItrDioxUnv+u4Ll+8vKeFySoFyK/0ctcRpOmwAicELfmys1sDc/Rw+A==
ansi-regex@^5.0.1: ansi-regex@^5.0.1:
version "5.0.1" version "5.0.1"
resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz" resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz"
@ -74,6 +112,11 @@ cross-spawn@^7.0.0:
shebang-command "^2.0.0" shebang-command "^2.0.0"
which "^2.0.1" which "^2.0.1"
csstype@^3.0.2:
version "3.1.3"
resolved "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz"
integrity sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==
eastasianwidth@^0.2.0: eastasianwidth@^0.2.0:
version "0.2.0" version "0.2.0"
resolved "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz" resolved "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz"
@ -263,6 +306,11 @@ strip-ansi@^7.0.1:
dependencies: dependencies:
ansi-regex "^6.0.1" ansi-regex "^6.0.1"
tslib@^2.6.2:
version "2.6.2"
resolved "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz"
integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==
typescript@^5.3.3: typescript@^5.3.3:
version "5.3.3" version "5.3.3"
resolved "https://registry.npmjs.org/typescript/-/typescript-5.3.3.tgz" resolved "https://registry.npmjs.org/typescript/-/typescript-5.3.3.tgz"