Remove unused code and files (#1604)
This commit is contained in:
commit
e0ecbba2e7
10 changed files with 1 additions and 162 deletions
|
@ -1,11 +0,0 @@
|
|||
version = 1
|
||||
|
||||
[[analyzers]]
|
||||
name = "javascript"
|
||||
enabled = true
|
||||
|
||||
[analyzers.meta]
|
||||
plugins = ["react"]
|
||||
environment = ["browser"]
|
||||
style_guide = "standard"
|
||||
dialect = "typescript"
|
|
@ -70,11 +70,6 @@
|
|||
"transformation-matrix": "^2.15.0",
|
||||
"uuid": "^9.0.0",
|
||||
"vscode-uri": "^3.0.7",
|
||||
"workbox-precaching": "^6.1.5",
|
||||
"workbox-recipes": "^6.1.5",
|
||||
"workbox-routing": "^6.1.5",
|
||||
"workbox-strategies": "^6.1.5",
|
||||
"workbox-window": "^6.1.5",
|
||||
"xml-js": "^1.6.11",
|
||||
"yup": "^0.29.3",
|
||||
"zxcvbn": "^4.4.2"
|
||||
|
|
|
@ -1,66 +0,0 @@
|
|||
{
|
||||
"short_name": "Ente Photos",
|
||||
"name": "Ente Photos | Safe home for your Photos",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/images/ente/192.png",
|
||||
"type": "image/png",
|
||||
"sizes": "192x192"
|
||||
},
|
||||
{
|
||||
"src": "/images/ente/256.png",
|
||||
"type": "image/png",
|
||||
"sizes": "256x256"
|
||||
},
|
||||
{
|
||||
"src": "/images/ente/512.png",
|
||||
"type": "image/png",
|
||||
"sizes": "512x512"
|
||||
}
|
||||
],
|
||||
"start_url": "/",
|
||||
"background_color": "#191919",
|
||||
"display": "standalone",
|
||||
"scope": "/",
|
||||
"theme_color": "#111",
|
||||
"description": "ente provides a simple way to back up your memories.",
|
||||
"prefer_related_applications": true,
|
||||
"related_applications": [
|
||||
{
|
||||
"platform": "play",
|
||||
"url": "https://play.google.com/store/apps/details?id=io.ente.photos",
|
||||
"id": "io.ente.photos"
|
||||
},
|
||||
{
|
||||
"platform": "itunes",
|
||||
"url": "https://apps.apple.com/in/app/ente-photos/id1542026904"
|
||||
}
|
||||
],
|
||||
"screenshots": [
|
||||
{
|
||||
"src": "/pwa/slide-1.jpg",
|
||||
"type": "image/jpeg",
|
||||
"sizes": "417x760"
|
||||
},
|
||||
{
|
||||
"src": "/pwa/slide-2.jpg",
|
||||
"type": "image/jpeg",
|
||||
"sizes": "378x690"
|
||||
},
|
||||
{
|
||||
"src": "/pwa/slide-3.jpg",
|
||||
"type": "image/jpeg",
|
||||
"sizes": "378x690"
|
||||
},
|
||||
{
|
||||
"src": "/pwa/slide-4.jpg",
|
||||
"type": "image/jpeg",
|
||||
"sizes": "378x690"
|
||||
},
|
||||
{
|
||||
"src": "/pwa/slide-5.jpg",
|
||||
"type": "image/jpeg",
|
||||
"sizes": "378x690"
|
||||
}
|
||||
]
|
||||
}
|
Binary file not shown.
Before Width: | Height: | Size: 203 KiB |
Binary file not shown.
Before Width: | Height: | Size: 75 KiB |
Binary file not shown.
Before Width: | Height: | Size: 159 KiB |
Binary file not shown.
Before Width: | Height: | Size: 115 KiB |
Binary file not shown.
Before Width: | Height: | Size: 112 KiB |
|
@ -1,11 +1,5 @@
|
|||
import { getData, LS_KEYS } from '../storage/localStorage';
|
||||
|
||||
export const getEndpoint = () => {
|
||||
let endpoint = getData(LS_KEYS.API_ENDPOINT);
|
||||
if (endpoint) {
|
||||
return endpoint;
|
||||
}
|
||||
endpoint = process.env.NEXT_PUBLIC_ENTE_ENDPOINT;
|
||||
const endpoint = process.env.NEXT_PUBLIC_ENTE_ENDPOINT;
|
||||
if (isDevDeployment() && endpoint) {
|
||||
return endpoint;
|
||||
}
|
||||
|
|
73
yarn.lock
73
yarn.lock
|
@ -936,11 +936,6 @@
|
|||
resolved "https://registry.npmjs.org/@types/semver/-/semver-7.3.13.tgz"
|
||||
integrity sha512-21cFJr9z3g5dW8B0CVI9g2O9beqaThGQ6ZFBqHfwhzLDKUxaqTIy3vnfah/UPkfOiF2pLq+tGz+W8RyCskuslw==
|
||||
|
||||
"@types/trusted-types@^2.0.2":
|
||||
version "2.0.2"
|
||||
resolved "https://registry.npmjs.org/@types/trusted-types/-/trusted-types-2.0.2.tgz"
|
||||
integrity sha512-F5DIZ36YVLE+PN+Zwws4kJogq47hNgX3Nx6WyDJ3kcplxyke3XIzB8uK5n/Lpm1HBsbGzd6nmGehL8cPekP+Tg==
|
||||
|
||||
"@types/uuid@^9.0.2":
|
||||
version "9.0.2"
|
||||
resolved "https://registry.yarnpkg.com/@types/uuid/-/uuid-9.0.2.tgz#ede1d1b1e451548d44919dc226253e32a6952c4b"
|
||||
|
@ -2591,11 +2586,6 @@ i18next@^23.4.1:
|
|||
dependencies:
|
||||
"@babel/runtime" "^7.22.5"
|
||||
|
||||
idb@^6.0.0:
|
||||
version "6.1.3"
|
||||
resolved "https://registry.npmjs.org/idb/-/idb-6.1.3.tgz"
|
||||
integrity sha512-oIRDpVcs5KXpI1hRnTJUwkY63RB/7iqu9nSNuzXN8TLHjs7oO20IoPFbBTsqxIL5IjzIUDi+FXlVcK4zm26J8A==
|
||||
|
||||
idb@^7.1.1:
|
||||
version "7.1.1"
|
||||
resolved "https://registry.yarnpkg.com/idb/-/idb-7.1.1.tgz#d910ded866d32c7ced9befc5bfdf36f572ced72b"
|
||||
|
@ -4671,69 +4661,6 @@ word-wrap@^1.2.3:
|
|||
resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.4.tgz#cb4b50ec9aca570abd1f52f33cd45b6c61739a9f"
|
||||
integrity sha512-2V81OA4ugVo5pRo46hAoD2ivUJx8jXmWXfUkY4KFNw0hEptvN0QfH3K4nHiwzGeKl5rFKedV48QVoqYavy4YpA==
|
||||
|
||||
workbox-cacheable-response@6.3.0:
|
||||
version "6.3.0"
|
||||
resolved "https://registry.npmjs.org/workbox-cacheable-response/-/workbox-cacheable-response-6.3.0.tgz"
|
||||
integrity sha512-oYCRGF6PFEmJJkktdxYw/tcrU8N5u/2ihxVSHd+9sNqjNMDiXLqsewcEG544f1yx7gq5/u6VcvUA5N62KzN1GQ==
|
||||
dependencies:
|
||||
workbox-core "6.3.0"
|
||||
|
||||
workbox-core@6.3.0:
|
||||
version "6.3.0"
|
||||
resolved "https://registry.npmjs.org/workbox-core/-/workbox-core-6.3.0.tgz"
|
||||
integrity sha512-SufToEV3SOLwwz3j+P4pgkfpzLRUlR17sX3p/LrMHP/brYKvJQqjTwtSvaCkkAX0RPHX2TFHmN8xhPP1bpmomg==
|
||||
|
||||
workbox-expiration@6.3.0:
|
||||
version "6.3.0"
|
||||
resolved "https://registry.npmjs.org/workbox-expiration/-/workbox-expiration-6.3.0.tgz"
|
||||
integrity sha512-teYuYfM3HFbwAD/nlZDw/dCMOrCKjsAiMRhz0uOy9IkfBb7vBynO3xf118lY62X6BfqjZdeahiHh10N0/aYICg==
|
||||
dependencies:
|
||||
idb "^6.0.0"
|
||||
workbox-core "6.3.0"
|
||||
|
||||
workbox-precaching@6.3.0, workbox-precaching@^6.1.5:
|
||||
version "6.3.0"
|
||||
resolved "https://registry.npmjs.org/workbox-precaching/-/workbox-precaching-6.3.0.tgz"
|
||||
integrity sha512-bND3rUxiuzFmDfeKywdvOqK0LQ5LLbOPk0eX22PlMQNOOduHRxzglMpgHo/MR6h+8cPJ3GpxT8hZ895/7bHMqQ==
|
||||
dependencies:
|
||||
workbox-core "6.3.0"
|
||||
workbox-routing "6.3.0"
|
||||
workbox-strategies "6.3.0"
|
||||
|
||||
workbox-recipes@^6.1.5:
|
||||
version "6.3.0"
|
||||
resolved "https://registry.npmjs.org/workbox-recipes/-/workbox-recipes-6.3.0.tgz"
|
||||
integrity sha512-f0AZyxd48E4t+PV+ifgIf8WodfJqRj8/E0t+PwppDIdTPyD59cIh0HZBtgPKFdIMVnltodpMz4zioxym1H3GjQ==
|
||||
dependencies:
|
||||
workbox-cacheable-response "6.3.0"
|
||||
workbox-core "6.3.0"
|
||||
workbox-expiration "6.3.0"
|
||||
workbox-precaching "6.3.0"
|
||||
workbox-routing "6.3.0"
|
||||
workbox-strategies "6.3.0"
|
||||
|
||||
workbox-routing@6.3.0, workbox-routing@^6.1.5:
|
||||
version "6.3.0"
|
||||
resolved "https://registry.npmjs.org/workbox-routing/-/workbox-routing-6.3.0.tgz"
|
||||
integrity sha512-asajX5UPkaoU4PB9pEpxKWKkcpA+KJQUEeYU6NlK0rXTCpdWQ6iieMRDoBTZBjTzUdL3j3s1Zo2qCOSvtXSYGg==
|
||||
dependencies:
|
||||
workbox-core "6.3.0"
|
||||
|
||||
workbox-strategies@6.3.0, workbox-strategies@^6.1.5:
|
||||
version "6.3.0"
|
||||
resolved "https://registry.npmjs.org/workbox-strategies/-/workbox-strategies-6.3.0.tgz"
|
||||
integrity sha512-SYZt40y+Iu5nA+UEPQOrAuAMMNTxtUBPLCIaMMb4lcADpBYrNP1CD+/s2QsrxzS651a8hfi06REKt+uTp1tqfw==
|
||||
dependencies:
|
||||
workbox-core "6.3.0"
|
||||
|
||||
workbox-window@^6.1.5:
|
||||
version "6.3.0"
|
||||
resolved "https://registry.npmjs.org/workbox-window/-/workbox-window-6.3.0.tgz"
|
||||
integrity sha512-CFP84assX9srH/TOx4OD8z4EBPO/Cq4WKdV2YLcJIFJmVTS/cB63XKeidKl2KJk8qOOLVIKnaO7BLmb0MxGFtA==
|
||||
dependencies:
|
||||
"@types/trusted-types" "^2.0.2"
|
||||
workbox-core "6.3.0"
|
||||
|
||||
wrap-ansi@^6.2.0:
|
||||
version "6.2.0"
|
||||
resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz"
|
||||
|
|
Loading…
Add table
Reference in a new issue