Add backend feature checks, fixes #8
This commit is contained in:
parent
ac6d25f5c7
commit
269d48c900
4 changed files with 12 additions and 3 deletions
BIN
app/gabsocial/utils/__tests__/features-test.js
Normal file
BIN
app/gabsocial/utils/__tests__/features-test.js
Normal file
Binary file not shown.
BIN
app/gabsocial/utils/features.js
Normal file
BIN
app/gabsocial/utils/features.js
Normal file
Binary file not shown.
10
package.json
10
package.json
|
@ -4,10 +4,13 @@
|
||||||
"description": "Soapbox frontend for Pleroma.",
|
"description": "Soapbox frontend for Pleroma.",
|
||||||
"homepage": "https://soapbox.pub/",
|
"homepage": "https://soapbox.pub/",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type" : "git",
|
"type": "git",
|
||||||
"url" : "https://gitlab.com/soapbox-pub/soapbox-fe.git"
|
"url": "https://gitlab.com/soapbox-pub/soapbox-fe.git"
|
||||||
},
|
},
|
||||||
"keywords": ["fediverse", "pleroma"],
|
"keywords": [
|
||||||
|
"fediverse",
|
||||||
|
"pleroma"
|
||||||
|
],
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://gitlab.com/soapbox-pub/soapbox-fe/-/issues"
|
"url": "https://gitlab.com/soapbox-pub/soapbox-fe/-/issues"
|
||||||
},
|
},
|
||||||
|
@ -125,6 +128,7 @@
|
||||||
"rimraf": "^3.0.0",
|
"rimraf": "^3.0.0",
|
||||||
"sass": "^1.20.3",
|
"sass": "^1.20.3",
|
||||||
"sass-loader": "^8.0.0",
|
"sass-loader": "^8.0.0",
|
||||||
|
"semver": "^7.3.2",
|
||||||
"stringz": "^2.0.0",
|
"stringz": "^2.0.0",
|
||||||
"substring-trie": "^1.0.2",
|
"substring-trie": "^1.0.2",
|
||||||
"throng": "^4.0.0",
|
"throng": "^4.0.0",
|
||||||
|
|
|
@ -9388,6 +9388,11 @@ semver@^6.1.1:
|
||||||
resolved "https://registry.yarnpkg.com/semver/-/semver-6.1.1.tgz#53f53da9b30b2103cd4f15eab3a18ecbcb210c9b"
|
resolved "https://registry.yarnpkg.com/semver/-/semver-6.1.1.tgz#53f53da9b30b2103cd4f15eab3a18ecbcb210c9b"
|
||||||
integrity sha512-rWYq2e5iYW+fFe/oPPtYJxYgjBm8sC4rmoGdUOgBB7VnwKt6HrL793l2voH1UlsyYZpJ4g0wfjnTEO1s1NP2eQ==
|
integrity sha512-rWYq2e5iYW+fFe/oPPtYJxYgjBm8sC4rmoGdUOgBB7VnwKt6HrL793l2voH1UlsyYZpJ4g0wfjnTEO1s1NP2eQ==
|
||||||
|
|
||||||
|
semver@^7.3.2:
|
||||||
|
version "7.3.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.2.tgz#604962b052b81ed0786aae84389ffba70ffd3938"
|
||||||
|
integrity sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ==
|
||||||
|
|
||||||
send@0.17.1:
|
send@0.17.1:
|
||||||
version "0.17.1"
|
version "0.17.1"
|
||||||
resolved "https://registry.yarnpkg.com/send/-/send-0.17.1.tgz#c1d8b059f7900f7466dd4938bdc44e11ddb376c8"
|
resolved "https://registry.yarnpkg.com/send/-/send-0.17.1.tgz#c1d8b059f7900f7466dd4938bdc44e11ddb376c8"
|
||||||
|
|
Loading…
Reference in a new issue