Skip to content

Commit 9cefb79

Browse files
committed
feat(detectors): add slugs
1 parent 1fbcd87 commit 9cefb79

File tree

4 files changed

+53
-9
lines changed

4 files changed

+53
-9
lines changed

detectors/frameworks.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"nuxt": {
33
"metas": {
4+
"slug": "nuxtjs",
45
"name": "NuxtJS",
56
"imgPath": "/icons/framework/nuxt.svg",
67
"url": "https://nuxtjs.org"
@@ -18,6 +19,7 @@
1819
},
1920
"vuepress": {
2021
"metas": {
22+
"slug": "vuepress",
2123
"name": "VuePress",
2224
"imgPath": "/icons/framework/vuepress.svg",
2325
"url": "https://vuepress.vuejs.org"
@@ -28,6 +30,7 @@
2830
},
2931
"gridsome": {
3032
"metas": {
33+
"slug": "gridsome",
3134
"name": "Gridsome",
3235
"imgPath": "/icons/framework/gridsome.svg",
3336
"url": "https://gridsome.org"
@@ -38,6 +41,7 @@
3841
},
3942
"quasar": {
4043
"metas": {
44+
"slug": "quasar",
4145
"name": "Quasar",
4246
"imgPath": "/icons/framework/quasar.svg",
4347
"url": "https://quasar.dev"
@@ -47,4 +51,4 @@
4751
"js": "[...document.querySelectorAll('*')].map((el) => Boolean(el.__vue__ && el.__vue__.$q)).filter(Boolean).length"
4852
}
4953
}
50-
}
54+
}

detectors/nuxt.modules.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"@nuxtjs/axios": {
33
"metas": {
4+
"slug": "nuxtjs-axios",
45
"name": "@nuxtjs/axios",
56
"imgPath": null,
67
"url": "https://axios.nuxtjs.org"
@@ -11,6 +12,7 @@
1112
},
1213
"@nuxt/http": {
1314
"metas": {
15+
"slug": "nuxt-http",
1416
"name": "@nuxt/http",
1517
"imgPath": null,
1618
"url": "https://http.nuxtjs.org"
@@ -21,6 +23,7 @@
2123
},
2224
"@nuxt/press": {
2325
"metas": {
26+
"slug": "nuxt-press",
2427
"name": "@nuxt/press",
2528
"imgPath": null,
2629
"url": "https://nuxt.press/"
@@ -31,6 +34,7 @@
3134
},
3235
"@nuxtjs/pwa": {
3336
"metas": {
37+
"slug": "nuxtjs-pwa",
3438
"name": "@nuxtjs/pwa",
3539
"imgPath": null,
3640
"url": "https://pwa.nuxtjs.org/"
@@ -41,6 +45,7 @@
4145
},
4246
"@nuxtjs/apollo": {
4347
"metas": {
48+
"slug": "nuxtjs-apollo",
4449
"name": "@nuxtjs/apollo",
4550
"imgPath": null,
4651
"url": "https://github.com/nuxt-community/apollo-module"
@@ -51,6 +56,7 @@
5156
},
5257
"@nuxtjs/auth": {
5358
"metas": {
59+
"slug": "nuxtjs-auth",
5460
"name": "@nuxtjs/auth",
5561
"imgPath": null,
5662
"url": "https://auth.nuxtjs.org/"
@@ -61,6 +67,7 @@
6167
},
6268
"@nuxtjs/sentry": {
6369
"metas": {
70+
"slug": "nuxtjs-sentry",
6471
"name": "@nuxtjs/sentry",
6572
"imgPath": null,
6673
"url": "https://github.com/nuxt-community/sentry-module"
@@ -71,6 +78,7 @@
7178
},
7279
"@nuxtjs/vuetify": {
7380
"metas": {
81+
"slug": "nuxtjs-vuetify",
7482
"name": "@nuxtjs/vuetify",
7583
"imgPath": null,
7684
"url": "https://github.com/nuxt-community/vuetify-module"
@@ -81,6 +89,7 @@
8189
},
8290
"@nuxtjs/device": {
8391
"metas": {
92+
"slug": "nuxtjs-device",
8493
"name": "@nuxtjs/device",
8594
"imgPath": null,
8695
"url": "https://github.com/nuxt-community/device-module"
@@ -91,6 +100,7 @@
91100
},
92101
"@nuxtjs/firebase": {
93102
"metas": {
103+
"slug": "nuxtjs-firebase",
94104
"name": "@nuxtjs/firebase",
95105
"imgPath": null,
96106
"url": "https://firebase.nuxtjs.org/"
@@ -101,6 +111,7 @@
101111
},
102112
"nuxt-user-agent": {
103113
"metas": {
114+
"slug": "nuxt-user-agent",
104115
"name": "nuxt-user-agent",
105116
"imgPath": null,
106117
"url": "https://github.com/fukuiretu/nuxt-user-agent"
@@ -111,6 +122,7 @@
111122
},
112123
"nuxt-shopify": {
113124
"metas": {
125+
"slug": "nuxt-shopify",
114126
"name": "nuxt-shopify",
115127
"imgPath": null,
116128
"url": "https://github.com/Gomah/nuxt-shopify"
@@ -121,6 +133,7 @@
121133
},
122134
"@nuxtjs/recaptcha": {
123135
"metas": {
136+
"slug": "nuxtjs-recaptcha",
124137
"name": "@nuxtjs/recaptcha",
125138
"imgPath": null,
126139
"url": "https://github.com/nuxt-community/recaptcha-module"
@@ -131,6 +144,7 @@
131144
},
132145
"@nuxtjs/google-gtag": {
133146
"metas": {
147+
"slug": "nuxtjs-google-gtag",
134148
"name": "@nuxtjs/google-gtag",
135149
"imgPath": null,
136150
"url": "https://github.com/nuxt-community/google-gtag"
@@ -141,6 +155,7 @@
141155
},
142156
"@nuxtjs/google-analytics": {
143157
"metas": {
158+
"slug": "nuxtjs-google-analytics",
144159
"name": "@nuxtjs/google-analytics",
145160
"imgPath": null,
146161
"url": "https://github.com/nuxt-community/analytics-module"
@@ -151,6 +166,7 @@
151166
},
152167
"@nuxtjs/google-tag-manager": {
153168
"metas": {
169+
"slug": "nuxtjs-google-tag-manager",
154170
"name": "@nuxtjs/google-tag-manager",
155171
"imgPath": null,
156172
"url": "https://github.com/nuxt-community/gtm-module"
@@ -161,6 +177,7 @@
161177
},
162178
"nuxt-matomo": {
163179
"metas": {
180+
"slug": "nuxt-matomo",
164181
"name": "nuxt-matomo",
165182
"imgPath": null,
166183
"url": "https://github.com/pimlie/nuxt-matomo"
@@ -171,6 +188,7 @@
171188
},
172189
"cookie-universal-nuxt": {
173190
"metas": {
191+
"slug": "cookie-universal-nuxt",
174192
"name": "cookie-universal-nuxt",
175193
"imgPath": null,
176194
"url": "https://github.com/microcipcip/cookie-universal/tree/master/packages/cookie-universal-nuxt"
@@ -181,6 +199,7 @@
181199
},
182200
"nuxt-socket-io": {
183201
"metas": {
202+
"slug": "nuxt-socket-io",
184203
"name": "nuxt-socket-io",
185204
"imgPath": null,
186205
"url": "https://github.com/richardeschloss/nuxt-socket-io"
@@ -191,6 +210,7 @@
191210
},
192211
"nuxt-facebook-pixel-module": {
193212
"metas": {
213+
"slug": "nuxt-facebook-pixel-module",
194214
"name": "nuxt-facebook-pixel-module",
195215
"imgPath": null,
196216
"url": "https://github.com/WilliamDASILVA/nuxt-facebook-pixel-module"
@@ -201,6 +221,7 @@
201221
},
202222
"nuxt-rollbar-module": {
203223
"metas": {
224+
"slug": "nuxt-rollbar-module",
204225
"name": "nuxt-rollbar-module",
205226
"imgPath": null,
206227
"url": "https://github.com/gaelreyrol/nuxt-rollbar-module"
@@ -211,6 +232,7 @@
211232
},
212233
"nuxt-dayjs-module": {
213234
"metas": {
235+
"slug": "nuxt-dayjs-module",
214236
"name": "nuxt-dayjs-module",
215237
"imgPath": null,
216238
"url": "https://github.com/potato4d/nuxt-dayjs-module"
@@ -221,6 +243,7 @@
221243
},
222244
"@nuxtjs/date-fns": {
223245
"metas": {
246+
"slug": "nuxtjs-date-fns",
224247
"name": "@nuxtjs/date-fns",
225248
"imgPath": null,
226249
"url": "https://github.com/nuxt-community/date-fns-module"
@@ -231,6 +254,7 @@
231254
},
232255
"@nuxtjs/moment": {
233256
"metas": {
257+
"slug": "nuxtjs-moment",
234258
"name": "@nuxtjs/moment",
235259
"imgPath": null,
236260
"url": "https://github.com/nuxt-community/moment-module"
@@ -241,6 +265,7 @@
241265
},
242266
"@nuxtjs/universal-storage": {
243267
"metas": {
268+
"slug": "nuxtjs-universal-storage",
244269
"name": "@nuxtjs/universal-storage",
245270
"imgPath": null,
246271
"url": "https://github.com/nuxt-community/universal-storage-module"
@@ -251,6 +276,7 @@
251276
},
252277
"@nuxtjs/prismic": {
253278
"metas": {
279+
"slug": "nuxtjs-prismic",
254280
"name": "@nuxtjs/prismic",
255281
"imgPath": null,
256282
"url": "https://prismic-nuxt.js.org/"
@@ -261,6 +287,7 @@
261287
},
262288
"storyblok-nuxt": {
263289
"metas": {
290+
"slug": "storyblok-nuxt",
264291
"name": "storyblok-nuxt",
265292
"imgPath": null,
266293
"url": "https://github.com/storyblok/storyblok-nuxt"
@@ -271,6 +298,7 @@
271298
},
272299
"nuxt-sanity": {
273300
"metas": {
301+
"slug": "nuxt-sanity",
274302
"name": "nuxt-sanity",
275303
"imgPath": null,
276304
"url": "https://nuxt-sanity.netlify.app/"
@@ -281,6 +309,7 @@
281309
},
282310
"@nuxt/content": {
283311
"metas": {
312+
"slug": "nuxt-content",
284313
"name": "@nuxt/content",
285314
"imgPath": null,
286315
"url": "https://content.nuxtjs.org"

detectors/plugins.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"vue-router": {
33
"metas": {
4+
"slug": "vue-router",
45
"name": "vue-router",
56
"imgPath": null,
67
"url": "https://router.vuejs.org/"
@@ -14,6 +15,7 @@
1415
},
1516
"vuex": {
1617
"metas": {
18+
"slug": "vuex",
1719
"name": "vuex",
1820
"imgPath": null,
1921
"url": "https://vuex.vuejs.org"
@@ -27,6 +29,7 @@
2729
},
2830
"vue-meta": {
2931
"metas": {
32+
"slug": "vue-meta",
3033
"name": "vue-meta",
3134
"imgPath": null,
3235
"url": "https://vue-meta.nuxtjs.org"
@@ -40,6 +43,7 @@
4043
},
4144
"vue-apollo": {
4245
"metas": {
46+
"slug": "vue-apollo",
4347
"name": "vue-apollo",
4448
"imgPath": null,
4549
"url": "https://apollo.vuejs.org"
@@ -50,6 +54,7 @@
5054
},
5155
"vue-warehouse": {
5256
"metas": {
57+
"slug": "vue-warehouse",
5358
"name": "vue-warehouse",
5459
"imgPath": null,
5560
"url": "https://aceforth.com/docs/vue-warehouse"
@@ -58,4 +63,4 @@
5863
"js": "(window.$nuxt && window.$nuxt.$warehouse) || [...document.querySelectorAll('*')].map((el) => Boolean(el.__vue__ && el.__vue__.$warehouse)).filter(Boolean).length"
5964
}
6065
}
61-
}
66+
}

detectors/uis.json

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"element-ui": {
3-
"metas":{
3+
"metas": {
4+
"slug": "element-ui",
45
"name": "Element UI",
56
"imgPath": "/icons/ui/element.svg",
67
"url": "https://element.eleme.io/"
@@ -10,7 +11,8 @@
1011
}
1112
},
1213
"vuetify": {
13-
"metas":{
14+
"metas": {
15+
"slug": "vuetify",
1416
"name": "Vuetify",
1517
"imgPath": "/icons/ui/vuetify.svg",
1618
"url": "https://vuetifyjs.com/"
@@ -20,7 +22,8 @@
2022
}
2123
},
2224
"bootstrap-vue": {
23-
"metas":{
25+
"metas": {
26+
"slug": "bootstrap-vue",
2427
"name": "Bootstrap Vue",
2528
"imgPath": "/icons/ui/bootstrap.svg",
2629
"url": "https://bootstrap-vue.org/"
@@ -30,7 +33,8 @@
3033
}
3134
},
3235
"tailwindcss": {
33-
"metas":{
36+
"metas": {
37+
"slug": "tailwind-css",
3438
"name": "Tailwind CSS",
3539
"imgPath": "/icons/ui/tailwind.svg",
3640
"url": "https://tailwindcss.com/"
@@ -43,7 +47,8 @@
4347
}
4448
},
4549
"buefy": {
46-
"metas":{
50+
"metas": {
51+
"slug": "buefy",
4752
"name": "Buefy",
4853
"imgPath": "/icons/ui/bulma.svg",
4954
"url": "https://buefy.org/"
@@ -53,7 +58,8 @@
5358
}
5459
},
5560
"inkline": {
56-
"metas":{
61+
"metas": {
62+
"slug": "inkline",
5763
"name": "Inkline",
5864
"imgPath": "/icons/ui/inkline.svg",
5965
"url": "https://inkline.io/"
@@ -62,4 +68,4 @@
6268
"html": "<(?:div|button|a) [^>]*class=\"[^\"]*[^_](?:_border-|_rounded|_rounded-|_clearfix|_background-|_display-|_embed|_float-|_overflow-|_overlay|_position-|_width-|_margin-|_padding-|_align-|_visibility-)"
6369
}
6470
}
65-
}
71+
}

0 commit comments

Comments
 (0)